Skip to content

feat(plan): blind second opinion for high-stakes tasks (#117) - #126

Merged
rshankras merged 1 commit into
mainfrom
feat/117-blind-plan-check
Nov 7, 2026
Merged

rshankras merged 1 commit into
mainfrom
feat/117-blind-plan-check

Conversation

@rshankras

Copy link
Copy Markdown
Owner

Closes #117.

What changes, in plain terms

For the few plan tasks that are expensive to undo (data model, sync, payments, migrations), a second agent now works out its own approach before it sees the plan's, then says: same / different but fine / "the plan's choice is worse because …".

  • Which tasks: tagged model="opus" or touching a CRITICAL.md path. At most 2 per phase; never ordinary UI or feature tasks.
  • Plans record the options weighed: <options> with the chosen one and the rejected ones with why.
  • Blindness is real, not a promise: the plan's options sit in a temp file the agent is told to open only after writing its own approach to disk.
  • Only real disagreement reaches you: one question before the build, both approaches side by side. Agreement is a single <second-opinion> line.
  • Autonomous: keeps the plan's choice, marks it resolved="pending", and pauses before building that phase (not skipped by --yes). build asks about any left pending, and passes <options> to the builder so it doesn't drift to a rejected one.
  • Cost: documented in MODEL-TIERS as the third per-spawn Opus override.
  • The review guide shows the result.

Checks

  • ./scripts/validate.sh passes.
  • Prompt-only change (no new script), so no fixture tests; real proof needs a plan run on an app with a data-model task.

🤖 Generated with Claude Code

For tasks tagged model="opus" or touching a CRITICAL.md path (max 2 per
phase), plan records the options weighed and spawns one Opus agent that
writes its own approach before reading the plan's, then compares. Only a
real disagreement asks the user, once, before build; autonomous pauses on
it; build asks about any left pending.

Closes #117

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rshankras
rshankras merged commit 882848f into main Nov 7, 2026
2 checks passed
@rshankras
rshankras deleted the feat/117-blind-plan-check branch November 7, 2026 05: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.

feat(plan): blind second opinion for foundation and critical plans

1 participant