mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
fix: Add schema reference requirement for Low complexity planning in lite-plan
- Updated execution flow diagram to show schema loading as REQUIRED step - Added explicit schema reference for Low complexity direct planning - Ensures plan.json follows consistent structure regardless of complexity level 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -50,8 +50,9 @@ Phase 2: Clarification (optional)
|
||||
└─ No clarifications → Skip to Phase 3
|
||||
|
||||
Phase 3: Planning
|
||||
├─ Load schema: cat ~/.claude/workflows/cli-templates/schemas/plan-json-schema.json (REQUIRED)
|
||||
└─ Decision (based on Phase 1 complexity):
|
||||
├─ Low → Direct Claude planning → plan.json
|
||||
├─ Low → Direct Claude planning (following schema) → plan.json
|
||||
└─ Medium/High → cli-lite-planning-agent → plan.json
|
||||
|
||||
Phase 4: Confirmation & Selection
|
||||
@@ -331,7 +332,8 @@ if (uniqueClarifications.length > 0) {
|
||||
**Planning Strategy Selection** (based on Phase 1 complexity):
|
||||
|
||||
**Low Complexity** - Direct planning by Claude:
|
||||
- Generate plan directly, write to `${sessionFolder}/plan.json`
|
||||
- Read schema: `cat ~/.claude/workflows/cli-templates/schemas/plan-json-schema.json`
|
||||
- Generate plan following schema structure, write to `${sessionFolder}/plan.json`
|
||||
- No agent invocation
|
||||
|
||||
**Medium/High Complexity** - Invoke cli-lite-planning-agent:
|
||||
|
||||
Reference in New Issue
Block a user