Migrate tutorial galaxy topology into daemon
This commit is contained in:
parent
3ac9058ce8
commit
1e02aee692
5 changed files with 688 additions and 1 deletions
|
|
@ -1106,6 +1106,34 @@ the Terminus proof arena cannot award completion.
|
|||
requested steps, proves the causal damage commits at that step, proves later
|
||||
steps do not execute, and round-trips the clock/cause fields through Eve.
|
||||
|
||||
### Daemon Tutorial Topology Ownership
|
||||
|
||||
- Owner: the daemon tutorial topology generator owns the tutorial zone graph,
|
||||
faction roles and homes, zone influence, entrance, and initial discovery.
|
||||
- Inputs: the authored six faction selectors, 64-zone/link-density settings,
|
||||
typed corporation catalog, daemon generation seed, and the historical
|
||||
ten-octave simplex cloud-density field.
|
||||
- Outputs: a deterministic connected zone graph with stable positions,
|
||||
adjacency, faction presence/ownership, home zones, entrance, discovery set,
|
||||
and the selected cloud-noise position.
|
||||
- Derived state: the sector map and eventual zone materialization consume this
|
||||
topology. Names, bodies, stations, ships, and Eve map rendering do not get to
|
||||
revise it.
|
||||
- Forbidden writers: Unity `MainMenu`, `Galaxy`, `ZoneGenerator`, scene objects,
|
||||
and Eve clients cannot generate or repair tutorial topology.
|
||||
- Shared paths: generation and parity smoke use the same CultMath random stream,
|
||||
Unity-compatible simplex semantics, weighted sample elimination, Delaunay
|
||||
graph, connectivity-preserving link pruning, and faction placement owner.
|
||||
- Cut line: a generated Terminus proof arena cannot be relabelled as the
|
||||
tutorial. The daemon topology exists as a distinct pre-materialization result;
|
||||
it is not selected as a playable run until daemon zone contents are migrated.
|
||||
- Verification layer: smoke generates the authored 64-zone graph twice from one
|
||||
seed, proves point/adjacency repeatability, a connected undirected graph, six
|
||||
distinct role homes, an unowned entrance, and discovery containing exactly
|
||||
that entrance and its neighbors. CultMath separately proves the C# simplex
|
||||
implementation against Unity Mathematics vectors and carries the same
|
||||
semantics in HLSL.
|
||||
|
||||
### Daemon Pickup Contact Transaction
|
||||
|
||||
- Owner: the daemon simulation owns pickup collection by interpreting typed
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ validation proves contract shape, not wiring, exclusivity, lowering, or parity.
|
|||
|
||||
| Organ | Original authority/evidence | Target owner | Eve contract | Runtime lowering | Current status | Required proof |
|
||||
|---|---|---|---|---|---|---|
|
||||
| Run/session state | `ServerShared`, `ActionGameManager` | Aetheria daemon/CultCache | provider/session advertisement plus run lifecycle bindings | all clients | active/failed lifecycle is daemon-owned and restart-stable: controlled-entity destruction commits the fossil cause, terminal frame, one `run.failed` fact, releases control, rejects later gameplay commands, and freezes the world; Eve receives terminal presentation/input levers without becoming an owner. Terminus keeps persistent requested simulation rate distinct from effective rate: compressed batches inspect authoritative facts after each fixed step, stop at the causal damage/destruction/cargo/thermal/docking/weapon/wormhole/run event, pause effectively without erasing the request, and project the exact cause and executed-step count through Eve. Docked, travelling, fighting, mining, looting, and refitting remain derived world conditions rather than counterfeit durable phases. Terminus scenario generation preserves `TutorialPassed`: entering a generated/proof arena cannot impersonate the missing tutorial-completion transaction | full-daemon death/restart witness, broader attention taxonomy (contact, targeting, readiness, arrival, discovery, and failed orders), multi-client convergence, daemon-owned tutorial generation/completion, and a source-backed game-mode completion rule; the fossil supplied no victory transition |
|
||||
| Run/session state | `ServerShared`, `ActionGameManager` | Aetheria daemon/CultCache | provider/session advertisement plus run lifecycle bindings | all clients | active/failed lifecycle is daemon-owned and restart-stable: controlled-entity destruction commits the fossil cause, terminal frame, one `run.failed` fact, releases control, rejects later gameplay commands, and freezes the world; Eve receives terminal presentation/input levers without becoming an owner. Terminus keeps persistent requested simulation rate distinct from effective rate: compressed batches inspect authoritative facts after each fixed step, stop at the causal damage/destruction/cargo/thermal/docking/weapon/wormhole/run event, pause effectively without erasing the request, and project the exact cause and executed-step count through Eve. Docked, travelling, fighting, mining, looting, and refitting remain derived world conditions rather than counterfeit durable phases. The distinct tutorial topology is now daemon-owned and deterministic: authored 64-zone weighted sampling, Delaunay/link pruning, six faction roles/homes, influence, unowned entrance, and initial discovery run on Unity-compatible CultMath simplex semantics. It is deliberately not selectable yet because fossil zone bodies/entities are not materialized; Terminus generation preserves `TutorialPassed` and cannot impersonate completion | tutorial zone materialization, New Game selection, and a source-backed completion rule (none survived in the fossil); full-daemon death/restart witness, broader attention taxonomy (contact, targeting, readiness, arrival, discovery, and failed orders), and multi-client convergence |
|
||||
| Entity identity/loadout | `ServerShared/Entity*` | daemon | typed entity and inventory surfaces | EveUnity/Electron | daemon-owned hull identity, exact installed placement/rotation and instance state, cargo stacks, weapon membership/held state, equipment wear, executable behavior state, weapon chronology, active-effect state, and loadout-generation provenance survive a hard CultCache close/reopen through the durable latest-frame checkpoint. An advertised generic Eve equip operation now translates into the typed daemon transaction before that checkpoint; its accepted placement survives restart and its consumed station-cargo source does not resurrect. Generic Eve rebuilds weapon and scalar thermostat controls from that restored truth; legacy per-entity documents are bootstrap inputs only when no live frame exists | live client refit witness and multi-client convergence |
|
||||
| Loadout generation | map/faction availability, item cost, hull hardpoints and role constraints | daemon using canonical galaxy, faction knowledge/economy and typed catalog | generated loadout plus provenance/availability facts | Eve inspection and refit surfaces | daemon now uses the fossil candidate filter and seeded weighted selection: manufacturer must be present and allied, ally weight decays by home-zone graph distance, price uses the authored exponent, and hardpoints require matching semantic type, rotated footprint containment, and controller role; the April 2021 catalog fossil restores the distinct common `Longinus`, rare AetherDrive-compatible `LonginusX`, and `Djinni` rows with their original IDs, shapes, hardpoints, prices, drag, and prefabs, plus missing Thruster rows required to fill their authored mounts; typed `rarity:rare` tags apply a 0.05 generation multiplier to `LonginusX` and AetherDrive equipment; the generator owns one mutable CultMath stream, fixing the readonly-struct defensive-copy bug that restarted every weighted draw; placement rotation survives durable state and reconnect; generation fills the largest compatible footprint before economic weighting; cargo/capacitor plus station docking equipment must fit remaining hull space; stations pack faction-available inventory largest-first; ordinary ships begin without invented scenario cargo; every generated entity persists a source/selection receipt that reaches Eve as `loadout.item` semantics | multi-zone generated-world parity and exact root-to-zone stream sequencing against the fossil |
|
||||
| Flight intent | `Ship`, `Thruster`, `AetherDrive`, `VelocityConversion`, `VelocityLimit`, input paths | daemon actuator simulation + Ymir integration | analog local helm/look/tractor plus actuator state | generic Eve input and scene lowerers | direct faction-speed velocity ownership is deleted; daemon persists local strafe/forward helm and desired look, allocates ordinary directional thruster banks by authored rotation, derives torque from hull/item placement, compensates lateral torque, gates execution through the shared energy ledger, deposits equipment-cell heat, publishes plume visibility and actuator state, applies hull drag, then runs operational velocity conversion with the fossil exponential damp equation and clamps the result through evaluated velocity limits before giving velocity/direction to Ymir. The evaluated limit remains in durable behavior state for reconnect and Eve inspection. Autonomous tasks translate world travel into the same local helm axes and issue look commands instead of mutating heading. AetherDrive rotor/coupling simulation is additive and explicitly non-default: common `Longinus` and `Djinni` hulls use ordinary thrusters; the rare `LonginusX` replaces those mounts with the single rare `Traction` AetherDrive path | hardpoint-transform direction parity, exact cross-equipment behavior execution ordering, CultMath/float32 parity harness, live production-frequency evidence, generic thrust/turn feedback lowering, and live handling screenshots |
|
||||
|
|
|
|||
|
|
@ -130,6 +130,22 @@ latest complete leased frame, and reactive UI state is sampled at a bounded
|
|||
publication cadence. Internal fixed steps remain deterministic and testable
|
||||
without requiring a renderer or wall-clock delays.
|
||||
|
||||
## Tutorial Generation
|
||||
|
||||
The fossil tutorial was not a scripted objective mode. Its surviving gameplay
|
||||
difference is a distinct generated galaxy selected while `TutorialPassed` is
|
||||
false: six authored faction roles, 64 weighted blue-noise zones, a pruned
|
||||
Delaunay link graph, faction influence and ownership, an unowned entrance, and
|
||||
initial discovery of the entrance plus its neighbors. The narrative processor
|
||||
was commented out and no source-backed tutorial-completion trigger survived.
|
||||
|
||||
That topology now has a deterministic daemon owner driven by CultMath's
|
||||
Unity-compatible simplex noise. It remains a pre-materialization result until
|
||||
the fossil zone-body/entity generator is migrated; the daemon must not present
|
||||
an empty graph or the handcrafted Terminus proof arena as a completed tutorial.
|
||||
Once materialized, New Game may select it from player settings and Eve may lower
|
||||
its map and entry controls without becoming generation authority.
|
||||
|
||||
## Current Mechanism
|
||||
|
||||
The repo is mid-migration.
|
||||
|
|
|
|||
Loading…
Reference in a new issue