Repository navigation
fix(codex): restore transcripts for fresh native terminal sessions - #1567
Open
Juliusolsson05 wants to merge 2 commits into
Open
Juliusolsson05 wants to merge 2 commits into
Juliusolsson05 wants to merge 2 commits into
Conversation
…ties Keep the CLI startup receipt until its root rollout becomes readable, then use the existing exact-ID lease. This restores fresh terminal transcripts independently of proxy capture or TLDR grants. Refs #1565
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User impact
Fresh native-terminal Codex 0.172.0 could process a prompt while Agent Code showed an empty transcript. Resuming a known thread worked. This fix gives a fresh pane a provider-issued identity when TLDR reporting is off and no Responses proxy is running.
Behavior
The app trusts a launch-specific SessionStart command alongside any reporting grants. Each launch owns a private directory for atomically written receipts. The receiver filters child events, stale resume events and mismatched identities. It retains the UUID while waiting for the root rollout to become readable. The existing exact-ID coordinator still verifies the filename and session metadata before leasing or tailing the file.
Codex's personal/project hooks and grants remain independent. Startup hooks are optional. A Codex installation that disables them cannot provide this evidence. Sessions that predate the fix can resume through a known thread ID.
Verification
Fixes #1565