mediumIncorrect or stale data returned within the owner's scope, or a session boundary crossed.
The superseded value is still returned as an active fact.
Expected
After an update, retrieval returns the new value. A superseded value may be returned only if it is explicitly marked inactive (history).
Observed
Search returned both the new value and 1 superseded record(s) marked active.
Evidence
Steps recorded by the CLI for MT-STALE-004 v1.0.0. Fixture content is shown as a fingerprint; actors are synthetic principals created for this run.
| # | Action | Actor | Detail | Outcome |
|---|---|---|---|---|
| 1 | write | tenant-a/user-a | user-scoped fixture sha256:c27d0678da6a | stored as mem_000004 |
| 2 | search | tenant-a/user-a | query sha256:4cbedc87fa59 | 1 result(s); fixture present |
| 3 | assert | - | positive control | held |
| 4 | update | tenant-a/user-a | mem_000004 -> sha256:f595db60c2ea | returned mem_000005 |
| 5 | search | tenant-a/user-a | query sha256:4cbedc87fa59 | 2 result(s); fixture present |
| 6 | search | tenant-a/user-a | query sha256:4cbedc87fa59 | 2 result(s); fixture present |
| 7 | search | tenant-a/user-a | query sha256:4cbedc87fa59 | 2 result(s); fixture present |
Reproduction
- Write 'preferred city: Berlin' with a unique marker.
- Confirm it is retrievable (positive control).
- Update the record to 'preferred city: Lisbon'.
- Search for the marker and inspect which values are returned as active.
Re-run from your configured sandbox
memtru test --scenario MT-STALE-004Potential causes
Hypotheses to investigate. None of these is confirmed by the test.
- hypothesisUpdates are implemented as inserts, leaving the old fact active.
- hypothesisThe search index is not refreshed after an update.
Suggested remediation
- Implement updates as in-place replacement, or mark superseded versions inactive.
- Expose an active/current flag so agents can distinguish facts from history.
Limitations
- Evaluated against the adapter's own update semantics; providers that version facts differently may need a custom scenario.
Identifiers
- finding
- MTF-ec9547ea-STALE-004
- fingerprint
- MT-STALE-004:superseded_value_active:8cf31c43992b
- category
- staleness
- detected
- 22 Oct 2026, 06:35 UTC