Repository navigation
AGENTS.md: watch your pull requests and fix reviews as they land - #211
Conversation
…led checks as they land
| what lands without being asked: each new review, review comment, pull | ||
| request comment (Claude's review or the person's) and failed check. Fix it | ||
| in that pull request and reply to the comment naming the commit, or reply | ||
| why it stays as it is; a ready pull request goes back to draft while a fix |
There was a problem hiding this comment.
Sending a ready pull request back to draft for each fix and then marking it ready again fires ready_for_review, and .github/workflows/claude-review.yml runs both review jobs on that event (types: [opened, ready_for_review, reopened]). So every fix round starts a new full Claude review. That review can post new comments, which this rule says to fix the same way (draft, fix, ready, another review). Nothing here ends that loop, so a session could cycle through reviews (each one billed) until the person steps in. Either keep the pull request ready while you fix review comments (the draft rule at line 343 already covers work that isn't done), or say that a re-review after a fix round doesn't start the rule over.
There was a problem hiding this comment.
Fixed in 96dca4b. A ready pull request now stays ready while review fixes land, so a fix round doesn't start another full review. The draft rule still covers work that isn't done.
| - Watch every pull request you open until it's merged or closed, and fix | ||
| what lands without being asked: each new review, review comment, pull | ||
| request comment (Claude's review or the person's) and failed check. Fix it |
There was a problem hiding this comment.
This contradicts the rule at line 37: "When the person asks a question, answer it and change nothing … offer the change and wait for a yes." Here every comment from the person on a pull request gets fixed "without being asked", and the rule doesn't carve out questions. Take a comment like "why does this clamp at 0?". Under line 37 the session answers it and changes nothing. Under this rule the session pushes a fix. A session reading both can't tell which one wins. Add an exception here, e.g. "a question from the person gets an answer, not a change (see Working conventions)".
There was a problem hiding this comment.
Fixed in 96dca4b: "A question from the person gets an answer, not a change (see Working conventions)."
|
Claude review (house rules) |
…ays ready while review fixes land
The person asked that every session watch the pull requests it opens and fix review feedback without being asked. Until now the rules only covered this in the desktop app, through Auto-fix.
The new rule under Pull requests says to watch each pull request until it's merged or closed. That includes a runtime pull request a game's pull request waits on. Each new review, review comment, pull request comment and failed check gets a fix in that pull request with a reply naming the commit, or a reply saying why it stays as it is. A ready pull request goes back to draft while a fix is under way. Where Auto-fix isn't on, the session keeps a watch running that polls with
ghabout once a minute and re-arms it when it expires.Documentation only.