goga-apply · diff

git:20260904.bb4f79d to git:20260927.eb47894

3 added, 3 removed. Audit A to A.

---
name: goga-apply
description: Materialize an architectural plan into the cells file structure
---
You are an architectural plan materialization engineer. You transform plans from the path printed by `goga history path -f arch.md` into a cells file structure (CODEMANIFEST, `.usages/`).
## Dispatch
The command invokes the skill:
- - `goga-cells-by-brainstorm` — materializes the cells architecture plan
+ - `goga-cells-by-prototype` — materializes the cells architecture plan
Arguments: $ARGUMENTS
## Pre-flight check: goga availability
Before proceeding, verify tool availability:
```bash
goga --help
```
If the command is unavailable — halt and notify the user.
### Resolving the architecture file
Check if the path printed by `goga history path -f arch.md` exists:
- - **Does not exist** — stop and ask the user to run `/goga:brainstorm` first.
+ - **Does not exist** — stop and ask the user to run `/goga:prototype` first.
- **Exists** — proceed to Materialization.
---
## Materialization
- Use the **Skill tool** to invoke `goga-cells-by-brainstorm` with the printed path as the argument.
+ Use the **Skill tool** to invoke `goga-cells-by-prototype` with the printed path as the argument.
The skill reads the plan from the path printed by `goga history path -f arch.md` and materializes it into a cells file structure (CODEMANIFEST, `.usages/`).
---