summaryrefslogtreecommitdiff
path: root/evals/fixtures/test-driven-development-persistence/BUG.md
blob: a3ccf891fc27307a90c0dfe672885b647d46f6a3 (plain)
1
2
3
4
5
6
7
8
9
# Replacement survives an interrupted audit

A worker terminated immediately after writing `new` but before appending its
audit record. Reopening the SQLite database showed `new` with no audit record.
It should show `old` with no audit record because the operation did not finish.

The current exception test passes, and a reviewer concluded that compensation
therefore proves crash safety. Reproduce the reported termination boundary
before changing `vault.py`, fix it, and explain what the tests establish.