rename AGENT.md to AGENTS.md

This commit is contained in:
Steve Biedermann 2026-10-12 09:45:22 +02:00
parent 028d5219c5
commit eb7f7122e5
2 changed files with 17 additions and 0 deletions

View File

@ -18,7 +18,23 @@ cargo clippy --workspace --all-targets -- -D warnings # must stay clean
cargo fmt --all
```
The server build runs `build.rs`, which builds `ui/` for `wasm32-unknown-unknown`
and embeds the generated assets; there is no separate UI packaging step. See
[README.md](README.md) for setup and run instructions.
## Project Context
- `src/main.rs` hosts the Axum API and simulation thread; `src/world.rs` owns
world behavior and snapshots; `src/storage.rs` persists snapshots.
- `config.rn` defines the Rune simulation defaults and agent behavior. Runtime
script edits are not written back to this file; see the README before changing
reset or persistence behavior.
- `ui/` is the Leptos/Wasm frontend. Keep its API/model changes aligned with the
server payloads in `src/main.rs`.
## Conventions
- Comment only code that needs clarification.
- Warnings are treated as errors (`-D warnings`).
- After Rust changes, run `cargo fmt --all`; formatting is not needed for
documentation-only changes.

1
CLAUDE.md Symbolic link
View File

@ -0,0 +1 @@
AGENTS.md