Repository navigation
feat(showcase): reproduce a real browser walkthrough of the synthetic audit - #279
Conversation
|
Current-head evidence update (supersedes the earlier PR-body recording sample):
This is a source-backed fictional HTML report playback, not evidence of a live terminal audit execution, actual outside-repo remediation, screen-reader testing or human adoption. Video/captions are prepared local artifacts, not committed or published on GitHub. Separate later-run review is still required before merge; no same-run approval is claimed. |
andy-zen-dev
left a comment
There was a problem hiding this comment.
Independent review of exact head 8f5ffe46f4703e0ef4d52438a92e2082924e5479.
Reviewed all four changed files, current AGENTS.md / CONTRIBUTING.md, the existing demo.py HTML producer and capture.py, #254, PR discussion, and CI jobs. The new recorder is opt-in, leaves the dependency-free audit and default workflows alone, validates the expected synthetic report markers, blocks browser networking, and exclusively creates its WebM output. Its docs correctly distinguish a generated fictional report from a live audit or human session. The Unreleased changelog entry is present.
I also reconstructed examples/combined-audit/record.py locally and verified that its Git blob exactly matches the PR (e54009e74de621388bcde2d38152f97b98ff7acf). Running that exact script with a disposable marker-matching, scrollable HTML test page and real Chromium + Playwright produced a valid VP8 WebM at 1280×720, ~26.76 s (ffprobe). This smoke test checks the video path but does not establish visual acceptance of the real generated report; the PR's Chrome workflow instead verifies the report/screenshot fixture. Quality run #42045130903 (six jobs) and Chrome run #42045130629 are green on this head; there is no CI E2E test of the new video helper.
Environment note (non-blocking): system ffmpeg on PATH alone was insufficient with a Python Playwright install lacking its own encoder download: BrowserContext.new_page failed looking for Playwright's ffmpeg-1011/ffmpeg-linux. With an encoder made available at Playwright's expected location, recording succeeded. A future README clarification such as python -m playwright install ffmpeg would make the optional setup easier to reproduce.
No merge-blocking defect found within the scoped, intentionally synthetic recorder. This is not approval of external publication, actual user activity, assistive-technology accessibility, or completion of all #254 acceptance criteria.
Related to #254.
Reader-facing outcome
Adds an optional, reproducible 22-second browser recording helper for the existing fictional Pocket Trails three-checker report. The helper plays back generated, source-verified
report.htmlinside offline Chromium via Playwright, shows the initial before/after summary, scrolls to detailed checker findings and returns to the overview. It writes a real WebM recording, not a fabricated animation; it does not rerun the checks during recording or claim an actual human session.Boundaries and regression coverage
Evidence this run
Replayed the previously generated source-derived HTML from Chrome CI #42028014582 (source checkout recorded as
334b59ffd2f952cee1cadceb0aad2c09e62428c8, not a claim of a fresh current-master capture). A real local Chromium/Playwright recording completed at 23.68 seconds, 1280×720, VP8/WebM and was inspected at key frames. Six new preparation regressions passed locally against the drafted helper. This video remains a local proof; it is not committed or publicly published.Acceptance
Please check exact-head Quality CI, code review, and if optional video dependencies are available a repeat recording of an artifact produced from this PR head. No independent user/device/accessibility acceptance is claimed. This PR must not be merged before separate later-run acceptance under repository gates.