Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .claude/rules/rimapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ paths:
- Some colonist data (skills, traits, current_job, detailed needs) is NOT available from RIMAPI. Don't assume these fields exist.
- State adapters in `client.py` bridge upstream response shapes to our Pydantic schemas. Always adapt, never assume matching shapes.
- Growing zones use rect coordinates (x1, z1, x2, z2), not cell lists.
- Write endpoints are async — HTTP 200 returns before Unity executes them. `save_game` returns before the file flushes to disk (poll size); `load_game` needs ~10s settle time before writes are safe.
- `spawn_item` cannot auto-split stacks. Amount > max_stack triggers a null-ref that cascades and breaks the game. Chunk manually.
22 changes: 11 additions & 11 deletions .claude/settings.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"permissions": {
"allow": [
"Read(//c/Users/redmo/Projects/felix-agent-sdk/**)",
"Read(//c/Users/redmo/Projects/rimapi-dashboard/**)",
"Bash(python -m pytest:*)",
"Bash(pytest:*)",
"Bash(python -m ruff:*)",
"Bash(ruff:*)",
"Bash(python -m mypy:*)",
"Bash(mypy:*)",
"Bash(pip install:*)",
"Bash(pip list:*)",
Expand All @@ -22,14 +21,15 @@
"Bash(PYTHONIOENCODING=*)",
"Bash(bun run:*)",
"Bash(bun install:*)",
"Bash(python -m mypy src/rle/)",
"Bash(python -m uv run pytest --tb=short -q)",
"Bash(python -m uv run ruff check src/ tests/ scripts/)",
"Bash(python -m uv run python scripts/run_benchmark.py --dry-run --ticks 3)"
],
"additionalDirectories": [
"c:\\Users\\redmo\\Projects\\rimapi-dashboard\\src\\components\\widgets\\rle",
"c:\\Users\\redmo\\Projects\\rimapi-dashboard\\src\\features\\dashboard"
"Bash(uv run:*)",
"Bash(python -m uv run:*)",
"Bash(uv pip:*)",
"Bash(uv sync:*)",
"Bash(docker compose:*)",
"Bash(docker build:*)",
"Bash(docker exec:*)",
"Bash(dotnet build:*)",
"Bash(gh pr comment:*)"
]
},
"hooks": {
Expand All @@ -39,7 +39,7 @@
"hooks": [
{
"type": "command",
"command": "ruff check --fix --quiet \"$CLAUDE_FILE_PATH\" 2>/dev/null || true"
"command": "[[ \"$CLAUDE_FILE_PATH\" == *.py ]] && ruff check --fix --quiet \"$CLAUDE_FILE_PATH\" 2>/dev/null || true"
}
]
}
Expand Down
Loading