approve
Approve the current PRD and begin parallel story execution. Analyzes dependencies, creates execution batches, launches background Task agents for each story,…
Start a new task in an isolated Git worktree with Hybrid Ralph PRD mode. Creates worktree, branch, loads existing PRD or auto-generates from description. Usage: /plan-cascade:hybrid-worktree [--flow <quick|standard|full>] [--tdd <off|on|auto>] [--confirm] [--no-confirm] [--spec
> /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.
/hybrid-worktreeContext preview
What this command does when you run it.
Start a new task in an isolated Git worktree with Hybrid Ralph PRD mode. Creates worktree, branch, loads existing PRD or auto-generates from description. Usage: /plan-cascade:hybrid-worktree [--flow <quick|standard|full>] [--tdd <off|on|auto>] [--confirm] [--no-confirm] [--spec
description: "Start a new task in an isolated Git worktree with Hybrid Ralph PRD mode. Creates worktree, branch, loads existing PRD or auto-generates from description. Usage: /plan-cascade:hybrid-worktree [--flow <quick|standard|full>] [--tdd <off|on|auto>] [--confirm] [--no-confirm] [--spec <off|auto|on>] [--first-principles] [--max-questions N] [--agent <name>] <task-name> <target-branch> <prd-path-or-description> [design-doc-path]"
You are starting a task in **Git Worktree + Hybrid Ralph mode**. This will create the worktree and handle the PRD automatically.
This command accepts flow control parameters that affect story execution:
Parameters are saved to `prd.json` in the worktree and later used by `/plan-cascade:approve`. Priority order:
1. **Command-line flags to THIS command** (highest priority)
2. **Command-line flags to `/plan-cascade:approve`** (when run in worktree)
3. **Default values** (lowest priority)
**Worktree Isolation:** Parameters are stored in the worktree's `prd.json`, ensuring complete isolation from other tasks. When you run `/plan-cascade:approve` in the worktree, it automatically finds and uses this PRD.
**Example:**
# Create worktree with strict flow /plan-cascade:hybrid-worktree --flow full --tdd on fix-auth main "Fix authentication bug" # → Creates worktree at .worktree/fix-auth/ # → Saves prd.json with flow_config.level="full", tdd_config.mode="on" # Later, in the worktree directory: cd .worktree/fix-auth/ /plan-cascade:approve # → Uses flow="full", tdd="on" from prd.json in current worktree
Override the execution flow depth for the approve phase.
| Flow | Gate Mode | AI Verification | Code Review | Test Enforcement | |------|-----------|-----------------|-------------|------------------| | `quick` | soft | disabled | no | no | | `standard` | soft | enabled | no | no | | `full` | **hard** | enabled | **required** | **required** |
Control Test-Driven Development mode for story execution.
| Mode | Description | |------|-------------| | `off` | TDD disabled | | `on` | TDD enabled with prompts and compliance checks | | `auto` | Automatically decide based on risk assessment (default) |
Require confirmation before each batch execution in the approve phase.
Explicitly disable batch confirmation, even if FULL flow would normally require it. Useful for CI/automated environments.
**Precedence**: `--no-confirm` overrides `--confirm` and FULL flow's default confirmation requirement.
Enable a planning-time **spec interview** to produce `spec.json/spec.md` before finalizing `prd.json`.
Ask 3–5 first-principles questions before detailed spec questions (only when spec interview runs).
Soft cap for interview length (recorded in `.state/spec-interview.json`).
Plan Cascade supports two path storage modes for runtime files:
Runtime files are stored in a user directory, keeping the project root clean:
Where `<project-id>` is a unique identifier based on the project name and path hash (e.g., `my-project-a1b2c3d4`).
File locations in new mode:
All files stored in project root (backward compatible):
**Note**: User-visible files like `findings.md`, `progress.txt`, and `mega-findings.md` always remain in the worktree/project root for easy access.
**To avoid command confirmation prompts:**
1. **Use Read tool for file reading** - NEVER use `cat` via Bash
2. **Only use Bash for actual system commands:**
3. **Use Write tool for creating structured files** - When possible
Parse user arguments:
TASK_NAME="" TARGET_BRANCH="" PRD_ARG="" DESIGN_ARG="" PRD_AGENT="" FLOW_LEVEL="" # --flow <quick|standard|full> TDD_MODE="" # --tdd <off|on|auto> CONFIRM_MODE=false # --confirm NO_CONFIRM_MO
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…