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-0018: Initial infrastructure services
|
||||
|
||||
## Status
|
||||
|
||||
Proposed; M0 deploys no services.
|
||||
|
||||
## Context
|
||||
|
||||
One host constrains resource/operations budgets; adding nodes must increase capacity without game redesign.
|
||||
|
||||
## Decision
|
||||
|
||||
Modular backend plus disposable region workers, preferred PostgreSQL, S3 adapter, conditional JetStream, no Redis initially. Separate dev/stage/world0 identities, credentials and guarded promotion.
|
||||
|
||||
## Alternatives Considered
|
||||
|
||||
DB outbox polling can suffice; Kafka needs demonstrated scale; distributed storage requires actual hardware/operational evidence; noun-per-service rejected.
|
||||
|
||||
## Benefits
|
||||
|
||||
Fewer failure modes, separable adapters and scale by workload.
|
||||
|
||||
## Costs
|
||||
|
||||
Explicit retention, resource budgets, restore, consumer deduplication and guard tests.
|
||||
|
||||
## Risks
|
||||
|
||||
Shared-host loss, logs/queue growth, stale storage ownership and accidental deletion.
|
||||
|
||||
## Consequences
|
||||
|
||||
Pin release digests/licenses; test restoration and limits before M8. JetStream is not DB exactly-once side effects. Official MinIO repo archived April25 2026/no longer maintained: do not adopt archived distribution by default; evaluate maintained S3 backend. [MinIO](https://github.com/minio/minio), [JetStream](https://docs.nats.io/concepts/jetstream).
|
||||
|
||||
Reference in New Issue
Block a user