Repository navigation
fix(share): close the spec gaps the state-machine audit trace found - #74
Merged
Merged
Conversation
A cloud add now refuses with op_interrupted while a dead setup-r2 sits at its config or marker step, and its next is the rerun line. An add that fails with 401 or 403 stores the rejected publisher token in .health. The prune verb stores the Access gate check beside ls. Join's old step 2 is four journaled writes (unseal, publisher key, connector key, config), and only a cut from the record step on resumes; an earlier cut refuses invite_unavailable.
tieubao
force-pushed
the
fix/audit-spec-gaps
branch
from
November 15, 2026 11:41
5bc99bd to
d8df398
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes the open gaps of the state-machine audit trace (
docs/research/2026-11-14-audit-to-spec-trace.md, status section added).Spec tasks done
add --cloudand every r2 add dieop_interruptedwhile a deadsetup-r2journal sits at step 11 or 12;nextis the journal's rerun line (SPEC-010 G2b, DEC-37, row JN-16).token.verifyinvalid, sostatereadstoken.statusinvalid(G10, DEC-39, row TK-07).op_steps_joinhas nine rows, and only a cut from the record step on resumes; an earlier cut refusesinvite_unavailable(SPEC-009 DEC-81, rows DP-join-1a to 1d and the renumbered rows).pruneverb runsaccess_ls_checklast, from an exported token only (G7, DEC-38, row LS-06). Serve's hourly prune resolves no token, so the check is only as fresh as the last interactive run.Proof
docs/verification/audit-spec-gaps.md: each new row red on the old code and green on the new; the full suite ran once under/bin/bash3.2 (1842 checks, up from 1826; one environment check failed on idlers left by a run of mine that I killed, and passed on rerun).Not attempted