dev #72

Merged
xavier merged 12 commits from dev into main 2026-11-20 22:38:42 +01:00
Owner
No description provided.
plans: v0.11.1 scoped — the lost writes, concurrent-mutations-silent-loss (ft6eyx) into the patch round
Some checks failed
/ secrets-scan (gitleaks 8.28.0, all refs, redacted) (push) Successful in 7s
/ test (linux/amd64, full suite) (push) Has been cancelled
/ build darwin/amd64 (push) Has been cancelled
/ build linux/amd64 (push) Has been cancelled
/ build windows/amd64 (push) Has been cancelled
/ build darwin/arm64 (push) Has been cancelled
/ build linux/arm64 (push) Has been cancelled
/ build windows/arm64 (push) Has been cancelled
/ release (six binaries + checksums.txt, tag pushes only) (push) Has been cancelled
/ image (the release container, tag pushes only) (push) Has been cancelled
/ alias (re-point latest, main pushes only) (push) Has been cancelled
2ad71fbaaf
Co-Authored-By: Xavier's assistant <assistant@gijoe88.com>
plans: untrack .skuld/.lock — machine-owned runtime artifact, the flip dropped its ignore line (flagged for documenter)
All checks were successful
/ secrets-scan (gitleaks 8.28.0, all refs, redacted) (push) Successful in 6s
/ test (linux/amd64, full suite) (push) Successful in 1m22s
/ alias (re-point latest, main pushes only) (push) Has been skipped
/ build linux/amd64 (push) Successful in 30s
/ build darwin/arm64 (push) Successful in 35s
/ build darwin/amd64 (push) Successful in 43s
/ build linux/arm64 (push) Successful in 43s
/ build windows/arm64 (push) Successful in 36s
/ build windows/amd64 (push) Successful in 3m30s
/ release (six binaries + checksums.txt, tag pushes only) (push) Has been skipped
/ image (the release container, tag pushes only) (push) Has been skipped
4909007356
Co-Authored-By: Xavier's assistant <assistant@gijoe88.com>
architect: the commit basis is the write transaction's fresh view (ft6eyx analysis)
All checks were successful
/ secrets-scan (gitleaks 8.28.0, all refs, redacted) (push) Successful in 7s
/ test (linux/amd64, full suite) (push) Successful in 1m27s
/ alias (re-point latest, main pushes only) (push) Has been skipped
/ build windows/amd64 (push) Successful in 36s
/ build darwin/amd64 (push) Successful in 40s
/ build linux/amd64 (push) Successful in 42s
/ build darwin/arm64 (push) Successful in 45s
/ build linux/arm64 (push) Successful in 47s
/ build windows/arm64 (push) Successful in 47s
/ release (six binaries + checksums.txt, tag pushes only) (push) Has been skipped
/ image (the release container, tag pushes only) (push) Has been skipped
70464e322d
boltstore.md Transactions now rules the remedy's mechanism precisely: the
open-time snapshot is a read basis only; apply() lands the staged write-set
per key; prefix operations (hard delete, recode) record boundary intents
enumerated from the write transaction at commit, live bytes winning under
recode. Bucket-freshness guard rejected: distinct-fact concurrent writes are
no conflict. ADR-020 p4 / ADR-021 L1-L3 already rule the contract, so no new
ADR. v0.11.1.md carries the indications for the PM: remedy shape, task
decomposition (fresh-commit-basis, wire-distinct-key-pin), hazards
(prefix orphan risk, recode stale-bytes trap, ordering), test architecture.

Co-Authored-By: Xavier's assistant <assistant@gijoe88.com>
The commit-basis pin for ft6eyx: five new storeconformance clauses
under tx/ — the both-land family (distinct-fact interference landing
between staging and commit must leave both facts whole: the production
put+receipt shape, the comments wave, and an agent+version pair for
the non-items buckets) and the boundary-sweep family (a sub-fact
landed under a deleting/recodeing code is swept or moved with live
bytes, never orphaned). Existing interference dialect on distinct
identifiers, no new scenarios.

