Skip to content

Add Codex compaction events#147

Merged
willwashburn merged 3 commits intomainfrom
feat/codex-compaction-events
Apr 27, 2026
Merged

Add Codex compaction events#147
willwashburn merged 3 commits intomainfrom
feat/codex-compaction-events

Conversation

@willwashburn
Copy link
Copy Markdown
Member

@willwashburn willwashburn commented Apr 27, 2026

Summary

  • Detect Codex type: compacted session-log records and emit CompactionEvent rows from the reader
  • Carry the last completed Codex turn through resume/cursor state so resumed parses keep precedingMessageId and tokensBeforeCompact
  • Persist Codex compactions during passive ingest and cover parser + ingest behavior with regression tests

Validation

  • pnpm run build
  • pnpm run test

Open in Devin Review

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 4 additional findings.

Open in Devin Review

Resolve [Unreleased]/[0.33.0] conflicts in packages/ledger/CHANGELOG.md
and packages/reader/CHANGELOG.md by keeping this branch's [Unreleased]
entries above main's [0.33.0] release block.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
devin-ai-integration[bot]

This comment was marked as resolved.

The publish workflow promotes [Unreleased] at release time; entries
written under an already-stamped section like [0.33.0] are post-release
hand-edits that the next release won't pick up.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@willwashburn willwashburn merged commit c911ad8 into main Apr 27, 2026
2 checks passed
@willwashburn willwashburn deleted the feat/codex-compaction-events branch April 27, 2026 21:33
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