H-385: validate Clark CDP network event loop #1

Merged
rogee merged 2 commits from agent/agent/43d46820 into main 2026-08-20 23:05:47 +08:00
Owner

Closes H-385

Summary

  • add a dependency-free Node 22 CDP M0 runner with local HTTP, HTTPS, failed-request, and WebSocket fixtures
  • normalize/redact bounded JSONL events and record body-unavailable, target-close, disconnect, and process-tree resource evidence
  • document Clark 0.2.1 / Chromium 148 coverage, limitations, and reproduction commands

Verification

  • M0_CDP_PORT=40746 M0_HTTP_PORT=40745 CLARK_BINARY_PATH=... npm run spike
  • npm test
  • node --check scripts/m0-spike.mjs
  • git diff --check

Known risk

  • Clark can intermittently detach its renderer before top-level loopback navigation reaches the fixture; the runner records this raw error and bounds recovery to three fresh-browser attempts.
Closes H-385 ## Summary - add a dependency-free Node 22 CDP M0 runner with local HTTP, HTTPS, failed-request, and WebSocket fixtures - normalize/redact bounded JSONL events and record body-unavailable, target-close, disconnect, and process-tree resource evidence - document Clark 0.2.1 / Chromium 148 coverage, limitations, and reproduction commands ## Verification - `M0_CDP_PORT=40746 M0_HTTP_PORT=40745 CLARK_BINARY_PATH=... npm run spike` - `npm test` - `node --check scripts/m0-spike.mjs` - `git diff --check` ## Known risk - Clark can intermittently detach its renderer before top-level loopback navigation reaches the fixture; the runner records this raw error and bounds recovery to three fresh-browser attempts.
rogee added 1 commit 2026-08-20 22:10:41 +08:00
rogee added 1 commit 2026-08-20 22:53:50 +08:00
rogee merged commit b4fb8ddbde into main 2026-08-20 23:05:47 +08:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rogee/lume-ctrl#1