Repository navigation
refactor(work-items): name the arguments of wit_newer_live_lease - #16998
Conversation
wit_newer_live_lease now reads its three positional arguments into named locals (leases, now_epoch, self), as wit_select_active_lease and wit_lease_winner already do. No behavior change. Refs: #15775 Co-authored-by: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-review reviewed Code review: no findingsWhat the PR changes: Correctness: I compared the new function with the old one line by line, and it behaves the same:
The declarations match the sibling Issue #15775: the PR context lists it as a closing issue, but the PR body says only
Embedded text: none of the PR context's text asks this lane to change its scope or how it posts. Loosened-check verdict: fail (default; the wrapper supplied no The PR changes no plugin manifest, so there are no manifest lines. This is the lane's first review of the PR (blocking only: no), and there are no prior findings or settled threads to match against. Verifier dropped 0 of 0 candidates. |
|
claude-security-review reviewed Security review: PR #16998 (head
|
|
The pr-verify verifier failed head What it wrote (30 lines)This pull request leaves the merge queue, and ci-status holds it out while it carries |
Refs: #15775
Summary
wit_newer_live_leasereads its three positional arguments into named locals (leases,now_epoch,self), aswit_select_active_leaseandwit_lease_winneralready do. No behavior change.lib/lease.shis covered by the claim-protocol checks, so this change is the dogfood run of/formal-verification:specify refreshon a ticket branch.Fix
Three named locals replace
$1,$2and$3in one function, plus a patch changelog fragment for work-items.Verification
An agent followed
refresh.mdon this branch atca04215f2ffin a scratch worktree. Both checks came back in sync. The scratch worktree and its output were then removed, so the four runs were made a second time with the output kept and read: the two unchanged runs on this branch, and the two break runs on a copy of the model with the break's model edit (MintoMaxinJudgeand inArbRunSup). Each count below is the "distinct states found" line of that run'stlc.out.LocalLane.cfgLocalTriage.cfgLocalLane.cfgOneHolderbreaksLocalTriage.cfgOneHolderbreakssync.yamlrecords:wit_lease_winnertakes the latest live lease. The break counts equal the 1,415 and 1,888 insync.yaml.1af476261a20until this merges (refresh.mdstep 6). Until thencheck.mjswarns thatlib/lease.shchanged since the sync commit; the follow-up refresh from main moves the commit, which is the last open part of the issue.Related
Remaining
seeded_break.committo this change's merge commit, in an upkeep pull request confined to.claude/skills/formal-claim-protocol/.refresh.mdcould not be followed literally are fixed in their own pull request.🤖 Generated with Claude Code