Repository navigation
Description
Integrate the approved device-pass workflow and Pickforge evidence viewer into the existing computer-use evidence system. The current implementation is a portable local skill for six harnesses in ElbertePlinio/dotfiles#30, under dot_agents/skills/device-pass/. Its report includes device filters, capture search, keyboard navigation, full-size image inspection, journey outcomes, environment details and limitations.
Build on the existing recorder and artifact/report surfaces rather than introducing a second evidence store. packages/core/src/evidence-render.ts already renders HTML timelines; MCP records actions and screenshots; the Rust evidence record command writes external evidence with a Markdown report. #20 delivered the recording foundation. Coordinate with #110 on orphaned-run finalization.
- Map the skill's scenario, revision, viewport, device type, steps, outcomes and limitations onto existing run evidence. — feat(evidence): record device metadata and acceptance outcomes #141: optional
devicemanifest metadata from session facts and an append-onlyoutcomejournal record; unknown stays unknown - Adapt the approved charcoal/orange viewer to the product's brand tokens. — feat(evidence): brand evidence viewer with filters, inspection and pinned search #143
- Keep existing redaction, path confinement and offline behavior. — feat(evidence): brand evidence viewer with filters, inspection and pinned search #143: CSS-first interaction, one inline script pinned by
script-src 'sha256-…', zero CSP violations in headless Chromium, redaction and path safety tests extended - Expose the improved report through existing CLI/MCP artifact commands and report resources. — feat(artifacts): list Rust evidence runs read-only #142 (Rust evidence runs listed read-only) and feat(artifacts): expose report path, outcome and device in artifact commands #145 (report path, outcome and device on the artifact commands and the runs resource)
- Bundle the acceptance workflow with supported agent integrations. — feat(agents): bundle the device-pass acceptance workflow #146: MCP instructions summary,
device_passprompt,device-pass.mdshared snippet;passrefused without an interaction and an inspected screenshot (feat(evidence): record device metadata and acceptance outcomes #141) - Test rendering, escaping, path safety, old manifests, empty/partial runs, filtering and keyboard behavior. — unit and browser checks in feat(evidence): brand evidence viewer with filters, inspection and pinned search #143; real desktop, browser and Android acceptance runs on f23b9fe through the
device_passworkflow (2026-09-10), each with a recordedpassoutcome, a rendered viewer with verified links, and an independent image-only visual review; evidence kept locally outside the repo
Reference: the approved local report is ~/Artifacts/<private-app>/2026-09-05/device-pass/report.html. Its reusable renderer and assets are in the linked skill PR. Preserve evidence locally; do not commit screenshots, recordings or session data to product docs.
Implement after the current private-app device-pass work is closed out. Scope is the existing local lab and agent workflow; cloud publication is separate work.
Scheduled in #89 after 0.4.0 stable and after the current private-app device-pass work is closed out. Implement this evidence/workflow integration before the Linux desktop computer-use extension planned in #118. This scheduling update does not start implementation or add a 0.4.0 release blocker.
Activity
ElbertePlinio commentedon Sep 9, 2026
Started 2026-09-09 after 0.4.0 shipped (#89 closed).
Audit of the existing surfaces:
evidence-render.tsbuilds the runreport.htmlunderdefault-src 'none'; img-src 'self' data:; style-src 'unsafe-inline'with noscript-src, so the prototype's JavaScript cannot be ported as is. Run metadata today has no viewport, device kind, scenario, revision, outcome or limitation fields. Rustpickforge evidence recordwritesevidence.json+report.mdruns into the sameruns/tree and the lab catalog skips them.Interaction strategy decision: CSS-first for device filters, capture inspection and keyboard focus so the report fully works with scripts blocked, plus one self-contained inline script pinned by a
script-src 'sha256-…'entry for search and arrow-key browsing. No external scripts, no network; the hash pin blocks everything else. The README's "no-script" wording changes to describe this exactly.Plan, one PR each with a separate final reviewer:
devicemanifest metadata populated from session facts only, plus an append-onlyoutcomejournal record (scenario, status pass/fail/partial/blocked, revision, steps, inspected screenshots, limitations). Apassis refused without an ok interaction action and at least one inspected screenshot that exists in the run. Exposed as MCPevidence_outcomeand CLIartifacts outcome.sourcediscriminator; no migration, no writes into Rust runs.artifact_report/CLI output, resource updates, docs.1 and 2 are in progress in parallel; 3 starts on top of 1.
ElbertePlinio commentedon Sep 10, 2026
Acceptance runs done on main f23b9fe, all driven through the lab MCP tools and the
device_passworkflow, evidence kept locally outside the repo:desktop_clicksteps, three inspected screenshots, outcomepass.desktop_click,desktop_screenshot), inspect overlay and ArrowRight navigation verified, zero console messages, so no CSP violations; outcomepass.android_tapsteps, three inspected screenshots, outcomepass.Each run's
report.htmlrenders with every image link resolving, and a separate reviewer that did not drive the runs judged all three image sets as supporting the recorded sequence, flagging only low label contrast in the viewer (non-blocking).Observations from the runs, filed separately: the browser session's run records device kind
desktopwith no browser name or version (#149). Also noted:artifact_reportreturnsreportPath: nulluntil the session is destroyed, which matches the workflow text, and the viewer's Markdown twin had a step-number gap with mid-run outcomes (#148).ElbertePlinio commentedon Sep 10, 2026
All checklist items done; follow-ups tracked in #144, #147, #148 and #149.