Skip to content

chore(formal-claim-protocol): move the sync commit past the lease refactor - #17007

Merged
kyle-sexton merged 1 commit into
mainfrom
formal-verification-upkeep/formal-claim-protocol
Nov 18, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
formal-verification-upkeep/formal-claim-protocol

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Closes #15775
Siblings: #16913, #16998, #17002

Summary

The refresh follow-up for the wit_newer_live_lease refactor (#16998): both claim-protocol checks' sync commit and seeded_break.commit move from 1af476261a20 to df32cb3d4f2. This is the last open part of the issue's dogfood: a deliberate change to covered code, classified and refreshed by /formal-verification:specify refresh. #16913 built the refresh action, the check's advisory line and the routines-catalog row; #16998 made the covered change; #17002 fixed the steps the dogfood could not follow as written.

Fix

sync.yaml only: four commit values. The model, the cfgs, the property and the bounds are unchanged.

Check claim-local-lane (.claude/skills/formal-claim-protocol): in sync

Check claim-local-triage (.claude/skills/formal-claim-protocol): in sync

  • Commits read: the only covered commit since 1af476261a20 is refactor(work-items): name the arguments of wit_newer_live_lease #16998's merge, 9896557f93e. It names three positional arguments of wit_newer_live_lease as locals. Classification: no effect. The filter, the liveness call and the return codes are the same; every use of the new names in lib/lease.sh is under that function's own local; the model's line citations into lib/lease.sh still land on the same functions.
  • What changed in the verification: nothing.
  • Bugs: none. Not covered: unchanged.

Verification

An agent followed refresh.md as written from main's tip df32cb3d4f2 (a detached HEAD at the tip), with the output of every run kept. Its commit's tree is identical to this branch (git diff --stat between the two is empty). Each count is the last "distinct states found" line of that run's tlc.out, read after the run. The same four runs on #16998's head ca04215f2ff gave the same counts.

Run cfg Distinct states Verdict
unchanged LocalLane.cfg 1,686,588 no error
unchanged LocalTriage.cfg 1,356,633 no error
seeded break LocalLane.cfg 1,415 OneHolder violated
seeded break LocalTriage.cfg 1,888 OneHolder violated
  • The seeded break is the one sync.yaml records, carried into a copy of the model as Min to Max in Judge and in ArbRunSup.
  • check.mjs on the folder at this head: 1 formal-<area> skill(s), 0 failure(s), 0 warning(s). Before this change it warned that lib/lease.sh changed since the sync commit.
  • The checker reads only the model, never lib/lease.sh: the runs show the model holds its rules and can still fail. That the code still matches the model rests on the reading above, on the code review of refactor(work-items): name the arguments of wit_newer_live_lease #16998 (no findings), and on its bash tests passing in CI.

Left out: the second pass over ## Run that refresh asks for after the write, since the write changes only sync.yaml and the model files are the ones the unchanged runs used; and a run of the installed /formal-verification:specify skill; the plugin is not installed in this session, so its files were followed by hand. That run is owed on #16383.

Related

🤖 Generated with Claude Code

…actor

Both claim-protocol checks were refreshed against the wit_newer_live_lease
refactor (#16998): no effect on what the model describes, both cfgs hold
every rule unchanged, and the recorded seeded break is still caught at
1,415 and 1,888 distinct states. The sync commit and seeded_break commit
move to df32cb3, where the covered files and the model are identical
to the ones checked.

Closes #15775

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@kyle-sexton kyle-sexton added do-not-merge Hard merge gate: do not merge while applied. and removed do-not-merge Hard merge gate: do not merge while applied. labels Nov 18, 2026
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 18, 2026 02:36
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T02:38:20.295139Z c22eb18 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed c22eb186257f60d02871380f97bb53cec3bee191: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Security review: no security issues found

This PR changes one file, .claude/skills/formal-claim-protocol/sync.yaml. It replaces four commit values, 1af476261a20… → df32cb3d4f24…: the commit and seeded_break.commit of both the claim-local-lane and claim-local-triage checks. This matches what the PR description says.

Trusted path: the file falls under **/.claude/**, so I read its whole change. sync.yaml is metadata for the formal-verification check. It records which commit each model was last checked against, and the check script uses it to raise an advisory "stale" line in CI. The PR leaves these unchanged:

  • the covers path lists
  • the command lines (the /formal-verification:chart invocations and their arguments)
  • the seeded_break.change text
  • outside_model

The diff:

  • gives no actor or token any new trust or scope
  • puts no untrusted text in front of a lane that holds credentials
  • runs no new code
  • touches no kill switch, merge hold or token-broker control

The only effect of moving the sync commit is that the advisory check stops warning that lib/lease.sh changed since the last sync. That warning is advisory and gates no merge or credentialed action.

No instruction-surface text was deleted or softened. No plugin manifest was touched. Nothing in the change can cause a charge.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed c22eb186257f60d02871380f97bb53cec3bee191: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Code review: no findings.

The PR changes only .claude/skills/formal-claim-protocol/sync.yaml. It moves four commit values from 1af476261a20… to df32cb3d4f24531f204a4c725ebc29fcd225bc3c: the sync commit and the seeded_break.commit of both claim-local-lane and claim-local-triage. The new value is a full 40-character SHA and is the same in all four places. The model, cfgs, property, bounds and covers lists are unchanged.

What I checked:

  • The "no effect" call holds up on the code at head. The model's line citations into lib/lease.sh (in ClaimProtocol.tla: :44, :63–:68, :90, :94, :113, :128) still land in the functions they name. wit_select_active_lease starts at line 44, wit_lease_winner at 68, wit_newer_live_lease at 90 and wit_lease_is_live at 128. wit_newer_live_lease now declares its positional arguments as local (line 91), which matches the PR's description of the refactor.
  • Closing issue Add the formal-verification specify skill's refresh action #15775. This PR is the last part of the issue's dogfood item (a deliberate change to covered code, classified and refreshed). The other parts came in sibling PRs and are in the repository. For example, formal-verification-upkeep appears in plugins/autonomy/reference/routines.md and plugins/formal-verification/skills/specify/reference/refresh.md. I did not check each of the issue's other criteria one by one, because this diff does not change them.
  • Verification is unconfirmed. The TLC state counts (1,686,588 / 1,356,633 unchanged; 1,415 / 1,888 seeded break) and the check.mjs result come from the PR author. I could not run them here.
  • Loosened checks. Moving a sync commit forward after a refresh is the step the closing issue's spec prescribes. It does not change the check's code or make it accept more, so it is not a loosening.

Loosened-check verdict: fail (default; the wrapper supplied no loosened_check_verdict: / loosened_check_patterns: lines, so I used the default and no consumer entries); patterns: 0

The PR adds no new spend.

Verifier dropped 0 of 0 candidates.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit b1a2bf2 Nov 18, 2026
205 of 213 checks passed
@kyle-sexton
kyle-sexton deleted the formal-verification-upkeep/formal-claim-protocol branch November 18, 2026 02:57
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add the formal-verification specify skill's refresh action

1 participant