Commit Graph
83 Commits
Author SHA1 Message Date
pingqiuandClaude Opus 5.5 08266ff2cf docs: NeverStarted r2 results keep the exact configuration names
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 11:57:20 -08:00
pingqiuandClaude Opus 5.5 d74944ae2e docs: the delete and re-run edges in M2; pinned NeverStarted r2 results in the spec index
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 11:57:02 -08:00
pingqiu 5e7728e65a docs: keep model results and identity comments public-facing 2026-11-22 06:28:48 -08:00
pingqiu 94a6c0de4b docs(spec): index owner-label simulations and clarify trace units 2026-11-22 05:58:38 -08:00
pingqiu d65ac54ffb fix(master): capture line owner and bind its model trace 2026-11-22 05:22:16 -08:00
pingqiuandClaude Fable 5.2 f6b3b3e34d docs(spec): bounds rows for the three reopen and seal specs
HeadReopenBelt, PlainSealReplay and SealedReopen arrived on main with
their results in the README; each gets its Exhausted bounds row from those
figures. Nothing re-run.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 16:48:29 -08:00
pingqiu 26ef627088 Merge remote-tracking branch 'origin/main' into ci/spec-bounds-check 2026-11-21 16:48:13 -08:00
pingqiu 0fd6f31137 Merge origin/main into fix/head-reopen-incarnation 2026-11-21 15:36:11 -08:00
pingqiuandClaude Fable 5.2 e9c8e464f4 ci(spec): a published spec states its exhausted bounds
docs/spec/README.md gains an Exhausted bounds table: one row per spec with
a configuration TLC explored completely, its bounds, its distinct state
count and what the model leaves out. internal/invcheck checks every row
(the spec and configuration exist, no cell is empty) and that every spec
has a row or is in a list that only shrinks (21 today). Eight rows are
added from results the README already states; nothing was re-run.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:30:00 -08:00
pingqiu 84b39f379b fix: replay plain seal during deferred authority startup 2026-11-21 14:14:31 -08:00
pingqiu 17c1204fbd fix(durable): allow assigned non-serving seal replay and trace its proof 2026-11-21 14:01:33 -08:00
pingqiu e5a167722e fix(storage): preserve sealed HEAD on same-owner reopen 2026-11-21 13:48:23 -08:00
pingqiu 2edbee16b7 fix(storage): fence prior incarnation CAS before reopening I/O 2026-11-21 12:16:46 -08:00
pingqiuandClaude Fable 5.2 8b4d357d59 Merge main: rows recounted with the document check
Main's wording wins where it changed a row; the not-reachable marks, the
two new rows and the note are kept; the count is recomputed from the
tables and the document check passes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 10:32:47 -08:00
pingqiuandClaude Fable 5.2 69b83d6e16 volume, blockvolume: refuse the frozen detach and the pre-copy detach flag
A detach request with frozen set is answered 409 frozen_detach_unsupported
before any provider call, and blockvolume refuses to start with
--chunk-detach-precopy. Nothing is deleted: both mechanisms become
unreachable in this release. The request fields stay so the strict
decoder keeps answering the typed refusal.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 09:04:51 -08:00
pingqiu 503ce05340 Merge remote-tracking branch 'pr/358' into train10
# Conflicts:
#	docs/spec/README.md
2026-11-21 08:49:04 -08:00
pingqiu 346e644c91 Merge remote-tracking branch 'origin/main' into fix/workspace-uncertain-precedence 2026-11-21 08:31:37 -08:00
pingqiu 5b8ddefeec Merge remote-tracking branch 'origin/main' into fix/offline-seal-caller-deadline
# Conflicts:
#	docs/design/invariants.md
2026-11-21 08:29:19 -08:00
pingqiu 889a85eab4 fix: require a bounded offline seal request and use M5 names 2026-11-21 08:28:29 -08:00
pingqiu d75c61cff5 feat: seal idle volumes under the caller deadline 2026-11-21 08:14:16 -08:00
pingqiu 746c5a1a8a fix: classify workspace caller end from request context 2026-11-21 07:05:29 -08:00
pingqiu 677e0a50d4 fix(authority): report uncertain move outcomes before refusals 2026-11-21 06:43:27 -08:00
pingqiuandClaude Opus 5.5 827cec9752 docs: restore the S11 ForkDelete row dropped in the merge (verbatim from main)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 05:20:09 -08:00
pingqiuandClaude Opus 5.5 d1038546a1 Merge origin/main 654b5601 (Train 8) into restore part B; docs reconciled to no-claim
Train 8 carries the fork-claim removal; the three docs conflicts resolve to
the no-claim union: the claim-free Fork, Retention and diagram text with this
part's Hydrating/Owning rows and steps; INV-RESTORE-PARENT-HOLD-001 archived;
both B.6 notes; the S10 row is the no-claim model, S11 ForkDelete kept.
Ledger recounted from the tables: 138 rows, 118 ACTIVE, 17 STUB, 3 ARCHIVED,
123 new.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 05:13:03 -08:00
pingqiu 1af3fb197a Merge branch 'p344' into train/20261121-8 2026-11-21 03:23:31 -08:00
pingqiu 461272afc4 fix(storage): retain frozen observation on drain refusal 2026-11-21 03:00:18 -08:00
pingqiu 06a8410099 storage: report the complete frozen estimate and refreeze quiesce slack 2026-11-21 02:44:51 -08:00
pingqiuandClaude Opus 5.5 93298f9fa6 fold: restore diagram and model row without claims; post-GC checks name every expected chunk
The restore diagram's first state reads the parent (no claim, publish before
read time + deadline); the S10 model row is marked as the claim-era model.
The two post-GC checks go through chunksMismatch, which requires exactly the
expected indexes and every payload; a negative test shows a missing index is
caught.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 02:08:31 -08:00
pingqiuandClaude Opus 5.5 c041d9e28e spec: RestoreIndependence no-claim variant (exhausted) replaces the claim-era model
The model this part rests on, as checked (no-claim variant; only comment lines
changed: seat and note names removed), with its 26 configurations: the
no-claim safe cfgs exhausted with no error (360 k to 2.75 M states), the
boundary G >= D on one clock (ForkDelete's G >= D + E + P with E = P = 0),
13 reds and 2 witnesses on their properties, and the claim-frame regression
cfgs. The claim-era configurations not re-run against this spec are removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 01:23:17 -08:00
pingqiuandClaude Opus 5.5 5bb512d0f0 spec: ForkDelete model and its configurations (exhausted)
The fork/restore versus snapshot delete model this change rests on, byte for
byte as checked (sha256 c9c7c7fa), with its 28 configurations: 11 safe
(exhausted, no error, 18,672 to 15.7 M states, including every boundary
G = D + E + P), 12 reds and 5 witnesses each on its expected property.
README rows; the invariant rows drop the simulation tag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 01:22:15 -08:00
pingqiu adcc5a773c Merge branch 'p329' into train/20261121-7 2026-11-20 22:33:30 -08:00
pingqiu 3ae278e117 Merge branch 'p328' into train/20261121-7
# Conflicts:
#	docs/design/invariants.md
2026-11-20 22:33:26 -08:00
pingqiuandClaude Opus 5.5 6c45c50245 Merge origin/main 9da65c98 (Train 6) into feat/oss-independent-restore
Conflicts kept both sides: agent-workspace-design.md (restore diagram, then
attached-volume scheduling); invariants.md B.6 (the INV-MAINT-* rows, then the
INV-GC-REACHABLE-001 row with restore owner rooting). Part B summary recounted
from the tables: 131 rows, 112 ACTIVE, 17 STUB, 2 ARCHIVED, 116 new.
RestoreIndependence is now exhausted (breadth-first, complete graph): the spec
README row and the invariant rows drop the simulation tags.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 22:24:34 -08:00
pingqiuandClaude Opus 5.5 f679f2a5fe docs: drop internal names and paths from comments and notes
Public text states what the code guarantees, not who asked for it or
where an internal note lives. Comments and docs only; no code change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 20:37:43 -08:00
pingqiuandClaude Opus 5.5 6d42d08b0f restore: public comments state guarantees only; walker test allows a deferral
Comments in the restore code, tests and spec header now say what the code
guarantees, without review or design-note references. The real-limiter walker
test no longer asserts zero deferrals: a permit is released asynchronously
(when its flight settles, then closed by the limiter), so the next admission
can find every fill slot still closing; it now requires the limiter's skips to
equal the walker's deferrals (flaked 4 of 90 runs on Linux before).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 20:36:33 -08:00
pingqiu b9c11477b7 fix: isolate permanent GC DELETE refusals without losing coverage 2026-11-20 20:35:19 -08:00
pingqiu a3a3bc0a23 test: expose permanent DELETE starving later GC bindings 2026-11-20 20:32:04 -08:00
pingqiu d075dc6011 fix: preserve GC grace across bounded clock skew 2026-11-20 20:27:22 -08:00
pingqiu e11b72d8db test: expose GC clock skew shortening grace 2026-11-20 20:24:27 -08:00
pingqiuandClaude Opus 5.5 88aea4c7ed restore: fold review of part A (fill permit, permit ownership, stale snapshot image, docs)
- HydrateAll admits each fill as a background fill permit with no cut payload
  (the real limiter refuses a payload for BackgroundFill, so no fill ever ran),
  and the permit now belongs to the flight: the walker queues the shared flight
  without becoming a waiter and a layer-owned goroutine releases the permit
  when the flight's I/O is over (new settled signal, closed by the worker after
  fillOnce or when an unrun flight is removed), also after an early return on
  cancel, revocation or close. The limiter's abort callback stops the walker.
  The flight lookup is factored into hydrationFlightLocked (shared with
  OnReadMissContext, no behaviour change there).
