Aeternalis Evolution, a custom-engine persistent evolutionary MMO. This first commit establishes the project skeleton: - Architecture and design docs: project vision, system overview, engineering constitution, roadmap, 19 ADRs, and the simulation, world, network, persistence and infrastructure architectures. - Headless engineering proof: deterministic synthetic particles, component lifecycle, explicit PRNG streams, canonical snapshots and restored execution. - Build and tooling: CMake 3.28+ / Ninja presets, C++23 feature check, clang-format and clang-tidy config, format check script, Windows check script, and a Docker build context. - Tests: unit tests, benchmarks, a snapshot fuzz target and CLI integration wiring. No gameplay, renderer, network service or running deployment yet. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
35 lines
1.1 KiB
Markdown
35 lines
1.1 KiB
Markdown
# ADR-0009: Units and spatial frames
|
|
|
|
## Status
|
|
|
|
Minimal proof units adopted; dimensional library and planet mapping deferred.
|
|
|
|
## Context
|
|
|
|
Microscopic and planetary scales cannot share unqualified float positions.
|
|
|
|
## Decision
|
|
|
|
Named millimetre/tick/ID values and explicit conversions. Proof domain1024mm and quantum50000us are synthetic fixtures. Target local frames right-handed +Z up, tied to stable region addresses; microdomains have separate frames/ecological coupling.
|
|
|
|
## Alternatives Considered
|
|
|
|
Aliases cannot distinguish quantities; mp-units provides compile-time dimensional safety under MIT; homemade units algebra duplicates specialized work.
|
|
|
|
## Benefits
|
|
|
|
Visible dimensions/ranges and bounded local precision.
|
|
|
|
## Costs
|
|
|
|
Explicit conversions and frame transforms.
|
|
|
|
## Risks
|
|
|
|
Wrapper proliferation, overflow, confusing proof torus with planet geometry.
|
|
|
|
## Consequences
|
|
|
|
Evaluate mp-units compiler support/diagnostics/compile time before biology. Specify J/kg/mol/m/s ranges and residuals. Prototype seams/poles/depth before global mapping. [mp-units](https://github.com/mpusz/mp-units).
|
|
|