Skip to content

Latest commit

 

History

History
920 lines (846 loc) · 48.2 KB

STATUS.md

File metadata and controls

920 lines (846 loc) · 48.2 KB

Phase: 12

Phase 12 (screen-capture fallback, deliberately last) shipped on 2026-07-23. A recording can now capture a screen or window, not only a Chrome tab, and the whole pipeline degrades honestly rather than pretending a pixel recording is a Cutscene recording. capture: getDisplayMedia in the existing offscreen document (DISPLAY_MEDIA reason added). No content script attaches, so the offscreen document's own clock is both the content and worker clock; fitMediaClock still fits. No new manifest permission — Chrome's own picker is the grant. schema: capture.source is 'tab' | 'screen', optional. Absent means tab, so every recording made before this phase still parses. schemaVersion stays 1. parseRecordingMeta rejects any other source string editor: a bundle with no interaction events states the cause in place — screen recording vs canvas — and disables the interactive demo, demo kit, Playwright skeleton, docs and screenshots with the reason on each control. GIF and MP4 still export runner: a pixel-only trace exits 2 with a named cause, before launching a browser, rather than exiting 0 having done nothing or 1 meaning drift interactive export: refuses a pixel-only bundle (no clickable events) popup: a source toggle; the blur-selector field is disabled for a screen recording, because a selector matching no DOM would be a privacy trap; the picker-is-the-grant warning is stated once, not as a dismissible toast privacy + listing: both now describe screen capture, including that it can record content from applications other than Chrome verification: 333 tests (98 trace, 32 server, 133 editor, 16 extension, 54 runner — screen source parse, runner exit-2 refusal, interactive refusal), 5/5 typecheck, 4/4 build, capture e2e green (tab path intact after the start/stop/status refactor) manually verified, not in CI: live getDisplayMedia capture, like the existing headed capture suite. The editor/runner refusal path is covered by a fixture without a human exit criteria (design doc): 1 capture-shape, 2 old-parses, 3 editor-degrades, 4 runner+interactive-refuse, 5 blur-disabled, 6 fixture-asserts-3-and-4, 7 docs — all met. Cursor-zoom "guess" relabel (prose, not a numbered criterion) left to the Timeline pass

Phase 11 (hosted sharing) landed its deployable core on 2026-07-23. Scope was set by the owner to "deployable core plus seams": build and verify what runs now, name the two account-gated pieces (R2 object storage, GitHub OAuth) as seams rather than shipping code that cannot be exercised without their credentials. storage seam: BundleStore (store-driver.ts) is the interface a hosted deployment implements against R2; filesystemStore is the default and the only driver that ships. handle() takes an optional store, defaulting to fs, so all 32 prior server tests pass unchanged — the plan's own proof the extraction is right. A conformance test exercises the contract through the fs driver. The bundle bytes (the large, egress-costly media) route through the store; the small mutable metadata — expiry, review.json, the Yjs timeline — stays on the volume deploy: root Dockerfile bundles the server into one file with esbuild (no node_modules, no type-stripping at runtime) and fly.toml mounts a persistent volume for the data directory, which makes the filesystem store production-ready with no object storage. Verified by building the bundle and running it standalone. docs/deploy.md is the runbook share page: the /r/ page now shows an anonymous view count and the expiry date, gives the owner a delete control, and gives any viewer a report control. view count is one integer per recording, incremented on load abuse + takedown: POST /report appends to an append-only abuse.jsonl beside the recording; CUTSCENE_ADMIN_TOKEN authorises an operator to delete any recording. Uploads stay limited to the three validated bundle files, so the endpoint cannot be open file hosting terms + privacy: a new site/terms page covers uploads, retention, reports and takedown; the privacy page's upload and analytics sections now describe the hosted-service behaviour honestly seamed, not built (named in code and docs/deploy.md): the R2 s3Store() driver, and GitHub OAuth to bind owner tokens to a login so "my recordings" survives clearing site data. Both are additions when there is a reason, not before — Phase 11 was gated on adoption evidence to begin with verification: 337 tests (98 trace, 36 server, 133 editor, 16 extension, 54 runner — server added driver conformance, share-page surface, abuse report, operator takedown), 5/5 typecheck, 5/5 build (the server bundle joins the build), server bundle smoke-run clean

