🎯 v1.3.1 - Hybrid Approach: Interactive Approval + Refine Command
Major UX Enhancement: Replaces scattered command-line flags with comprehensive setup UI that presents ALL plugin capabilities in one guided flow. Adds interactive approval gates and iterative refinement for complete planning control.
✨ New Features
1. Comprehensive Setup UI ⭐ GAME CHANGER
Before (v1.3.0):
/full-plan my-project --parallel --validate --skip-marketing --pdfNow (v1.3.1):
/full-plan my-project
# → Interactive UI with 6 question groups covering ALL featuresSetup Questions Presented:
-
AI Provider Selection
- Google Gemini Deep Research (most comprehensive)
- Perplexity via OpenRouter (fast, pay-per-use)
- Auto-detect from available keys
-
Performance Optimization
- Enable parallelization (~14% time savings, 60% in Phase 3)
- Sequential execution (simpler, predictable)
-
Interactive Approval Gates ⭐ NEW
- Pause after each phase for review
- Ability to revise if direction needs adjustment
- Best for critical projects requiring control
-
Phase Selection ⭐ NEW (multiSelect)
- Choose which phases to include
- Skip marketing for internal tools
- Skip feasibility for quick prototypes
-
Quality Checks ⭐ NEW (multiSelect)
- Multi-model architecture validation
- Comprehensive diagram generation
- Real-time research verification
-
Output Formats ⭐ NEW (multiSelect)
- Markdown + YAML (always)
- PDF report generation
- PowerPoint presentation
Configuration Summary Display:
======================================================================
Planning Configuration Summary
======================================================================
AI Provider: GEMINI
Parallelization: ENABLED
Interactive Mode: ENABLED ⭐
Phases:
✓ Phase 1: Market Research
✓ Phase 2: Architecture & Design
✓ Phase 3: Feasibility & Costs
✓ Phase 4: Implementation Planning
✗ Phase 5: Go-to-Market Strategy (skipped)
✓ Phase 6: Plan Review
Quality Checks:
✓ Multi-model validation
✓ Comprehensive diagrams
Output Formats:
✓ Markdown (always)
✓ YAML building blocks (always)
✓ PDF report
======================================================================
2. Interactive Approval Gates
Pause after each phase completion for review and approval:
Phase Summary Display:
======================================================================
✓ PHASE 2 COMPLETE: Architecture & Technical Design (35 min)
======================================================================
Key Decisions:
• Architecture Pattern: Microservices
• Tech Stack: Node.js, PostgreSQL, Redis
• API Style: GraphQL
• Deployment: Kubernetes on AWS EKS
Key Outputs:
• 📄 2 markdown documents (2,139 lines)
• 📊 12 architecture diagrams generated
• 🔧 1 YAML building blocks
Next: Phase 3: Feasibility & Costs
======================================================================
Continue to next phase?
○ Continue (Recommended)
○ Revise this phase
○ Pause planning
Approval Options:
- Continue: Proceed to next phase
- Revise: Provide feedback, re-run phase with adjustments
- Pause: Save state, exit (resume later with `/resume-plan`)
3. /refine-plan Command
Revise completed phases with intelligent dependency handling:
Usage:
```bash
/refine-plan --phase --feedback ""
```
Example:
```bash
/refine-plan planning_outputs/20260112_143022_my-saas --phase 2
--feedback "Use monolithic architecture instead of microservices. Keep it simple for MVP."
```
Smart Dependency Resolution:
| Phase Revised | Affected Phases | Rationale |
|---|---|---|
| Phase 1 | 2, 3, 4, 5, 6 | Market research influences everything |
| Phase 2 | 3, 4, 6 | Architecture affects feasibility, implementation |
| Phase 3 | 4, 6 | Costs affect implementation plan |
| Phase 4 | 5, 6 | Implementation affects marketing |
| Phase 5 | 6 | Marketing only affects review |
| Phase 6 | None | Terminal phase |
Cascade Strategies:
- Auto-rerun: Automatically rerun all dependent phases (fastest, most consistent)
- Review individually: Ask before rerunning each phase (more control)
- Only revise target: Skip dependents (WARNING: may cause inconsistencies)
Safety Features:
- ✅ Backs up originals to `.state/backups/` before overwriting
- ✅ Tracks revision history in checkpoint system
- ✅ Clear warnings about cascade impacts
- ✅ Revision numbers and timestamps
4. Dependency Analyzer
Analyzes phase dependencies for intelligent revision planning:
Example Output:
```json
{
"revised_phase": 2,
"revised_phase_name": "Architecture & Technical Design",
"dependent_phases": [3, 4, 6],
"dependent_phase_names": [
"Feasibility, Costs & Risk Assessment",
"Implementation Planning & Sprints",
"Plan Review & Synthesis"
],
"estimated_time_minutes": 107,
"estimated_time_hours": 1.8,
"cascade_recommendation": "ask",
"impact_level": "medium"
}
```
📊 Complete User Workflow
-
Start planning:
```bash
/full-plan my-saas-app
``` -
Fill out project template (existing from v1.2.0)
-
See comprehensive setup UI (6 question groups)
- User enables "Interactive approval mode"
- Chooses to skip marketing phase
- Enables multi-model validation + PDF report
-
Dependencies install in background (from v1.0.18)
-
Phase 1 completes → Approval gate:
```
✓ PHASE 1 COMPLETE: Market ResearchKey Decisions:
• Target market: Small businesses
• Competitors: 5 major playersContinue? [Continue | Revise | Pause]
``` -
User realizes they want enterprise, not SMB
- Selects "Revise"
- Provides feedback: "Focus on enterprise customers (500+ employees)"
-
System re-runs Phase 1 with feedback
- Original backed up
- New outputs incorporate enterprise focus
-
Shows revised summary → User approves
-
Continues through remaining phases
- Each phase has approval gate
- Can revise any phase before continuing
-
Final phase → Post-plan analysis (from v1.3.0)
- Parallelization optimization recommendations
🎯 Key Benefits
Feature Discovery
- ✅ Users see ALL capabilities without reading docs
- ✅ Checkboxes show optional vs required
- ✅ Descriptions explain trade-offs
- ✅ Recommended options marked
User Control
- ✅ Review and approve each phase
- ✅ Easy to revise based on feedback
- ✅ Pause at any point and resume later
- ✅ Original outputs always backed up
Safety
- ✅ Dependency analyzer prevents inconsistent states
- ✅ Backups preserve original work
- ✅ Revision history tracked
- ✅ Clear warnings about impacts
Onboarding
- ✅ No need to memorize flags
- ✅ Guided discovery of all features
- ✅ Inline descriptions
- ✅ Configuration summary confirms selections
📦 New Scripts
- `scripts/setup-planning-config.py` (420 lines) - Comprehensive setup UI generator
- `scripts/generate-phase-summary.py` (334 lines) - Phase summary and approval questions
- `scripts/analyze-dependencies.py` (277 lines) - Smart dependency resolution
- `commands/refine-plan.md` (414 lines) - Refine command specification
🔧 Installation
Update to v1.3.1 using Claude Code CLI:
```bash
If already installed
claude plugin update flight505/claude-project-planner
Or install fresh
claude plugin install flight505/claude-project-planner
```
📚 Documentation
- Setup UI: `scripts/setup-planning-config.py` - All configuration options
- Approval Gates: `scripts/generate-phase-summary.py` - Phase summaries
- Refinement: `commands/refine-plan.md` - Iterative planning guide
- Dependencies: `scripts/analyze-dependencies.py` - Dependency resolution
🔄 Version History
This release completes the iterative planning vision:
- ✅ v1.0.18: Enhanced dependency management
- ✅ v1.1.0: Provider abstraction with Gemini
- ✅ v1.2.0: Interactive setup UI with file-based input
- ✅ v1.3.0: Post-plan parallelization analysis
- ✅ v1.3.1: Hybrid approach with iterative refinement ⭐ YOU ARE HERE
⚙️ Breaking Changes
None - fully backward compatible.
- Setup UI enhances existing Step 4
- Interactive mode is opt-in via checkbox
- `/refine-plan` is new command
🙏 Contributors
v1.3.1 implementation by @flight505
Full Changelog: v1.3.0...v1.3.1