Repository navigation
merge-guard: a small harness change merges on a posted proof - #5
Merged
Merged
Conversation
A harness pull request the session opened merged on the agent-review status alone, which review.js sets at high, so a change of a few mechanical lines spent a review's agents or waited on the maintainer's words. One complexity.sh calls small now merges on its CI and a proof the session posts on it: a comment of the posting account that names its head, beside the command that shows the defect before, its result after and the case still refused. The maintainer asked for it on 2026-11-22, "devemos atualizar o harness tb para contemplar mudancas mecanicas como essa sem queimar token". complexity.sh takes the repository as a second argument, since the guard reads a pull request of whichever repository the merge names, and the 40 lines it calls small stay its own. A small pull request merged on its proof takes the agent-review status on its merged commit too, so the bump of each project's mount reads it as it reads a reviewed one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 22, 2026
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.
A harness pull request the session opens merges without the maintainer only after
review.js, an agent review that spends model tokens, has passed its head, so a correction of a few lines either pays for that review or waits for his approval.With this change,
merge-guard.sh, the guard that decides whether the session may merge, lets a harness pull request of 40 added lines at most, the sizetools/complexity.shlabels small, merge without that review once its CI passes and the session has posted a proof on it. The maintainer asked on 2026-11-22 that mechanical changes merge without spending tokens, after the one-line fix of #2 had waited for him. Whether a change is mechanical is nothing a guard can read, so the line is the size, and a small new rule takes this path as well as a fix.Of the proof, the guard reads one thing: a comment by the account that opened the pull request whose text contains the first nine characters of the head commit's hash, so a push after the proof needs a new one. What else the comment shows is the session's to write, and the AGENTS.md text this change adds asks for it: for a change a command runs, a check or a script, the command that shows the defect before the change, its result after it and a case still refused; for text no command reads, a rule's wording, the passage it replaces beside the new one. A medium or large pull request still needs the review.
A small harness pull request then reaches master with no second reader, held by its proof, its CI and the maintainer's read of the report the merged skill hands him after the merge.