Group Blueprint Files
blueprint.groupAnalyze files by responsibility and dependencies to produce a grouping plan, then apply the plan to assign files deterministically.
Instructions
Prepare mode returns a compact packet for semantic grouping; it is not the final grouping. The LLM should treat folder names as hints, not truth, and group by responsibility, runtime role, data flow, and dependencies. Prefer glob patterns like folder/** instead of enumerating files, and use exact file paths only for entry points, exceptions, or cross-cutting files. Apply mode consumes a small LLM-authored GroupingPlan and deterministically assigns files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | prepare builds an LLM packet; apply validates and stores a grouping plan | |
| analysisArtifactId | Yes | Analysis artifact ID returned by blueprint.scan | |
| plan | No | Grouping plan from the LLM. Required for apply mode. |