Repository navigation
Name the Pull Request's Target in the Local Prose-Gate Command - #201
Conversation
On a develop -> main promotion, git merge-base origin/develop HEAD is the head itself, so the documented command checked no lines. The command now takes the branch the pull request merges into, and the text no longer claims exact parity with CI, which diffs against the target's current tip. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The gate stands the comment rule down on a develop -> main promotion, so only a feature pull request needs the label, while a promotion's local run always takes --allow-comments. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 36 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
There was a problem hiding this comment.
🟡 Changes recommended
A moderate active finding remains in OPERATIONS.md because the documented Git command can resolve the target to the wrong branch and review incorrect lines.
1 open issue
What changed in this PR
Updates OPERATIONS.md so the local prose-gate command uses the pull request’s target branch, including feature and promotion workflows.
Changes:
- Replaces the hard-coded
origin/developmerge base with a target-branch reference. - Documents target selection for feature pull requests and promotions.
- Clarifies local-versus-CI diff behavior and comment-label handling.
| File | Summary | Review finding |
|---|---|---|
OPERATIONS.md |
Updates local prose-gate instructions for target-aware verification and comment handling. | P2: Use the fully qualified remote-tracking ref refs/remotes/origin/<target> to avoid resolving the wrong branch. |
This pull request requires changes.
Review effort: Lite
Git resolves a short origin/<target> against local branches first, so the command names refs/remotes/origin/<target>, as local-strict-review does. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |

Summary
Answers CodeRabbit's
OPERATIONS.md:16finding on promotion PR #200. The fix lands here because the promotion's head isdevelop.git merge-base origin/develop HEAD. On adevelop->mainpromotion that merge base is the head itself, so the command checked no lines. It now takes the branch the pull request merges into,origin/<target>:developfor a feature branch,mainfor a promotion.commentslabel, since the pinned validator stands the comment rule down there, while its local run takes--allow-comments.Verification
validate-task.yml("Resolve prose base step", "Resolve comment stand-down step"). The first pass raised the comments-label sentence, fixed inf740227. The second found nothing.🤖 Generated with Claude Code