Codex Workflow
Codex work in this repository should be small, inspectable, and verifiable.
Working Rules
- Inspect source and existing docs before editing.
- Preserve
docs/unless explicitly migrating material into the new docs site. - Keep generated command tables and screenshots separate from hand-authored explanation.
- Avoid broad rewrites when a narrow change solves the task.
- Run practical verification before reporting completion.
- Use MCP locally for command discovery, deterministic scene setup, screenshots, and reference validation when it is available.
Docs Site Boundaries
The Svelte docs application lives under docs-site/. Node scripts should stay inside docs-site/. Kotlin, Gradle, and libGDX builds stay under the existing Gradle project.
Verification
Typical docs-site verification:
cd docs-site
npm run validate:tutorials
npm run check
npm run build Typical webcomponent verification:
./gradlew :web:prepareWebComponentBundle MCP Use
Use MCP to discover commands, run console scripts, set known camera views, and generate screenshots. Do not invent command IDs for screenshots or capture; search /scene/listCommands for likely render-buffer, screenshot, capture, or PNG commands.