store-conformance-suite: the Store contract's executable form #47
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/store-conformance-suite"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A new engine-agnostic package, internal/storeconformance: the clause
catalog runs as subtests against any Store engine through a Harness
alone (Fresh/Alike/Interfere). Every mutating method's precondition is
proved in its direct form and in its mid-transaction race form — the
commit-time re-check, not a stage-time accident — plus the reads'
sentinel/empty/order catalog, the Recode rename seam with both
endpoints re-verified at apply, and the transaction mechanics. All 73
clauses pass against filestore (TestFilestoreStoreConformance); the
engine's dialect lives only in its harness — filestore's interference
is raw disk writes beneath the held project lock, the competing writer
the re-checks exist for. Existing filestore tests untouched — no lost
pins, no behavior change. items/put-upserts pins today's upsert
contract and is the documented fold-in point for «create-uniqueness at
the store» (docs/specs/server-mode.md) — the ADR is pending, the race
machinery ready; the clause rewrites when it lands (server-store-
engine's first motion otherwise).
Co-Authored-By: Xavier's assistant assistant@gijoe88.com