一键导入
manifold-parallel
Execute tasks in parallel using git worktrees. Analyzes dependencies and file overlaps to safely parallelize independent tasks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute tasks in parallel using git worktrees. Analyzes dependencies and file overlaps to safely parallelize independent tasks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Backward reasoning from desired outcome. Derives required conditions by asking 'What must be TRUE?'
Verify ALL artifacts against ALL constraints. Produces a verification matrix showing coverage and gaps
Light mode: 3-phase workflow for simple changes. Use instead of full workflow for bug fixes, small features, or quick iterations.
Generate parallel execution plan from constraint network. Identifies waves, critical path, and bidirectional dependencies
Initialize a constraint manifold for a feature. Creates .manifold/<feature>.json + .manifold/<feature>.md
Interview-driven constraint discovery across 5 categories (business, technical, UX, security, operational)
| name | manifold-parallel |
| description | Execute tasks in parallel using git worktrees. Analyzes dependencies and file overlaps to safely parallelize independent tasks. |
Execute multiple tasks in parallel using isolated git worktrees.
/manifold:parallel "task1" "task2" "task3" [options]
| Flag | Description |
|---|---|
--auto-parallel | Enable automatic parallelization without confirmation |
--max-parallel N | Maximum concurrent tasks (default: 4) |
--verbose, -v | Show detailed output |
--deep | Use deep analysis (slower but more accurate) |
--timeout N | Task timeout in seconds (default: 300) |
--strategy TYPE | Merge strategy: sequential, squash, rebase |
--no-cleanup | Don't cleanup worktrees after completion |
--dry-run | Analyze but don't execute |
--file, -f FILE | Load tasks from YAML file |
User: /manifold:parallel "Add login form" "Add signup form" "Add password reset" --dry-run
Response:
🔄 Analyzing tasks for parallelization...
PARALLELIZATION ANALYSIS
────────────────────────
Recommendation: ✅ PARALLELIZE (85% confidence)
Safe Parallel Groups:
Group 1: [Add login form, Add signup form]
└─ No file overlap detected
Group 2: [Add password reset]
└─ Overlaps with Group 1 on src/auth/utils.ts
Sequential Tasks: None
Estimated Speedup: 1.8x (2 parallel + 1 sequential)
ℹ️ Dry run mode - no execution performed
Create .parallel.yaml in project root:
enabled: true
autoSuggest: true
autoParallel: false
maxParallel: 4
maxDiskUsagePercent: 90
maxMemoryUsagePercent: 85
maxCpuLoadPercent: 80
timeout: 300000
cleanupOnComplete: true
mergeStrategy: sequential
| Constraint | Description | Implementation |
|---|---|---|
| B1 | No merge conflicts | Overlap detection prevents file conflicts |
| B2 | Faster than sequential | Parallel execution with resource-aware concurrency |
| B3 | Auto-identify opportunities | Task analysis and file prediction |
| B4 | Opt-in control | Configuration and explicit flags |
| T1 | Clean branch state | Pre-check before worktree creation |
| T2 | Isolated worktrees | Each task runs in separate worktree |
| T3 | No same-file parallel | Overlap detector enforces |
When this command is invoked:
.parallel.yaml if present--dry-run, display analysis and exit--no-cleanup/manifold:m0-init - Initialize a constraint manifold/manifold:m-status - Show current manifold stateThe parallel execution system:
Use --dry-run to see the analysis without executing.