Fauna target r3: placement is a closed form of slope and flow at run time
Applies ruling aetheria-fauna:ruling:fauna-placement-ruled: the target gains a Placement law section and replaces fauna-placement-seeded with the placement invariants closed-form, story, nested and no-pop. The map gains r3 body facts (B24-B27, the closed-form density probe), decisions, the two questions and the r3 cut sequence. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
198d6e28dd
commit
064167bd06
2 changed files with 152 additions and 30 deletions
|
|
@ -267,7 +267,7 @@ Probed at `1746e8bd`.
|
|||
`aetheria-fauna:question:fauna-placement`, `:fauna-flow-coupling`, `:flow-moves-what`, `:flow-slope-terms`. The
|
||||
options and recommendations are in the mind; the research for the first is the placement prior-art file.
|
||||
|
||||
### Cut sequence (r2, one line each; each is mapped when it is about to run)
|
||||
### Cut sequence r2 (superseded by the r3 sequence below)
|
||||
|
||||
1. `fauna-flow-field` (cut spec admitted): the flow's owner moves into `ServerShared` (`FlowField`, `Zone.Flow`), the
|
||||
shader lowers it from zone time, and a Unity parity check pins HLSL to C#.
|
||||
|
|
@ -303,3 +303,75 @@ options and recommendations are in the mind; the research for the first is the p
|
|||
24. `flow-slope-gradient-parity`: the brush-rendered heightfield and `Zone.GetHeight` agree, so the slope term can
|
||||
be switched on (`flow-slope-terms`).
|
||||
25. `orbit-sync-helper`: the generic flying aid that holds a ship on the local orbital flow. Waits on an operator yes.
|
||||
|
||||
## r3: placement is a closed form evaluated at run time
|
||||
|
||||
Written by Imagination (agent imagination-aeth-fauna-r3, session self-2026-10-14-ag) against `origin/master`
|
||||
`b836af48`, with the flow owner read at `eureka/aetheria-fauna-flow-field` `5f5a1e4d`. The operator ruled
|
||||
`fauna-placement-ruled` against `physarum-at-generation`: placement is "deterministic based on the gravity slope and
|
||||
flow that makes nice patterns", because "the level is constantly changing". The target is revised to r3 (Placement
|
||||
law, invariants `fauna-placement-closed-form`, `-story`, `-nested`, `-no-pop`). The B20 probe and the r2 rationale for
|
||||
a generation pass stand as evidence of what the slime look is; the generation pass itself is dropped. Prior art for
|
||||
the closed form: `docs/research/2026-10-14-fauna-placement-closed-form.md` (`CF:<line>`).
|
||||
|
||||
### Body facts (r3)
|
||||
|
||||
| # | Question | Result |
|
||||
|---|---|---|
|
||||
| B24 | Does the gravity field move? | Yes, in closed form of zone time. Orbit positions are `OrbitData.Evaluate(frac(_time / Period + Phase)) * Distance` plus the parent's position, cached per tick (`Zone.cs:476-497`). `GetHeight` subtracts each gas giant's `RadialWaves(..., _time * speed)` (`Zone.cs:645-655`), and `Sun` derives from `GasGiant` (`Zone.cs:771`), so the sun's well ripples too; `GasGiantData` defaults give wave speed x8 (`ZoneData.cs:199`). The slope at a point is a function of `_time`, and nothing in `GetHeight` can be evaluated at another time without a time parameter. |
|
||||
| B25 | Which pointwise closed form makes the slime look? (scratch probe, not committed) | A pure-Python transliteration of `FlowField.Global`/`Slope`/`Scroll` at `5f5a1e4d` and `Zone.GetHeight`/`GetNormal`/`PowerPulse`/`RadialWaves` at `b836af48`, on the B20 zone (sun, four planets, a gas giant; radius 2000; live flow scale 512, amplitude 15, scroll speed .025), 256² grid at t = 100 s, float64 (C# is float32). Density images were written per candidate, member-dot images under fixed per-candidate thresholds (jittered 16 u lattice, about 49k candidates), and correlated with the B20 Physarum maps (64x32 blocks). Results follow in the next rows. Script and images: Self's scratch for session self-2026-10-14-ag, `imagination-aeth-fauna-r3/` (`habitat_probe.py`, `density_*.png`, `members_*.png`). |
|
||||
| B25a | Slope band alone (`c0`: the operator's `Deposition(slope)`, zero past slope .8) | Rings on every planet's shoulder, a bright bridge where two shoulders meet; correlation with Physarum A .517 (B .483), the highest of all candidates. 1,435 members. Changes 3.3 % of members in 1 s and 20 % in 8 s from the wells' ripples alone (B24). |
|
||||
| B25b | Band times flow convergence (`c1`, gain 3; `c6`, gain 1.5, slope terms on: swirl 6, slide 1.5) | Langmuir-windrow analogue (CF:17-18). The band keeps its rings, cut by the flow's convergence into a crisp triangular texture: `Tri3D` is piecewise linear (`tri`), so its derivatives are piecewise constant and the convergence field is a tiling of hard-edged triangles and diagonal streaks. `c6` correlation .464 (B .449); `c1` .428. Members gather in clumps on the shoulders with thin lines between wells. Under continuous evaluation 20-22 % of members change in 1 s and 89-94 % in 8 s: the flow scrolls a full first-octave phase in 40 s (1 / .025). Convergence std over the zone is .147 /s live and .151 /s with the slope terms on. |
|
||||
| B25c | Band times flow-along-contour (`c5`, narrow; `c7`, wide) | Members where the flow runs along the well's contour (neither climbing nor falling). Fine scalloped arcs, more organic than `c6`, but sparse (94 members narrow, 395 wide) and unstable: 42-134 % of members change in 1 s. `c7` correlation .480. |
|
||||
| B25d | Okubo-Weiss strain (`c2`) and gravity saddles (`c3`, `c4`) | `c2` (band times sigmoid of W, CF:11) correlation .507, texture like `c1`. `c3` (negative Hessian determinant of the height: outer shoulders and saddles between wells) makes clean rings with dark gaps and no links, .377. `c4` (`c3` times convergence) .316. |
|
||||
| B26 | Is Sol a zone the code can tell apart? | No. No `ServerShared` code names Sol (grep of `Sol\b` outside `Solar`/`Solid`/`Solve`); a zone's seed is `GalaxyZone.Name.StableHash()` (`Zone.cs:144`, `CombatSeed`). `fauna-none-in-sol` needs the per-zone environment of `sol-flatspace-zone`. |
|
||||
| B27 | Is there placement code to cut? | No. Nothing under `Assets/Scripts/ServerShared` or `tests/Aetheria.Shared.Tests` names habitat or fauna at `b836af48`. The generation pass of r2 was never built. |
|
||||
|
||||
### Decisions made here, not forks
|
||||
|
||||
- **Candidates are a hashed jittered lattice with fixed per-candidate thresholds**, not a blue-noise set. It is the
|
||||
simplest deterministic, position-stable construction (CF:42 [M]); it is HZD's shape (CF:33 [V]), and nesting
|
||||
follows from the fixed thresholds (CF:40). Blue noise (Wei 2008, recursive Wang tiles, CF:42-43 [S]) buys evenness
|
||||
the jitter already roughly gives; it can replace the lattice later behind the same `Candidate` function.
|
||||
- **The hash comes from `SimulationDice.Mix`** on the zone seed, a new `HabitatStream` and the cell, so placement
|
||||
uses the one dice owner (B9) and no `UnityEngine.Random`.
|
||||
- **The convergence is normalised by a fixed scale in the settings** (.15 /s, B25b), never by a zone-wide statistic,
|
||||
which would make the law path-integrated (CF:56).
|
||||
- **Settings are a record, bound per class later.** `HabitatSettings` lands with `Habitat`; the krill cut binds a
|
||||
record to the krill field kind. Per-class tuning by eye follows the `flow-slope-terms` pattern.
|
||||
- **Sol** waits for `sol-flatspace-zone` (B26), which makes Sol host no fauna kind.
|
||||
|
||||
### Questions (admitted in the mind, raised in `cut-fauna-habitat-placement.r1`)
|
||||
|
||||
`aetheria-fauna:question:habitat-density-driver` (which flow quantity shapes the band; the images above are its
|
||||
evidence) and `aetheria-fauna:question:habitat-no-pop` (how a member is carried through a change of hosting).
|
||||
|
||||
### Cut sequence (r3, one line each; each is mapped when it is about to run)
|
||||
|
||||
1. `fauna-flow-field` (spec admitted; third Soul pass): the flow's owner in `ServerShared` (`FlowField`, `Zone.Flow`).
|
||||
2. `fauna-habitat-placement` (spec admitted, waits on 1 and the two questions): `Habitat`, `HabitatSettings`,
|
||||
`Zone.HabitatDensity`/`HabitatPresence`, fixed-threshold candidates, tests and the cost measured.
|
||||
3. `fauna-krill-swarms`: fauna fields derived per zone (not generated), krill members at hosted candidates, advected
|
||||
cycles (`fauna-flow-coupling-ruled`), the index provider and `ChunkVisible` through presence. Waits on 1, 2.
|
||||
4. `fauna-krill-catalog`: AetherDb authors the Krill field kind and its `HabitatSettings`.
|
||||
5. `fauna-field-presentation`: fauna kinds pick their own look and fade by presence; `SectorRenderer` counts belts only.
|
||||
6. `fauna-minnow-schools`: minnows, fast milling, a habitat on the krill density.
|
||||
7. `fauna-anchors`: field frames that move across the flow under class laws (`fauna-motion-model-ruled`).
|
||||
8. `fauna-sharks-and-whales`: sharks by krill density (ideal free distribution, CF:49-50), whales round gas giants.
|
||||
9. `fauna-disturbance`: sparse reaction records; schools scatter, sharks veer; reactions are tells.
|
||||
10. `fauna-attacks-strike`: sharks strike and minnow schools scour, through the ordinary damage path.
|
||||
11. `fauna-attacks-signal`: whale song as noise in the shared signal space (with aetheria-ew), drifter discharge.
|
||||
12. `fauna-harvest-goods`: catalog goods per kind and yields through the economy's yield table; fields refill.
|
||||
13. `fauna-harvest-gear`: resonance fishing, nets and trawls as gear with makers.
|
||||
14. `fauna-void-spiders`: nets across trojan points, snaring and tethering; silk.
|
||||
15. `fauna-gas-giant-drifters`: a cloud-deck class bound to gas giants.
|
||||
16. `fauna-edge-giants`: larger classes far from Sol; the hosted class mix scales with distance from Sol.
|
||||
17. `fauna-springs`: wormhole mouths raise habitat density (a pointwise term of distance to a mouth).
|
||||
18. `fauna-genre-uses`: cultivators, necrotech and mecha uses, each with its owner's campaign.
|
||||
19. `sol-flatspace-zone`: a per-zone environment override; Sol is cloudless, flowless and hosts no fauna kind.
|
||||
20. `fauna-returns`: what an observer is shown (`fauna-distance-ruled`, `fauna-disguise-path-ruled`).
|
||||
21. `fauna-in-ew-blend`: fauna background kinds with motion-law envelopes in aetheria-ew's judge.
|
||||
22. `fauna-krill-obscure`: dense krill thin sight lines through `Zone.Obscuration`. Waits on an operator yes.
|
||||
23. `flow-moves-matter`: floating items, mines and vented clouds drift with the flow (`flow-moves-what-ruled`).
|
||||
24. `flow-slope-gradient-parity`: the brush-rendered heightfield and `Zone.GetHeight` agree (`flow-slope-terms`).
|
||||
25. `orbit-sync-helper`: the generic flying aid that holds a ship on the local orbital flow. Waits on an operator yes.
|
||||
|
|
|
|||
|
|
@ -1,12 +1,26 @@
|
|||
# Aetheria spaceborne fauna: target
|
||||
|
||||
Campaign `aetheria-fauna`, target content r2 (r1 was admitted from the r0 draft at `f9705d32`; Self admits r2).
|
||||
Repo `GameCult/Aetheria`, working branch `master`, cut branches `eureka/aetheria-fauna-<cut>`. Written by
|
||||
Imagination (agents imagination-aeth-fauna and imagination-aeth-fauna-r2, session self-2026-10-13-ag2); r2 is
|
||||
against `origin/master` `1746e8bd`. Body facts and probes are in `docs/aetheria-fauna-map.md` (cited below as
|
||||
`B<n>`); prior art is `docs/research/2026-10-13-fauna-prior-art.md` (`PA:<line>`; `[M]` items are from memory and
|
||||
unverified) and `docs/research/2026-10-13-fauna-placement-prior-art.md` (placement). This is the target and the
|
||||
model page. Open forks are questions in the mind under `aetheria-fauna`.
|
||||
Campaign `aetheria-fauna`, target content r3 (r1 was admitted from the r0 draft at `f9705d32`, r2 by Self; r3 is
|
||||
admitted by Imagination). Repo `GameCult/Aetheria`, working branch `master`, cut branches
|
||||
`eureka/aetheria-fauna-<cut>`. Written by Imagination (agents imagination-aeth-fauna, imagination-aeth-fauna-r2 and
|
||||
imagination-aeth-fauna-r3, sessions self-2026-10-13-ag2 and self-2026-10-14-ag); r3 is against `origin/master`
|
||||
`b836af48`. Body facts and probes are in `docs/aetheria-fauna-map.md` (cited below as `B<n>`); prior art is
|
||||
`docs/research/2026-10-13-fauna-prior-art.md` (`PA:<line>`; `[M]` items are from memory and unverified),
|
||||
`docs/research/2026-10-13-fauna-placement-prior-art.md` (placement by simulation) and
|
||||
`docs/research/2026-10-14-fauna-placement-closed-form.md` (`CF:<line>`; its tags: `[V]` read, `[S]` search summary
|
||||
only, `[M]` memory or derivation, unverified). This is the target and the model page. Open forks are questions in
|
||||
the mind under `aetheria-fauna`.
|
||||
|
||||
r3 applies `fauna-placement-ruled` (2026-10-13), against the recommendation to run a Physarum pass at generation:
|
||||
|
||||
> Nothing we generate ahead of time would suffice, because the level is constantly changing. I'd imagine we can come
|
||||
> up with something deterministic based on the gravity slope and flow that makes nice patterns.
|
||||
|
||||
Placement is therefore a pure function evaluated when it is asked, never a generated and saved product. The
|
||||
invariant `fauna-placement-seeded` ("the saved zone pack is the authority") is replaced by the placement invariants
|
||||
below. r3 also carries the rulings admitted after r2: drift by advected cycles (`fauna-flow-coupling-ruled`), loose
|
||||
matter drifts with the flow and ships do not (`flow-moves-what-ruled`), the slope terms are turned on
|
||||
(`flow-slope-terms-ruled`), and presenters take their phase from zone time (`presenter-phase-from-zone-time`).
|
||||
|
||||
r2 applies the operator's rulings of 2026-10-13: fauna attack ships in various ways (`fauna-interaction-ruled`),
|
||||
are harvestable and prominent in Elysium (`fauna-harvest-ruled`), are placed to tell an ecological story shaped by
|
||||
|
|
@ -59,8 +73,8 @@ gather shows the shape of the wells and the currents, and where they are missing
|
|||
the standard a disguised ship must fly to (`disguise-held-by-flying`).
|
||||
3. **Each class has one motion law, legible and learnable.** An observer who watches a return for long enough can
|
||||
test it against the class's law. The laws are written to be told apart:
|
||||
- *krill* clouds ride the local orbital flow, as belt rocks do: their velocity is the flow at their distance. This
|
||||
is the drifting-insect tell (PA:9);
|
||||
- *krill* drift with the global flow: each member advects along the flow at its seed point for one cycle, fades
|
||||
and re-seeds (`fauna-flow-coupling-ruled`). This is the drifting-insect tell (PA:9);
|
||||
- *minnow* schools ride the flow and mill fast inside their school, so their jitter is quick;
|
||||
- *sharks* cut across the flow, patrol and sprint, and accelerate harder than anything else in the class list;
|
||||
- *whales* are slow, huge and hot, and swing in long arcs.
|
||||
|
|
@ -71,8 +85,8 @@ gather shows the shape of the wells and the currents, and where they are missing
|
|||
100,000 stepped bodies that read the zone force take 16 ms. Neither form scales to fauna counts.
|
||||
5. **One detection rule.** Fauna are seen through `Sensor.Gain` by way of `Entity.PassiveInfo`, as chunks are
|
||||
(`Entity.ChunkInfo`, B5). There is no second sensor model and no fauna-specific threshold.
|
||||
6. **Deterministic.** A fauna's state is a function of the zone's seed, its saved field data, zone time and sim
|
||||
events on fixed steps (`SimClock`, B9). It uses no `UnityEngine.Random`, no wall clock and no frame time. Any dice
|
||||
6. **Deterministic.** A fauna's state is a function of the zone's seed, its world laws, its bodies' orbits, zone
|
||||
time and sim events on fixed steps (`SimClock`, B9). Nothing about where fauna are is saved. It uses no `UnityEngine.Random`, no wall clock and no frame time. Any dice
|
||||
come from `SimulationDice` on a stream of their own.
|
||||
7. **The zone owns fauna; presenters read them.** No Unity callback writes fauna state. The renderer draws them as it
|
||||
draws belts, from a pose evaluated at zone time (`ZoneRenderer.cs:543-569`, B7).
|
||||
|
|
@ -81,19 +95,47 @@ gather shows the shape of the wells and the currents, and where they are missing
|
|||
(`Volumetric.cginc` `flow()`, B15) is evaluated by one `ServerShared` function of position and zone time from the
|
||||
zone's flow settings. Fauna drift with it. The shader lowers the same function from the same settings and time,
|
||||
and a parity check pins the two. No presenter accumulates its own flow time (B16).
|
||||
10. **Placement tells an ecological story and is decided once.** The generator places fauna from the zone's gravity
|
||||
and flow, deterministically from the zone seed, and saves what it placed with the zone pack. Fauna gather on
|
||||
the shoulders of wells and along links between them, not in the cores and not in flat space (placement probe,
|
||||
`docs/research/2026-10-13-fauna-placement-prior-art.md`). The method is the question `fauna-placement`.
|
||||
10. **Placement tells an ecological story, and the level writes it as it moves.** Where fauna are is a closed form
|
||||
of the gravity slope and the flow, evaluated at zone time whenever a query, presenter or sensor asks
|
||||
(`fauna-placement-ruled`). Wells orbit, gas giants and suns ripple their wells (B24), and the flow scrolls, so the
|
||||
pattern moves with the level: a placement generated ahead would go stale. Fauna gather on the shoulders of wells,
|
||||
not in the cores and not in flat space, and the flow writes texture into that band. The law is in "Placement
|
||||
law" below.
|
||||
11. **No fauna in Sol.** Sol is a single flatspace zone with no fauna inside it; the strangeness begins at its edge.
|
||||
12. **Harm and harvest go through existing owners.** A fauna attack is damage through the path a weapon's hit
|
||||
takes; a harvest yields items through the economy's yield path; neither gets a fauna-only damage or loot rule.
|
||||
|
||||
## Placement law
|
||||
|
||||
One law decides where fauna of a class are, from local quantities only (pointwise: the field and its derivatives at
|
||||
a point, CF:6, CF:56):
|
||||
|
||||
1. **A habitat density** in [0, 1] at a point, from the gravity slope there and the flow there. The slope term is a
|
||||
band on the shoulders of the wells: the operator's own `Deposition(slope)` curve from her slime prefab (B20), zero
|
||||
past the steep core and near zero in flat space. Which flow quantity shapes the band is the question
|
||||
`habitat-density-driver`; the probe images are in the map (B25).
|
||||
2. **Candidates with fixed thresholds.** Each class has a lattice of candidate seed points, one per cell, jittered by
|
||||
a hash of the zone seed and the cell, each with its own fixed threshold from the same hash. A candidate hosts a
|
||||
member when the density at it is above its threshold. This is Horizon Zero Dawn's placement shape: a density map
|
||||
discretised by a fixed threshold pattern, deterministic and "locally stable" (CF:33 [V]). Because each threshold
|
||||
is fixed, raising the density never removes a member, and a member appears or leaves only when the density at
|
||||
its own point crosses its own threshold (CF:40: the design is [V], the nesting is a reading [M], so it is pinned
|
||||
here as an invariant instead of trusted). The member's identity is the cell, so it is a `ChunkId` with no stored
|
||||
state.
|
||||
3. **No pop.** The density moves as fast as the flow scrolls (B25: under continuous evaluation a fifth of a
|
||||
flow-shaped population changes in one second). A member never appears or vanishes at full presence; how it is
|
||||
carried through a change is the question `habitat-no-pop`.
|
||||
4. **Predators by prey.** Classes that hunt read their prey's density, not a second map: the ideal free
|
||||
distribution puts predators in proportion to prey (CF:49-50, [S]; composed pointwise, CF:53 [M]). Sharks on krill
|
||||
shoulders are one product of two pointwise densities.
|
||||
|
||||
The law is pure and costs nothing per tick: it runs per candidate when asked, as `Zone.ChunkPose` does for rocks.
|
||||
|
||||
## Scale classes
|
||||
|
||||
| Class | Shape in the sim | Light | Motion law (tell) | Prop role |
|
||||
|---|---|---|---|---|
|
||||
| Krill | A cloud of thousands of members that share one orbital slot; members sway within a bounded radius | Faint reflection per member; the cloud is bright in aggregate | Velocity equals the local orbital flow; slow bounded sway | Hide in a cloud; later, a dense cloud thins sight lines as a vapour cloud does (`Zone.Obscuration`) |
|
||||
| Krill | Thousands of members at hosted candidates on the well shoulders; each advects along the flow for one cycle, fades and re-seeds | Faint reflection per member; a patch is bright in aggregate | Drifts with the global flow (advected cycles) | Hide in a cloud; later, a dense cloud thins sight lines as a vapour cloud does (`Zone.Obscuration`) |
|
||||
| Minnow | Schools of hundreds that ride the flow | Faint reflection, a bright school | Flow plus fast milling inside the school | Clutter of small returns; a ship moving through a school is noticed (later: scatter) |
|
||||
| Shark | One to three members, each about the size of a ship | Reflection and moderate thermal | Crosses the flow; patrols with sprints | A ship-sized return a hunter must think about; the best disguise target for a fighter |
|
||||
| Whale | One member, many times a ship's size | Strong thermal; heard song (later) | Slow long arcs | A bright anchor; a ship near it is hard to separate (later: shadowing) |
|
||||
|
|
@ -115,14 +157,14 @@ The rows follow the rulings `fauna-in-sim-ruled`, `fauna-identity-ruled` and `fa
|
|||
| Kind | Identity (what names it) | Lifecycle | Authority (who decides; forbidden writers) |
|
||||
|---|---|---|---|
|
||||
| **Field kind** (existing, extended) | `FieldKindData` catalog record (`ZoneData.cs:122`), by key. A fauna kind is a field kind with a non-zero member sway and zero belt `GenerationWeight`, so a rock belt never draws it (`FieldKinds.Assign`, "Zero never picks it"). | Authored in AetherDb, append-only MessagePack keys. | The catalog. Forbidden: runtime writes. |
|
||||
| **Swarm** (new use of an existing kind) | A field: an `AsteroidBeltData` body in `ZonePack.Planets`, named by its record key, as a belt is. Its members have orbital elements (distance and phase) clustered into one arc, and its kind is a fauna kind. | Created by `ZoneGenerator.GenerateZone` and saved with the zone pack, like a belt. Members are never saved except for their wear. | `ZoneGenerator` creates it; `Zone` holds it (`AsteroidBelts`). Forbidden: presenters, entities. |
|
||||
| **Member** (a chunk of a fauna field) | `ChunkId(field, index)` (`Zone.cs:825`; the type was named `Field` so other field kinds could join, per its own comment). | Exists unless broken (`Zone.ChunkExists`). Wear and respawn are lazy comparisons against zone time (`Zone.Wear`), as for rocks. Its pose is a pure function of zone time: the orbital slot plus the kind's bounded sway. | `AsteroidBelt.Pose` alone computes the pose; `Zone.Wear` is the only writer of damage. Forbidden: any stored pose, any per-tick member loop. |
|
||||
| **Fauna field** (one per fauna kind a zone hosts) | The fauna kind's catalog key within the zone: a zone hosts every fauna kind its world laws admit, so the field is derived, not generated. | Derived when the zone is built, from its world laws and the catalog; never saved. Only its members' wear is saved (`ZonePack.ChunkWear`). | `Zone`. Forbidden: `ZoneGenerator` writing fauna into the pack; presenters; entities. |
|
||||
| **Member** (a chunk of a fauna field) | `ChunkId(field, index)` (`Zone.cs:825`; the type was named `Field` so other field kinds could join, per its own comment); the index is a lattice cell. | Present while its candidate is hosted (placement law) and it is not broken (`Zone.ChunkExists`). Wear and respawn are lazy comparisons against zone time (`Zone.Wear`), as for rocks. Its pose is a pure function of zone time: its seed point advected along the flow for its cycle. | The habitat law decides hosting; the class law alone computes the pose; `Zone.Wear` is the only writer of damage. Forbidden: any stored pose or hosting bit, any per-tick member loop. |
|
||||
| **Fauna provider** (existing, widened) | `BeltTargets`, one per field (`Zone.cs:175`). | Built with the zone, never saved. | Its region bounds must hold for every member. Sway widens the slack by the kind's amplitude. Forbidden: a second index or a fauna scan. |
|
||||
| **Fauna detection** (derived) | `(observer, member)`, never stored. | Derived per query: `ChunkInfo` → `PassiveInfo` → `Sensor.Gain`. | `Entity`. Forbidden: any fauna-specific threshold or gain. |
|
||||
| **Swarm anchor** (later, sharks and whales) | Per field: a law that moves the field's frame across the flow. | Pure function of zone time plus sparse event records (fork `fauna-motion-model`). | `Zone`. Forbidden: per-member stepping. |
|
||||
| **Disturbance** (later) | `(member, time, push)`, sparse, as `ChunkWear` is. | Written when a hull passes through or a shot lands, then decays lazily against zone time. | `Zone`. It is read only by `Pose`. |
|
||||
| **Flow field** (new owner) | One law: `FlowField`, evaluated per zone by `Zone.Flow(position)` from the zone's world-law settings (`PlanetSettings.Flow`). | Settings authored in `Settings.asset`; time is zone time. Never stored per position. | `Zone`. Derived: every shader flow uniform (`_FlowScroll` and the rest). Forbidden: `VolumeSampling._flowScroll`, `ZoneEnvironment.Flow`, any frame-time accumulator. |
|
||||
| **Habitat placement** (generation intermediate) | None: it exists only inside `ZoneGenerator.GenerateZone`. | Computed once per zone from the seed, gravity and flow; consumed to place fields; discarded. | `ZoneGenerator`. Its products, fauna fields, are saved as belts are. Forbidden: recomputing on load, saving the intermediate map. |
|
||||
| **Habitat** (new owner, a law) | `Habitat` in `ServerShared`: a class's `HabitatSettings`, a point's slope and flow quantities, a candidate's hashed seed point and threshold. | Never stored: evaluated at zone time per candidate when asked. | `Habitat` decides density and hosting; `Zone` supplies the local quantities from `GetNormal` and `Flow`. Forbidden: a generation pass, a saved or cached habitat map, a per-tick sweep. |
|
||||
| **Attack** (later, per class) | `(member or swarm, ship, time)`, an event. | Raised by a class law when its trigger holds; applied through the ordinary damage path. | `Zone`. Forbidden: a fauna-only damage rule. |
|
||||
| **Harvest yield** (later) | Item kinds in the catalog, per fauna kind. | A member broken or netted by harvesting gear yields items through the economy's yield table; the field refills by respawn. | The catalog and the yield table. Forbidden: fauna-only loot code. |
|
||||
| **Fauna background kind** (aetheria-ew) | Entries of aetheria-ew's `BackgroundKind` for fauna classes (that target's row says "more by ruling"). | Static data. | `GameplaySettings`, per aetheria-ew. Its envelope gains a motion term per class (fork `fauna-disguise-path`). |
|
||||
|
|
@ -137,8 +179,8 @@ The rows follow the rulings `fauna-in-sim-ruled`, `fauna-identity-ruled` and `fa
|
|||
`Examined` counter and by `Zone.Update` touching no member, not by timing.
|
||||
- `fauna-one-gain`: a fauna member is visible exactly when `ChunkVisible` says so.
|
||||
- `fauna-bounds-hold`: every member of a swaying or drifting field lies inside the regions its provider offers.
|
||||
- `fauna-tell-holds`: each class's members move by that class's law; a krill cloud moves with the orbital flow and
|
||||
the global flow, within its sway bound. Each class gets its own tell test.
|
||||
- `fauna-tell-holds`: each class's members move by that class's law; a krill member advects with the global flow
|
||||
from its seed point for its cycle. Each class gets its own tell test.
|
||||
- `fauna-never-lie`: no claim, suppression or belief is written for a fauna.
|
||||
- `flow-one-owner`: the global flow has one owner, `FlowField` in `ServerShared`, evaluated at zone time from the
|
||||
zone's flow settings. Every shader flow uniform is derived from it; no presenter keeps its own flow clock.
|
||||
|
|
@ -146,22 +188,30 @@ The rows follow the rulings `fauna-in-sim-ruled`, `fauna-identity-ruled` and `fa
|
|||
the same position, time, settings and gradient, within a stated tolerance; a parity check that evaluates both
|
||||
pins it and fails when either side changes alone.
|
||||
- `flow-step-free`: the flow at a position and zone time does not depend on step size or frame rate.
|
||||
- `fauna-none-in-sol`: Sol's zone holds no fauna field; generation never places one there.
|
||||
- `fauna-placement-seeded`: a zone's fauna placement is a function of its seed and its generated bodies on the
|
||||
generating runtime; the saved zone pack is the authority after that, and loading never recomputes placement.
|
||||
- `fauna-none-in-sol`: Sol's zone hosts no fauna kind, so no candidate there is ever hosted.
|
||||
- `fauna-placement-closed-form`: whether a candidate hosts a member at zone time t is a pure function of the zone
|
||||
seed, the class's habitat settings, and the gravity slope and flow at the candidate at t. Nothing about placement
|
||||
is generated ahead, saved, cached across ticks or stepped.
|
||||
- `fauna-placement-story`: habitat density is zero in well cores, below every candidate's threshold in flat space,
|
||||
and highest on well shoulders, and it changes when the slope or the flow at the point changes.
|
||||
- `fauna-placement-nested`: each candidate's threshold is fixed, so raising the density at a candidate never
|
||||
un-hosts it and lowering it never hosts it.
|
||||
- `fauna-placement-no-pop`: a member never appears or vanishes at full presence; every change of hosting is carried
|
||||
through a fade.
|
||||
|
||||
## Not in scope
|
||||
|
||||
- Ambient presentation-only life (the slime trails) beyond leaving it untouched; its rules may be reused at
|
||||
generation, but the presenter stays presentation.
|
||||
- Ambient presentation-only life (the slime trails) beyond leaving it untouched; the habitat law reuses its
|
||||
`Deposition(slope)` curve, but the presenter stays presentation.
|
||||
- Phantom positions (aetheria-ew `ew-where-lies-ruled`).
|
||||
- Ships, floating items, mines and clouds drifting with the flow, until `flow-moves-what` is ruled.
|
||||
- Ships drifting with the flow (`flow-moves-what-ruled`: ships do not; floating items, mines and vented clouds do,
|
||||
in a later cut).
|
||||
- Per-zone flow and nebula environments; Sol's cloudless bubble is a later cut, and until it lands every zone
|
||||
shares one flow.
|
||||
|
||||
Attacks and harvest are in scope as later cuts, designed per class (`fauna-interaction-ruled`,
|
||||
`fauna-harvest-ruled`); the first cuts build the ground they stand on: the flow, placement and the krill field.
|
||||
`fauna-harvest-ruled`); the first cuts build the ground they stand on: the flow, the habitat law and the krill field.
|
||||
|
||||
## Cut sequence
|
||||
|
||||
The map has the first cut drafted as a spec section and every later cut as one line.
|
||||
The map's r3 cut sequence has one line per cut; each is mapped when it is about to run.
|
||||
|
|
|
|||
Loading…
Reference in a new issue