Marks / Evidence and memory / Context recovery
openclaw · Context recovery
Ungated sessions_history/sessions_search over kept rows; spill paths break on restart, no auto injection (level 4 unmet)
Level
Criteria for this column
- 0
Evidence that leaves the prompt is gone, or never stored
- 1
Only an in-prompt summary; originals not stored, or stored but unreachable by the agent
- 2
Originals stored, reachable only through generic means (re-reading files, temp-file paths named in the summary) or through a retrieval tool that is off by default
- 3
Default-on retrieval tool or command over stored transcript/memory (search plus read)
met - 4
Level 3, plus automatic relevance-based injection of stored evidence or stable references (ids/paths) that survive restart and compaction
What the source review found
Built in. The persisted compaction entry holds the summary plus a first-kept id. Older rows stay in SQLite. Retrieval through ungated sessions_history/sessions_search and memory_search (sessions included by default on single-user installs). Spill-file paths stop working after a restart E65E66E67E68.
Pinned evidence
Cited by the mark
- E65
persisted compaction entry; context = summary + entries from firstKeptEntryId
openclaw/openclaw src/agents/sessions/session-manager-entries.ts L57-L80
- E66
sessions_history/sessions_searchadded without config gate - E67
"restart or cap eviction makes old notices unreadable"
openclaw/openclaw src/agents/sessions/tools/private-temp-file.ts L16-L17
Also cited by the review finding
- E68
rememberAcrossConversationsdefaults true for dmScope mainopenclaw/openclaw packages/memory-host-sdk/src/host/config-utils.ts L101-L123
Two independent graders
- Grader A
- 3 / 3
- Grader B
- 3 / 3
- Final
- 3 / 3