Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Project documentation

The rest of this book is for people who build, review, or audit Xianyun. It’s the same material that lives under docs/ in the Go-era layout, reorganised for the Rust workspace.

PageWhat’s in it
VisionWhere the project is headed and what “agent-first” means in practice
ArchitectureThe crate layout and the patterns the code follows
TestingThe unit suite and the NixOS VM tests
macOSThe macOS build host and the macOS-only code
Architecture decision recordsWhy the code is built the way it is
SpecificationRequirements, with their status and the known gaps
User storiesBehaviour, written as testable scenarios
Threat modelWhat can go wrong, scored, with the evidence
Documentation reviewThe state of the documentation, and what’s left
Building the documentationHow this book and the API reference are built

The artifacts cross-reference each other by identifier: ADR-NNNN, FR-, NFR-, IR-, and SR- for requirements, TM-<AREA>-NNN for threats, GAP-NNN for known gaps, and STORY-NNN for stories.