Marks / Evidence and memory / Durable evidence
openclaw · Durable evidence
Default pruning policy exists, but in-place UPDATE and suffix replace rewrite records (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
Pinned evidence
Cited by the mark
- E62
in-place
UPDATE transcript_events(caller: tool-result truncation)openclaw/openclaw src/config/sessions/session-accessor.sqlite-transcript-rewrite.ts L88-L110
- E63
prune 30d, model-run 24h, 5,000 entries, enforce mode, 10 GiB budget
openclaw/openclaw src/config/sessions/store-maintenance.ts L26-L34
- E65
persisted compaction entry; context = summary + entries from firstKeptEntryId
openclaw/openclaw src/agents/sessions/session-manager-entries.ts L57-L80
Also cited by the review finding
- E61
transcript_eventstableopenclaw/openclaw src/state/openclaw-agent-schema.sql L456-L507
- E64
trajectory retention 14 days / 512 MiB
openclaw/openclaw src/trajectory/runtime-retention.sqlite.ts L27-L29
Two independent graders
- Grader A
- 2 / 2
- Grader B
- 2 / 2
- Final
- 2 / 2