# goose · 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: [goose](https://ai-agents-review.com/runtime/goose.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/goose/durable-evidence

## Rationale

Full messages in sessions.db; no retention policy; replace/retry delete rows (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-user SQLite `sessions.db` holds messages and a usage ledger. No automatic retention. Rows are mutable: replace, truncate and recipe retry delete rows. Spilled large tool outputs persist in temp files that are never cleaned up [E14][E15][E16][E17].

## Evidence cited by the mark

- [E14] goose — https://github.com/aaif-goose/goose/blob/c546eaa1cd02696e4cd628e203df51429e158175/crates/goose/src/session/session_manager.rs#L38-L40 — `sessions.db`, schema version 18 — [S]
- [E15] goose — https://github.com/aaif-goose/goose/blob/c546eaa1cd02696e4cd628e203df51429e158175/crates/goose/src/session/session_manager.rs#L2268-L2280 — `replace_conversation` deletes and rewrites all messages in a transaction — [S]
- [E16] goose — https://github.com/aaif-goose/goose/blob/c546eaa1cd02696e4cd628e203df51429e158175/crates/goose/src/agents/state_machine/ops_retry.rs#L55-L61 — recipe retry resets conversation to kickoff message — [S]

## Evidence also cited by the review finding

- [E17] goose — https://github.com/aaif-goose/goose/blob/c546eaa1cd02696e4cd628e203df51429e158175/crates/goose/src/agents/large_response_handler.rs#L5-L80 — >200k-char tool output written to kept temp file and referenced by path — [S]

## Grading record

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