Marks / Evidence and memory / Durable evidence
codex · Durable evidence
Full JSONL rollouts kept, revert writes new file; no explicit rollout retention policy (logs only) (level 3 unmet)
Level
Criteria for this column
- 0
Default deployment keeps nothing after the process exits
- 1
Final messages persist, but tool calls/results or intermediate steps do not
- 2
Full transcript including tool calls persists by default, with no stated retention policy and freely rewritable records
met - 3
Level 2, plus an explicit retention policy (configurable, or "never pruned" stated in code) and revert/compaction keep the originals (new record or hidden row), not destructive rewrite
- 4
Level 3, plus records the agent itself cannot alter (enforced), or tamper-evidence (hashing/signing)
What the source review found
Built in. One JSONL rollout per thread under ~/.codex/sessions/, plus SQLite state/log DBs. No age-based deletion of rollouts. Revert writes a new rollout file and leaves the old one. archive/delete remove history on request. Logs are pruned after 10 days. history.jsonl (prompts) can be turned off E1E2E3E4E13.
Pinned evidence
Cited by the mark
- E1
thread/revertcreates a new immutable rollout file under the same thread id - E3
10-day log retention;
DELETE FROM logs WHERE ts < ?openai/codex codex-rs/state/src/runtime/logs_maintenance.rs L11-L79
- E4
thread/archive/thread/deletemethods mutate or remove history on requestopenai/codex codex-rs/app-server-protocol/src/protocol/common.rs L614-L619
Also cited by the review finding
Two independent graders
- Grader A
- 2 / 2
- Grader B
- 2 / 2
- Final
- 2 / 2