Skip to content

Reconnect committed transcripts for fresh Codex sessions - #634

Merged
Juliusolsson05 merged 39 commits into
mainfrom
fix/codex-fresh-rollout-attachment
Aug 26, 2026
Merged

Juliusolsson05 merged 39 commits into
mainfrom
fix/codex-fresh-rollout-attachment

Conversation

@Juliusolsson05

@Juliusolsson05 Juliusolsson05 commented Aug 24, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • reconnect committed transcripts for modern fresh Codex sessions without selecting rollout files by recency
  • pin codex-headless PR docs: note planned Agent Code rename #41 for process-wide fresh/resume ownership, real chunked input evidence, generation-bound physical tails, and bounded cleanup/privacy lifetimes
  • prepare resume ownership before provider spawn in production and in the real-data live probe
  • pin agent-transcript-parser PR Add interactive agent PTY debug terminal #21 and add its cross-package probe typecheck to Agent Code CI
  • forward content-safe ownership decisions into recordings so held candidates are diagnosable without new raw prompt text

Fixes #632.

Recorded evidence

Seven sanitized fixtures were extracted from real rollouts before ownership changed. The corpus spans Codex 0.145.0, 0.147.0, failed 0.149.0 Agent Code sessions, concurrent same-CWD 0.149.1 siblings, and exact resume/subagent attachment. Successive independent RED gates were converted into recorded ordering, generation, observer, input, and lifetime regressions before each repair.

The final interactive blockers were at two real boundaries: xterm forwards ordinary typing as separate chunks, while the previous ownership ledger only recognized an atomic text-plus-Enter write; and accepted dev:ino evidence was discarded before a pathname-based physical tail opened. Those gaps left the committed transcript disconnected or allowed a later filesystem generation to be read under an earlier authorization.

Verification

  • codex-headless: 92/92, contract, typecheck, build, packed artifact, accepted/latest upstream check at 0.149.1
  • agent-transcript-parser: 94/94, contract, typecheck, build, packed artifact, plus monorepo-only live-probe typecheck
  • Agent Code: typecheck and focused Codex readiness 9/9
  • real Codex 0.149.1: typed fresh turn committed 12 entries; exact prepared resume committed 21; provider-backed Tab queue committed 29; exact prompt/response evidence and zero errors throughout
  • backward-compatibility live sequence against repository Codex 0.144.4: 14/23/32 committed entries and zero errors
  • exact intended heads: parent 793b1a4, codex-headless 6244eac, parser a3fee9d
  • exact-head GitHub CI and an eighth independent review are required before merge

Dependencies

Merge Juliusolsson05/codex-headless#41, then Juliusolsson05/agent-transcript-parser#21, prove both pinned commits are ancestors of dependency main, then merge this PR.

@Juliusolsson05
Juliusolsson05 force-pushed the fix/codex-fresh-rollout-attachment branch 2 times, most recently from efb57fa to 65dc930 Compare August 26, 2026 16:55
@Juliusolsson05
Juliusolsson05 merged commit 2e02d51 into main Aug 26, 2026
1 check passed
@Juliusolsson05
Juliusolsson05 deleted the fix/codex-fresh-rollout-attachment branch August 26, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Codex 0.147-0.149: fresh rollout ownership can fail, leaving processed prompts queued

1 participant