test(creator): align recording switches with retained input frames #2482
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.52) × (1 − Review Confidence (0.56)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 95% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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
Real PR Conversation Timeline
1 comments
"Review active on #2482"
general
weight: 0.35
endaye
Summary
Restore the existing ordinary recording-switch journeys after COUNT-IN returned. Use the actual Count-in Off control, then compute exact expected events from checksum-verified, losslessly parsed Journal input frames. Native queue-consumption frames remain genuine completion evidence with all identity/correlation assertions preserved.
Two declared files: the existing browser spec and its Task plan. No product implementation, wire, clock policy, assertion tolerance or deadline changes.
Related Issue
Related issue: Relates to #2112 and #2233
Evidence
Verification
Test source
3cbf930861036fcaf9869bac48f0b84278101d33, spec SHA256a5922e85a62f02748f14bb96f5633b7367255c5d7c3b2f163db1bd2896fcb917; base8dd263239292c66ad12419ed4b9d683fdd5cd1e0.Initial Task receipts below use source
593d0a76/ spec5b08dcbc; the separate follow-up receipt below binds the current3cbf9308/a5922e85test bytes.python3 scripts/local-audio-output.py --lane creator -- python3 <retained-run_browser.py> s3-journal-clock creator/creator_web_recording_switch.spec.mjs: locked Chromium, workers1, complete 2/2 PASS, wrapper exit0/61.162s (browser60.648s). Both original terminal A and terminal B variants retain real Press/cross-S physical Release, genuine refusal/new explicit gesture handling, queued/applied S, target input, Perform return, Record-off, Stop, exact complete Truth/revisions and fresh reopen. Each case has five retained candidate/Native pairs; all successful path-backed JSON attachments match their originals, both complete Asset path/length/SHA inventories match, whole reopened Truth equals expected revision77. Original one-second input waits and all other budgets remain.ede57774cccee9cb2c07b92b18f880d53b7e6cf3has an entire source tree identical to current base; this commit changes only tests/plan. All10 distribution hashes and both original official fixture hashes match immutable retained inputs. This is reuse of a verified artifact, not a new build. Test bytes are bound separately. Both audio endpoints are built-in MacBook Pro Speakers with no warnings.node --check tests/platform/web/creator/creator_web_recording_switch.spec.mjs: PASS on Node26. Externalclock-domain-probe.mjsextracts the actual calculators and checks independent literals: PASS.python3 tests/build/ci_change_scope_test.py: staged77 PASS, committed-range repeat before push. Whitespace PASS.Review follow-up Task (second atomic commit, no published history rewrite): added explicit nonnegative segment-frame / ordered release guards and constructed the recording setup immutably from the observed App session. Full original two-case selection rerun on these exact test bytes: 2/2 PASS, wrapper62.466s / browser61.910s. All10 distribution/two fixture hashes, both complete Truth/Assets/reopen records and14 selected successful JSON attachments match. The literal calculator probe also refuses negative press/release deltas. Syntax PASS; committed-range ownership repeated before push.
Retained gaps: COUNT-IN-enabled switching, packaged fault/restart composition, complete Creator/candidate-host lanes, physical devices and human listening remain unverified. Previous input-deadline failures, historical 1000ms live timeout and full Host TSan480s TIMEOUT are retained. This ordinary journey result does not complete either related Issue. No full lanes or portal build are claimed for this test-only Task.
PR Review
Current head:
3cbf930861036fcaf9869bac48f0b84278101d33. First-head DeepSeek 40053059265/1 raised four findings. Two frame-boundary/context observations are fixed in the second commit and verified above; the two session-filter observations have press / release source-based dispositions retaining fail-closed single-active-Journal checks. Independent exact-head GLM review5636401833, run40053693935 attempt1, is authenticated by trusted current-mainreview_wait.pyexit0/eligible=true, with no new inline findings. The two initial fixes have frame / context evidence; all four historical threads have actual dispositions and are resolved. No owner waiver. All remaining conversations, conflicts and live protection must pass before guarded squash.CI Scope
Expected mode: focused
Expected selected lanes: creator docs_static
Expected skipped lanes: ci_contract core_asan core_coverage core_macos core_ubuntu deploy_contract package portal web_runtime_host web_runtime_lab web_toolchain
ci:fullrequired: noReason: existing Creator browser test and explanatory Task plan; the creator batch-only lane is ownership information, not a full-lane pass.
Version Management
Version impact: none
Reason: browser preparation/oracle and plan only; no product API, ABI, persistence, identity, manifest, Build or snapshot allocation.
Documentation Impact
Documentation impact: none
Reason: tests follow the already documented restored Count-in Off behavior and original recording ingress timing; no current portal page or documented product fact changes.
Pitfall Impact
Pitfall impact: none — reason: the test premise and clock-domain oracle are visible in source and regression evidence; no new control-plane mechanism or gate.
Merge Danger
Door: two-way
Blast Radius: verification
Revert both test and plan together. Production behavior and the original complete journey assertions remain unchanged.
Release Impact
Release impact: none
Candidate tag: none
Profile: none
Channel: none
Intent disposition: none
Release assets: none
Release gates: none
Reason: tests/plan only; frozen CI/release/evidence paths excluded.
Transition authority
Authorized transitions: push | PR | merge | cleanup
Standing repository Task authorization and the user's #2112 integration/cleanup instructions apply after verification, exact-head independent review and protection checks. No tag, Release, deploy, publication, or Channel promotion is implied.