Phase 10 (the regeneration story, installable, PRD.md section 16) opened on 2026-07-22. Chrome Web Store submission remains open owner action; it needs a developer account and is not a code gate. The listing copy, permission justifications and screenshot script are in docs/store-listing.md.

Pre-publish review (2026-07-22): method: six review lenses over the session's diff, each finding sent to three adversarial verifiers. The run was cut off by a usage limit after four lenses reported and four verifiers finished, so 31 findings were raised and only 2 carried a full verdict. The rest were triaged by hand, not refuted. This was a partial review and the gaps are named below

fixed, data loss: a second start cancelled and deleted the running recording, because the rollback path did not distinguish "my start failed" from "someone else is recording". Start is now re-entrant-guarded and refuses a busy recorder before it touches the content script or the recorder a failed quiesce on stop cancelled the recording, and cancel deleted what the 15 s flush had saved. Cancel now deletes only a take that never reached storage: losing minutes of capture is worse than keeping a bundle the user can delete a flush that started before a stop could land after it and overwrite the finished bundle with a partial one. All storage writes are serialised a refused download blocked the editor handoff entirely. The editor now opens regardless, and the download failure is reported separately a stop against a torn-down recorder left the REC badge lit eviction ran after the write, so a quota-exceeded save lost the new recording and kept five old ones. Eviction now runs first the recordings list hid everything past the retention cap, including records the user could otherwise have deleted

fixed, claims that the code did not support: the editor page fetched its typeface from fonts.googleapis.com on every open, inside an extension whose privacy policy says nothing leaves the machine. The fonts are now bundled, and the build fails if any executable remote reference reappears anywhere in the extension bundle the shipped ffmpeg worker carried a CDN importScripts fallback. Unreachable, and blocked by the page CSP, but it is what a store reviewer greps for. Stripped at build time blur was described as applied "in the recording". It is applied in the editor and its exports; media.webm keeps the original pixels, and Create share link uploads media.webm. The popup, the privacy policy and the README now say so, and the share menu warns when redactions exist expired recordings still served their bytes: the bundle-file route never checked retention. The liveness check moved into readBundleFile, which every byte-serving route reads through a mistyped limit variable switched its limit off, because Number('x') is NaN and every comparison against it is false. Unusable values now fall back the rate limiter trusted the leftmost X-Forwarded-For entry, which the caller supplies. It reads the last hop, the one our own proxy appended the limiter swept every bucket on every call, quadratic in exactly the flood it exists to survive. It sweeps on a timer STATUS claimed "no download" as a met exit criterion while every stop still writes three files. Reworded to what the code does

closed afterwards, from the same list: permissions: tabs and host_permissions <all_urls> are both gone. Every remaining permission is proven by a call site: nothing reads a tab's URL or title, tabs.create and tabs.sendMessage need no permission, and the extension makes no cross-origin request at all. The full capture end to end passes without them, which is the evidence. The install prompt this removes was the loudest one Chrome shows licensing: every build now ships dist/licenses/GPL-2.0.txt and NOTICE.txt naming the corresponding sources, and @cutscene/editor declares SEE LICENSE IN LICENSE.md rather than MIT, because its tarball carries the GPL core. trace and runner bundle no binaries and stay MIT the store total is cached for a minute and kept current by the uploads themselves, so a create no longer walks the store, and the cap is enforced where the bytes actually arrive action.yml: flag assembly rewritten as explicit conditionals, and the report file is created before the CLI runs so a failure still comments something ci.yml and release.yml: the pnpm version input is gone, because pnpm/action-setup rejects it alongside the packageManager field

a flaky capture run, chased down rather than retried away: symptom: after Stop the popup showed "idle", so the e2e never saw "saved". Roughly one run in two, only ever on the first run after a rebuild first hypothesis, wrong: the new one-second poll called ensureOffscreen on every tick, which could recreate the offscreen document while it was recording. Fixed anyway, since answering a question must never create the document, but it only moved the timing second hypothesis, half right: a poll issued before Stop landing after it. Ordering the responses by issue number made the failure deterministic instead of curing it, which is what identified the real shape actual cause: stopping takes seconds, and polls issued during that window legitimately observe an idle recorder. No ordering rule can fix that, because the newer observation is the stale one. A poll that overlaps a user action is now discarded; what the user asked for outranks what a poll happened to see evidence: 3 of 3 rebuild-and-run cycles failed under the ordering fix, 7 of 7 pass under the current one

