/asterweave:plan
Purpose
Produces an approval-ready, repository-grounded implementation DAG with exact boundaries, stack rules, test strategy, risks, rollout, and rollback — without editing code or changing dependencies.
Syntax
/asterweave:plan <goal|issue>
Arguments
<goal|issue> — the goal or issue reference to plan for.
Options
None.
Prerequisites
Most useful after /asterweave:analyze and /asterweave:challenge, so the plan is grounded in resolved requirements rather than open questions.
What happens
- Reads the graph contract, stack-discovery guidance, testing policy, the repository adapter, the context manifest (if present), and detected stack-specific references.
- Resolves the
planroute, then delegates to the project agent orasterweave:architect, and validates the proposal against repository evidence itself. - Prefers the smallest production-ready change; does not add abstractions or dependencies without current business need.
Agents used
The project's routed plan agent, or asterweave:architect by default.
Files modified
None — planning never edits code.
External side effects
None.
Output
- Objective, acceptance criteria, constraints, non-goals, and applicable
FR-/UC-identifiers when specs exist; - evidence-backed current design and patterns to reuse;
- an ordered change DAG with parallel-safe nodes explicitly marked;
- exact modules/interfaces/data/configuration affected;
- unit, integration/contract, E2E/runtime, regression, and negative tests;
- security/privacy/authorization checks;
- migration, compatibility, observability, rollout, and rollback;
- risks and decisions requiring approval;
- quality-gate commands discovered from the repository;
- a concise approval summary.
Examples
/asterweave:plan owner/repo#123
Common errors
- Plan invalidated after approval — if repository facts change materially after a plan is approved,
implementstops and routes back toplan(fail-replan) rather than proceeding on stale assumptions.
Related commands
Followed by human approval (the approve graph node), then /asterweave:implement.