← Back to Pull requests

feat(creator): show authoritative Replay event progress #2460

Closed
unknown closed this pull request without merging on Oct 21, 2026 14:50 UTC
View on GitHub
unknown unknown commented on Oct 21, 2026 14:14 UTC
Author

Summary

Replay shows the public event cursor/count, state, resolved revision and acknowledged neutral reset. Saved Takes and stopped drafts remain distinct, with the existing public Save/Discard owner and finalization guards. An actual Save acknowledgement stays distinct from later inspection; no elapsed clock, WAV denominator or new retry policy is introduced.

The current-head review correction preserves a successful Recovery discard and the existing WAV-bind retry message when the subsequent saved-list observation is refused. The list still becomes unavailable and offers explicit retry; diagnostics still record the read failure. Its read/install/bind protection, pending WAV owner and explicit binding retry remain intact.

Related Issue

Relates to #2135 U08c, #2228, #2112 and #2237; all remain open. This is #2413's current-main successor: GitHub rejected changing the original PR's base while it belongs to a stack. Original published head 0f6bd74578d5484ff3228fa3245b36954e394865 and branch remain intact.

Base main 44622c637e1eb46895c67881a910f2d03b65ae6a; current head 52fe24b4c3ba6cb2f7e14d97f08ee1d57840de86; tree f896fb078b3451952c656cadb98c17e458cfc167. The original eleven-path Task boundary is unchanged. Four of those paths contain the review correction (state, owning test, Host page, existing plan). Published8ceed remains the parent, with a normal follow-up commit and no force-push.

Current strict inspection, capture/Takes producers, Slots, ordinary recording, Mute/Solo, narrow layouts and frame-limit labels remain. COUNT-IN stays withdrawn with explicit restoration/acceptance debt.

