hyperflow-scope — decomposition phase (Antigravity single-agent)
Decompose, don't build. The only writes are to .hyperflow/. Follow the hyperflow doctrine.
Steps
- Research the affected surface (files to read/modify/create, conventions, test patterns). If the request is actually a design question, redirect to
hyperflow-specand stop. - Produce a batch graph. Order batches topologically; each sub-task = one coherent change nameable in a single conventional-commit subject. Split any sub-task that touches >5 files, >500 LOC, spans 2+ subsystems, or would take a reviewer >10 min to grasp.
- Write
.hyperflow/tasks/<slug>.mdwith: status table (progress, branch, commit cadence) → Goal → Why → Scope-at-a-glance table → Affected files (created/modified) → Execution plan (batch graph) → Batches (each sub-task with role, files, complexity, acceptance criteria, commit-message stub) → Verification plan. - Print a one-line summary:
Plan ready — .hyperflow/tasks/<slug>.md (N batches, M sub-tasks). - Hand off: invoke the
hyperflow-dispatchskill with the task slug.
Rules
- No implementation code; no source edits.
- Single-batch plans for multi-file work are an anti-pattern — decompose.
- Always include a concrete verification plan.