# openclaw · Durable evidence

> Levels are per column and must not be summed, averaged or ranked. A level states which written criterion the runtime's source meets. It is not a measure of quality or task success. Higher is not always preferable.

Source: "Agent runtime comparison: ten open-source agent runtimes, source review", study of 2026-11-28. Mark notation: `3` is the level in the default deployment; `1→4 [opt: …]` is level 1 by default and level 4 in the named configuration; `s` source-verified, `d` documented or test only. Service dependencies are classes (E embedded, O on demand, R resident service, X external server required), not levels.

- Runtime: [openclaw](https://ai-agents-review.com/runtime/openclaw.md)
- Column: [Durable evidence](https://ai-agents-review.com/column/durable-evidence.md) (Evidence and memory)
- Mark: 2 s
- Default deployment: 2
- Best supported configuration: 2
- Page: https://ai-agents-review.com/cell/openclaw/durable-evidence

## Rationale

Default pruning policy exists, but in-place UPDATE and suffix replace rewrite records (level 3 unmet)

## Rubric 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
- 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)

## 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 [E61][E62][E63][E64].

## Evidence cited by the mark

- [E62] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/src/config/sessions/session-accessor.sqlite-transcript-rewrite.ts#L88-L110 — in-place `UPDATE transcript_events` (caller: tool-result truncation) — [S]
- [E63] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/src/config/sessions/store-maintenance.ts#L26-L34 — prune 30d, model-run 24h, 5,000 entries, enforce mode, 10 GiB budget — [S]
- [E65] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/src/agents/sessions/session-manager-entries.ts#L57-L80 — persisted compaction entry; context = summary + entries from firstKeptEntryId — [S]

## Evidence also cited by the review finding

- [E61] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/src/state/openclaw-agent-schema.sql#L456-L507 — `transcript_events` table — [S]
- [E64] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/src/trajectory/runtime-retention.sqlite.ts#L27-L29 — trajectory retention 14 days / 512 MiB — [S]

## Grading record

- Grader A (default / best): 2 / 2
- Grader B (default / best): 2 / 2
