feat: Implement command-line scene loading and PLAY-on-launch functionality

This commit is contained in:
2026-09-15 15:43:15 -04:00
parent a7c58705e1
commit e1b4554ca9
9 changed files with 580 additions and 7 deletions
+3 -2
View File
@@ -11,9 +11,10 @@ description: "Lean implementation loop: Architect -> Developer -> User Verificat
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"`
- `@developer` runs headless syntax verification (resolve `<godot>`/`<project>` per platform — see the "Command-line testing & debug playback" section of `AGENTS.md`):
`<godot> --headless --check-only --script "res://path/to/script.gd" --path "<project>"`
- If static check fails, `@developer` fixes the code immediately.
- **Visual/debug verification (optional):** to actually watch a scene run and read `print()` debug output, launch the Sandbox Stage with `--play --scene <path>` from the command line (append `--verbose` for engine warnings) — see the "Command-line testing & debug playback" section of `AGENTS.md`. This is faster than relying on headless assertions alone for runtime/visual bugs.
3. **Phase 3: User Hand-off (Stop)**
- Present the changes to the user to test inside the Godot Editor.