Repository navigation
docs(agents): hold a review to the PR's invariant and stop at a third round - #4835
Merged
Merged
Conversation
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
Member
Author
|
This PR is ready at d0aa8f6. All checks pass on this docs-only diff and there are no conflicts. Not blocking, take or leave:
Not verified here: the agent-guidance-contract test and the byte-budget check were not rerun locally; CI covers them. |
thymikee
added a commit
that referenced
this pull request
Nov 20, 2026
…nts-main * origin/main: refactor(contracts): bind only the interactor families an owner implements (#4821) refactor(gestures): move gesture algorithms out of contracts into @agent-device/gestures (#4823) docs(command-docs): add the shared option table and per-action option tables (#4824) docs(agents): hold a review to the PR's invariant and stop at a third round (#4835)
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.
Summary
#4724 started as a 186-line fix for one invariant (#4518: a remote response never chooses a local write destination). Review rounds then asked for adjacent hardening in the same code, and the author added each item. The PR reached about 690 production lines over more than ten rounds before the maintainer cut it back. The existing guidance did not stop this: it sent only an unrelated finding to an issue, and its size threshold triggered late.
This changes the invariant that review holds a PR to:
To stay inside the 40,000-byte agent-docs budget, it removes three lines: the narrower "unrelated finding" rule that the new rule replaces, "For moves, weigh gross churn. Explain justified growth." (the move exemption and the size threshold cover it), and the
git diff --statmeasuring hint. Two files changed.Validation
d0aa8f66dc.scripts/__tests__/agent-guidance-contract.test.ts: 5 passed.docs/agentsis 39,999 bytes.check:affected.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.