- CreateSnapshot on a restore volume also checks the supplied image: a cut
  saved before the marker that still names another volume's chunks is refused.
- dropIntent keeps outliving the caller's cancellation but is bounded by
  dropIntentTimeout (it had no deadline at all).
- Tests: the real hostlimit limiter (fill permits, payload 0, all released),
  permit held while a cancelled walker's Get is held, revocation, a witnessed
  pause for guests, cancel returning while the Get is held, bounded joins;
  stale pre-independence image refused; aborted first HEAD keeps the parent
  as fork_parent until the target is deleted; dropIntent bounded.
- Docs: invariants.md M4/M6 rows and INV-RESTORE-* rows, GC owner rooting
  recorded as load-bearing in INV-GC-REACHABLE-001; restore diagram in the
  workspace design; RestoreIndependence in docs/spec/README.md (simulation).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 20:23:53 -08:00
pingqiuandClaude Opus 5.5 3b58335be5 spec: RestoreIndependence model for independent restore (O-REC-2)
TLA+ model of the restore: claim, two-step fork, hydrate, bounded batch cuts
(upload own fids under an intent, one HEAD CAS per batch), marker after the last
foreign ref, claim drop; GC, source delete, snapshot retention and crashes with a
resume from remote facts at any point. Invariants NoGap, Independent,
NoForeignList, ClaimUntilHead_Inv (option 1: today's fork claim semantics),
LifecycleFree, StateRemote. cfgs: option-1 safe at three sizes, the stricter
claim-until-independent variant, two witnesses, and one red cfg per mutant
(each red at its expected invariant in simulation). Simulation only so far:
no violation in about 0.81M states per safe cfg (3 seeds x 60000 traces, depth
40); not exhausted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 20:11:14 -08:00
pingqiu 8e5a2cce7d Merge Train 5 preserving periodic cut guard and whole-cut deadline 2026-11-20 20:01:53 -08:00
pingqiu 947a186970 fix: bind maintenance to attached lineage and close review controls 2026-11-20 19:48:40 -08:00
pingqiu 8c91fa1d4f Merge main preserving both maintenance and admission model receipts 2026-11-20 19:43:44 -08:00
pingqiu 0430ff4a33 test: qualify frozen detach budget and fixed phase attribution 2026-11-20 19:00:58 -08:00
pingqiu 1ad83a4f5c fix(storage): compare only known pre-copy estimates 2026-11-20 18:10:25 -08:00
pingqiu b3734dc2cb fix(storage): admit bounded pre-copy plateaus and age fixed samples 2026-11-20 17:48:14 -08:00
pingqiu 3deba72797 test(chunk): witness periodic no-op and foreign-fork protection 2026-11-20 17:20:00 -08:00
pingqiu 2928563c5a feat(chunk): schedule periodic HEAD capture and scoped maintenance 2026-11-20 17:15:23 -08:00
pingqiuandClaude Opus 5.5 a82c37e6ac Merge #314 (plain detach) into train 3
Docs-only conflicts with #311 resolved as a union: invariants.md keeps the
INV-CUT-PLAIN-DETACH-001 row and #311's INV-CUT-PRECOPY-001 row; spec README
keeps both the PrecopyFixedAdmission and PlainDetach sections.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:54:22 -08:00