Marks / Operations and verification / Execution records
codex · Execution records
Rollout JSONL persists TurnAborted, but rollout policy marks Error events transient, so failures are not structured records. Level 3 unmet; mutable
Level
Criteria for this column
- 0
No records beyond console output
- 1
Logs or partial transcript; failures not recorded as structured events
- 2
Structured transcript/events including tool calls and errors, written by the runtime; freely mutable
met - 3
Level 2, plus failures and aborts recorded as structured events, and optional structured telemetry (OTel or similar)
- 4
Level 3, plus records protected from the agent (enforced) or tamper-evident
What the source review found
Built in. RolloutRecorder appends a session JSONL. Tracing goes to the logs_2.sqlite diagnostic DB (10-day retention). OTLP is off by default; metrics go to the vendor (Statsig) only when analytics consent is on. Records can be altered by archive/delete RPCs and by compression (replace-by-rename); none is tamper-evident. O3O4O5O6O7
Pinned evidence
Cited by the mark
- O3
RolloutRecorder writes canonical session rollout items to JSONL under ~/.codex/sessions
- O6
OtelConfig defaults: no log/trace exporter; metrics exporter Statsig; prompts not logged
- I14
spawn_taskaborts existing tasks withTurnAbortReason::Replaced
Also cited by the review finding
- O4
Rollout compression/migration replaces files by rename under a lock
- O5
Diagnostic log DB pruned on a timer: 10-day retention, 64 MiB budget
openai/codex codex-rs/state/src/runtime/logs_maintenance.rs L1-L12
- O7
Statsig metrics disabled unless analytics enabled
Two independent graders
- Grader A
- 2 / 2
- Grader B
- 2 / 2
- Final
- 2 / 2