Commit Graph
654 Commits
Author SHA1 Message Date
pingqiu 1d4e29a07a fix: fence foreign facts only after adopted lineage is superseded 2026-11-22 03:39:13 -08:00
pingqiu 66e0dae7ff test: withdraw endpoint special case and pin foreign stream ordering 2026-11-22 03:38:52 -08:00
pingqiu da9d92c691 fix: recover own endpoint refusal on valid readiness replay 2026-11-22 03:35:52 -08:00
pingqiu 9d6b978d83 test: carry holder server in CLI master fixtures 2026-11-22 02:02:31 -08:00
pingqiu 6154b7299e test: cover failed placement commits and trace holder guards 2026-11-22 01:56:11 -08:00
pingqiu 90e25b939c fix: validate revocation ACK with the shared holder predicate 2026-11-22 01:46:21 -08:00
pingqiu 7fed83180d docs: apply final primary holder invariant wording 2026-11-22 01:41:58 -08:00
pingqiu 447d0b1a3a docs: clarify primary holdership invariant scope 2026-11-22 01:41:44 -08:00
pingqiu 62d7f31912 docs: align holder identity sites with AUTHORITY ruling 2026-11-22 01:38:40 -08:00
pingqiu a86f07d71a docs: trace holder checks and nonblocking lookup to their invariants 2026-11-22 01:22:26 -08:00
pingqiu 55226e0f9e docs: pin the approved assignment and lease holder identity invariant 2026-11-22 01:18:16 -08:00
pingqiu e76532be53 docs: disclose both directions of pre-release identity skew 2026-11-22 01:02:02 -08:00
pingqiu d2525156cc test: cover foreign-holder fencing and carried lease identity 2026-11-22 00:57:04 -08:00
pingqiu 648b36c8d3 Merge PR #402 2026-11-21 22:43:43 -08:00
pingqiu 70f196e286 Merge PR #398 2026-11-21 22:43:43 -08:00
pingqiuandClaude Fable 5.2 636bc98747 docs: invariants say which v3 paths production reaches
Production creates and opens format-v3 stores, so most 'dark', 'not yet
wired' and 'until activation' phrases in the contract were false. Each
phrase was checked against its production caller and now says what is
true: reachable by default, reachable only with a named flag, or no
production caller. Row status is unchanged. Also cites two merged tests
on INV-CUT-STAGED-REUSE-001.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 22:36:28 -08:00
pingqiuandClaude Fable 5.2 f287e281c2 docs: NVMe/TCP device lookup needs native NVMe multipath
The walkthrough's lookup and the CSI node plugin resolve the namespace
under /sys/class/nvme-subsystem, which holds it only with nvme_core
multipath=Y. Say so, with the check.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 22:02:34 -08:00
pingqiu 53b41f808f Merge commit '626fd811' into fix/oss-holder-resume
# Conflicts:
#	docs/design/agent-workspace-design.md
#	docs/design/invariants.md
#	docs/workspace-lease.md
2026-11-21 21:29:27 -08:00
pingqiu 0d7808c9ad test: bound regrant durability handshakes and clarify renewal scope 2026-11-21 21:23:47 -08:00
pingqiuandClaude Fable 5.2 70fa2dee00 docs: required setup, make the volume known to blockmaster
A blockvolume that blockmaster does not know serves nothing and says
little. The standalone document now states the topology file and the
matching flags as required steps, how to check before and after, and
which log line means which missing step.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 21:23:41 -08:00
pingqiu 7e8084c7a4 fix: keep expired renewal nonblocking behind held authority writes 2026-11-21 21:02:35 -08:00
pingqiu bc43c66786 docs: specify expired-holder regrant behind the shared MAX barrier 2026-11-21 20:59:09 -08:00
pingqiu d7b236de69 Merge PR #392
# Conflicts:
#	docs/design/invariants.md
2026-11-21 20:48:59 -08:00
pingqiu 612b3276c0 docs: recount invariant ledger after merging current main 2026-11-21 20:34:04 -08:00
pingqiu 7be16b8cb8 Merge remote-tracking branch 'origin/main' into fix/oss-same-host-clean-move 2026-11-21 20:33:52 -08:00
pingqiu 7ed752eb29 docs: use the approved same-host clean move invariant text 2026-11-21 20:09:42 -08:00
pingqiu 20ce4ea004 Merge PR #390
# Conflicts:
#	docs/design/invariants.md
2026-11-21 20:09:18 -08:00
pingqiu 64f47d337f Merge PR #391 2026-11-21 20:09:12 -08:00
pingqiu e6fcfd38b9 test: retain endpoint refusal evidence and place G3 row in ledger 2026-11-21 20:07:59 -08:00
pingqiu dd6fd3c2bb cli: clarify logical holder and sealed generation fields 2026-11-21 20:02:31 -08:00
pingqiu f9177aa249 docs: trace same-host clean return through the sealed HEAD claim 2026-11-21 20:02:31 -08:00
pingqiu 4a58b209b0 docs(cli): distinguish host validity from forced-move admission 2026-11-21 19:55:06 -08:00
pingqiu a6190e59f6 docs(cli): document seal-before-revoke planned handoff workflow 2026-11-21 19:50:12 -08:00
pingqiuandClaude Fable 5.2 81a1dc9b1f docs(invariants): split the last over-long row; the long-statement list is empty
INV-WAL-DATA-SYNC-001 becomes five rows of one property each (automatic
sync choice, explicit override, status, allocation at create, prezero).
Three clauses with no test of their own are listed as enforced by
reading. Every statement in the ledger is now at most 300 characters.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 19:10:32 -08:00
pingqiu 28b16cf92f Merge PR #381
# Conflicts:
#	docs/design/invariants.md
2026-11-21 19:01:05 -08:00
pingqiu e6417e6e9d Merge PR #387 2026-11-21 18:16:43 -08:00
pingqiu 6c7d87b645 Merge PR #379
# Conflicts:
#	docs/design/invariants.md
2026-11-21 18:16:43 -08:00
pingqiuandClaude Opus 5.5 5991507beb docs: status schema lists Chunk.CutSchedule
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 18:12:31 -08:00
pingqiuandClaude Fable 5.2 8c154f7de0 docs: SeaweedFS maintenance commands that destroy walstore-chunk volumes
A walstore-chunk volume's data is held in needles that no file's chunk
list names, so volume.fsck with its delete flags would remove it. The
operator document now says which commands must never run on such a
cluster, which only report, and which are safe.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 18:10:37 -08:00
pingqiuandClaude Opus 5.5 56d8f086ba Merge origin/main into fix/cut-host-slot-wait; slot-wait tests take HEAD's generation at open as the baseline
Opening a volume on an empty remote now publishes HEAD generation 1 (the
open claim), without a cut. The slot-wait tests read HEAD after open and
check it does not move while the slot is held, and that no admission
succeeded then; publication and the seal are checked against that
baseline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 17:45:40 -08:00
pingqiu 534d141a67 Merge remote-tracking branch 'origin/main' into docs/invariants-split-batch3 2026-11-21 17:41:54 -08:00
pingqiuandClaude Opus 5.5 e94dbbafd6 durable: slot retry delay is random per attempt and shrinks with lateness
A timer cut refused for held host slots retries after a delay drawn
below 200 ms x interval/(interval+late), so the volume furthest behind
its interval retries soonest; a fixed per-volume phase let the same
volumes win every round. A deterministic test runs V timer policies
against one slot (service T, all due at once) and checks no volume
waits longer than (V-1)(T + poll + 200 ms) and every volume keeps
cutting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 17:19:00 -08:00
pingqiuandClaude Opus 5.5 1d861a806c durable: slot wait ends with any later cut; a closed limiter refuses as revoked
- Status ends a recorded host slot wait once the layer's CutSeq moves
  past the one it was recorded under, so a detach's seal (made after the
  timer stopped) or an explicit cut clears it; the count is kept.
