diff --git a/CLAUDE.md b/CLAUDE.md index 393b9a73..78d8dbbe 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -329,6 +329,17 @@ This project is rebuilt milestone-by-milestone from a reference implementation. - If a file from the reference doesn't have a consumer in this repo yet, it doesn't belong here yet - The milestone task lists in `.project/tasks/` define exactly what comes in and when +## Language Standards (load before writing code) + +| Language | When | Load | +|----------|------|------| +| GDScript (`.gd`) | Any GDScript authoring | `~/.claude/instructions/godot-code-standards.md` | +| Rust (`.rs`) | Any `src/simulator/` work | `~/.claude/instructions/rust-code-standards.md` | +| TypeScript (`.ts`, `.tsx`) | Any guide/package TS work | `~/.claude/instructions/typescript-code-standards.md` | +| Python (`.py`) | Tools, scripts, data pipelines | `~/.claude/instructions/python-code-standards.md` | + +Hooks enforce these standards automatically on Write/Edit — they are not optional. + ## Safety Rules - Never hardcode theme-specific strings in engine code - Never hardcode asset paths — always use `ThemeAssets.resolve()` diff --git a/climate-fix-check.png b/climate-fix-check.png new file mode 100644 index 00000000..cbd138bc Binary files /dev/null and b/climate-fix-check.png differ diff --git a/climate-sim-1.png b/climate-sim-1.png new file mode 100644 index 00000000..ce5da9b3 Binary files /dev/null and b/climate-sim-1.png differ diff --git a/climate-sim-2.png b/climate-sim-2.png new file mode 100644 index 00000000..8fcb76c7 Binary files /dev/null and b/climate-sim-2.png differ diff --git a/climate-sim-3.png b/climate-sim-3.png new file mode 100644 index 00000000..951cbdf3 Binary files /dev/null and b/climate-sim-3.png differ diff --git a/climate-sim-4.png b/climate-sim-4.png new file mode 100644 index 00000000..fd805cae Binary files /dev/null and b/climate-sim-4.png differ diff --git a/climate-sim-check.png b/climate-sim-check.png new file mode 100644 index 00000000..e44ab3e2 Binary files /dev/null and b/climate-sim-check.png differ diff --git a/climate-sim-final.png b/climate-sim-final.png new file mode 100644 index 00000000..94779473 Binary files /dev/null and b/climate-sim-final.png differ diff --git a/climate-sim-fixed.png b/climate-sim-fixed.png new file mode 100644 index 00000000..7e89f336 Binary files /dev/null and b/climate-sim-fixed.png differ diff --git a/run b/run index 875800cd..022e90f3 100755 --- a/run +++ b/run @@ -21,10 +21,10 @@ usage() { echo " play Launch the game" echo " editor Open Godot editor" echo " guide Start guide dev server (port 5800)" - echo " lint Run gdlint on src/game/engine/src/" - echo " format Run gdformat on src/game/engine/src/" + echo " lint Lint all (GDScript + Rust fmt/clippy + ESLint)" + echo " format Format all (GDScript + Rust fmt + ESLint fix)" echo " test Run GUT + Rust + vitest" - echo " verify lint + typecheck + cargo check + test (full pipeline)" + echo " verify Full pipeline: lint + typecheck + cargo check + tests" echo " screenshot [name] [scene] [delay] Capture screenshot" echo "" echo -e "${YELLOW}Build${NC}"