cargo build # debug build
cargo build --release # release build
cargo test # all tests
cargo clippy -- -D warnings # lint — must pass with zero warnings
cargo fmt -- --check # check formatting
cargo fmt # auto-format| Area | Location |
|---|---|
| Specifications | docs/specifications/ |
| Implementation notes | docs/implementation/ |
| Architectural decisions | docs/decisions/ |
- Read the relevant spec in
docs/specifications/. - Implement in the correct module — see docs/implementation/ for the module map.
- Write tests in
tests/<module>.rsusingtempfile::tempdir()for all filesystem operations. - Run
cargo test,cargo clippy -- -D warnings,cargo fmt -- --check.
See docs/implementation/mcp-tool-pattern.md.
The wiki engine makes zero LLM calls. All intelligence is supplied by an external LLM that calls the wiki via CLI or MCP. Do not add any LLM client crate as a dependency.
See docs/implementation/rust.md for toolchain details, error handling conventions, testing patterns, and code quality rules.
See docs/guides/release.md for the full checklist, branch strategy, and tagging instructions.