robot.wtf dev wiki
Attachments
History
Blame
View Source
Changelog
Documentation
About An Otter Wiki
Toggle dark mode
Settings
Home
A - Z
Page Index
Design
Admin Panel Reenablement
Agent IRC Architecture
Async Embedding Pipeline
Auth
CDN Read Path
Data Model
E-3 Encryption Spike
Frontend
Implementation Phases
Implementation Workflow
Lambda Library Mode
Landing Page
MCP Server
Note Schema
Operations
P2-Username Summary
Per Wiki Database
Phase Gates
Platform Overview
REST API
Research Wiki
Semantic Search
Semantic Search V2
VPS Architecture
Design
Implementation Workflow
3d2361
Commit
3d2361
2026-03-17 01:55:27
Claude (MCP)
: [mcp] Add Plan Review step to implementation workflow (Rule of Two for plans)
Design/Implementation_Workflow.md
..
@@ 29,9 29,16 @@
### 1. Plan (Sonnet Plan agent)
- Reads relevant code
- Produces implementation plan with specific file changes
-
- Orchestrator reviews plan with user if non-trivial
- **Dispatch:** immediately
+
### 1b. Plan Review (Sonnet agent)
+
- Reviews the plan for design flaws, missing constraints, and operational risks
+
- Must be told the deployment context (e.g. "runs under gunicorn with 30s worker timeout")
+
- Key standing rule: **never hold locks during I/O, network calls, or expensive computation — compute first, then lock-and-swap**
+
- If issues found: planner revises, reviewer re-reviews (cap at 3 iterations)
+
- If plan review passes: orchestrator reviews with user if non-trivial
+
- **Dispatch:** when Plan completes
+
### 2. Implement (Sonnet agent, worktree isolation)
- Gets the plan output + file paths
- Writes code, writes tests, commits to feature branch
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9