closed since (2026-07-23): timeline updates now count against the store cap. recordingBytes recurses, so the version snapshots under timeline-versions/ are no longer invisible to it, and the timeline POST route refuses with 507 once the store is full, like every other write route. store bytes test asserts a subdirectory file is counted; without recursion it would read ~1500, not the ~3500 it now sees the site footer claimed "MIT licensed", which is wrong for the distributed extension: it is a GPL combined work through the bundled FFmpeg core. The footer now links to the repository's license section, which states the mix the README already documents

still carried forward, unaddressed: delete and sweep race writers that recreate a directory. It self-heals: a recreated directory carries no expiry file, so recordingLive treats it as gone and the next sweep removes it. Left as debt rather than locked, since no public deployment exists yet (Phase 11 is gated on adoption evidence) the claims lens never ran. Numbers in this file were re-derived by hand, but no independent pass has audited them

repository tests: 330 passed (97 trace, 32 server, 132 editor, 16 extension, 53 runner) end-to-end: 6/6 Chromium. The capture suite was additionally run seven times, rebuilding the extension before each, to confirm the popup race is gone, and from both a clean and a reused browser profile

Share server hardening (2026-07-22), ahead of any hosted deployment: retention: every recording carries an expiry file written when its directory is created, default 30 days. recordingExists and recordingReady both enforce it, so an expired recording is gone from every route before the sweep runs sweep: on start and hourly, deletes what has expired delete: DELETE /api/recordings/ with the owner token; a joined member gets 403, an anonymous caller 401 rate limit: token bucket per client address on recording creation and bundle uploads, 20 burst and 20 per minute by default, 429 past that. X-Forwarded-For is believed only when CUTSCENE_TRUST_PROXY=1 store cap: 507 once the store passes its byte limit, default 20 GiB the editor shows the expiry date beside the share links it just created every knob is an environment variable, documented in the README

measured: server tests 32 passed, including a recording that stops serving the moment its expiry passes, owner-only deletion, and the sweep reporting the id it removed

not built: object storage, accounts, and per-owner byte accounting. Per-owner accounting needs an identity that survives more than one recording, which does not exist yet

Installable regeneration (2026-07-22): published packages: @cutscene/trace, @cutscene/editor, @cutscene/runner at 0.2.0. The runner is the CLI, trace is what it reads with, the editor carries the render pipeline emitted JavaScript: Node refuses to strip types inside node_modules (ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING), measured on an installed tarball, so the packages emit built JS and declarations while the workspace still consumes sources packing: pnpm publishConfig swaps exports and bin from src to dist on pack; the workspace protocol resolves to 0.2.0 in the tarball measured on a clean project outside the workspace, three tarballs installed with npm: 2/2 regeneration end-to-end passed against the installed CLI, covering the drift report and a full run that wrote fresh pixels, trace reports, GIF, MP4 and documentation tarball sizes: trace 14,797 B, runner 14,918 B, editor 10,439,477 B missing editor: rendering exits 2 with a message naming the install, instead of an ENOENT on a resolved path peers: @playwright/test required, @cutscene/editor optional, so a drift-only install does not pull the render pipeline

exit criteria (PRD.md section 16): [x] the three packages install outside the workspace and run both a drift check and a full regeneration [x] the regeneration suite passes against the installed package [x] CI runs on every push. First push (2026-07-23) was red and caught a real portability bug: the runner's vitest suite launches Chromium and reads the editor dist, but the verify and release jobs ran pnpm test before pnpm build and never installed a browser — green only on a dev machine with a cached browser and stale dist. Fixed by building and installing Chromium before the tests, and resolving the playwright bin from the runner package rather than the workspace root. Run 29988041237 green: verify, end-to-end, package [x] rendering without the editor names the fix [x] full verification below

