living-world map: zone body identity (two runs per store, key readers, Site)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d3e51f22d9
commit
ac84aa88df
1 changed files with 12 additions and 0 deletions
|
|
@ -92,6 +92,18 @@ Probe: a throwaway env-gated test in a detached worktree (removed), on the shipp
|
|||
- Offered-design ladders (dearest over cheapest offered design, authored prices): ExplosivelyPropelled 30x, Laser 3.6x, MicroMissile 3.3x, ParticleProjection 2.3x, Reactor 14.4x, Sensors 30x, Radiator 10x, Thruster 10x, Tool 6x, CargoBay 14x, Hull/Ship 1.3x. Nine offered designs have recipes. StartingCredits (150000) covers every offered design.
|
||||
- `economy balance` at head: median implied wage 0.00722 per worker-second, 70 links, 23 faults.
|
||||
|
||||
## Body facts: zone body identity (nibu-imagination, 2026-11-27, at d3e51f22d and e32b04d5d)
|
||||
|
||||
Probe: throwaway tests `ZzZoneKeyProbe` / `ZzZoneKeyOverlapProbe` in a detached worktree at e32b04d5d (the player-loop head), two processes each, shipped catalog. Spec: `aetheria-living-world:cut_spec:cut-zone-body-sites.r1`.
|
||||
|
||||
- Identity now: `ZoneGenerator` writes each body and orbit with a keyless `cache.Upsert`; CultCache mints `Guid.NewGuid().ToString("N")` for a document it holds no handle for (`CultCache.CreateStoredDocument`). A body's `Name` ([CultName]) is the key's first eight characters. Nothing reads a body's `Name`; nothing calls `GetByName` on a body type. CultCache refuses shared index values, not shared names.
|
||||
- Three readers hash a body's key and so carry its randomness: `FireControl.Extract` (ore weights: StableHash of `field:index:ore`), `Entity.ByIndexThenField` (chunk tie-break on `CultRecordKey.GetHashCode`, which is .NET's process-randomized string hash, so the order differs between processes even for one key) and `DrawAhead.DrawListOf` (which rock meshes a belt draws). `FieldKinds.Ensure` already takes a seed-derived site (`{seed}:belt:{index}`, `:swarm:`, `:lane:`), except on first load of a kindless belt, where `Zone` passes the key.
|
||||
- Readers that keep keys as opaque identity: `ZonePack.Planets`/`Orbits`, `ChunkId.Field`, `ChunkWearPack.Field`, `Extracted.Body` (lot provenance), `Zone.Planets`/`AsteroidBelts`, `ZoneRenderer._beltDraw`, `WellNode`. No CultNet contract and nothing in `native/aetherlight` names a body.
|
||||
- The run store holds two runs at once: `RunSave.Replace` starts a new run with the saved run's records still stored and, on success, removes the saved keys; `RunSave.Beside` runs a simulation beside it. Every scenario but InfiniteFunLand is `Saved` with a fixed `Seed`, so replaying one while its save exists generates the same zone seed into the same keyspace. A key that is a pure function of the seed would be upserted over the saved run's body, and Replace would then delete the new run's body.
|
||||
- Baseline at e32b04d5d, DemoTerminus seed 1, cap 300 s, starter fit, two calls in each of two processes: rocks 32/32/32/31, units 131/133/131/129, hold full 160.42/160.42/160.42/148.28 s, sell 1255/3099/1261/1577. Seed 2: sell 16/16 in one process and 11/11 in the other.
|
||||
- Prototype (a persisted `BodyData.Site` that the generator writes, `SiteOr(key)` in Extract, tie-break and DrawAhead, names from `StableHash(Site)`): seed 1 rocks 32, units 131, hold full 160.42 s and sell 1734 in all four samples. Seed 2 sold 13 in all four.
|
||||
- Same seed generated twice into one store (the shape of Replace), prototype: 11 bodies, then 22. Keys are disjoint, both generations' sites and names are equal, the first generation's documents are still held at their keys, and the duplicate names are admitted.
|
||||
|
||||
## Stale and missing
|
||||
|
||||
- `docs/aetheria-living-world-target.md` (the target r2 DocRef, commit d61948f6) lives only on `origin/eureka/aetheria-living-world-target`; master has no copy. The target r2 statement of L-recipe ("inputs are commodities except in gear, hull and consumer-good recipes, which take roles") and L-roles are already contradicted by live code: intermediate commodities take roles through `RecipeData.RoleInputs` (ruling `ores-fill-metal-roles`). The next target revision should restate them.
|
||||
|
|
|
|||
Loading…
Reference in a new issue