Finalize
Finalize the review session. Only succeeds if all blocking findings are resolved. Emits final verdict.From its SKILL.md
npx -y skills add akshan-main/review-by-opp --skill finalizeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.2 KB, as published. Nobody here has run it
Finalize the review-by-opp session. This is the exit gate.
What to do
-
Load the ledger:
- Read
reviews/current.json - If missing, tell user: "No active session. Run
/review-by-opp:startfirst."
- Read
-
Run the exit gate check: Check ALL of these conditions:
a. No blocking findings open:
- Get all findings where
status === "open"and severity is inblockingSeverities - If any exist: BLOCK. List them and say: "Cannot finalize. {N} blocking finding(s) still open."
b. No findings without resolution state:
- Every finding must have a status other than just existing with no decision
- If any finding has
status === "open"and is blocking: BLOCK.
c. No false completion claims:
- Any finding marked
fixedMUST have aresolution_note - If any
fixedfinding lacks a note: BLOCK. "Finding {id} is marked fixed but has no resolution note."
- Get all findings where
-
If blocked:
- List all blocking reasons
- Tell user: "Use
/review-by-opp:fixto resolve remaining findings." - Do NOT finalize.
-
If clear to finalize:
- Determine the final verdict:
clean- no open findings at allclean_with_accepted_exceptions- only non-blocking findings remain openmax_rounds_reached- max rounds hit (but no blocking findings)
- Set
final_verdictin the ledger - Write the final state to
reviews/current.json
- Determine the final verdict:
-
Report final verdict: Show a summary:
## Final Verdict: {VERDICT} - Rounds completed: {N} - Total findings: {N} - Fixed: {N} - Won't fix: {N} - Not reproducible: {N} - Needs context: {N} - Duplicate: {N} - Superseded: {N} - Still open (non-blocking): {N} -
Session is now closed. Tell user: "Session finalized. To start a new session, run
/review-by-opp:start."
CRITICAL: This is the stop gate. You MUST NOT bypass it. If blocking findings remain, finalization MUST fail. This is the entire point of review-by-opp.
$ARGUMENTS