Skip to content

v4.1.0: per-task reviewer + per-role model assignments - #60

Merged
NOGIT007 merged 2 commits into
mainfrom
feature/fix-goal-verification
May 7, 2026
Merged

NOGIT007 merged 2 commits into
mainfrom
feature/fix-goal-verification

Conversation

@NOGIT007

@NOGIT007 NOGIT007 commented May 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Per-task review in /code:ship — capture diff after each implementer subagent commits, dispatch a Sonnet 4.6 reviewer fork that calls Skill("code-review") (with a 5-area inline fallback mirroring /code:review), and on CRITICAL/HIGH findings dispatch one review fix-pass before merging into the parent feature branch. One-cycle retry budget, same as the post-merge audit.
  • Explicit model per role across the swarm — Opus 4.7 for orchestrator + audit fix-pass (judgment), Sonnet 4.6 for implementer + reviewer + review fix-pass (routine coding), Haiku 4.5 for parallel Explore in /code:plan (breadth). Documented in code-et-implementer/CLAUDE.md.
  • /code:fix Task Brief now states Goal + Verification (subsumed from interim 4.0.1 commit) — closes the "did we achieve it" loop for the bug lane symmetrically with the feature lane, where /code:plan already encodes expected_outcome + verification in TaskCreate metadata.

Test plan

  • Run /code:fix "<sample bug>" in a scratch Rust repo — confirm the produced Task Brief contains the new **Goal:** and **Verification:** lines.
  • Run /code:plan "<sample feature>" followed by /code:ship in a scratch repo with the engineering plugin installed — confirm each task triggers a per-task reviewer fork (Sonnet 4.6), and that a planted CRITICAL finding (e.g., layer violation) triggers exactly one review fix-pass before merge.
  • Re-run with the engineering plugin uninstalled — confirm the reviewer falls back to the 5-area inline checklist and still emits strict JSON output.
  • Confirm Agent model overrides resolve correctly: implementer + reviewer subagents run on Sonnet, audit fix-pass runs on Opus, parallel Explore in /code:plan runs on Haiku.
  • Confirm /code:review still runs cleanly post-merge (per-task review is shift-left, doesn't replace the pre-PR gate).

🤖 Generated with Claude Code

NOGIT007 and others added 2 commits May 7, 2026 17:29
Add Goal and Verification lines to the /code:fix Task Brief template, and a Rules entry making them mandatory. Closes the "did we achieve it" loop for the bug lane symmetrically with the feature lane (where /code:plan + /code:ship already enforce expected_outcome + verification end-to-end).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Add a per-task review pass between implementer-returns and merge: capture diff, dispatch a Sonnet 4.6 reviewer fork that calls Skill("code-review") (with a 5-area inline fallback mirroring /code:review), and on CRITICAL/HIGH findings dispatch one review fix-pass before merging into the parent feature branch. Same one-cycle retry budget as the post-merge audit.

Set explicit model per role across the swarm: Opus 4.7 for orchestrator + audit fix-pass (judgment), Sonnet 4.6 for implementer + reviewer + review fix-pass (routine coding), Haiku 4.5 for parallel Explore in /code:plan (breadth).

Document the convention in code-et-implementer/CLAUDE.md so it's discoverable in any installed project. Subsumes the v4.0.1 fix.md Goal+Verification work that was committed earlier on this branch.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@NOGIT007
NOGIT007 merged commit b41e227 into main May 7, 2026
1 check passed
@NOGIT007
NOGIT007 deleted the feature/fix-goal-verification branch May 7, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant