Repository navigation
feat: add prime recovery and safe session imports - #3
Merged
Merged
Conversation
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.
Codex startup and compaction hooks now request
om prime, so prepared memory arrives as bounded tool output with checkpoint time and pending backlog. Hooks no longer embed a memory body that exceeds Codex's context allowance.This also fixes the review's memory ordering, self-capture, failed-fork retry, retirement redaction, and session handoff findings:
scripts/run.sh.importfor an already-started, uncheckpointed session while retaining its pending prompt.[om:pause]before prompt capture.Validation:
go test ./...,go test -race ./...,go vet ./...,go mod verify, andmise exec -- goreleaser checkpass. The marketplace's eight integration tests and native Codex 0.153.4 canary also pass against a build of this tree. The native canary uses a local stub model and verifies sandbox denial without a data-directory grant, successful prime/pending/apply with a scoped grant, failed shell evidence, mid-turn compaction, Stop, and resume.Claude Code remains deferred to #1. Go, SQLite, protocol 1, and schema 1 are retained. The marketplace will pin the resulting 0.3.0 release and its published checksums.