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:
dingo
2026-09-14 15:44:41 -04:00
co-authored by Claude Opus 5
commit d5b4bd068e
63 changed files with 3531 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#include "evo/simulation/world.hpp"
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <cstdlib>
#include <span>
extern "C" int LLVMFuzzerTestOneInput(const std::uint8_t* data, std::size_t size) {
if (size > evo::max_snapshot_bytes) {
return 0;
}
const auto input = std::span{data, size};
auto restored = evo::SimulationWorld::restore(input);
if (restored) {
const auto canonical = restored->serialize();
if (!std::equal(canonical.begin(), canonical.end(), input.begin(), input.end())) {
std::abort();
}
const auto ticked = restored->tick();
if (!ticked && ticked.error() != evo::Error::tick_exhausted) {
std::abort();
}
if (!evo::SimulationWorld::restore(restored->serialize())) {
std::abort();
}
}
return 0;
}