unverified until published: the packaged GitHub Action installs the packages by name from npm, so it cannot run until the first publish

repository tests: 330 passed (97 trace, 32 server, 132 editor, 16 extension, 53 runner) typecheck: 5/5 active packages passed production build: 4/4 buildable packages passed end-to-end: 6/6 Chromium (1 editor, 2 runner, 3 extension) hosted CI / paid credits: none

Phase 9 (zero-friction first run, PRD.md section 15) opened on 2026-07-22.

Zero-friction first run (2026-07-22): handoff: the extension bundles the editor as its own page and opens it with the recording id when a recording stops; the bundle is read from IndexedDB on the extension origin, not from the downloads folder measured on the capture end-to-end run: recording stops, the editor page opens loaded, and a GIF export completes inside the extension page under script-src 'self' 'wasm-unsafe-eval' ffmpeg core: served from the extension's own origin. A CDN core cannot load on an extension page, and neither can a blob: URL retention: the five most recent recordings, oldest evicted, listed and deletable from the editor's empty state crash safety: the take is flushed to IndexedDB every 15 s, so an interrupted recording is openable instead of lost. A cancelled recording deletes what the flush wrote listing requirements: icon set generated from the product motif, privacy policy at site/privacy, permission justifications recorded there

exit criteria (PRD.md section 15): [x] recording stops and the editor opens loaded from IndexedDB, with no folder picker. Chrome still writes the three files to Downloads, and the editor no longer waits on that: a refused download costs the files, not the take [x] export works from inside the extension page (GIF measured end to end; every format shares the one engine loader) [x] the empty state lists, opens and deletes retained recordings [x] an end-to-end test asserts the handoff without human intervention [x] full verification below

repository tests: 320 passed (97 trace, 25 server, 132 editor, 15 extension, 51 runner) typecheck: 5/5 active packages passed production build: trace, editor, and extension passed end-to-end: 6/6 Chromium (1 editor, 2 runner, 3 extension) hosted CI / paid credits: none new runtime dependency: @ffmpeg/core 0.12.10, pinned, replacing the CDN load

not built in this phase, deliberately: countdown, pause and resume, and screen capture without a trace. Pause and resume splits the media clock into segments and needs its own design before the trace can carry it.

Phase 8's linear interactive-demo slice passed locally on 2026-07-18. The other long-tail items in PRD.md section 14 remain deferred.

Trace-derived quality report and drift healing (2026-07-21): quality report: interactions on elements with no accessible name or role, and steps whose strongest ranked locator falls below 0.8 confidence, derived from the trace with no page re-inspection shipped in the demo kit as quality.md measured on the clean TodoMVC capture: 5 findings, one per recorded step, all five checkboxes exposing no accessible name drift healing: --heal promotes the ranked locator that actually resolved and rewrites the trace, so a renamed test id stops drifting measured on the local drift fixture: before heal: 2 matched / 1 drifted / 1 orphaned, exit 1 heal: healed step_3 testId -> role after heal: 3 matched / 0 drifted / 1 orphaned, exit 1 an orphaned step has no locator left to promote, so the gate stays closed

repository tests: 315 passed (97 trace, 25 server, 128 editor, 14 extension, 51 runner) typecheck: 5/5 active packages passed production build: trace, editor, and extension passed hosted CI / paid credits / new runtime dependencies: none

Interactive demo implementation: [x] one editor action renders the existing MP4 and downloads a static ZIP [x] version 1 click-only manifest with no raw trace or locator payload [x] shared media-clock, coordinate, camera, zoom, and privacy-safe label logic [x] Start, every hotspot, wrong-click handling, Restart, Replay, and keyboard operation [x] native video-frame timing with a timeupdate fallback [x] reduced-motion handling and visible keyboard focus [x] no backend, hosted service, paid credit, or new runtime dependency

