Initial commit: architecture docs and headless engineering proof
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>
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# ADR-0017: Network transport and security
|
||||
|
||||
## Status
|
||||
|
||||
Transport proposed; server authority/no custom cryptography locked.
|
||||
|
||||
## Context
|
||||
|
||||
Superseding state and durable decisions need distinct delivery and trust contracts.
|
||||
|
||||
## Decision
|
||||
|
||||
Keep application semantics transport-neutral; compare QUIC streams+DATAGRAM with DTLS-protected UDP plus mature reliability. Own replication/perception/application logic; use maintained crypto implementations.
|
||||
|
||||
## Alternatives Considered
|
||||
|
||||
TCP/TLS all traffic is simple but head-of-line behavior needs measurement; early Steam-specific coupling limits portability; homemade encrypted transport rejected.
|
||||
|
||||
## Benefits
|
||||
|
||||
Established security with perception-aware replication and independent identity provider.
|
||||
|
||||
## Costs
|
||||
|
||||
Reconnect/channel/window/rate/epoch tests and dependency review.
|
||||
|
||||
## Risks
|
||||
|
||||
Replay/parser abuse, hidden-information leakage, obsolete crypto and compromised workers.
|
||||
|
||||
## Consequences
|
||||
|
||||
Measure loss/latency/MTU/NAT/platforms/binary size/license/maintenance, then pin. Fuzz and adversarial tests gate multiplayer. Worker compromise requires scoped durable constraints/audit, not only client authority. [QUIC](https://www.rfc-editor.org/rfc/rfc9000.html), [DATAGRAM](https://www.rfc-editor.org/info/rfc9221/), [DTLS1.3](https://www.rfc-editor.org/info/rfc9147/).
|
||||
|
||||
Reference in New Issue
Block a user