Design records and engineering evidence¶
This folder explains durable architecture decisions, bounded experiments, and the current experimental Rust implementation. For behavior and support status, prefer overview, architecture, and status. A historical result describes its stated workload; a unit test is not a live-game acceptance result.
Topic directory¶
| Topic | Pages | Questions answered |
|---|---|---|
| Principles and decisions | Principles, authority, transport, persistence, presentation, tooling, scope | Which durable trade-offs separate simulation, transport, persistence, and presentation? |
| Change history | Superseded approaches, two processes, client mirroring, two-player gameplay, menu honesty | What did earlier implementations establish, and which constraints remain relevant? |
| Evidence and behavior | Probe results, synchronization research, clean-room feasibility, runtime timing, multi-household behavior, social sessions | Which conclusions are measured, and what is not established by those tests? |
| Rust implementation | Kernel overview, front door, state and identity, routing obligations, road placement, pilot evidence | What code exists in the experimental kernel/server, how are ids and topology represented, and which tests cover it? |
| Rust comparison and limits | Architecture options, divergence forensics, open problems | Which migration boundaries and unresolved mismatches remain? |
Reading current versus historical claims¶
Current code is the authority for exact names, defaults, and behavior. Historical design records are useful for rationale but can describe superseded proposals. For Rust, read the crate status files and current code before treating an architecture option as a deployed mode. In particular, the Rust front-door crate has an implemented listener and session model, but its README still marks it experimental and unsupported for player release.
The original architecture survey and front-door records in the repository history motivated a staged Rust boundary: move session/network responsibilities without claiming to replace the game simulation. Those source notes also contain private coordination details, so this public folder retains only technical rationale and verified implementation details.
Reading paths¶
- Current architecture decision: principles → authority → transport → persistence.
- A synchronization mismatch: divergence forensics → probe results → runtime timing.
- A Rust change: kernel overview → front door or state and identity → routing obligations / road placement. Run the tests for the changed crate; do not infer native parity from pure fixtures.
Evidence levels¶
| Evidence | Supports | Does not establish by itself |
|---|---|---|
| Decision record | Rationale and an intended ownership boundary | Implementation exists |
| Unit test | A named contract for its fixture | Native engine compatibility |
| Fake bridge/server test | Simulated boundary behavior | A live process handshake or deployment readiness |
| Live scenario | Observed behavior in a stated build/setup | Universal compatibility |
Maintenance¶
Keep this index synchronized with filenames and links. When code changes, revise the implementation section of the relevant page and retain historical conclusions only as dated, bounded evidence. Run python scripts/check_docs.py --anchors docs/design/ after editing this folder.
Related pages: Architecture, Status, Glossary.