Repository navigation
Description
Goal
Make PickLab a production-ready, provider-neutral computer-use runtime: agents can launch an isolated headed browser, combine visual and semantic control, watch the session live, inspect replayable evidence, and hand control to a human without exposing the real desktop.
Product decisions
- Xvfb remains the only display server in v1. Xephyr is out.
picklab watchopens a host-side VNC viewer against the isolated display. Observation is server-enforced read-only.- A browser session is one record owning private Xvfb and Chrome legs.
- Chrome uses an ephemeral profile, scrubbed environment, loopback CDP with port
0, andDevToolsActivePortreadback. - The official Chrome DevTools MCP is reached through a framing-aware PickLab relay, not reimplemented.
- Evidence is append-only and renders as a static HTML filmstrip.
- Human control uses an atomic lease plus short-lived agent permits. No control state is stored authoritatively in session JSON.
- Android viewing/takeover, persistent browser profiles, Firefox/WebKit, uid sandboxing, and remote multi-user viewing are out of scope for v1.
- No feature flag: each PR preserves current defaults and is independently releasable.
Security posture
Browser/CDP processes still run as the invoking user. V1 is for authorized, trusted development and QA — not hostile-page isolation. VNC and CDP bind loopback only, browser profiles are ephemeral, Chrome receives a scrubbed environment, process groups are verified and killed before profile deletion, and secrets/capability URLs are excluded from persisted diagnostics. SECURITY.md must document the residual same-UID/local-process risk before #18 closes.
PR plan
- PR 1 — VNC safety and CI truthfulness
- Refs Nested-display desktop sessions (Xephyr): watch the agent live with its own cursor #15, Add first-class browser computer use with live session viewing #17
-viewonly, x11vnc installed/asserted, focused tests
- PR 2 — Shared browser/session/process contracts
- Refs Add isolated headed Chrome browser sessions #18, Add first-class browser computer use with live session viewing #17
browserrecord,browprefix, geometry, capability resolution, verified process-group stop
- PR 3 — Live watch flow
- Closes Nested-display desktop sessions (Xephyr): watch the agent live with its own cursor #15, Refs Add first-class browser computer use with live session viewing #17
picklab watch, manual/auto preference, host-side viewer, zero/multiple/headless behavior
- PR 4 — Complete desktop input
- Closes Add complete desktop input primitives for computer use #22, Refs Add first-class browser computer use with live session viewing #17
- move/hover, scroll, drag, double-click
- PR 5 — Isolated headed Chrome lifecycle
- Closes Add isolated headed Chrome browser sessions #18, Refs Add first-class browser computer use with live session viewing #17
- browser package, ephemeral profile, dynamic CDP, CLI/MCP session wiring
- PR 6 — DevTools MCP relay
- Closes Add a session-aware Chrome DevTools MCP bridge #19, Refs Add first-class browser computer use with live session viewing #17
- pinned framing-aware relay and static agent configuration
- PR 7 — Action evidence and filmstrip
- Closes Record computer-use actions and diagnostic evidence #20, Refs Add first-class browser computer use with live session viewing #17
- append-only journal, sanitized diagnostics, fixed bounds/retention, HTML report
- PR 8 — Supervised human control
- Closes Add supervised pause and human takeover #21, Refs Add first-class browser computer use with live session viewing #17
- atomic lease/permits,
watch --control, temporary writable VNC, fresh-state handoff
- PR 9 — Final integration
- Closes Add first-class browser computer use with live session viewing #17
- complete docs, security notes, visual + semantic + evidence + takeover E2E proof
Dependency order
PR 1 -> PR 3 --------------------------┐
PR 2 -> PR 5 -> PR 6 -> PR 7 ---------+-> PR 8 -> PR 9
PR 4 ----------------------------------┘
PR 1 and PR 2 may proceed independently. PR 4 is also independent, but must land before the final computer-use claim. Shared CLI/MCP session wiring is serialized to keep reviews clean.
Production acceptance
- A coding agent configures PickLab once and can recreate browser sessions without MCP config edits.
- Visual desktop tools and semantic DevTools tools operate on the same isolated headed Chrome.
picklab watchcan attach to an already-running session; closing the viewer never stops or corrupts it.- Normal viewing is read-only.
watch --controlprevents PickLab-managed agent input after human acquisition completes. - Sensitive typed values, cookies, headers, bodies, query tokens, JWTs, OTPs, and CDP websocket capabilities never enter persisted evidence.
- Screenshot pixels are explicitly not claimed to be redactable; automatic capture is suppressed around sensitive inputs.
- Two concurrent browser sessions have distinct displays, profiles, and CDP ports.
- Destroy/reap leaves no Chrome process-group members or ephemeral profile data.
- Hosted CI passes typecheck, tests, coverage, and build without silent prerequisite skips.
- Before closing: attach one real watch recording and one pause → control → return → resume recording.
Current status: Complete. Final fix merged in #108 (3adf3a9); current-main CI passed on attempt 1.
Next: Follow-up hardening is tracked separately in #110, #111, and #112.
Closure evidence
Requirement-indexed report, screenshots, recordings, raw logs, checksums, and independent vision PASS: ~/Projects/Boards/pickforge/0.4-release/issue17-final/REPORT.md. SHA256SUMS verifies 402 files.
Activity
ElbertePlinio commentedon Jul 12, 2026
Baseline observed with PickLab itself (current main):
PICKLAB_BASELINE_OKdesktop_launchdid not focus the launched window; typing before an explicit click produced no visible inputsession_statusexposes display/PID but not width/heightArtifacts:
.picklab/runs/20260712-054636-baseline-before-input,20260712-054651-baseline-after-input,20260712-054708-baseline-click-focusThese observations align with PR 1/2/7 scope. No real desktop was touched.
ElbertePlinio commentedon Jul 12, 2026
Continuation kickoff:
picklab watch— branch has no implementation; restarting from reviewed VNC foundationNo feature flag: each slice remains independently releasable and current defaults stay unchanged.
Current status: In progress
Next: merge #23/#25, replace #24 with corrected reviewed contracts, then ship watch and Chrome lifecycle.
ElbertePlinio commentedon Jul 12, 2026
Foundation checkpoint:
No feature flag; current defaults remain unchanged.
Current status: In progress
Next: ship PRs 3 and 5.
ElbertePlinio commentedon Jul 13, 2026
PR 5 lifecycle update: #28 is now at reviewed HEAD
104db9d.PR 3 watch and PR 6 relay remain stacked on the lifecycle branch and will be rebased after #28 lands.
Current status: PR #28 CI queued
Next: merge lifecycle, then rebase/review watch and relay.
ElbertePlinio commentedon Jul 13, 2026
PR 5 #28 merged at
eddf853.Completed slices:
Current status: In progress
Next: rebase and ship PR 3 live watch, then PR 6 DevTools MCP relay.
ElbertePlinio commentedon Jul 13, 2026
PR 3 live watch opened: #30
Current status: review-clean locally; required CI pending.
Next: ship #30, then ship PR 6 DevTools MCP relay.
ElbertePlinio commentedon Jul 13, 2026
PR 3 #30 merged at
ad4d177.Completed computer-use slices now include VNC safety, contracts, pointer controls, Chrome lifecycle, and live watch.
Current status: In progress
Next: rebase and ship PR 6 DevTools MCP relay.
ElbertePlinio commentedon Jul 13, 2026
PR 6 DevTools MCP relay opened: #31.
Current status: review-clean locally; required CI pending. Installer mirror is staged in pickforge/landing-page#21 and will be merged immediately after the canonical installer reaches PickLab main.
Next: ship #31 and the mirror PR.
ElbertePlinio commentedon Jul 13, 2026
PR 6 #31 merged at
ac20ca8; installer mirror pickforge/landing-page#21 merged at9d9f64b.Completed computer-use slices now include live watch, full pointer control, isolated Chrome lifecycle, and the official DevTools MCP relay.
Current status: In progress
Next: PR 7 action evidence and HTML filmstrip (#20), then supervised takeover (#21).
fix(browser): replace a dangling temp alias instead of failing the ne…
fix(browser): start headed Chrome from nested homes
ElbertePlinio commentedon Sep 5, 2026
Current-main acceptance audit is complete and independently reviewed.
3adf3a9claude-opus-5visual verdict: PASS~/Projects/Boards/pickforge/0.4-release/issue17-final/REPORT.md; 402 files verified bySHA256SUMSThe first Chrome start and first viewer-close attempts failed and remain in the packet with diagnoses. Follow-ups are #110 (orphan evidence runs), #111 (stopped-session log retention), and #112 (Chrome background egress). They do not invalidate this issue's acceptance contract.