Skip to content

Recover verified transcripts from partial daemon responses - #17

Merged
mjacobs merged 2 commits into
mainfrom
codex/verified-transcript-recovery
Nov 19, 2026
Merged

mjacobs merged 2 commits into
mainfrom
codex/verified-transcript-recovery

Conversation

@mjacobs

@mjacobs mjacobs commented Nov 19, 2026

Copy link
Copy Markdown
Owner

agy-reader can recover a conversation when the daemon reports more steps than it returns. The reader resumes each truncated list from its last offset and checks the assembled transcript against SQLite before writing a sidecar.

If executor metadata would exceed the 64 MiB budget, the reader verifies the steps and generator metadata and records how many executor records it omitted. Doctor and audits distinguish these transcripts from sessions with full verification. The watcher backs off after a failed recovery, and verification now covers the observed single-child kill_all result.

A live agy 1.5.12 watcher synced all 936 steps of an oversized conversation, including both kill_all results. The sidecar contained all 336 generator records and recorded 132 omitted executor records. Regression tests cover interrupted pagination, omission counts, audit completion, and watcher retries.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T21:43:20.344912Z b532108 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@mjacobs
mjacobs merged commit b532108 into main Nov 19, 2026
3 checks passed
@mjacobs
mjacobs deleted the codex/verified-transcript-recovery branch November 19, 2026 21:47
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.

1 participant