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,80 @@
|
||||
# Reproduction, life ownership and permadeath
|
||||
|
||||
Locked: irreversible death, independent descendants and no offline progression.
|
||||
Strategy/heredity/logout fairness are proposals requiring explicit acceptance
|
||||
before gameplay. Separate account, controlled organism, genome and lineage IDs.
|
||||
Historical creator references grant neither wildlife ownership nor visual labels.
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
A[Account] -->|current control grant| P[Living organism]
|
||||
A --> H[History without biological bonuses]
|
||||
P -->|funded reproduction| D[Independent wildlife descendants]
|
||||
P -->|permanent death| X[Historical dead organism]
|
||||
X --> H
|
||||
A -->|new life| N[Primitive founder]
|
||||
```
|
||||
|
||||
No resurrection, retained power, checkpoint or special corpse-retrieval mechanic.
|
||||
Corpse biomass follows ordinary ecology, not an account recovery entitlement.
|
||||
|
||||
## Reproduction and death contracts
|
||||
|
||||
Proposed intention: `Reproduce(action_id, parent_id, expected_revision, strategy,
|
||||
candidate_id?)`. Server resolves life/control state, prerequisites, costs,
|
||||
environment, offspring allocation and genomic change. Client supplies no
|
||||
authoritative child genome/count/cost. Parent costs, ancestry/genome records,
|
||||
offspring inventory/allocation and event form one recoverable logical operation.
|
||||
Durable acknowledgment requires recoverability; duplicate IDs return prior outcome.
|
||||
|
||||
Binary fission proposes one autonomous descendant, with parent continuity/control
|
||||
and splitting still open. Eggs/live birth use bounded young or cohorts with
|
||||
explicit investment/gestation/mortality. Broadcast/spores use funded statistical
|
||||
cohorts; theoretical fecundity never requests unbounded AI allocation. Capacity
|
||||
backpressures, rejects or aggregates; it cannot grant free offspring or silently
|
||||
delete committed lineages. NPC mutation/heredity/juvenile viability remain open.
|
||||
|
||||
Alive→Dead is terminal for the organism ID. Remove actions before later phases;
|
||||
transfer inventory to corpse/detritus exactly once. Proposed ordering resolves
|
||||
lethal damage/maintenance before reproduction; changing this needs a decision and
|
||||
fixtures. Descendants receive no arbitrary mortality modifier because a player
|
||||
died: inherited demands/tolerances interact with ecology independently.
|
||||
|
||||
Committed death must survive snapshot replay before recovered state is exposed.
|
||||
Unavailable durability withholds final outcome acknowledgment and quarantines
|
||||
pending irreversible changes. A new life follows the same primitive founder rule
|
||||
for every account, with initial matter/energy provenance. No growth/reserve or
|
||||
capability bonus transfers from history.
|
||||
|
||||
## Offline experiment: suspended inventory
|
||||
|
||||
Propose durable suspension outside progressing tiers. Freeze position reference,
|
||||
genome, age/growth, energy/matter, disease, gestation and every biological timer.
|
||||
Inventory stays in global accounting but cannot interact. Wildlife continues.
|
||||
|
||||
```mermaid
|
||||
stateDiagram-v2
|
||||
Active --> SuspendPending: logout or detected disconnect / freeze
|
||||
SuspendPending --> Suspended: durable ownership transfer
|
||||
Suspended --> Active: validated unique resume grant
|
||||
Active --> Dead: committed death
|
||||
SuspendPending --> Dead: lethal outcome determined before freeze
|
||||
```
|
||||
|
||||
SuspendPending already has no biological advancement at the authoritative freeze
|
||||
boundary. Servers can react only to detectable disconnects; heartbeat/detection
|
||||
bounds need a logout ADR. Clients cannot backdate freeze time. Resume performs no
|
||||
elapsed-time biology and first replays committed death. Changed habitat, blocked
|
||||
spawn, duplicate login and danger need a policy without free travel/duplication.
|
||||
|
||||
Suspension may evade predation or hoard biomass. A combat delay that advances
|
||||
offline biology violates the brief. Evaluate in-session eligibility/admission
|
||||
restrictions without progressing suspended organisms. Indefinite retention and
|
||||
matter disposition also remain open; no proposal is shipped as a settled rule.
|
||||
|
||||
Tests: dead IDs never act/resume; death/corpse exactly once; reproduction balanced
|
||||
and atomic despite insufficient nutrients with abundant energy; retries stable;
|
||||
descendants independent of parent death/logout; arbitrarily long suspension
|
||||
preserves every timer; same-tick death/reproduction ordering; huge spore requests;
|
||||
all suspend/resume crash points; changed habitat; unique control grants and
|
||||
death committed after snapshot. Extinction includes suspended viability.
|
||||
Reference in New Issue
Block a user