You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: /uf.finale should warn when no review council was run #451
From PR #425 post-mortem. The PR was submitted without running /uf.review-council first, violating the AGENTS.md behavioral rule:
Review council: MUST run /uf.review-council before PR submission. Resolve all REQUEST CHANGES.
The /uf.finale command (.opencode/commands/uf.finale.md lines 356-381) checks for review council output in the session context and adds a "Known Issues" section if unresolved findings exist. However, if no review council was run at all, /finale silently omits the section with no warning or gate. This allowed PR #425 to be submitted without the required pre-PR review, and 53 findings were only caught by an external reviewer post-submission.
Proposed Fix
In /uf.finale step 5e (review-council findings), add detection for the case where no /uf.review-council output exists in the session:
If review council output is found with unresolved findings: add "Known Issues" section (existing behavior)
If review council output is found with all findings resolved: proceed normally (existing behavior)
If NO review council output is found: present an AskUserQuestion gate:
"No /uf.review-council output found in this session. AGENTS.md requires running the review council before PR submission.
Options:
Run /uf.review-council first (recommended)
Proceed without review council (exempt: docs-only, constitution amendments, emergency hotfixes)
Abort"
If the user selects option 2 (proceed), add a note to the PR body:
_Note: Review council was not run before submission (exemption: <reason>)._
Activity