24 lines
1.0 KiB
Markdown
24 lines
1.0 KiB
Markdown
---
|
|
name: spec-pipeline
|
|
description: "Lean implementation loop: Architect -> Developer -> User Verification."
|
|
---
|
|
|
|
## Execution Logic
|
|
|
|
1. **Phase 1: Architecture (Optional for small edits)**
|
|
- `@architect` defines signatures, node structures, or spec updates in `specs/[feature-name].md`.
|
|
- **STOP:** Wait for user approval on design choices before invoking developer.
|
|
|
|
2. **Phase 2: Implementation & Engine Validation**
|
|
- `@developer` updates code and scenes using targeted diffs/snippets.
|
|
- `@developer` runs headless syntax verification:
|
|
`& "C:\Godot4\Godot_v4.7.1-stable_win64_console.exe" --headless --check-only --script "res://path/to/script.gd" --path "C:\Godot4\project"`
|
|
- If static check fails, `@developer` fixes the code immediately.
|
|
|
|
3. **Phase 3: User Hand-off (Stop)**
|
|
- Present the changes to the user to test inside the Godot Editor.
|
|
- Do NOT update READMEs or documentation yet.
|
|
|
|
4. **Phase 4: Documentation (Triggered manually by user)**
|
|
- Only call `@writer` after the user confirms: _"Feature verified and working."_
|