# nullclaw · Context recovery

> 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: [nullclaw](https://ai-agents-review.com/runtime/nullclaw.md)
- Column: [Context recovery](https://ai-agents-review.com/column/context-recovery.md) (Evidence and memory)
- Mark: 2 s
- Default deployment: 2
- Best supported configuration: 2
- Page: https://ai-agents-review.com/cell/nullclaw/context-recovery

## Rationale

Default memory_recall and injection over stored chat memories, but tool outputs never stored: capped at 2

## Rubric 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)
- 4: Level 3, plus automatic relevance-based injection of stored evidence **or** stable references (ids/paths) that survive restart and compaction

## Review finding

Built in. In-RAM compaction (100 messages or 75% of tokens) writes a summary of at most 2,000 characters. On overflow, all but 4 messages are dropped. Recovery: `memory_recall` tools and automatic memory injection (≤4 KB). Past tool outputs cannot be recovered [E55][E56][E58][E59]. Note E-5.

## Evidence cited by the mark

- [E55] nullclaw — https://github.com/nullclaw/nullclaw/blob/5f1cade05c19b6ecdfb9565ae3305e892e484da9/src/agent/compaction.zig#L83-L173 — `autoCompactHistory` replaces compacted slice with a summary — [S]
- [E58] nullclaw — https://github.com/nullclaw/nullclaw/blob/5f1cade05c19b6ecdfb9565ae3305e892e484da9/src/agent/memory_loader.zig#L9-L21 — automatic memory injection, 4,000-byte / 5-entry cap — [S]
- [E59] nullclaw — https://github.com/nullclaw/nullclaw/blob/5f1cade05c19b6ecdfb9565ae3305e892e484da9/src/tools/root.zig#L505-L522 — memory store/recall/list/forget tools — [S]

## Evidence also cited by the review finding

- [E56] nullclaw — https://github.com/nullclaw/nullclaw/blob/5f1cade05c19b6ecdfb9565ae3305e892e484da9/src/agent/compaction.zig#L193-L222 — `forceCompressHistory` keeps last messages, no summary — [S]

## Grading record

- Grader A (default / best): 1 / 1
- Grader B (default / best): 4 / 4
- Adjudication: disagreement; R7. Default memory_recall and injection over stored chat memories, but tool outputs never stored: capped at 2