Real TodoMVC interactive-export evidence: source: artifacts/phase6-human-reedit output: artifacts/phase8-interactive-final recording: rec_a6e39c89-73f1-40ce-845a-1b6bb5615131 trace events / target clicks: 77 / 5 exported player steps: 5 hotspots activated in order: 5 / 5 wrong click advanced the flow: no completion state: COMPLETE Replay result: STEP 01 / 05 maximum hotspot edge error: 0.014435 rendered px player page / console errors: 0 / 0 video: H.264, 1920x1080, 60 fps, yuv420p, 15.566667 s ZIP: 12,941,022 bytes index.html: 8,778 bytes demo.mp4: 12,932,034 bytes ZIP SHA-256: 873EBA95DCADD45DD89E0FCE53116393D507F972DEB99905C9C96D4E53BC4FC9 HTML SHA-256: 87A5DDF22ED357D9D2726FBACAA86DDFEC3E1A265161724F9244DABF032B6A0E MP4 SHA-256: C4494D236235F2487187FCE51424DA84AF592C2634AB152F2CF5FAB5AC6E6327

Interactive manifest privacy evidence: top-level keys: v, recordingId, width, height, steps step keys: eventId, timeMs, label, box box keys: x, y, width, height source unmasked input values: 0 input-value occurrences in index.html: 0 locator, comment, raw trace, [MASKED], and raw-nested-secret occurrences in index.html: 0

Phase 8 verification: repository tests: 298 passed (84 trace, 25 server, 126 editor, 13 extension, 50 runner) typecheck: 5/5 active packages passed production build: trace, editor, and extension passed Chromium E2E: 6/6 passed interactive player: 1/1 regeneration runner: 2/2 capture and collaboration: 3/3 on clean rerun note: the first combined run retried the existing invitation test once; the dedicated extension rerun passed 3/3 without a retry

Semantic Demo Kit evidence (2026-07-20): source: artifacts/phase6-human-reedit recording: rec_a6e39c89-73f1-40ce-845a-1b6bb5615131 browser: Chromium, http://127.0.0.1:4176, 1440x900 editor horizontal overflow: 0 px editor page / console errors: 0 / 0 build time: 82.1 s ZIP: 24,230,907 bytes ZIP SHA-256: C33BEEBED5B477F63EF01CBE6770F1E80D7CB4D5566BDA0C4E6D8BC8FD157346 extracted files / bytes: 23 / 24,228,207 MP4: 12,932,034 bytes, ftypisom GIF: 11,000,126 bytes, GIF89a docs / screenshots / Playwright actions: 20 / 18 / 18 interactive hotspots completed: 5 / 5 maximum hotspot edge error: 0.027 rendered px extracted player page / console errors: 0 / 0 raw input, raw trace, ranked-locator JSON, comment, and collaboration credential occurrences in text artifacts: 0 native Windows Expand-Archive: passed screenshot: artifacts/screenshots/semantic-demo-kit-editor.png player screenshot: artifacts/screenshots/semantic-demo-kit-player.png repository tests: 301 passed (84 trace, 25 server, 128 editor, 14 extension, 50 runner) typecheck: 5/5 active packages passed production build: trace, editor, and extension passed Chromium E2E: 6/6 passed in 58.5 s hosted CI / paid credits / new runtime dependencies: none

Requested cleanup: attachment b0f5fd31-2135-4527-9aae-1761db805124/image-1.png: removed live GitHub contributors API: macayu17 only Claude contributor entry: absent

Phase 7 passed locally on 2026-07-18. The hosted pull-request gate was replaced with the owner-approved local gate in PRD.md §13. No hosted CI, pull request, auto-merge, or paid service was used.