Verification

  • Original integration baseline on main:208 Perform PASS/types PASS. On8ceed, the false-neutral mutation fails both stopped/complete assertions and exact fresh restore passes; complete Creator1924, Platform Node752 and full35 Chromium/two WebKit boundaries pass. Those are prior-source receipts, retained below.

  • The new controller regression fails semantically on8ceed: after the actual mocked discard acknowledgement, the pending WAV-bind retry message is replaced by the generic Creator error. Both the initial RED1.489s and exact-request-identity fixture RED1.157s are retained. With the correction, the same test passes1.167s and completes the original WAV binding retry without another discard or lost WAV. No guard or assertion was weakened.

  • Owning Perform/Replay 252 PASS13.766s; current types PASS0.966s. Complete Creator 83 files/1925 PASS127.117s; dependencies PASS0.707s; ownership 77 PASS6.617s; full Portal 179 tests/53 pages/51 routes PASS97.600s. The frozen test tree equals the committed tree and the final range remains eleven files; ten tracked symlinks are intact.

  • Committed ownership 77 PASS6.281s. Official clean configure/build/package PASS1.968/42.227/0.830s; fresh official Native CLI fixture/reproducibility PASS5.718s. Release, tests/conformance OFF, pinned Emscripten6.0.5, fixed512MiB/no growth verified. All ten distribution files/eight assets inventoried; compiled Wasm equals packaged638f1c1d…/10217800bytes.

  • Complete original Perform/touch-fit/meter Chromium 35/35 PASS, exit0/697.292s, no retries/skips. Current real Replay0→1→7/7 naturally completes at revision69 without Stop publication; fresh reopen preserves full events/WAV ref under a new replay ID, and deliberate Stop acknowledges1/7. Real empty recording begin/Stop/Save/cleanup/reopen reaches complete0/0 at revision71. Empty Replay begin itself returned playing0/0; immediate-terminal begin remains component coverage, not a browser claim. All six UI states match public receipts with capture loss0. Six viewport heading bounds/five-point hits,44px controls, wrapped text and one outer scroller pass, including Observer ratio0.9999998807907104.

  • Five saved-WAV cases each pass two fresh reopens. Actual30-minute WAV345600056bytes/86400000frames at48000Hz; RPC6333.370/6351.440ms under the original30000ms budget. The recorded Take369664frames/1478700bytes/5befa17b… retains full SHA/ref and00:07.701 across revisions73→74. Current captures32768/19968frames equal all7/5 batches and final sequences, producing131116/79916byte WAVs with full hashes. Cleanup/closed/fresh-idle and all12 card geometries pass; Slots full Truth is identical after reopen. All118 files/27JSON/91PNG inventoried and JSON read; eight current phone390/desktop1440 Replay/Takes screenshots inspected. Source and complete package unchanged.

  • Both canonical locked WebKit capability-refusal boundaries 1 PASS each, exit0/2.656s and1.858s; source/package unchanged. These do not establish product WebKit UI/PCM or physical Safari/iPad acceptance.
  • Exact terminal exits, source/range hashes, complete distribution inventories, negative logs and receipt readback live under /Users/endaye/.codex/task-evidence/merge-2112-20261021/pr2413-. All original ordinary acceptance legs and budgets remain. Full candidate/batch lanes, the complete CI-contract lane, physical mobile/MIDI/hearing and product WebKit UI/PCM remain UNRUN. The unchanged Platform Node752 receipt belongs to8ceed's identical SDK inputs, not a new run on this head.

    PR Review

    GLM review5601161537/run39615116644 on8ceed identified the valid post-discard refresh issue; the semantic RED and correction are recorded above. The correction is published, reply4338239959 records the semantic proof, and the thread is resolved. Independent current-head DeepSeek review 5601565477, run39619667093 attempt1, has no findings; trusted current-main review_wait reports eligible:true for52fe. Full review body inspected. Live conversations/protection remain a separate guarded-merge check; no waiver.

    CI Scope

    No workflow/lane/scheduling/timeout changes. Final Task range covers Creator, ci_contract, docs_static and Portal; pitfall15 and ownership77 cover the added ledger path. Selection describes ownership, not execution. Owning tests and full production fault/reopen journeys cover event/neutral truth, stopped drafts, actual Save versus inspection and storage/lifecycle exclusion.

    Version Management

    Version impact: compatible Creator Host MINOR debt remains deduplicated under #2237; this correction does not increase it. No SDK/API, Native ABI, Contract, persisted format, dependency, manifest, Product/Assembly/Build, Channel or immutable snapshot allocation.

    Documentation Impact

    Documentation impact: required
    Reason: Replay event/reset and stopped-draft behavior, including acknowledged discard versus saved-list observation, change current Host behavior.
    Affected portal pages: /hosts/creator-web/ /hosts/creator-interactions/

    No Module dependency or diagram edge changes.

    Pitfall Impact

    Retain the original Observer-rounding entry and exact containment/five-point hit oracle. The current review finding is product logic covered by its semantic regression. Existing fresh-restore, full-journey and artifact-identity guidance applies. React review retains native progress/controls, stable replay identity, explicit guarded actions and no polling clock or dependency addition.

    Transition authority

    The owner's nineteen-PR integration request and AGENTS.md authorize commit, push, current-head review and squash. Cleanup, release, deployment, Channel and COUNT-IN restoration remain outside this delivery.

    Merge Danger

    Door: two-way
    Blast Radius: Creator Replay/recording presentation and post-discard observation. No data migration. The correction keeps the list fail-closed and preserves the prior WAV owner/retry and recovery acknowledgement.

    <details>
    <summary>Prior8ceed integration receipts and original stack history; not current-head verification</summary>

    Summary

    Replay now shows the public event cursor/count, state, resolved revision and acknowledged neutral reset. A full cursor cannot claim completion or neutral state. Real terminal begin receipts, including an empty Take, project the existing neutral acknowledgement; no elapsed clock or WAV denominator is introduced.

    Saved Takes and stopped drafts are separate. Stopped-draft Save/Discard use the existing public Facade and owner/finalization guards. An actual Save acknowledgement remains distinct from a later confirmed inspection. The recovery discriminator stays inside the existing two-way header-read/managed-WAV barrier, preserving every peer lifetime, UNKNOWN and explicit retry boundary.

    Related Issue

    Relates to #2135 U08c, #2228, #2112 and #2237; all remain open. This is the current-main integration successor of #2413. GitHub refused retargeting the original because it belongs to a stack (HTTP422); preserve its published head/branch and record the delivered successor after merge. Exactly eleven declared paths, based on actual main 44622c637e1eb46895c67881a910f2d03b65ae6a. Original published head 0f6bd74578d5484ff3228fa3245b36954e394865 remains an integration parent. Current head 8ceedc8fa2173f97b52968ffd600895c7fe9ae3a; tree e214a79026577e37ffdebf84609f1300974aef85. No published history rewrite.

    Strict inspection decoding, capture progress, saved-WAV metadata and U08b are delivered dependencies. Preserve current Slots, ordinary recording, Mute/Solo, narrow layouts and frame-limit label correction. COUNT-IN restoration/acceptance remains deferred by the owner's explicit choice.

    Verification

  • Before product edits on actual main: full Perform 208 PASS, exit0/13.313s; types PASS0.987s.

  • Owning Perform/Replay components 251 PASS, exit0/13.970s; current types PASS1.147s. Removing the actual neutral guard produces semantic RED in both stopped/complete cases at the premature neutral-confirmation assertion; exact saved-byte/fresh-mtime restore passes both in a fresh process. Negative logs and restored hash are retained.

  • Complete Creator 83 files/1924 PASS, exit0/140.516s; complete Platform Node 752 PASS2.184s; dependencies PASS0.755s; pitfall ledger 15 PASS0.080s; staged ownership 77 PASS5.773s; browser syntax PASS0.036s; full Portal 179 tests/53 current pages/51 routes PASS114.805s. Committed ownership 77 PASS6.082s; all eleven paths, ten symlinks and tested/committed tree equality verified.

  • Official clean-head configure/build/package PASS2.980/74.185/0.853s; fresh official Native CLI fixture/reproducibility PASS9.827s. Release, tests/conformance OFF, pinned Emscripten6.0.5 and fixed512MiB/no growth verified. All ten files/eight assets inventoried; compiled Wasm equals packaged638f1c1d…/10217800bytes.

  • Complete Perform/touch-fit/meter Chromium 35/35 PASS, exit0/709.445s, no retries/skips. Real Replay progresses0→1→7 of7 events at revision69, naturally completes with no Stop publication, then cold reopens with identical full events/WAV ref and a new replay ID; explicit Stop is acknowledged at1/7. A real empty begin/Stop/Save/cleanup/reopen reaches complete0/0 at revision71. Its browser Replay begin returned playing0/0; the subsequent real status returned complete0/0. Immediate-terminal begin projection is component coverage, not a browser path claimed here. An extra readback assertion that assumed begin must already be complete failed; its incorrect assumption and actual receipts are retained, with the original full journey unchanged. Every UI identity/count/state matches the public transport receipt, capture loss0. Six views pass exact heading bounds/five-point ownership,44px controls, text and one outer scroller; the minimum Observer ratio0.9999998807907104 demonstrates why ratio equality is not the containment oracle.

  • All five saved-WAV states pass two fresh reopens. The actual30-minute file is345600056 bytes/86400000 frames at48000Hz; exact public receipts take6366.575/6534.535ms under the unchanged30000ms budget. Recorded Take364288frames/1457196bytes/20dd34a6… keeps the same full SHA/ref through revision73→74. Current capture33536/19712frames equals all7/5 batches, finalSequence7/5 and WAV134188/78892bytes; cleanup/closed/fresh-idle readback and all12 card geometries pass. Slots committed/reopened Truth is identical. All118 files/27JSON/91PNG inventoried and JSON read; eight phone390/desktop1440 Replay/Takes screenshots inspected. Source and complete package unchanged.

  • Both canonical locked WebKit capability-refusal boundaries 1 PASS each, exit0/2.630s and1.845s; source/package unchanged. These are refusal receipts, not product WebKit UI/PCM or physical Safari/iPad acceptance.
  • Exact commands/exits, source patch, mutation logs and full SHA/length inventories are retained under /Users/endaye/.codex/task-evidence/merge-2112-20261021/pr2413-. Original PCM, failed-prefix, Save UNKNOWN, retry-bind, owner loss, Stop/Save, cleanup, reopen and Replay assertions/budgets remain. Full candidate/batch-only lanes, physical mobile/MIDI/hearing and product WebKit UI/PCM remain UNRUN.

    PR Review

    Independent current-head review: PENDING. No self-waiver; live conversations and protection are checked separately.

    CI Scope

    No workflow, lane, schedule or timeout changes. Owning checks cover authoritative event progress, terminal-neutral acknowledgement, stopped-draft versus saved classification, Save/inspection receipt distinction, recovery header-read exclusion and complete fault/reopen journeys. Final range is focused creator/ci_contract/docs_static/portal with no unclassified paths. Pitfall15 and ownership77 cover the new ledger path; the entire CI-contract lane remains UNRUN. Selected full lanes describe ownership, not execution.

    Version Management

    Version impact: compatible additive Creator Host MINOR debt, deduplicated in #2237. No SDK/API, Native ABI, Contract, persisted schema, dependency, manifest, Product/Assembly/Build, Channel or immutable snapshot allocation.

    Documentation Impact

    Documentation impact: required
    Reason: Replay event progress, acknowledged neutral reset, stopped drafts and Save/inspection states change current Host behavior.
    Affected portal pages: /hosts/creator-web/ /hosts/creator-interactions/

    Current producer and U08b facts remain. No Module dependency or diagram edge changes.

    Pitfall Impact

    The original scoped Observer-rounding entry is retained. Browser geometry verifies exact bounds and five-point heading ownership instead of treating a rounded intersection ratio as containment. The current geometry passes with the rounded ratio; no new failed-gate recurrence is claimed. Existing complete-journey, fresh-restore and path-backed evidence guidance applies. React review: pure typed progress, stable replay-ID component lifetime, native progress/controls, guarded explicit actions, no timer, synthetic Stop or dependency additions.

    Transition authority

    The owner's nineteen-PR request and AGENTS.md authorize commit/push/current-head review/squash. Earlier stack-freeze text below is historical for this ordinary UI integration. Cleanup, release, deployment, Channel and COUNT-IN restoration are outside this delivery.

    Merge Danger

    Door: two-way
    Blast Radius: Creator Replay presentation and existing stopped-draft lifecycle projection. No data migration. Owner/finalization/header-read guards and full production fault/reopen journeys cover the relevant concurrency and persistence risks.

    <details>
    <summary>Historical original stack evidence and restrictions (superseded integration premise)</summary>

    Summary

    Replay presents the existing public event cursor/count and reset acknowledgement. Saved Takes and a recovered, committed stopped draft are shown separately; that draft can be replayed, saved or discarded after reopening.

    Project-owned headers + recovery/status → saved cards / stopped draft
    public begin/status/Stop → literal eventCursor/eventCount → actual reset ACK
    actual Save ACK / inspection → distinct confirmation, separate WAV retry
    

    One Task over11 declared files on Draft #2412 (5074f0753bb68ed927d37e8a5b7802fe8c90e3df). No new clock, WAV denominator, seek, SDK/Native/persisted Contract, manifest, dependency or CI change.

    Related Issue

    Related issue: Relates to #2228

    Relates to #2112, #2135 and #2237. The umbrella and acceptance issues remain open.

    Evidence

  • Before: Replay showed raw rows and state/revision; begin's durable drafts could appear saved. After: current Project-owned facts distinguish saved Takes, unavailable lists and committed stopped drafts; selecting/refreshing starts no publisher or audio metadata scan.

  • Before: empty-complete begin left reset pending because no playing poll runs. After: only the real terminal begin receipt receives the existing neutral projection. A full cursor while playing remains playing; zero events show0/0 without percentage/duration, invalid counts are unavailable.

  • Before: the original full browser run was33/35: recovered drafts lost Replay, and the retry-bind helper expected saved headers while those recovery-capable reads were correctly blocked. After: retain the original apply/discard, owner-loss, Save/reopen, export/retry/revision/temp-retirement legs; expose stopped draft actions and actual Save confirmation separately from WAV binding.

  • Recording status can reach recovery too. Its conditional read now belongs to the existing tracked header observation and managed-WAV barrier. No independent raw read bypasses that guard. An inspection says “Performance inspected”; only a real Save ACK says “Performance saved”.

  • Native cards/tokens and the scoped Figma root404:2571/touch404:2762 grouping are reused. Public event progress remains the approved scope; full Performance duration/Replay elapsed is deferred under #2135.
  • Verification

  • npm --prefix apps/creator-web test -- --run:84 files/1980 tests PASS; Creator tsc --noEmit PASS. Includes existing admitted-begin/UNKNOWN, Stop retry, owner/leave/close and save/bind barriers, plus stopped-draft classification/actions, stale/no-authority refusal and ACK-versus-inspection counterexamples.

  • Retained semantic RED/GREEN: original empty-terminal begin; false neutral while playing; managed-install admission while a latched status/recovery observation is live; same-name durable draft incorrectly labelled Save. Exact bytes/fresh mtime/new Vitest process restore GREEN. All original failures remain retained.

  • scripts/docs-site.sh check:179 tests,52 pages,10 diagram sources/20 outputs, build/typecheck and50 routes/internal links PASS. Official pinned Emscripten6.0.5/Node26 production build and clean-source package PASS. New-path ownership76 PASS.

  • Official production browser proof on 0f6bd74578d5484ff3228fa3245b36954e394865: complete existing Perform/meter/touch selection 35/35 Chromium PASS (8.8min), then official capability-boundary selection 2/2 WebKit PASS. The prior targeted real Replay journey also passes1/1; neither original failure nor any journey assertion/deadline was removed.

  • Browser evidence includes actual public Native receipts matched to a nonzero/nonterminal UI cursor, natural completion without synthetic Stop, exact inspected events/Artifact across cold reopen, explicit Stop, and a true empty public begin/stop/save/reopen0/0 replay. Six viewports retain44px controls, exact heading containment/hit tests, wrapped text and a single outer scroller;12 path-backed Take/status PNGs and geometry JSON are inspected.

  • Recovered draft: crash/apply → Replay → fresh reopen/same complete events/null WAV → Save → second reopen/saved row. Discard branch retains unchanged revision after tail discard, then explicit draft discard and absent ID/idle journal. Retry bind: actual Save ACK → original error/export → explicit retry → exact bound WAV digest/bytes/media → fresh reopen/same events/Artifact.

  • Earlier over64-code-point fixture, valid headered-event SDK inspection failure,33/35 run and ratio1 image-framing failure are retained. Use an explicitly legal64-code-point fixture and parent #2412's strict existing-protocol decoder; do not bypass the public SDK. Input validation/UNKNOWN presentation for invalid names remains a separate #2112 follow-up.

  • Complete candidate/batch,35-screen integrated acceptance, physical devices/hearing, and historical B0 WebKit lifecycle findings remain outstanding. The official WebKit capability-refusal proof does not establish full WebKit product UI/PCM.
  • PR Review

    Current head: 0f6bd74578d5484ff3228fa3245b36954e394865. Independent current-head review PENDING; no self-waiver. Main freshly refreshed at 1c4462aa8436f81da1db2a9e6420d94f0e84ccb4; all21 existing Draft heads are unchanged and no competing UI successor exists. Future integration must reconcile main's COUNT-IN withdrawal #2396.

    CI Scope

    Expected mode: focused
    Expected selected lanes: ci_contract creator docs_static portal
    Expected skipped lanes: core_asan core_coverage core_macos core_ubuntu deploy_contract package web_runtime_host web_runtime_lab web_toolchain
    ci:full required: no
    Reason: Relative to the actual #2412 parent, only owned Creator/Portal/test/plan paths and its process ledger entry change; the ledger selects ci_contract. Against main, inherited stack root-CMake/three-family changes retain the admitted full fallback. Selection is not execution; deferred complete lanes remain unverified.

    Version Management

    Version impact: compatible additive Creator Host MINOR debt
    Reason: Deduplicate by domain under #2237 without lowering higher debt. No new version identity, Product/Assembly/Build or snapshot allocation.

    Documentation Impact

    Documentation impact: required
    Affected portal pages: /hosts/creator-web/ /hosts/creator-interactions/
    Reason: Document public event progress/reset, saved/stopped classification/actions, distinct confirmation and zero/unavailable/deferred-elapsed boundaries. No diagram/dependency edge changed.

    Pitfall Impact

    Pitfall impact: new intersection-ratio-rounds-contained-heading

    Retain the actual ratio1 failure and DOM/Observer rectangle difference; exact physical containment, corner/center hit ownership and image readback replace the faulty instrument without lowering thresholds. The entry remains open with no shared mechanism. Ledger15 and new-path ownership76 PASS; the initial local-date lint failure is retained, corrected to the actual UTC observation date.

    Release Impact

    Release impact: none
    Candidate tag: none
    Profile: none
    Channel: none
    Intent disposition: none
    Release assets: none
    Release gates: none
    Reason: Draft development under the explicit main freeze.

    Transition authority

    Authorized transitions: verified commit, push and Draft successor of #2412 on the one linear stack. No merge/auto-merge until explicitly unfrozen; no release/tag/publication/deployment/Channel or Git cleanup.

    Merge Danger

    Door: two-way. Host presentation/projection and existing public actions; no persisted migration.

    Blast Radius: host. Preserve publisher/UNKNOWN retirement and managed-WAV barriers; progress must never fabricate completion/reset or label an unsaved draft as saved.

    </details>

    </details>

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: endaye Review duration: 35m
    All Vouch review confidence checks passed
    Residual risk 0.32 = Change Risk (0.80) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.80 · 650 lines diff across 8 files
    0.80
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.080
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #2460"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 80.2% (HIGH) · Higher = larger blast radius
    80.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 31.7% · Safe to merge
    31.7%
    Repository