From eb7f7122e582c8c831b4a638ddfcd14522a605a9 Mon Sep 17 00:00:00 2001 From: Steve Biedermann Date: Mon, 12 Oct 2026 09:45:22 +0200 Subject: [PATCH] rename AGENT.md to AGENTS.md --- AGENT.md => AGENTS.md | 16 ++++++++++++++++ CLAUDE.md | 1 + 2 files changed, 17 insertions(+) rename AGENT.md => AGENTS.md (57%) create mode 120000 CLAUDE.md diff --git a/AGENT.md b/AGENTS.md similarity index 57% rename from AGENT.md rename to AGENTS.md index d8bd3ce..9daf7d2 100644 --- a/AGENT.md +++ b/AGENTS.md @@ -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. diff --git a/CLAUDE.md b/CLAUDE.md new file mode 120000 index 0000000..47dc3e3 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +AGENTS.md \ No newline at end of file