Final TodoMVC normal-regeneration evidence: target: https://todomvc.com/examples/react/dist/ source trace: artifacts/phase7-enter-bundle/5461e858-ecc8-4efb-b4b5-2e513554026f config: artifacts/phase7-local-completion/demo.yml CLI exit code: 0 planned / evaluated steps: 2 / 2 matched / drifted / orphaned: 2 / 0 / 0 action locator indexes: 0, 0, 0 fresh recording: 3.880 s, 1280x800 at 25 fps, 160,748 bytes fresh events: 12 total, 3 actions, 4 redaction samples app commit: bee630c34037bbd055ceed01728da9800d1189c6 trace diff unchanged / changed / added / removed: 0 / 3 / 0 / 2 diff note: the stored trace has two duplicate/noise input events that the deterministic replay plan intentionally does not regenerate staleness: unavailable (watch paths are not configured) configured input occurrences in trace, reports, and docs: 0 media.webm SHA-256: 48D1344136D128FED06C8B39DCCCC9492864C78694167808AC2C6289D425CB78 trace.jsonl SHA-256: AC49A524F32CC7265C00B86476029B3EBEEE04A4B5ABAD8B672DC1E3AA9ABC28 meta.json SHA-256: 4561D936A63896E37D27576C7B294422D82EAFE7774E9B48A48F2407EAB7984E GIF: 792,267 bytes, SHA-256 31D5148FCA85EF20D259599D1EDABE7F350B8FA408F459AA9B53ACA0363AA134 MP4: 1,528,818 bytes, SHA-256 D89F4B30147CD272090B1E39E2454B8787CC6389A4EAC0ACD1D70BCFE826B2EA docs: 314 bytes plus 2 PNG screenshots (32,372 and 6,491 bytes)

Phase 7 implementation: [x] strict version 1 demo.yml parser with exact environment references [x] deterministic replay planning by stepId [x] privacy-safe Enter capture and replay [x] ranked Playwright locator resolution in local Chromium [x] matched, drifted, and orphaned action and step classification [x] deterministic JSON and text drift reports written atomically [x] local CLI with demo filtering and exit codes 0, 1, and 2 [x] real CLI end-to-end proof against a local HTTP fixture [x] fresh trace and pixel capture [x] semantic trace diff and optional Git staleness measurement [x] GIF, MP4, and documentation regeneration [x] staged output replacement with failure preservation [x] local normal-regeneration exit gate

Local Chromium dry-run evidence: planned / evaluated steps: 4 / 4 matched / drifted / orphaned: 2 / 1 / 1 chosen locator tiers: testId[0], role[1], label[0], none abort point: step_4 CLI exit code: 1 injected input value occurrences in JSON, text, stdout, and stderr: 0 Playwright result: 1/1 passed in 2.1 s

Prior TodoMVC trace dry-run: source: artifacts/phase6-human-reedit/trace.jsonl trace SHA-256: 2010D010ADE064B439BCAAD4EC3E262F42EB53DC90A2D9C81E9BE25397419599 trace events: 77 (5 clicks, 13 inputs) configured input override: step_0000 through environment CLI exit code: 2 measured reason: step step_0000 contains multiple input targets cause in source trace: the capture E2E deliberately typed into a second [data-sensitive] input before the first click privacy result: correct; that target's semantic locators were removed browser launched: no; replay validation stopped first workaround applied: no

Clean TodoMVC trace dry-run: source: artifacts/phase7-clean-bundle/e545e315-2d1b-445a-9ca3-6d6f6f71a902 recording: rec_5ea4c539-afbc-4014-9571-38736874ef7c duration: 16.1553 s video: 617,436 bytes trace: 34,526 bytes, 80 events (5 clicks, 10 inputs) trace SHA-256: 25D93F80388712E9C2B986BF55EC6A16EBA133DFED6D356F6C89A1309239F2E9 step_0000 input targets: 1 planned / evaluated steps: 6 / 2 matched / drifted / orphaned: 1 / 0 / 1 matched action: step_0000 fill via testId[0] abort point: step_0001 checkbox CLI exit code: 1 measured reason: no locator resolved root cause: the source trace did not capture the Enter key used to create TodoMVC rows, so replay filled the input but created no checkbox injected input value occurrences in JSON and text reports: 0 heuristic Enter or locator workaround applied: no