- A successful cut observed during a slot wait also drops the pending
  slot retry.
- Admission that finds the limiter closed after acquiring its pool slot
  returns ErrRevoked, not ErrSlotsHeld.
- The provider test witnesses every refused attempt with a timestamp
  (at least 8 in 2.5 s, none more than 400 ms apart), then bounds the
  admission after the slot frees (400 ms) and publication (5 s)
  separately.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 17:13:21 -08:00
pingqiu 29a5b4f94c Merge remote-tracking branch 'origin/main' into test/stopio-began-log
# Conflicts:
#	docs/design/invariants.md
2026-11-21 17:09:46 -08:00
pingqiuandClaude Opus 5.5 93471b8007 invariants: INV-STOP-FLIP-CUTOFF-001 in the Part B table beside INV-CUT-PLAIN-DETACH-001 (was in Part A's M5 table)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 17:09:31 -08:00
pingqiu ab3b203064 Merge PR #372 2026-11-21 17:07:35 -08:00
pingqiu 3ab9218728 Merge PR #376 2026-11-21 17:07:35 -08:00
pingqiu c575469054 Merge PR #373 2026-11-21 17:07:35 -08:00
pingqiuandClaude Opus 5.5 e2cc37cfd9 durable: the logged boundary is the backend's admission flip itself (recorded under mu), not a time before the call
StorageBackend records stopFlipAt under mu right after operational goes
false (setOperationalLocked and both TryStopIO flips); the detach logs it
as 'admission closed at' beside 'StopIO returned at'. Admission is
unchanged: an I/O whose gate ran before the flip is admitted and drained
by StopIO; every gate after it refuses (INV-STOP-FLIP-CUTOFF-001). The
stamp is taken after the store (errs toward a false alarm) and logged
only on a successful stop.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 17:03:28 -08:00
pingqiuandClaude Opus 5.5 57e30e11c0 durable: a timer cut refused for held host slots waits instead of backing off
Host admission is a try-lock. With one cut slot per host, every volume
whose timer fires while another volume's cut holds the slot was refused
and backed off 1 s doubling to 30 s, adding up to 30 s to its interval
and favouring whichever volume happened to win.

hostlimit returns ErrSlotsHeld (an ErrBusy) when every slot is held. The
cut policy treats that refusal as a wait: no backoff, no minimum
spacing, the timer is not reset, and the retry comes after the volume's
stable slot jitter (at most 200 ms). Other errors, an oversized payload
or an unusable pool included, keep the backoff. Status reports
CutSchedule.HostSlotWaits and HostSlotWaitSinceNs, the start of the
current wait (0 when not waiting). Ledger row INV-CUT-TIMER-SLOT-WAIT-001.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 16:58:33 -08:00