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

## Rationale

Default pull recall and SQL over outside-context rows; default definition pushes ≤5 relevant hits automatically

## 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. A turn-start LLM summary applies above min(256k, half the window). A mid-loop guard stubs out old tool results with "re-read if needed". Pull recall (`$SPORE_RECALL` BM25) and `$SPORE_SQL` reach outside-context rows. The default definition also pushes ≤5 hits into the prompt [E112][E113][E114][E115].

## Evidence cited by the mark

- [E113] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/packages/spore/src/resilience/context-guard.js#L1-L40 — mid-loop guard stubs old tool results, "re-read files if needed" — [S]
- [E114] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/packages/spore/src/core/spore-run.js#L376-L406 — push recall before the loop; failure non-fatal (`recall {failed}`) — [S]
- [E115] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/packages/spore/sporangia/default/spore.cmk#L10-L12 — default definition `memory: bm25`, `push: 5`, `pull: 20` — [S]

## Evidence also cited by the review finding

- [E112] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/packages/spore/src/resilience/compaction.js#L27-L86 — history bound min(256k, half window); failure returns uncompacted history + event — [S]

## Grading record

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