approve
Approve the current PRD and begin parallel story execution. Analyzes dependencies, creates execution batches, launches background Task agents for each story,…
Resume an interrupted hybrid task (worktree or regular). Auto-detects state from files and continues execution. Usage: /plan-cascade:hybrid-resume [--auto]
> /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-resumeContext preview
What this command does when you run it.
Resume an interrupted hybrid task (worktree or regular). Auto-detects state from files and continues execution. Usage: /plan-cascade:hybrid-resume [--auto]
description: "Resume an interrupted hybrid task (worktree or regular). Auto-detects state from files and continues execution. Usage: /plan-cascade:hybrid-resume [--auto]"
Resume execution of an interrupted hybrid task by detecting current state from existing files.
This command works with both new and legacy path storage modes:
The command auto-detects which mode is active and scans the appropriate directories.
**To avoid command confirmation prompts during automatic execution:**
1. **Use Read tool for file reading** - NEVER use `cat` via Bash
2. **Use Glob tool for finding files** - NEVER use `ls` or `find` via Bash
3. **Use Grep tool for content search** - NEVER use `grep` via Bash
4. **Only use Bash for actual system commands:**
**Works with both:**
**IMPORTANT: Use Read/Glob tools for file detection, NOT Bash**
**Use Read tool (NOT Bash) to check for worktree config:**
Read(".planning-config.json")If Read succeeds:
If CONTEXT is not set yet:
**Use Read tool to check for PRD:**
Read("prd.json")If Read succeeds:
If CONTEXT is still not set:
**Use Glob tool (NOT Bash `ls`) to find worktrees in both new and legacy locations:**
# Get worktree base directory from PathResolver
WORKTREE_BASE = uv run python -c "from plan_cascade.state.path_resolver import PathResolver; from pathlib import Path; print(PathResolver(Path.cwd()).get_worktree_dir())"
# Scan for worktrees (path depends on mode)
Glob("{WORKTREE_BASE}/*/.planning-config.json")
Glob("{WORKTREE_BASE}/*/prd.json")
# Also check legacy location if different
Glob(".worktree/*/.planning-config.json")
Glob(".worktree/*/prd.json")Execute these Glob calls in parallel.
For each found file:
If no tasks found:
============================================ No interrupted hybrid tasks found ============================================ To start a new task: /plan-cascade:hybrid-auto <description> /plan-cascade:hybrid-worktree <name> <branch> <description>
If tasks found, display them and use **AskUserQuestion** to let user select:
Found {count} interrupted hybrid task(s):
[1] {task_name_1}
Path: {path_1}
PRD: {story_count} stories
Progress: {complete_count} complete
[2] {task_name_2}
...After user selection, navigate to the selected worktree directory.
**IMPORTANT: Use Read/Grep tools for state analysis, NOT Bash**
**Use Read tool to get PRD content:**
Read("prd.json")Based on result:
Display: `PRD Status: {PRD_STATUS}` and `Stories: {TOTAL_STORIES}` if valid
**Use Read tool to get progress content:**
Read("progress.txt")**Use Grep tool to count markers (NOT Bash grep):**
Grep("[COMPLETE]", path="progress.txt", output_mode="count")
Grep("[FAILED]", path="progress.txt", output_mode="count")
Grep("Batch [0-9]+", path="progress.txt", output_mode="content")From results:
Display progress status summary.
If PRD is valid (from 2.1), analyze the prd.json content that was already read:
Display:
PRD Story Statuses:
Pending: {PENDING_IN_PRD}
In Progress: {IN_PROGRESS_IN_PRD}
Complete: {COMPLETE_IN_PRD}Based on the analysis, determine the current state:
State Detection Logic: 1. NO prd.json OR corrupted: → State: "needs_prd" → Action: Generate PRD first 2. prd.json empty (no stories): → State: "needs_prd" → Action: Regenerate PRD 3. prd.json valid, 0 stories complete, no progress markers: → State: "needs_approval" → Action: Start story execution from beginning 4. prd.json valid, some stories complete (in PRD or progress.txt): →
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…