approve
Approve the current PRD and begin parallel story execution. Analyzes dependencies, creates execution batches, launches background Task agents for each story,…
Approve the mega-plan and start feature execution. Creates worktrees and generates PRDs for each feature. Usage: /plan-cascade:mega-approve [--flow <quick|standard|full>] [--tdd <off|on|auto>] [--confirm] [--no-confirm] [--spec <off|auto|on>] [--first-principles]
> /plugin marketplace add Taoidle/plan-cascade > /plugin install plan-cascade@plan-cascade
How it fires
How this command gets triggered: by you, by Claude, or both.
/mega-approveContext preview
What this command does when you run it.
Approve the mega-plan and start feature execution. Creates worktrees and generates PRDs for each feature. Usage: /plan-cascade:mega-approve [--flow <quick|standard|full>] [--tdd <off|on|auto>] [--confirm] [--no-confirm] [--spec <off|auto|on>] [--first-principles]
description: "Approve the mega-plan and start feature execution. Creates worktrees and generates PRDs for each feature. Usage: /plan-cascade:mega-approve [--flow <quick|standard|full>] [--tdd <off|on|auto>] [--confirm] [--no-confirm] [--spec <off|auto|on>] [--first-principles] [--max-questions N] [--auto-prd] [--agent <name>] [--prd-agent <name>] [--impl-agent <name>]"
Approve the mega-plan and begin executing features in **batch-by-batch** order with **FULL AUTOMATION**.
This command accepts flow control parameters that propagate to ALL feature executions:
Parameters are resolved in the following order when multiple sources exist:
1. **Command-line flags to THIS command** (highest priority)
2. **mega-plan.json configuration** (saved by `/plan-cascade:mega-plan`)
3. **Default values** (lowest priority)
**Priority Resolution Example:**
# Scenario 1: Command-line overrides mega-plan mega-plan.json contains: flow_config.level = "standard" You run: /plan-cascade:mega-approve --flow full Result: All features use FLOW = "full" # Scenario 2: Use mega-plan config mega-plan.json contains: tdd_config.mode = "on" You run: /plan-cascade:mega-approve Result: All features use TDD = "on" # Scenario 3: Partial override mega-plan.json contains: flow="full", tdd="on" You run: /plan-cascade:mega-approve --flow standard Result: All features use FLOW = "standard", TDD = "on"
**Parameter Propagation to Features:**
**Special Case - Spec Interview Parameters:**
Override the execution flow depth for all feature approve phases.
| Flow | Gate Mode | AI Verification | Code Review | Test Enforcement | |------|-----------|-----------------|-------------|------------------| | `quick` | soft | disabled | no | no | | `standard` | soft | enabled | no | no | | `full` | **hard** | enabled | **required** | **required** |
**FULL Flow Enforcement** (propagates to all features):
Control Test-Driven Development mode for all feature story executions.
| Mode | Description | |------|-------------| | `off` | TDD disabled | | `on` | TDD enabled with prompts and compliance checks | | `auto` | Automatically enable TDD for high-risk stories (default) |
Require explicit user confirmation before starting each **feature batch**.
**IMPORTANT: Batch-Level Confirmation Design**
In mega-plan execution, confirmation happens at the **batch level**, not inside sub-agents:
Batch 1: [feature-A, feature-B, feature-C]
↓
[CONFIRMATION POINT] ← User confirms here (Step 4.5)
↓
All 3 features execute in parallel (no further confirmation)
↓
Batch 2: [feature-D, feature-E]
↓
[CONFIRMATION POINT] ← User confirms here
↓
...Why batch-level confirmation:
Disable batch confirmation, even when using FULL flow.
Run a planning-time **spec interview** per feature (in the orchestrator only) to produce `spec.json/spec.md`, then compile to `prd.json` before story execution starts.
Enable first-principles questions (only when spec interview runs).
Soft cap for interview length (recorded in `.state/spec-interview.json` per feature).
This command works with both new and legacy path storage modes:
Files are stored in user data directory:
File locations:
All files in project root:
The command uses PathResolver to determine correct paths automatically.
Mega-plan execution supports multiple AI agents at two levels:
1. **PRD Generation**: Agent that generates PRDs for each feature worktree 2. **Story Execution**: Agent that executes stories within each feature
| Agent | Type | Best For | |-------|------|----------| | `claude-code` | task-tool | General purpose (default, always available) | | `codex` | cli | PRD generation, bug fixes | | `aider`
AI-Powered Cascading Development Framework Transform complex projects into parallel executable tasks with intelligent decomposition and multi-provider execution Why Plan Cascade? • Product Editions • Quick Start • Architecture
Repo: Taoidle/plan-cascade
Approve the current PRD and begin parallel story execution. Analyzes dependencies, creates execution batches, launches background Task agents for each story,…
AI auto strategy executor. Analyzes task and automatically selects and executes the best strategy: direct execution, hybrid-auto PRD generation,…
Check and update .gitignore to exclude Plan Cascade temporary files. Ensures planning files won't be accidentally committed to version control.
Complete a worktree task. Verifies all phases are complete, commits code changes (excluding planning files), merges to target branch, and removes worktree. Can…
Show execution status dashboard. Usage: /plan-cascade:dashboard [--verbose|-v] [--json]
Generate a technical design document. Auto-detects level: project-level from mega-plan.json, or feature-level from prd.json. Provides architectural context for…