Repository navigation
Conversation
Codex 0.157 runs in embedded mode when Orca passes `-c model_reasoning_effort=…`, shows a startup warning, and repaints its header by cell diff (`ESC[5;3Hdir ESC[5;7Hctory:`). The tui-idle body check read the line-folded tail, which drops those cursor moves and reads `dirctory:`, so worker-start timed out at agent_readiness while Codex sat idle at its prompt. For Codex (or unknown) panes whose live emulator screen shows the Codex header, the screen now decides readiness: `model:` and `directory:` present and neither still `loading`. Otherwise today's text rules apply unchanged. All six tui-idle satisfaction sites share one helper so they cannot disagree. Fixes STA-8628 / #23241.
fb6cc8f to
f856c14
Compare
Pass the screen as a thunk so non-Codex panes never build the grid, hoist the pane agent lookup, and share the unblocked-ready check with the Muse rule.
There was a problem hiding this comment.
ℹ️ No critical issues — one scope observation about the readiness checkpoints, nothing blocking.
Reviewed changes
Read the full 18-file diff at fb6cc8f0, exercised the new transcript tests with and without the screen path, and re-ran the neighbouring readiness suites.
- Live-screen readiness function:
isKnownReadyPromptBody(waitText, screenLines, agent)interminal-wait-detection.ts— when the live grid shows theOpenAI Codexheader and the pane is known-Codex (or unknown), the screen'smodel:/directory:rows decide, with a new(model|directory):\s+loadingveto; otherwise today's text rules apply.isKnownReadyPromptPreviewis refactored to shareisReadyPromptLive. - Screen accessor:
readLiveTerminalScreenLines(ptyId)inorca-runtime-visible-snapshot-preview.tssynchronously projects the liveHeadlessEmulatorvisible rows, returningnullfor no emulator, provider-preferred PTYs, or a pending hydration. - Call-site migration: the immediate check (
runtime-terminal-wait.ts), the 2 s poll (runtime-terminal-idle-polls.ts), and the resolve/delivery-settle paths (orca-runtime-resolve-exit-waiters.ts) route through the new function;orca-runtime-runtime-id.tswiresreadScreenLinesinto both dependency objects. - Captured-transcript tests: four real codex-cli 0.157.1 PTY fixtures plus
codex-header-readiness-transcripts.test.tscovering the loading veto, the final ready screen, a mid-turn composer, a trust dialog below the header, the null-screen fallback, and the 80x24 fallback; the pane harness gained asize/getSizeseam.
ℹ️ The visible-read probe is still a Codex readiness checkpoint on the text-only check
startTuiIdleVisibleReadProbe still resolves tui-idle with isKnownReadyPromptPreview(snapshotText), so it never applies the new loading veto. It fires only when a Codex pane has no runtime-observed output (waitText.length === 0 and lastAgentStatus === null), so it is not the reported path — but it is the one tui-idle checkpoint that no longer agrees with the others.
Technical details
# Visible read probe bypasses the new loading veto
## Affected sites
- `src/main/runtime/orca-runtime-start-tui-idle-visible-read-probe.ts:80-83` — non-antigravity panes classify a `source: 'screen'` projection with `isKnownReadyPromptPreview`.
- `src/main/runtime/runtime-terminal-wait.ts:161-174` and `:265-274` — the probe is started for a Codex pane when `lastAgentStatus === null` and `waitText.length === 0`.
## Why it matters
`isKnownReadyPromptPreview` matches the Codex header purely on the `model:` + `directory:` substrings, so a provider screen captured while the header still reads `model: loading` classifies ready — the exact false positive `isKnownReadyPromptBody` now vetoes. That resolves the waiter before Codex has attached its input reader (the #9976 class of lost prompt).
## Open question
Is leaving the probe on the text-only check intentional (e.g. it is believed unreachable for Codex), or should the probe also pass its screen lines through `isKnownReadyPromptBody`? The call site already has the projection's visible `tail` lines.
## Required outcome
Either the probe shares the one readiness function like the other checkpoints, or a comment records why it is exempt.DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 📝 WalkthroughWalkthroughRuntime readiness checks now consider live terminal screen lines for Codex panes when those lines are available. A loading model or directory in a Codex header blocks screen-based readiness. The change also adds Codex 0.157.1 terminal recordings and tests for warning output, loading and ready screens, terminal dimensions, and runtime idle waits. Priority: ➖ Normal Severity of issue fixed: Medium Merge Risk: 🟠 High · up to Readiness may settle before Codex is actually idle, causing prompts to be injected into an active session. This should be fixed before merging. Security Architecture ReviewSecurity architecture risk: 🟡 Moderate · up to A loaded Codex header can remain visible while Codex is working. Treating that header as an idle signal may cause text to be sent before the terminal is ready. The identified exposure is limited to the affected terminal; a permission bypass has not been established. Retained concerns
Security review detailsSecurity Blast Radius
Security Findings and Attack Paths
Trust Boundaries and Controls
Resilience and Maintainability Implications
Hardening Proposals
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Full details: Linked Issues checkExplanation Issue [ Resolution Make the affected Codex launch and takeover paths detect a loaded header at the default
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 5c7d576a-4d47-4bb1-bad0-65b01a16c46d
📒 Files selected for processing (18)
src/main/runtime/__fixtures__/codex-0157-config-override-embedded-warning.meta.jsonsrc/main/runtime/__fixtures__/codex-0157-config-override-embedded-warning.txtsrc/main/runtime/__fixtures__/codex-0157-effort-override-embedded-warning.meta.jsonsrc/main/runtime/__fixtures__/codex-0157-effort-override-embedded-warning.txtsrc/main/runtime/__fixtures__/codex-0157-no-daemon-effort-override.meta.jsonsrc/main/runtime/__fixtures__/codex-0157-no-daemon-effort-override.txtsrc/main/runtime/__fixtures__/codex-0157-plain-ready.meta.jsonsrc/main/runtime/__fixtures__/codex-0157-plain-ready.txtsrc/main/runtime/agent-transcript-pane-test-harness.tssrc/main/runtime/codex-header-readiness-transcripts.test.tssrc/main/runtime/orca-runtime-resolve-exit-waiters.tssrc/main/runtime/orca-runtime-runtime-id.tssrc/main/runtime/orca-runtime-visible-snapshot-preview.tssrc/main/runtime/runtime-terminal-idle-polls.test.tssrc/main/runtime/runtime-terminal-idle-polls.tssrc/main/runtime/runtime-terminal-wait.tssrc/main/runtime/terminal-wait-detection.tssrc/main/runtime/terminal-wait-name-only-idle.test.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.
| if (screenLines !== null) { | ||
| const screen = screenLines.join('\n').toLowerCase() | ||
| if (screen.includes(CODEX_HEADER_TITLE)) { | ||
| return isReadyPromptUnblocked(screen, findCodexScreenReadyPromptIndex(screen)) |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
#!/bin/bash
set -eu
printf '%s\n' '--- PR diff ---'
git diff --no-ext-diff --unified=50 0547b3222488e7788c0c3631fa18fe19e21ab1ec 03922415a0dd42131dd243ccba7f0e949e102976 -- src/main/runtime/terminal-wait-detection.ts
printf '%s\n' '--- current file ---'
cat -n src/main/runtime/terminal-wait-detection.ts
printf '%s\n' '--- related symbols and tests ---'
rg -n -C 4 'isTuiIdleSatisfied|isKnownReadyPromptBody|findCodexScreenReadyPromptIndex|working status|workingStatus|tui-idle|Codex.*header|directory:' src test tests 2>/dev/null || trueRepository: stablyai/orca
Length of output: 45633
🤖 get_repo_knowledge executed:
get_repo_knowledge stablyai/orca /tmp/coderabbit-repo-knowledge/stablyai-orca-89dc44e4/learnings /tmp/coderabbit-repo-knowledge/stablyai-orca-89dc44e4/conventions
Length of output: 36162
🏁 Script executed:
#!/bin/bash
set -eu
printf '%s\n' '--- target symbols ---'
rg -n -C 12 'function isTuiIdleSatisfied|const isTuiIdleSatisfied|isTuiIdleSatisfied|isKnownReadyPromptBody|findCodexScreenReadyPromptIndex|findCodexReadyPromptIndex' src/main src/renderer tests --glob '*.{ts,tsx}' 2>/dev/null | head -n 1200
printf '%s\n' '--- terminal wait files ---'
git ls-files '*terminal*wait*' '*tui*idle*' '*readiness*' | head -n 200
printf '%s\n' '--- focused tests and fixtures ---'
rg -n -C 8 'OpenAI Codex|openai codex|model:|directory:|loading|working|active turn|tui-idle|ready prompt' src/main/runtime src/main --glob '*terminal*test*.ts' --glob '*wait*.test.ts' --glob '*tui*.test.ts' --glob '*.spec.ts' 2>/dev/null | head -n 1600Repository: stablyai/orca
Length of output: 42962
🏁 Script executed:
#!/bin/bash
set -eu
printf '%s\n' '--- idle evidence implementation ---'
cat -n src/main/runtime/tui-idle-evidence.ts
printf '%s\n' '--- idle evidence tests ---'
cat -n src/main/runtime/tui-idle-evidence.test.ts
printf '%s\n' '--- readiness test files ---'
rg -l 'mid-turn|Codex|codex|loading|directory:|model:' src/main/runtime --glob '*test.ts' --glob '*.spec.ts' | while read -r f; do
case "$f" in
*tui-idle-evidence.test.ts) ;;
*) printf '%s\n' "--- $f"; rg -n -C 10 'mid-turn|Codex|codex|loading|directory:|model:' "$f" | head -n 500 ;;
esac
doneRepository: stablyai/orca
Length of output: 45633
Reject fresh working status before accepting Codex body readiness.
A live Codex screen with openai codex, model:, and directory: passes line 69 unless it still contains a loading marker or blocked signal. The matcher does not reject other working activity. isTuiIdleSatisfied accepts this body evidence before it checks fresh first-party working status, so a retained header can settle tui-idle during an active turn.
Suggested fix
- if (hasExplicitIdleTitle(input.record, input.rendererTitle) || input.readPositiveBodyEvidence()) {
+ if (hasExplicitIdleTitle(input.record, input.rendererTitle)) {
return true
}
if (hasFreshWorkingFirstPartyStatus(input.firstPartyStatus)) {
return false
}
+ if (input.readPositiveBodyEvidence()) {
+ return true
+ }There was a problem hiding this comment.
Superseded by c7cf494: the screen can no longer veto a verdict the text rules give. isKnownReadyPromptBody returns true whenever isKnownReadyPromptPreview(waitText) does, and reads the screen only when the text says not ready. A test covers this across every recording at five grid sizes.
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
fd 'tui-idle-evidence|terminal-wait-detection|codex-header-readiness-transcripts' src
ast-grep outline src/main/runtime/tui-idle-evidence.ts --items all --match 'isTuiIdleSatisfied|hasFreshWorkingFirstPartyStatus|hasExplicitIdleTitle'
rg -n -C 12 'isTuiIdleSatisfied|hasFreshWorkingFirstPartyStatus|readPositiveBodyEvidence' src/main/runtime --type tsLength of output: 37854
@Jinwoo-H, you’re right that isKnownReadyPromptBody now preserves a ready verdict from the text rule. My comment was about a different condition: isTuiIdleSatisfied accepts positive body evidence before it checks fresh first-party working status. A retained Codex header can therefore settle tui-idle during an active turn.
My suggested reorder would also change the existing text rule, so it was too broad. The remaining concern is whether screen-derived readiness should be rejected when first-party status says working.
Thanks for the clarification.
✏️ Learnings added
Learnt from: Jinwoo-H
Repo: stablyai/orca PR: 23475
File: src/main/runtime/terminal-wait-detection.ts:0-0
Timestamp: 2026-09-27T22:41:50.570Z
Learning: In `src/main/runtime/terminal-wait-detection.ts`, `isKnownReadyPromptBody` preserves a true `isKnownReadyPromptPreview(waitText)` verdict before consulting live screen lines. Live screen lines provide an additional readiness path when the text rule does not report ready.
Note: Learnings are effective only in the context of similar code segments. To apply general coding guidelines, please configure review instructions. You can manage existing learnings in the app.
You are interacting with an AI system.
A grid out of step with the PTY (size mismatch or a resize mid-paint) can garble Codex's header. Keep every verdict the text rules give today and consult the screen only when they say not ready, so no flow that settles today can stop.
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 1cda8b36-ef8f-46e2-8576-729dc88a40ff
📒 Files selected for processing (2)
src/main/runtime/codex-header-readiness-transcripts.test.tssrc/main/runtime/terminal-wait-detection.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
Chat below the header can mention "OpenAI Codex" or "model: loading", so the screen rule now reads model/directory/loading only inside the header box. The serialize round-trip sweep picks up every runtime fixture; record the pre-existing header-border attribute divergence the new Codex 0.157 recordings expose, which this change does not touch.
|
Re pullfrog's note on |
There was a problem hiding this comment.
Important
The latest commit makes isKnownReadyPromptBody report ready while the live Codex screen still shows loading, whenever the text copy reassembles the header. That reverses the loading veto added earlier in this PR on the plain and no-daemon paths.
Reviewed changes
Read the delta since the prior pullfrog review (c7cf494, plus the 03922415a0 refactor), the full 18-file diff, and replayed all four Codex fixtures through the live-screen function.
- Screen may now only add readiness:
isKnownReadyPromptBodyreturnstrueon the text rules before consulting the screen, so a text-ready verdict can no longer be vetoed by a screen showingloading; the screen branch runs only when the text is not ready. - Loading-window test narrowed: the per-recording test now passes
''aswaitText(exercising only the screen), and the removedvetoes the append-only text copy while the screen still shows loadingtest is replaced by a multi-grid assertion that the screen never takes readiness away. - Refactor:
isKnownReadyPromptPreview/isMuseReadyPromptPreviewshareisReadyPromptUnblocked; the screen thunk is read lazily and only for Codex/unknown panes.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to GitHub limitations.
🟠 Major · Reject stale emulator grids for tui-idle… · orca-runtime-visible-snapshot-preview.ts:143-160
src/main/runtime/orca-runtime-visible-snapshot-preview.ts:143-160
🩺 Stability & Availability | 🟠 Major | ⚡ Quick winReject stale emulator grids for tui-idle evidence.
onPtyDataupdates the live tail and output sequence beforetrackHeadlessTerminalDataapplies the chunk to the emulator queue. During that interval,readLiveTerminalScreenLinescan return the previous ready Codex header. The title-triggered tui-idle and delivery checks can then accept that header before the current busy output is applied. This can inject input into a running Codex session.Return no screen evidence while the emulator sequence differs from the PTY sequence. The next poll can retry after the queued write completes.
Suggested fix
if ( !state || this.providerSnapshotPreferredPtys.has(ptyId) || this.headlessHydrationState.get(ptyId) === 'pending' ) { return null } + if (state.outputSequence !== this.ptyOutputSequenceById.get(ptyId)) { + return null + } // Why unawaited writeChain: callers are synchronous; a grid one chunk behind is re-read next poll. return projectTerminalVisibleLines(state.emulator).lines
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: b1d2d780-6aa9-4629-987c-93711154ed00
📒 Files selected for processing (3)
src/main/daemon/serialize-grid-transcript-replay.test.tssrc/main/runtime/codex-header-readiness-transcripts.test.tssrc/main/runtime/terminal-wait-detection.ts
🚧 Files skipped from review as they are similar to previous changes (2)
- src/main/runtime/codex-header-readiness-transcripts.test.ts
- src/main/runtime/terminal-wait-detection.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Reviewed the delta since the prior pullfrog review (86d036e only): the screen rule now parses only the header box, and the serialize sweep records the new fixtures' pre-existing divergence.
- Header-box-only screen parse:
findCodexScreenReadyPromptIndexanchors on the firstopenai codex, slices to the box's╰corner, and appliesmodel:/directory:/loadingonly inside that slice, so chat below the header that mentionsOpenAI Codexormodel: loadingno longer changes the verdict. The added test covers exactly that case, and all 40 transcript tests pass. - Fixture allowlist:
serialize-grid-transcript-replay.test.tsrecords the four new Codex recordings' pre-existing header-border restore divergence; the counts are asserted, so the test still fails if the divergence grows. - Text-first ordering unchanged: the earlier "screen can only add readiness" decision stands; the updated PR body documents the retained
model: loadingfalse positive as intentional.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
* fix(runtime): read Codex readiness from the live screen Codex 0.157 runs in embedded mode when Orca passes `-c model_reasoning_effort=…`, shows a startup warning, and repaints its header by cell diff (`ESC[5;3Hdir ESC[5;7Hctory:`). The tui-idle body check read the line-folded tail, which drops those cursor moves and reads `dirctory:`, so worker-start timed out at agent_readiness while Codex sat idle at its prompt. For Codex (or unknown) panes whose live emulator screen shows the Codex header, the screen now decides readiness: `model:` and `directory:` present and neither still `loading`. Otherwise today's text rules apply unchanged. All six tui-idle satisfaction sites share one helper so they cannot disagree. Fixes STA-8628 / #23241. * refactor(runtime): read the Codex screen lazily and only for Codex panes Pass the screen as a thunk so non-Codex panes never build the grid, hoist the pane agent lookup, and share the unblocked-ready check with the Muse rule. * fix(runtime): let the Codex screen only add readiness A grid out of step with the PTY (size mismatch or a resize mid-paint) can garble Codex's header. Keep every verdict the text rules give today and consult the screen only when they say not ready, so no flow that settles today can stop. * fix(runtime): read Codex readiness from the header box only Chat below the header can mention "OpenAI Codex" or "model: loading", so the screen rule now reads model/directory/loading only inside the header box. The serialize round-trip sweep picks up every runtime fixture; record the pre-existing header-border attribute divergence the new Codex 0.157 recordings expose, which this change does not touch. (cherry picked from commit 433986f)

ELI5
Starting a Codex worker with a model and reasoning effort (
worker-start --agent codex --model … --effort …) would hang until it gave up, even though Codex was sitting at its prompt ready for work. Orca was reading its own text notes of what Codex printed, and those notes came out garbled. Orca now looks at the actual terminal screen it already keeps, which shows the correct text.What Changed
Before:
worker-startfor Codex with--model/--effortfailed atagent_readinesswithlastError: timeout. The Codex pane showed a ready prompt with a⚠ 1 warning · f2 to viewfooter. Without those flags it worked.After: the start settles once Codex has finished loading, and the task prompt is injected.
Mechanism:
-c model_reasoning_effort=…. In Codex 0.157, any-coverride makes Codex skip its new shared background server ("embedded mode") and show a startup warning (config_exclusionincodex-rs/tui/src/daemon_startup.rs).ESC[5;3Hdir ESC[5;7Hctory:.dirctory:. The Codex rule needsopenai codex+model:+directory:, so it never matched.The change:
readLiveTerminalScreenLines(ptyId): a synchronous read of that live screen's visible rows (~0.1–0.2 ms, no daemon call). It returns null when the screen can't be trusted: no emulator, a partial copy restored from the provider, or a pending restore.isKnownReadyPromptBody(waitText, agent, readScreenLines): today's text rules decide first. Only when they say "not ready", and only for panes known to be Codex (or unknown), it reads the screen: ready when the Codex header box showsmodel:anddirectory:and neither still saysloading. Only the header box is parsed, so chat below it can't interfere. The screen can only add readiness, never take it away, so every verdict the text rules give today is kept.Why
Why the screen, not a text-copy patch: the text copy is a scrollback list with no screen coordinates. Codex 0.157 draws full-screen with absolute cursor positioning, so teaching the text copy to follow it would mean writing a second emulator. The live emulator already exists.
Why the header rule plus "not loading", not the
›input line: Codex keeps the›input line visible while working, so it would report "ready" mid-task. The header only dropsloadingonce startup finishes, so the screen never adds readiness early: never ready while loading and ready at the end, in all 10 recordings.Why the screen can only add readiness: a regression review replayed the recordings on grids that don't match the PTY (odd sizes, or a resize landing mid-paint). There, Codex's cell-diff repaint garbles the header, and a screen that could veto would turn today's "ready" into a timeout. Checking the text rules first keeps every current verdict. The existing early false positive, where the text copy counts a
model: loadingheader as ready, is left as it is today.Why only Codex moves to the screen: other agents' rules (for example Cursor's banner) haven't been checked against a visible-rows-only view. The agent gate also stops another agent's screen that merely mentions "OpenAI Codex" from being judged by the Codex rule.
Alternatives considered:
--no-daemonwhen Orca passes-c: works (3/3 in recordings) but needs a Codex version gate, and doesn't cover other startup warnings or taking over a running terminal.-c:--profilealso forces embedded mode.Other orchestrators: herdr renders with an embedded terminal and runs rules on screen rows. gastown, overstory and firstmate read rendered tmux screens or pass the prompt at launch. paseo and paperclip use Codex's JSON interfaces. None match a Codex header against raw output.
Linked Issue
Fixes #23241
Related: #22825, #18019
Visual Proof
N/A: no UI change. The observable difference is that
worker-startreachesreadyinstead ofagent_readinesstimeout (see Testing).Testing
Automated:
codex-header-readiness-transcripts.test.tsuses four real codex-cli 0.157.1 PTY recordings (plain,-m+-c,-conly,--no-daemon), scrubbed with the transcript recorder:loading, and reads ready on the final screen.onPtyDatapath at 120x40: a tui-idle wait settles.src/main/runtimesuites: 413 files passed and 2 skipped; 4870 tests passed, 26 skipped, 0 failed.pnpm tc, oxlint andcheck:code-quality:changedpass with 0 new findings.Live: On an isolated headless dev runtime built from this branch (macOS, codex-cli 0.157.1), I ran
orchestration worker-start --agent codexagainst a scratch repo:--model gpt-6-sol --effort highready/input_accepted,turnStart: observed,launch.effective= gpt-6-sol / highworker_done, task completedready/input_accepted,turnStart: observedworker_done, task completedready/input_accepted,turnStart: observedworker_done, task completedScreen polled during the second override run: the
⚠ 1 warning · f2 to viewfooter is present, and the prompt was pasted only after the header changed frommodel: loadingtomodel: GPT-6-Sol high. Readiness waited for Codex to finish loading rather than firing on the first header.I didn't run a pre-fix build live. The failure is reproduced by the issue reports and by the runtime test above (red without the fix).
Platforms: macOS, plus unit and runtime tests (platform-neutral logic).
Review
Agent skill upstream boundary
docs/reference/agent-skill-sharing-upstream-boundary.mdand copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.Notes
isAgentSettledForDeliverygets the same additive evidence, so it can only start delivering sooner, never later.worker-start --terminal <handle>, mentioned in [Bug]: worker-start for codex times out at agent_readiness when --model/--effort are passed #23241) still times out. After a turn, the Codex header has scrolled off both the screen and the text copy, so neither rule has anything to match. That needs a separate composer-based rule with a working-state guard, which is out of scope here. The mainworker-startcase is fixed.serialize-grid-transcript-replay.test.tsreplays every runtime fixture. The new Codex recordings expose a pre-existing restore divergence (the header border restores with an extra attribute bit). It's recorded in that test'sKNOWN_PREEXISTING_I2_FAILURES; this PR doesn't touch the serializer.Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred). Typecheck, changed-file lint and targeted suites pass locally; CI covers the full suite and build.