Repository navigation
feat(commands): migrate /review-council to consume review-context skill - #310
Merged
yvonnedevlinrh merged 2 commits intoJun 30, 2026
Conversation
Add Phase 1c (Discover Review Context) to Code Review Mode, loading the review-context skill for spec artifact discovery, path-based focus heuristics, and walkthrough generation. Protocol 2 (Issue Linking) is skipped as /review-council is a local pre-PR command with no PR body to parse. Update Step 2 (Divisor delegation) to pass review context and quality context as structured enrichment sections to each agent's review prompt. Update Step 6 (final report) to include review context summary with spec reference and walkthrough table. Scope: Code Review Mode only. Spec Review Mode is unchanged as it already has its own artifact location logic. Fixes unbound-force#296 Assisted-by: OpenCode (claude-opus-4-6) Signed-off-by: Yvonne Devlin <[email protected]>
Fix stale phase count: 'two phases' / 'Both' -> 'three phases' /
'All three' in Code Review Mode Step 1 introduction (line 126).
Without this fix, an agent could interpret the step as complete
after Phase 1b and skip Phase 1c.
Update review-context skill consumer table: replace migration-
delta language ('Gains context discovery it currently lacks')
with steady-state description ('Phase 1c — Protocols 1, 3, 4').
Add CHANGELOG.md entry for the /review-council migration.
Assisted-by: OpenCode (claude-opus-4-6)
Signed-off-by: Yvonne Devlin <[email protected]>
8 tasks
gxmiranda
approved these changes
Jun 30, 2026
gxmiranda
left a comment
Contributor
There was a problem hiding this comment.
Clean, well-scoped PR that integrates the review-context skill into /review-council Code Review Mode as Phase 1c. All 5 acceptance criteria from #296 are satisfied. Scaffold mirrors are in sync (verified by CI), CI is fully green, and the implementation follows established patterns (hard dependency, protocol-level flexibility, structured enrichment). The phase count fix from "two" to "three" was a good catch — without it, agents could skip Phase 1c entirely.
This review was generated by /review-pr (AI-assisted).
This was referenced Oct 16, 2026
This was referenced Nov 7, 2026
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.
Fixes #296
Split from #176
Summary
Migrates
/review-councilCode Review Mode to consume thereview-contextskill for spec artifact discovery, path classification, and walkthrough generation — capabilities the command previously lacked entirely. This brings context discovery parity with/review-prfor local pre-PR reviews.Part of the #176 decomposition (#294 producer, #295
/review-prconsumer, #296/review-councilconsumer).Spec Review Mode is intentionally unchanged — it already has its own artifact location logic. A follow-up issue has been filed to evaluate whether the skill adds value there.
Note on #296 acceptance criteria discrepancy
The issue's acceptance criteria originally included "Gains issue linking (linked issue detection and acceptance criteria extraction)" and reference "Protocols 1-4". This PR intentionally skips Protocol 2 (Issue Linking) because
/review-councilis a local pre-PR command — there is no PR body to parse forFixes #N/Closes #Nreferences. Thereview-contextskill itself documents this: "For local reviews without a PR, skip this protocol." This was resolved during triage before implementation began.Acceptance criteria on #296 have been updated to reflect this (see #296).
How to Test
make test— all packages pass, includingTestEmbeddedAssets_MatchSourcescaffold drift detection.opencode/commands/review-council.md— Phase 1c now loads thereview-contextskill; Step 2 passes review context + quality context to Divisor agents; Step 6 includes a review context summary.opencode/skills/review-context/SKILL.md— consumer table row for/review-councilupdated from migration-delta to steady-state descriptionCHANGELOG.mdhas an entry under## Unreleased > ### Changed/review-councilon any feature branch to verify outputHow to Demo
Checkout a feature branch with code changes and run
/review-council. The review output now includes:Key Files Changed
.opencode/commands/review-council.md.opencode/skills/review-context/SKILL.md/review-councilrow updated to steady-state descriptionCHANGELOG.mdinternal/scaffold/assets/opencode/commands/review-council.mdinternal/scaffold/assets/opencode/skills/review-context/SKILL.mdDesign Decisions
/review-councilis a local pre-PR command with no PR body to parse. The skill's own documentation says "For local reviews without a PR, skip this protocol."pre-flightskill pattern. Skills distributed viauf initare structurally guaranteed present;TestEmbeddedAssets_MatchSourcecatches sync issues at build time./review-prStep 6 placement.Review Council Results
Ran
/review-councilon the branch. 9 Divisor agents reviewed; 3 findings addressed:Signed-off-by: Yvonne Devlin [email protected]
Assisted-by: OpenCode (claude-opus-4-6)