Repository navigation
feat: add GitHub review posting to /review-council - #323
Merged
yvonnedevlinrh merged 2 commits intoJul 6, 2026
Merged
yvonnedevlinrh merged 2 commits into
yvonnedevlinrh merged 2 commits into
Conversation
yvonnedevlinrh
force-pushed
the
opsx/review-council-github-posting
branch
from
July 2, 2026 15:01
517bf33 to
532c39c
Compare
yvonnedevlinrh
force-pushed
the
opsx/review-council-github-posting
branch
2 times, most recently
from
July 2, 2026 16:02
d27ba9d to
1322d96
Compare
Add optional Step 7 to /review-council Code Review Mode for posting consolidated multi-persona findings as a GitHub PR review. Includes PR detection, review state awareness, multi-persona finding aggregation with per-persona sections, severity-first round-robin inline comment allocation (capped at 15), verdict mapping (APPROVE/REQUEST_CHANGES/COMMENT), pre-posting checks (duplicate detection, stale review warnings, CODEOWNER warnings), and human confirmation gate. Protocol 2 (Issue Linking) conditionally enabled when an explicit PR number is provided via argument. Graceful degradation when gh CLI unavailable or API errors occur. Fixes: unbound-force#314 Assisted-by: OpenCode (claude-opus-4-6) Signed-off-by: Yvonne Devlin <[email protected]>
yvonnedevlinrh
force-pushed
the
opsx/review-council-github-posting
branch
from
July 2, 2026 16:17
1322d96 to
bdba1bf
Compare
This was referenced Jul 2, 2026
sonupreetam
approved these changes
Jul 3, 2026
sonupreetam
left a comment
Contributor
There was a problem hiding this comment.
@yvonnedevlinrh PR looks good. Just some stale in-repo documentation (3 files):
The following files describe /review-council as "Pre-PR (local)" without the new [N] argument or GitHub
posting capability. After merge, these become inaccurate:
docs/architecture.md:543— Review Commands tabledocs/usage.md:49,242— Usage example and Quick Reference tableinternal/scaffold/assets/opencode/commands/agent-brief.md:194— Scaffold template
Update stale documentation that described /review-council as "Pre-PR (local)" without the new [N] argument or GitHub posting capability added by this PR. Files updated: - docs/architecture.md — Review Commands table - docs/usage.md — Usage example and Quick Reference table - agent-brief.md — Scaffold template and live copy (sync) Addresses PR unbound-force#323 review feedback from @sonupreetam. Assisted-by: OpenCode (claude-opus-4-6) Signed-off-by: Yvonne Devlin <[email protected]>
Contributor
Author
|
@sonupreetam Thanks for reviewing the PR. Added your suggested changes in d252e69: Updated all three stale documentation locations with [N] argument syntax and PR posting capability.
|
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
Add optional GitHub review posting to
/review-councilCode Review Mode (Phase 3 of #177). The council's consolidatedmulti-persona findings can now be posted as a GitHub PR review, bridging the gap between the local terminal experience and PR collaboration.
Key capabilities:
gh pr viewor explicit PR number argumentAPPROVE, REQUEST CHANGES →REQUEST_CHANGES, APPROVE WITH ADVISORIES →COMMENTghunavailable or API errors occurFixes #314
How to Test
/review-councilon a branch with code changes but no open PR — verify Step 7 skips with informational note/review-council code 42— verify PR number is accepted/review-council code abc— verify invalid input is rejected/review-councilon a branch with an open PR — verify posting is offered after final reportdiff .opencode/commands/review-council.md internal/scaffold/assets/opencode/commands/review-council.mdreturns no outputHow to Demo
Run
/review-councilon any feature branch with an open PR. After the council completes its review and presents the final report (Step 6), the new Step 7 detects the PR and offers to post the findings as a GitHub review with per-persona sections.Key Files Changed
.opencode/commands/review-council.md— Added Step 7 (GitHub Review Posting) with sub-steps 7a-7g, PR number argument parsing, and Protocol 2 conditional execution in Phase 1cinternal/scaffold/assets/opencode/commands/review-council.md— Byte-identical scaffold sync.opencode/skills/review-context/SKILL.md— Updated consumer table for Protocol 2 conditional behaviorAGENTS.md— Updated PR Review Commands table for/review-council [N]syntaxCHANGELOG.md— Added Unreleased entry for feat: add GitHub review posting to /review-council #314openspec/changes/review-council-github-posting/— Full OpenSpec artifacts (proposal, design, specs, tasks)Known Issues
Known Issues
2>/dev/nulland missingdocs/CODEOWNERSpath. Pre-existing pattern inherited from/review-pr. Tracked in chore: improve CODEOWNERS check in /review-pr and /review-council #324 for both commands.This PR was generated by /finale (AI-assisted).