Repository navigation
chore(agents): review converges: a claims review, two code-review lenses, later rounds review only the fix - #391
Merged
Conversation
…nce sweep, two code-review lenses, later rounds review only the fix
V3RON
added this pull request to stack #393
October 6, 2026 06:50
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.
Second of three. Review rounds kept finding new things: in #383 and #386, about half of the findings in round 2 and later came from the previous fix, and most were stale comments or docs outside the diff.
.agents/scripts/stale-refs.sh: lists every line in the repo that still names a moved or deleted path, a declaration that is gone, or a quoted string no code file has. Git only; about 2 s. On refactor(leasing): leasing is its own module, entered through src/leasing/index.ts #383 before its round-4 fix it finds thesrc/gateway/queue.tsheader namingsrc/core/wait-queue.ts, one of that round's three findings.review-inputs.shadds its output, pluscommitandfix.patch.claims-revieweragent checks that every comment, doc line, test title and message the diff touches or the sweep finds is true of the code. It runs every round. Its findings never park a PR or count toward the round cap; their fixes get at most two claims-only rounds.bug:newissue.Variants:. The audit now runs the sweep.code-review): a spec line the diff delivers in another way than written, like refactor(leasing): leasing is its own module, entered through src/leasing/index.ts #383 callingcore.connectinsidecreateLeasingwhen the spec put it in the daemon.delivery.mdrule 14,deliver,DELIVERY.md, anddelivery-stats.mjs(a Claims review column andclaims:tag) follow.Tests:
src/stale-refs.test.ts(4 tests; each fails when the part it covers is broken),src/delivery-stats.test.tsextended.Written by an agent.