Skip to content

Recover Codex model attribution from truncated session lines#5

Merged
iam-brain merged 1 commit into
mainfrom
codex-session-model-recovery
Mar 13, 2026
Merged

Recover Codex model attribution from truncated session lines#5
iam-brain merged 1 commit into
mainfrom
codex-session-model-recovery

Conversation

@iam-brain

Copy link
Copy Markdown
Owner

Summary

  • retain JSONL prefix bytes for truncated lines so Codex scans can salvage safe metadata
  • recover Codex session/model context from truncated prefixes without changing report shapes or inferring across ambiguous switches
  • bump only the Codex historical cache artifact and add regression coverage for truncated recovery, cache invalidation, and UTF-8 prefix boundaries

Test Plan

  • swift test --filter CostUsageScanner
  • pnpm check
  • ./Scripts/compile_and_run.sh

@iam-brain iam-brain force-pushed the codex-session-model-recovery branch from 0d4b912 to 9fe702b Compare March 12, 2026 18:28
@iam-brain iam-brain merged commit bdbe1a3 into main Mar 13, 2026
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