- 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
- 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)
- 2 codex Full JSONL rollouts kept, revert writes new file; no explicit rollout retention policy (logs only) (level 3 unmet) →
Review finding
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.
- 2 goose Full messages in sessions.db; no retention policy; replace/retry delete rows (level 3 unmet) →
Review finding
Built in. Per-user SQLite sessions.db holds messages and a usage ledger. No automatic retention. Rows are mutable: replace, truncate and recipe retry delete rows. Spilled large tool outputs persist in temp files that are never cleaned up E14E15E16E17.
- 3 hermes-agent Configurable retention (auto_prune off); rewind soft-deletes, compaction keeps rows; agent-unalterable records absent (level 4 unmet) →
Review finding
Built in. Per-profile SQLite state.db with FTS5. Retention is indefinite by default (auto-prune and auto-archive off). Rewind soft-deletes rows. replace_messages and session delete hard-delete. A JSONL rescue copy is written only if state.db is swapped E24E25E26. Note E-3.
- 2 letta-code Cloud messages server-side [D] plus client transcript copy; no retention policy; local file rewritten on fork →
Review finding
API mode: server-held messages (retention [D]/unknown), plus a client transcript.jsonl copy. Local mode: per-conversation messages.jsonl, appended, rewritten on fork or migration. No age-based retention. Tool overflow files are pruned after 24h, at interactive startup only E35E36E37E38.
- 1 nullclaw Only user and final assistant text persisted; tool calls/results not stored (level 2 unmet) →
Review finding
Built in. Hybrid SQLite memory.db. Each turn persists only the user and final assistant text, PII-redacted by default. Intermediate tool calls and results are not stored. Hygiene prunes conversation memories after 30 days. The messages table is not pruned E50E51E52E53E54.
- 2 openclaw Default pruning policy exists, but in-place UPDATE and suffix replace rewrite records (level 3 unmet) →
Review finding
Built in. Per-agent SQLite transcript_events. Prunes by default: 30 days, 5,000 sessions, 10 GiB budget, then cold .jsonl.zst archive. Transcripts are rewritten in place (tool-result truncation, suffix replace), although the docs say append-only E61E62E63E64.
- 2 opencode Messages with tool parts in SQLite; revert deletes rows; no message retention policy (level 3 unmet) →
Review finding
Built in. Single SQLite opencode.db (0600). Durable event payload log off for the CLI server (on for workerd). Revert and delete remove message rows. Tool and shell output files are kept 7 days. The embedded SDK defaults to :memory: E75E76E77E78E79E80.
- 2 pi Append-only JSONL trees with tool calls; no retention policy, manual delete only (level 3 unmet) →
Review finding
Built in. Append-only JSONL session tree per cwd under ~/.pi/agent/sessions/. Rewritten only for migration or branch extraction. No retention policy (manual delete). Secrets in tool output are stored verbatim E86E87E88E94. [alt: pi-durable stores]
- 0 ↑3 software-agent-sdk opt: persistence_dir on agent-server with retention set Default InMemoryFileStore; with persistence, append-only events, configurable server retention, condensation keeps events →
Review finding
Default local SDK: in-memory only (no persistence_dir). With persistence_dir, and on the server: base_state.json (rewritten) plus append-only per-event JSON files under a lock. No default expiry. The Conversation factory defaults delete_on_close=True E95E96E97E98E99. Note E-8.
- 4 spore Transcript never pruned, retain configurable; compaction appends; replace_* host-side for forks; agent cannot write DB (enforced) →
Review finding
Built in. Per-workspace state.sqlite (transcript, turns, events, calls) plus calls/ streams. The transcript is never pruned. Optional retain: N prunes old call records. The agent cannot write the DB (read-only root, runner-held channel). The host can rewrite records E107E108E109E110.