Deep reasoning framework for complex tasks with confidence validation, context gathering, and systematic planning
Confidence-driven workflow preventing misaligned execution: invest 100-200 tokens upfront to save 5,000-50,000 tokens.
USE for:
SKIP for:
Confidence-driven workflow: Requires ≥90% confidence score before proceeding to implementation.
Parse requirements | Identify systems | Create TodoWrite tasks
Search codebase (Grep/Glob) | Read existing code | Check docs | Analyze dependencies
| Component | Weight | Validates |
|---|---|---|
| No Duplicate Implementations | 25% | Existing functionality check |
| Architecture Compliance | 25% | Pattern alignment |
| Documentation Verified | 20% | API/library validation |
| Data Model Understood | 20% | Schema/type confirmation |
| Dependencies Mapped | 10% | Side effects understood |
Requires ≥90% score to proceed.
Order by dependency | Follow existing patterns | Include validation | Expand TodoWrite
Mark in_progress (ONE at a time) | Execute | Validate immediately | Mark completed immediately | Handle errors at root cause
60-70% fewer tokens | Zero failures | First-try success