Skip to content
Memtru
Demo mode. These are captured runs of the real scenarios against a deliberately broken store and a fixed one. All data is synthetic.

Update not applied to the intended record

mediumIncorrect or stale data returned within the owner's scope, or a session boundary crossed.

The intended record did not reflect the update.

Expected

Updating one record changes only that record's content. Its metadata and ownership stay intact, and unrelated records are unchanged.

Observed

Reading A1 after the update did not return the new content.

Evidence

Steps recorded by the CLI for MT-INT-006 v1.0.0. Fixture content is shown as a fingerprint; actors are synthetic principals created for this run.

Evidence steps
#ActionActorDetailOutcome
1writetenant-a/user-auser-scoped fixture sha256:eeb016f69cc9stored as mem_000007
2writetenant-a/user-auser-scoped fixture sha256:8cf32dec2b7estored as mem_000008
3writetenant-a/user-buser-scoped fixture sha256:5445342eb127stored as mem_000009
4read_by_idtenant-a/user-amem_000007returned record
5assert-positive controlheld
6read_by_idtenant-a/user-amem_000008returned record
7assert-positive controlheld
8read_by_idtenant-a/user-bmem_000009returned record
9assert-positive controlheld
10updatetenant-a/user-amem_000007 -> sha256:b4359ffcbe95returned mem_000010
11read_by_idtenant-a/user-amem_000007returned record
12read_by_idtenant-a/user-amem_000008returned record
13read_by_idtenant-a/user-bmem_000009returned record
14read_by_idtenant-a/user-amem_000007returned record
15read_by_idtenant-a/user-amem_000008returned record
16read_by_idtenant-a/user-bmem_000009returned record
17read_by_idtenant-a/user-amem_000007returned record
18read_by_idtenant-a/user-amem_000008returned record
19read_by_idtenant-a/user-bmem_000009returned record

Reproduction

  1. Write record A1 and A2 as user A and B1 as user B; A1 and B1 share metadata key K.
  2. Read all three by id to capture a baseline (positive control).
  3. Update A1's content as user A.
  4. Read all three again and compare with the baseline.
Re-run from your configured sandbox
memtru test --scenario MT-INT-006

Potential causes

Hypotheses to investigate. None of these is confirmed by the test.

  • hypothesisThe update statement matches on a metadata key without the owner filter.
  • hypothesisMetadata is replaced wholesale when only content was meant to change.

Suggested remediation

  • Address updates by record id and owner, never by a shared metadata key alone.
  • Merge metadata on update instead of replacing it, or document replacement semantics.

Limitations

  • Compares content, metadata and ownership fields the adapter returns. Fields the adapter does not expose cannot be verified.

Identifiers

finding
MTF-ec9547ea-INT-006
fingerprint
MT-INT-006:target_not_updated:bd910667f7df
category
integrity
detected
22 Oct 2026, 06:35 UTC