Repository navigation
fix: support current Codex session JSONL schema - #2750
Closed
anirishrnbsinger wants to merge 1 commit into
Closed
anirishrnbsinger wants to merge 1 commit into
anirishrnbsinger wants to merge 1 commit into
Conversation
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
anirishrnbsinger
force-pushed
the
rish/vil-512-parkafterce-04-repair-codex-global-retro-scanner
branch
from
August 31, 2026 14:44
ce44644 to
5f171a1
Compare
anirishrnbsinger
force-pushed
the
rish/vil-512-parkafterce-04-repair-codex-global-retro-scanner
branch
from
August 31, 2026 14:47
5f171a1 to
082ddba
Compare
Contributor
|
Thanks for the careful work and fixtures, @anirishrnbsinger. Main already handles current Codex session_meta sizes (a 128 KiB first-line read since v1.69.0.0, which covers the 18-29 KiB records you measured), and day/week windows are already local-midnight aligned, so /retro's discovery works on today's schema. We'd rather not take on the larger parser and diagnostics without a consumer for them. Closing as superseded; if a future Codex release breaks discovery, an issue with a sample record would be very welcome. |
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.
Summary
Why
Current Codex session_meta records on the audited machine are 18–29 KiB, and the session stream now contains multiple typed envelopes. While main now covers the original 4 KiB truncation with a 128 KiB first-line read, that remains a heuristic and does not provide schema diagnostics or root/subagent accounting. This change makes the global retro audit repeatable against the current JSONL schema.
Verification
bunabsent from PATH: 31 focused tests passedLinear: https://linear.app/viltrumempire/issue/VIL-512