Enter-enabled TodoMVC trace dry-run (2026-07-17): source: artifacts/phase7-enter-bundle/5461e858-ecc8-4efb-b4b5-2e513554026f recording: rec_7c9d3270-42a9-48cf-9933-d47ced0986f5 duration: 3.8951 s video: 312,233 bytes trace: 12,176 bytes, 31 events (1 click, 3 inputs, 1 Enter) metadata: 874 bytes video SHA-256: 6F7C964CFEB2997C864852DE7201595E1AE66B82FFC8F7A0FD3350A48EDBA83D trace SHA-256: 21E1D79FB0B8A707E545DAFCDE76027D533D2BA3686AF2F5A08568032288FB93 metadata SHA-256: D2E25D7242B82C0548158BD7F5DDE3320EC84F79380F7963451D66398ABE2E12 planned / evaluated steps: 2 / 2 matched / drifted / orphaned: 2 / 0 / 0 chosen locator tiers: fill testId[0], Enter testId[0], click testId[0] abort point: none CLI exit code: 0 injected input value occurrences in JSON and text reports: 0 captured printable keypresses: 0 heuristic keyboard or locator workaround applied: no

Phase 7 final verification: repository tests: 293 passed (83 trace, 25 server, 122 editor, 13 extension, 50 runner) in 14.1 s typecheck: 5/5 active packages passed in 10.5 s root build: trace, editor, and extension build scripts passed in 7.5 s Chromium E2E: 5/5 passed in 49.0 s regeneration runner: 2/2 passed in 10.3 s capture and collaboration: 3/3 passed in 34.0 s

Phase 6 passed on 2026-07-16. Two actual people reviewed the corrected demo as members of the same team: Owner (owner) and Ayush - Editor (editor). The owner requested review and the editor approved it.

Human collaboration exit evidence: recording: 017b78cf-eef4-46ac-87ea-e4effce4d3ba final review state: approved team members: Owner (owner, team), Ayush - Editor (editor, team) open comments: 1 comment author: Ayush - Editor comment body: "Timing needs adjsutsment" original semantic anchor: step_0001 at 1,539.981987 ms re-edited semantic anchor: step_0001 at 2,539.987364 ms timestamp movement: +1,000.005377 ms re-anchor classification: matched locator confidence: 1.0 resolved event id: evt_00b9863e-11d5-43c7-b169-56dbec8c1d60 uploaded / prepared trace SHA-256 equal: yes trace SHA-256: 2010D010ADE064B439BCAAD4EC3E262F42EB53DC90A2D9C81E9BE25397419599 corrected targets remain in DOM order: yes

Phase 5 passed on 2026-07-16. The owner shared a generated link with a friend who is not a Cutscene user; the friend confirmed that the video played. This is the external user-to-non-user event required by PRD.md §11.

Phase 6 progress: [x] strict v1 annotation.comment schema with element locator anchor and fallback media time [x] DOM-free cross-version re-anchoring with matched, drifted, and orphaned results [x] deterministic selection by locator confidence, same step, nearest fallback time, then trace order [x] filesystem-backed shared reviewer interface and persistence [x] hashed owner/commenter credentials and one-use invitation [x] presence leases and event-level soft-lock warnings [x] draft, in-review, changes-requested, approved, published, and outdated review states [x] Yjs timeline document and snapshot-derived version history [x] owner/editor/commenter/viewer invitations with team and project-only scope [x] shared brand kits [x] human two-person team review and approval evidence

Comment re-anchoring evidence: strong locator match (confidence >= 0.8) -> matched at the new media time text/CSS locator match (confidence < 0.8) -> drifted at the new media time no locator match -> orphaned at the recorded fallback media time moved timestamp test: 4,200 ms -> 7,100 ms same-step tie test: 6,000 ms wins over a closer 4,300 ms candidate repository tests: 202 passed (64 trace, 17 server, 108 editor, 13 extension) typecheck: 4/4 workspace packages passed production build: editor and extension passed Chromium E2E: 2/2 passed capture: 17.2 s shared review: 7.1 s

Shared review browser evidence: browser contexts: 2 isolated sessions (owner and invited team editor) distinct team member ids: 2/2 invited editor scope: team semantic comment body: "Mention PDF export." original anchor: step_3 at 4,200 ms replacement anchor: step_8 at 7,100 ms re-anchor result seen by both sessions: matched owner action: request review editor action: approve final review state seen by both sessions: approved owner/reviewer page errors: 0 / 0 semantic box uses the shared capture coordinate transform: yes real Chromium proof: artifacts/screenshots/phase6-shared-review.jpeg

