Repository navigation
docs(agents): ask PR bodies for before/after and refactor value, not a file count - #4818
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 0d1930f. It changes only the PR-body rules in the agent docs: a |
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
The PR body rule in
docs/agents/pull-requests.mdasked for a touched-file count and "1–3 CLI/Node/MCP examples". Neither tells a reader what changes for a user. The rule now asks for:## Before / afterwhen a caller can observe the change, output and errors included: up to 3 calls at base and head, with the output that differs.## Valuefor a refactor: 2–4 numbers measured at base and head.The file count and the example rule are removed. The gate receipt is asked for once, in
## Validation. The fixes line is removed because## Before / afterasks for the same thing. The 250-word limit no longer counts code blocks.docs/agentsstays inside its 40,000-byte budget: 39,993 bytes. No scope expansion. No linked issue.Validation
Head
0d1930f612fce4f9e7f5a1ef27b4c6e245e04fb4.pnpm check:affected --runselected 1 check,agent-guidance, and it passed withexactCommit=true.Risk: the rule is not enforced. A body that ignores it still merges.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.