Red on the unmodified engine, demonstrated before the fix lands:
boltstore fails tx/both-land-distinct-facts (competitor's item and
receipt deleted by the concurrent commit), tx/both-land-distinct-
comments, tx/both-land-agent-and-version and tx/boundary-sweep-recode
(the competitor's sub-fact deleted instead of moved); filestore green
by construction (flock-serialized whole transactions, staged ops
touching only their own paths); httpstore-over-server green on the
old engine — the wire harness's Interfere completes a full competitor
round-trip before the main Tx commits, so the wire's per-request
engine Tx snapshots post-interference and the sequential harness
interleave cannot reach the engine-level race (the concurrent wave is
wire-distinct-key-pin's shape, task 2). tx/boundary-sweep-delete is
green on the old engine by accident of the bug itself — the whole-
bucket merge's collateral deletion sweeps the competitor's sub-fact;
it bites against the overlay-only-without-boundary-intents hazard
state, demonstrated against the intermediate in the fix commit.

Co-Authored-By: Xavier's assistant <assistant@gijoe88.com>
fresh-commit-basis: commit against the write transaction's fresh view
All checks were successful
/ secrets-scan (gitleaks 8.28.0, all refs, redacted) (pull_request) Successful in 7s
/ test (linux/amd64, full suite) (pull_request) Successful in 1m32s
/ alias (re-point latest, main pushes only) (pull_request) Has been skipped
/ build windows/amd64 (pull_request) Successful in 43s
/ build darwin/arm64 (pull_request) Successful in 46s
/ build darwin/amd64 (pull_request) Successful in 48s
/ build linux/amd64 (pull_request) Successful in 50s
/ build linux/arm64 (pull_request) Successful in 43s
/ build windows/arm64 (pull_request) Successful in 51s
/ release (six binaries + checksums.txt, tag pushes only) (pull_request) Has been skipped
/ image (the release container, tag pushes only) (pull_request) Has been skipped
cc1a23b2fb
The engine fix for ft6eyx's root cause (docs/architecture/components/
boltstore.md, Transactions; the architect's ruling in
docs/plans/v0.11.1.md): the commit basis is the write transaction's
fresh view, never the open-time snapshot.

apply() is rewritten to overlay-only per-key application of this
transaction's own staged entries; finalBucket() and the whole-bucket
merge walk are deleted — a concurrent commit on a distinct fact
survives by construction, a same-key race stays the guards' typed
arbitration (NO guard changes).

The prefix stage paths (stagePrefixDelete/stagePrefixMove) record
boundary intents — hard delete and recode carry no keys: the intent
enumerates its code boundary from the write transaction at commit.
The stage-time enumeration survives for the view alone (read-your-
writes), its entries marked snapshot-derived so they never land.
Delete sweeps every live key under the code — a competitor's sub-fact
committed post-snapshot is swept, not orphaned. Recode moves every
live key under the old code carrying its LIVE bytes — the stale-bytes
trap (a competitor's post-snapshot edit reverting inside the move)
cannot happen; keys the transaction's own view had deleted are swept,
never resurrected at the target; targets the transaction's own staged
entries cover (a sub-fact staged after the move, Recode's rewritten
fact) land from those entries.

Order inside the write transaction: guards, then boundary intents,
then per-key entries — a sub-fact staged after the prefix op survives
the sweep, last-write-wins inside the Tx as outside it.

Co-Authored-By: Xavier's assistant <assistant@gijoe88.com>
Merge pull request 'feat/fresh-commit-basis' (#70) from feat/fresh-commit-basis into dev
All checks were successful
/ secrets-scan (gitleaks 8.28.0, all refs, redacted) (push) Successful in 9s
/ test (linux/amd64, full suite) (push) Successful in 1m36s
/ alias (re-point latest, main pushes only) (push) Has been skipped
/ build linux/amd64 (push) Successful in 46s
/ build windows/amd64 (push) Successful in 59s
/ build darwin/amd64 (push) Successful in 1m2s
/ build darwin/arm64 (push) Successful in 1m3s
/ build linux/arm64 (push) Successful in 40s
/ build windows/arm64 (push) Successful in 46s
/ release (six binaries + checksums.txt, tag pushes only) (push) Has been skipped
/ image (the release container, tag pushes only) (push) Has been skipped
a1082caddc
Reviewed-on: #70
wire-distinct-key-pin: the distinct-key production shape on the wire
All checks were successful
/ secrets-scan (gitleaks 8.28.0, all refs, redacted) (pull_request) Successful in 7s
/ test (linux/amd64, full suite) (pull_request) Successful in 1m37s
/ alias (re-point latest, main pushes only) (pull_request) Has been skipped
/ build darwin/arm64 (pull_request) Successful in 46s
/ build windows/amd64 (pull_request) Successful in 46s
/ build linux/amd64 (pull_request) Successful in 53s
/ build darwin/amd64 (pull_request) Successful in 54s
/ build linux/arm64 (pull_request) Successful in 43s
/ build windows/arm64 (pull_request) Successful in 54s
/ release (six binaries + checksums.txt, tag pushes only) (pull_request) Has been skipped
/ image (the release container, tag pushes only) (pull_request) Has been skipped
8d0a50c2f8
The two wire pins ft6eyx's diagnosis named as the suite gap (the
two-client tests raced one key only), in a sibling of
two_client_test.go over the production server composition:

- the deterministic interleave pin: client A opens and stages its
  transaction, client B lands a FULL distinct-key commit round-trip
  server-side, then A commits — the explicit open → competitor-commit
  → commit sequence, never a timing race; both write-sets read back
  whole through both handles, no vanish, no rejection, and audit rows
  for every fact either ok commit landed.

- the production wave pin: five fresh items, five concurrent
  distinct-key commits in the item-set-done-plus-evidence shape (item
  write and receipt landing as one write-set from five independent
  client handles), every commit answering ok, ALL FIVE read back done
  with their own receipt (a subset assertion is worthless — the
  production failure was 1/5 surviving), and an audit row for every
  ok commit's facts — ok must mean committed-and-visible.

Teeth demonstrated: against the pre-fix engine (2bee41b) the wave
fails with the production signature — a subset surviving with ok to
every caller — and passes over the fixed engine. Same-fact
arbitration stays with the existing same-key tests; the engine-level
race shape is pinned by the conformance suite's both-land family
(fresh-commit-basis).

Co-Authored-By: Xavier's assistant <assistant@gijoe88.com>
Merge pull request 'wire-distinct-key-pin: the distinct-key production shape on the wire' (#71) from feat/wire-distinct-key-pin into dev
All checks were successful
/ secrets-scan (gitleaks 8.28.0, all refs, redacted) (push) Successful in 8s
/ test (linux/amd64, full suite) (push) Successful in 1m41s
/ alias (re-point latest, main pushes only) (push) Has been skipped
/ build darwin/arm64 (push) Successful in 42s
/ build windows/amd64 (push) Successful in 45s
/ build linux/amd64 (push) Successful in 53s
/ build darwin/amd64 (push) Successful in 55s
/ build linux/arm64 (push) Successful in 41s
/ build windows/arm64 (push) Successful in 49s
/ release (six binaries + checksums.txt, tag pushes only) (push) Has been skipped
/ image (the release container, tag pushes only) (push) Has been skipped
ceb5a9334d
Reviewed-on: #71
docs: the v0.11.1 release body — the lost writes, the server's commit basis
Some checks failed
/ secrets-scan (gitleaks 8.28.0, all refs, redacted) (push) Successful in 7s
/ test (linux/amd64, full suite) (push) Has been cancelled
/ build darwin/amd64 (push) Has been cancelled
/ build linux/amd64 (push) Has been cancelled
/ build windows/amd64 (push) Has been cancelled
/ build darwin/arm64 (push) Has been cancelled
/ build linux/arm64 (push) Has been cancelled
/ build windows/arm64 (push) Has been cancelled
/ release (six binaries + checksums.txt, tag pushes only) (push) Has been cancelled
/ image (the release container, tag pushes only) (push) Has been cancelled
/ alias (re-point latest, main pushes only) (push) Has been cancelled
9b9d03f692
plans: v0.11.1 closed — the lost writes whole, both tasks merged (a1082ca, ceb5a93), ft6eyx done; the scope published before the tag (--tag v0.11.1)
All checks were successful
/ secrets-scan (gitleaks 8.28.0, all refs, redacted) (push) Successful in 7s
/ test (linux/amd64, full suite) (push) Successful in 1m36s
/ alias (re-point latest, main pushes only) (push) Has been skipped
/ build windows/amd64 (push) Successful in 49s
/ build linux/amd64 (push) Successful in 56s
/ build darwin/amd64 (push) Successful in 57s
/ build darwin/arm64 (push) Successful in 56s
/ build linux/arm64 (push) Successful in 44s
/ build windows/arm64 (push) Successful in 46s
/ release (six binaries + checksums.txt, tag pushes only) (push) Has been skipped
/ image (the release container, tag pushes only) (push) Has been skipped
384e6f6ede
Co-Authored-By: Xavier's assistant <assistant@gijoe88.com>
architect: interference dialect ruling — edit verbs through the port (ptzsan)
Some checks failed
/ secrets-scan (gitleaks 8.28.0, all refs, redacted) (push) Successful in 7s
/ test (linux/amd64, full suite) (push) Successful in 1m37s
/ alias (re-point latest, main pushes only) (push) Has been skipped
/ build darwin/amd64 (push) Has been cancelled
/ build linux/amd64 (push) Has been cancelled
/ build windows/amd64 (push) Has been cancelled
/ build darwin/arm64 (push) Has been cancelled
/ build linux/arm64 (push) Has been cancelled
/ build windows/arm64 (push) Has been cancelled
/ release (six binaries + checksums.txt, tag pushes only) (push) Has been cancelled
/ image (the release container, tag pushes only) (push) Has been cancelled
b64126ac64
The suite gains its component doc (storeconformance.md): the Harness
adoption surface, the interference dialect's verb families — Appears/
Vanishes plus the ruled CommentEdits/ReceiptEdits, expressed through
the port's update path in every engine's dialect — and the honesty
rule keeping the raw door for divergences no port op can express.
Pointers in ARCHITECTURE.md and protocol.md. Rider: boltstore.md
failure modes state corruption detection is read-time alone; the
commit path touches only staged and boundary-intent keys.

Co-Authored-By: Xavier's assistant <assistant@gijoe88.com>
gitignore: .skuld/.lock re-ignored — the runtime lock never rides git (the flip dropped the line; restored by the Principal)
All checks were successful
/ secrets-scan (gitleaks 8.28.0, all refs, redacted) (pull_request) Successful in 7s
/ test (linux/amd64, full suite) (pull_request) Successful in 1m58s
/ alias (re-point latest, main pushes only) (pull_request) Has been skipped
/ build darwin/amd64 (pull_request) Successful in 53s
/ build linux/amd64 (pull_request) Successful in 47s
/ build windows/amd64 (pull_request) Successful in 46s
/ build darwin/arm64 (pull_request) Successful in 54s
/ build linux/arm64 (pull_request) Successful in 53s
/ build windows/arm64 (pull_request) Successful in 46s
/ release (six binaries + checksums.txt, tag pushes only) (pull_request) Has been skipped
/ image (the release container, tag pushes only) (pull_request) Has been skipped
/ secrets-scan (gitleaks 8.28.0, all refs, redacted) (push) Successful in 7s
/ test (linux/amd64, full suite) (push) Successful in 1m42s
/ build darwin/amd64 (push) Has been skipped
/ build linux/amd64 (push) Has been skipped
/ build windows/amd64 (push) Has been skipped
/ build darwin/arm64 (push) Has been skipped
/ build linux/arm64 (push) Has been skipped
/ build windows/arm64 (push) Has been skipped
/ release (six binaries + checksums.txt, tag pushes only) (push) Has been skipped
/ image (the release container, tag pushes only) (push) Has been skipped
/ alias (re-point latest, main pushes only) (push) Successful in 7s
9ba68a5c34
Co-Authored-By: Xavier's assistant <assistant@gijoe88.com>
xavier merged commit 9ba68a5c34 into main 2026-11-20 22:38:42 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
assistant/skuld!72
No description provided.