Shared timeline evidence: document: Y.Array<Y.Map> containing zooms, callouts, and redactions Yjs version: 13.6.31 (the only added runtime dependency) transport: authenticated binary HTTP updates with 1.5 s polling persistence: atomic current snapshot plus numbered snapshot history duplicate updates: suppressed by state-vector comparison browser contexts: 2 isolated editor sessions concurrent edits: one added zoom and one disabled .secret redaction converged state: 2/2 sessions saw 2 zooms and the disabled redaction retained versions: 3 (initial document plus the two edits) restored version 1 timeline items: 2 editor page errors: 0 / 0 repository tests: 220 passed (64 trace, 25 server, 118 editor, 13 extension) typecheck: 4/4 workspace packages passed production build: editor and extension passed focused Chromium timeline E2E: 1/1 passed in 6.2 s full Chromium E2E: 3/3 passed in 30.9 s

Team and brand-kit evidence: roles: owner, editor, commenter, viewer invitation scopes: team membership and this-project-only access invitation credentials: SHA-256 hashes at rest; plaintext returned once invitation lifecycle: create, one-use exchange, and revoke permission checks: editor edits/approves; commenter comments; viewer reads owner-only invitation management: enforced member editor link: exposed after joining without leaking it in review data shared kit validation: exact preset schema, unique ids, 50-preset limit shared kit reads: every authenticated role shared kit writes: owner and editor only browser kit flow: editor A saved "Launch kit" with ACME watermark; editor B reloaded the same preset and watermark role API tests: team editor, project commenter, team viewer, revoked viewer review poll carries duplicate brand-kit payload: no

Capture fixture layout regression evidence: cause: the redaction geometry stress step set the first TodoMVC item to position: fixed and left that test-only style on the recorded page effect: target 1 left normal flow and appeared between targets 2 and 3 in editor, owner, and invitation playback fix: restore the element after the geometry sample and assert that its position style is empty before recording continues corrected video: 1 -> 5 remain in DOM order at 2 s, 5 s, 8 s, 11 s, and 14 s live bundle replacement: media.webm, trace.jsonl, meta.json -> 200, 200, 200 source / served SHA-256 equal for all three files: yes live Chromium proof: 1440x900 at 5.0 s, page/console errors 0 screenshot: artifacts/screenshots/phase6-live-clean-review.png repository tests: 220 passed (64 trace, 25 server, 118 editor, 13 extension) typecheck: 4/4 workspace packages passed production build: editor and extension passed focused Chromium capture E2E: 1/1 passed in 23.2 s full Chromium E2E: 3/3 passed in 38.8 s

Actual-team result: joined members: Owner (owner, team), Ayush - Editor (editor, team) final review state: approved real-person comments: 1 timestamp moved and comment survived: yes

The Phase 6 exit criterion is met. The resolver is verified in the real browser flow, two editor sessions converge through Yjs, all roles are enforced, the brand kit is shared, and the real comment/re-edit/approval sequence passed.

Phase 4's exit gate (a user generating an artifact unprompted) was waived by explicit owner override on 2026-07-16, the same demand-validation risk already accepted for Phases 2 and 3. No external user evidence exists. This is an accepted product risk, not a met Phase 4 exit criterion. See PRD.md §10.

Phase 5 is scoped down to its exit criterion only (PRD.md §11): share a link to a demo with someone who is not a user. Only that share-link wedge is being built. Deferred as unbuilt-until-demanded (YAGNI): GitHub OAuth, bring-your-own storage (S3/R2/MinIO), private/expiring/password links, project/version model, analytics. Zero backend dependencies: Node built-in http + fs, filesystem store, no DB. [x] upload a recording bundle to a self-hosted server [x] public share link that plays the demo for a non-user

The capability is verified locally and by the non-user confirmation above.

Share-link wedge evidence: server: packages/server, node built-in http + fs, no DB, zero runtime deps run: PORT=4181 CUTSCENE_DATA=

node src/index.ts (Node 22 strips TS types) POST /api/recordings -> 201 { id: 54fc5035-1910-4305-8ca5-b438771b56c6 } PUT media.webm / trace.jsonl / meta.json -> 200, 200, 200 incomplete bundle share page -> 404 empty media upload -> 400 GET /r/:id -> 200 text/html with