Gate resource behavior chain tails

This commit is contained in:
Meta Vens 2026-07-17 10:23:01 +01:00
commit dca5953695
7 changed files with 252 additions and 24 deletions

View file

@ -798,6 +798,7 @@ internal sealed class AetheriaDaemonYmirSmokeChecks
FossilVelocityBehaviorsRunInDaemonFlightStep,
BehaviorChainsGateAuthoritativeStatModifiers,
ResourceBehaviorsStopEquipmentChainsInAuthoredOrder,
MiningAndScanningResultsGateTrailingBehaviorChains,
ThermotoggleSeedsAndGatesFromDaemonOwnedTarget,
InputCapabilityPublishesExactBehaviorLevers,
InputCapabilityPublishesConsumableActionBarState,
@ -1113,6 +1114,190 @@ internal sealed class AetheriaDaemonYmirSmokeChecks
};
}
private static void MiningAndScanningResultsGateTrailingBehaviorChains()
{
var miningSuccess = MiningScenario(0, "mining-chain-success");
AetheriaRuntimeDaemonSimulation.Step(
miningSuccess.Run,
miningSuccess.Intents,
0.1,
AetheriaRuntimeDaemonSimulationSettings.AetheriaDefault,
NewPhysics(),
miningSuccess.Catalog,
1,
0.1);
RequireEqual(0, CargoQuantity(miningSuccess.Entity, "mining-chain-charge"),
"a successful in-range MiningTool must resume its authored trailing ItemUsage exactly once");
var successfulMiningState = miningSuccess.Entity.BehaviorStates.Single(value =>
value.BehaviorKind == "MiningTool");
Require(successfulMiningState.ChainReached && successfulMiningState.ChainSucceeded &&
successfulMiningState.ChainCompleted,
"MiningTool success must be the explicit owner that completes its deferred behavior group");
var miningFailure = MiningScenario(100, "mining-chain-failure");
AetheriaRuntimeDaemonSimulation.Step(
miningFailure.Run,
miningFailure.Intents,
0.1,
AetheriaRuntimeDaemonSimulationSettings.AetheriaDefault,
NewPhysics(),
miningFailure.Catalog,
1,
0.1);
RequireEqual(1, CargoQuantity(miningFailure.Entity, "mining-chain-charge"),
"an out-of-range MiningTool must stop before trailing cargo mutation");
Require(!miningFailure.Entity.BehaviorStates.Single(value =>
value.BehaviorKind == "MiningTool").ChainSucceeded &&
!miningFailure.Entity.BehaviorStates.Single(value =>
value.BehaviorKind == "ItemUsage").ChainReached,
"MiningTool failure must leave every trailing behavior unreachable");
var scanSuccess = ScannerScenario(0, "scanner-chain-success");
AetheriaRuntimeDaemonSimulation.Step(
scanSuccess.Run,
scanSuccess.Intents,
0.1,
AetheriaRuntimeDaemonSimulationSettings.AetheriaDefault,
NewPhysics(),
scanSuccess.Catalog,
1,
0.1);
RequireEqual(0, CargoQuantity(scanSuccess.Entity, "scanner-chain-charge"),
"a successful in-range ResourceScanner must resume its authored trailing ItemUsage exactly once");
var successfulScannerState = scanSuccess.Entity.BehaviorStates.Single(value =>
value.BehaviorKind == "ResourceScanner");
Require(successfulScannerState.ChainReached && successfulScannerState.ChainSucceeded &&
successfulScannerState.ChainCompleted,
"ResourceScanner success must be the explicit owner that completes its deferred behavior group");
var scanFailure = ScannerScenario(100, "scanner-chain-failure");
AetheriaRuntimeDaemonSimulation.Step(
scanFailure.Run,
scanFailure.Intents,
0.1,
AetheriaRuntimeDaemonSimulationSettings.AetheriaDefault,
NewPhysics(),
scanFailure.Catalog,
1,
0.1);
RequireEqual(1, CargoQuantity(scanFailure.Entity, "scanner-chain-charge"),
"an out-of-range ResourceScanner must stop before trailing cargo mutation");
Require(!scanFailure.Entity.BehaviorStates.Single(value =>
value.BehaviorKind == "ResourceScanner").ChainSucceeded &&
!scanFailure.Entity.BehaviorStates.Single(value =>
value.BehaviorKind == "ItemUsage").ChainReached,
"ResourceScanner failure must leave every trailing behavior unreachable");
static (AetheriaRuntimeRunCheckpointCommit Run,
AetheriaRuntimeDaemonIntentState Intents,
AetheriaRuntimeCatalogSnapshot Catalog,
AetheriaRuntimeEntitySnapshotCommit Entity) MiningScenario(double entityX, string runId)
{
var entity = Entity(0, entityX, "workers");
entity.Equipment = [new AetheriaRuntimeLoadoutItemSlotCommit
{
Item = new AetheriaRuntimeLoadoutItemCommit
{ ItemKey = "mining-chain-tool", Enabled = true, Durability = 1, Quality = 1 }
}];
entity.CargoContents = [Cargo(("mining-chain-charge", 1, 0, 0))];
var tool = CatalogItem("mining-chain-tool",
new AetheriaRuntimeBehaviorPayload(0, "MiningTool", 0,
[
new AetheriaRuntimeBehaviorField(1, PerformanceStat(0)),
new AetheriaRuntimeBehaviorField(2, PerformanceStat(0)),
new AetheriaRuntimeBehaviorField(3, PerformanceStat(1)),
new AetheriaRuntimeBehaviorField(4, PerformanceStat(10))
]),
new AetheriaRuntimeBehaviorPayload(1, "ItemUsage", 0,
[new AetheriaRuntimeBehaviorField(1, ItemKeyValue("mining-chain-charge"))]));
var catalog = new AetheriaRuntimeCatalogSnapshot(
[tool, CatalogItem("mining-chain-charge")], [], []);
var run = new AetheriaRuntimeRunCheckpointCommit
{
RunId = runId,
CurrentZoneIndex = 0,
CurrentEntityKey = "zone.0.entity.0",
Zones = [new AetheriaRuntimeZoneSnapshotCommit
{
ZoneIndex = 0,
Entities = [entity],
Bodies = [new AetheriaRuntimeBodySnapshotCommit
{
BodyKey = "mining-chain-belt",
Kind = "asteroid_belt",
Asteroids = [new AetheriaRuntimeAsteroidCommit { Distance = 0, Size = 6 }]
}]
}]
};
var intents = new AetheriaRuntimeDaemonIntentState();
intents.Behaviors.Add(new AetheriaRuntimeDaemonBehaviorIntent
{
ActorEntityKey = run.CurrentEntityKey,
EquipmentIndex = 0,
BehaviorIndex = 0,
Active = true,
TargetBodyKey = "mining-chain-belt",
TargetAsteroidIndex = 0
});
return (run, intents, catalog, entity);
}
static (AetheriaRuntimeRunCheckpointCommit Run,
AetheriaRuntimeDaemonIntentState Intents,
AetheriaRuntimeCatalogSnapshot Catalog,
AetheriaRuntimeEntitySnapshotCommit Entity) ScannerScenario(double entityX, string runId)
{
var entity = Entity(0, entityX, "workers");
entity.Equipment = [new AetheriaRuntimeLoadoutItemSlotCommit
{
Item = new AetheriaRuntimeLoadoutItemCommit
{ ItemKey = "scanner-chain-tool", Enabled = true, Durability = 1, Quality = 1 }
}];
entity.CargoContents = [Cargo(("scanner-chain-charge", 1, 0, 0))];
var scanner = CatalogItem("scanner-chain-tool",
new AetheriaRuntimeBehaviorPayload(0, "ResourceScanner", 0,
[
new AetheriaRuntimeBehaviorField(1, PerformanceStat(10)),
new AetheriaRuntimeBehaviorField(2, PerformanceStat(1)),
new AetheriaRuntimeBehaviorField(3, PerformanceStat(10))
]),
new AetheriaRuntimeBehaviorPayload(1, "ItemUsage", 0,
[new AetheriaRuntimeBehaviorField(1, ItemKeyValue("scanner-chain-charge"))]));
var catalog = new AetheriaRuntimeCatalogSnapshot(
[scanner, CatalogItem("scanner-chain-charge")], [], []);
var run = new AetheriaRuntimeRunCheckpointCommit
{
RunId = runId,
CurrentZoneIndex = 0,
CurrentEntityKey = "zone.0.entity.0",
Zones = [new AetheriaRuntimeZoneSnapshotCommit
{
ZoneIndex = 0,
Entities = [entity],
Orbits = [new AetheriaRuntimeOrbitSnapshotCommit
{ OrbitKey = "scanner-chain-orbit", FixedPositionX = 0, FixedPositionY = 0 }],
Bodies = [new AetheriaRuntimeBodySnapshotCommit
{
BodyKey = "scanner-chain-world",
Kind = "planet",
OrbitKey = "scanner-chain-orbit"
}]
}]
};
var intents = new AetheriaRuntimeDaemonIntentState();
intents.Behaviors.Add(new AetheriaRuntimeDaemonBehaviorIntent
{
ActorEntityKey = run.CurrentEntityKey,
EquipmentIndex = 0,
BehaviorIndex = 0,
Active = true,
TargetBodyKey = "scanner-chain-world",
TargetAsteroidIndex = -1
});
return (run, intents, catalog, entity);
}
}
private static void ThermotoggleSeedsAndGatesFromDaemonOwnedTarget()
{
var thermostat = CatalogItem("thermostat",

View file

@ -272,7 +272,9 @@ namespace GameCult.Aetheria.State.Verse
private static bool IsDeferred(string? kind) =>
string.Equals(kind, AetheriaRuntimeBehaviorKinds.Thruster, StringComparison.Ordinal) ||
string.Equals(kind, AetheriaRuntimeBehaviorKinds.AetherDrive, StringComparison.Ordinal) ||
string.Equals(kind, "Radiator", StringComparison.Ordinal);
string.Equals(kind, "Radiator", StringComparison.Ordinal) ||
string.Equals(kind, "MiningTool", StringComparison.Ordinal) ||
string.Equals(kind, "ResourceScanner", StringComparison.Ordinal);
private static IEnumerable<(AetheriaRuntimeBehaviorPayload Payload, int Index)> Indexed(
IReadOnlyList<AetheriaRuntimeBehaviorPayload> payloads) =>

View file

@ -115,6 +115,38 @@ namespace GameCult.Aetheria.State.Verse
settings.SecureAreaRadiusMultiplier);
AetheriaRuntimeMiningSimulation.Step(run, zone, entities, intents, catalog, frameId, simulationTimeSeconds, deltaSeconds);
AetheriaRuntimeSurveySimulation.Step(run, zone, entities, intents, catalog, frameId, simulationTimeSeconds, deltaSeconds);
FinalizeBehaviorChainsAndThermal(run, zone, entities, catalog, deltaSeconds, settings, frameId);
}
}
private static void FinalizeBehaviorChainsAndThermal(
AetheriaRuntimeRunCheckpointCommit run,
AetheriaRuntimeZoneSnapshotCommit zone,
IReadOnlyList<AetheriaRuntimeEntitySnapshotCommit> entities,
AetheriaRuntimeCatalogSnapshot? catalog,
double deltaSeconds,
AetheriaRuntimeDaemonSimulationSettings settings,
long frameId)
{
foreach (var entity in entities)
{
AetheriaRuntimeEnergySimulation.StepRadiators(entity, catalog, deltaSeconds);
AetheriaRuntimeBehaviorSimulation.CompleteDeferredChains(entity, catalog, deltaSeconds);
AetheriaRuntimeEnergySimulation.SettleReactors(entity, catalog, deltaSeconds);
AetheriaRuntimeThermalSimulation.Step(entity, deltaSeconds, catalog);
var medical = AetheriaRuntimeThermalMedicalSimulation.Step(
entity, catalog, deltaSeconds, settings);
PublishThermalMedicalEvents(run, zone, entity, medical, frameId);
if (medical.Died)
CommitDestruction(run, zone, entity, -1,
$"thermal:{medical.DeathCause}", "", frameId, settings, medical.DeathCause);
entity.IsActive = IsAlive(entity);
if (!entity.IsActive)
{
entity.VelocityX = 0;
entity.VelocityY = 0;
entity.TargetEntityIndex = -1;
}
}
}
@ -654,26 +686,6 @@ namespace GameCult.Aetheria.State.Verse
}
ResolveDeployableDetonations(run, zone, combatEntities, frameId, simulationTimeSeconds, catalog, settings);
foreach (var entity in entities)
{
AetheriaRuntimeEnergySimulation.StepRadiators(entity, catalog, deltaSeconds);
AetheriaRuntimeBehaviorSimulation.CompleteDeferredChains(entity, catalog, deltaSeconds);
AetheriaRuntimeEnergySimulation.SettleReactors(entity, catalog, deltaSeconds);
AetheriaRuntimeThermalSimulation.Step(entity, deltaSeconds, catalog);
var medical = AetheriaRuntimeThermalMedicalSimulation.Step(
entity, catalog, deltaSeconds, settings);
PublishThermalMedicalEvents(run, zone, entity, medical, frameId);
if (medical.Died)
CommitDestruction(run, zone, entity, -1,
$"thermal:{medical.DeathCause}", "", frameId, settings, medical.DeathCause);
entity.IsActive = IsAlive(entity);
if (!entity.IsActive)
{
entity.VelocityX = 0;
entity.VelocityY = 0;
entity.TargetEntityIndex = -1;
}
}
}
private static void StepDeployableWeapons(

View file

@ -29,7 +29,7 @@ namespace GameCult.Aetheria.State.Verse
if (!intent.Active || !TryEntityIndex(intent.ActorEntityKey, out var minerIndex))
continue;
var miner = entities.FirstOrDefault(entity => entity.EntityIndex == minerIndex && entity.IsActive);
var tool = AetheriaRuntimeEquippedBehaviorQueries.FindOperational(miner, catalog, "MiningTool")
var tool = AetheriaRuntimeEquippedBehaviorQueries.FindExecuting(miner, catalog, "MiningTool")
.FirstOrDefault(candidate => candidate.EquipmentIndex == intent.EquipmentIndex && candidate.BehaviorIndex == intent.BehaviorIndex);
var body = (zone.Bodies ?? Array.Empty<AetheriaRuntimeBodySnapshotCommit>())
.FirstOrDefault(candidate => candidate != null && string.Equals(candidate.BodyKey, intent.TargetBodyKey, StringComparison.Ordinal));
@ -44,6 +44,7 @@ namespace GameCult.Aetheria.State.Verse
if (Math.Pow(pose.PositionX - miner.PositionX, 2) + Math.Pow(pose.PositionZ - miner.PositionZ, 2) > range * range)
continue;
AetheriaRuntimeBehaviorSimulation.ReportSpecializedResult(tool, true);
var damage = Math.Max(0, tool.EvaluateStat(1)) * deltaSeconds;
var efficiency = Math.Max(0, tool.EvaluateStat(2));
var penetration = Math.Max(0.001, tool.EvaluateStat(3));

View file

@ -16,7 +16,7 @@ namespace GameCult.Aetheria.State.Verse
{
if (!intent.Active || !int.TryParse((intent.ActorEntityKey ?? "").Split('.').LastOrDefault(), out var index)) continue;
var entity = entities.FirstOrDefault(value => value.EntityIndex == index && value.IsActive);
var scanner = AetheriaRuntimeEquippedBehaviorQueries.FindOperational(entity, catalog, "ResourceScanner")
var scanner = AetheriaRuntimeEquippedBehaviorQueries.FindExecuting(entity, catalog, "ResourceScanner")
.FirstOrDefault(value => value.EquipmentIndex == intent.EquipmentIndex && value.BehaviorIndex == intent.BehaviorIndex);
if (entity == null || scanner == null) continue;
var body = (zone.Bodies ?? Array.Empty<AetheriaRuntimeBodySnapshotCommit>()).FirstOrDefault(value => value != null && string.Equals(value.BodyKey, intent.TargetBodyKey, StringComparison.Ordinal));
@ -34,6 +34,7 @@ namespace GameCult.Aetheria.State.Verse
}
var range = Math.Max(0, scanner.EvaluateStat(1));
if (Math.Pow(x - entity.PositionX, 2) + Math.Pow(z - entity.PositionZ, 2) >= range * range) continue;
AetheriaRuntimeBehaviorSimulation.ReportSpecializedResult(scanner, true);
var state = scanner.State;
if (!string.Equals(state.ResourceScannerTargetBodyKey, body.BodyKey, StringComparison.Ordinal)) state.ResourceScannerScanTime = 0;
state.ResourceScannerTargetBodyKey = body.BodyKey; state.ResourceScannerAsteroidIndex = intent.TargetAsteroidIndex;

View file

@ -920,6 +920,33 @@ lifecycle state.
behavior state plus an accepted generic Eve equipment placement and consumed
source, then rebuilds generic Eve input capabilities from the restored frame.
### Daemon Resource Behavior Chains
- Owner: `MiningTool` and `ResourceScanner` each own the success or failure of
their authored behavior-chain position. Generic behavior execution pauses at
that position until the specialized daemon subsystem evaluates the requested
world target.
- Inputs: chain admission from preceding switch/cooldown/resource gates, the
exact behavior intent, operational equipment state, authoritative body or
asteroid identity and pose, actor position, and evaluated range.
- Outputs: a successful in-range mining or scanning transaction reports one
specialized success and resumes the remaining group once. Missing, expired,
or out-of-range targets report no success, so trailing heat, item use, wear,
or modifiers remain unreachable.
- Derived state: scan progress, mining feedback, effects, audio, and UI progress
are projections of daemon behavior state and world transactions.
- Forbidden writers: Unity behavior instances, agent presentation, Eve
lowerers, and a later reconciliation pass cannot declare the resource action
successful or execute its tail.
- Shared order: inline gates run first; flight, combat, sensor, mining, and
survey owners evaluate their specialized work; deferred tails then complete;
reactors settle the complete tick's energy ledger; thermal integration and
medical consequences run last. Resource work can no longer occur after the
tick has already settled its energy and heat.
- Verification: daemon smoke proves successful mining and scanning each consume
one authored trailing item, while otherwise identical out-of-range attempts
preserve cargo and leave the trailing behavior's `ChainReached` false.
### Daemon Orbital Turret Controller
- Owner: each chain-admitted operational installed `TurretController` behavior owns automatic

View file

@ -43,7 +43,7 @@ validation proves contract shape, not wiring, exclusivity, lowering, or parity.
| Save/resume | original persistence paths | daemon/CultCache | published current state | clients rehydrate | durable latest-frame checkpoints survive real CultCache directory-store close/reopen with complete loadout/behavior state, pending combat lock/trigger state, consumed Ymir contact chronology, active autonomous task ownership, and a mid-wormhole multi-zone route. Fresh Ymir sessions reconstruct ordinary motion from committed world truth; daemon-private contact journals prevent replay where reconstruction alone is insufficient. Explore tasks resume through the same scheduler movement commands, complete exactly once, release helm ownership, and reach the generic Eve commander surface; cross-zone restart preserves the transition phase and exactly-once event chronology without cloning the worker | live process-kill/relaunch witness and version/catalog migration policy |
| Terminus loop | original game composition | daemon/Ymir/Eve | pilot surface | Aetheria.Unity | live minimum-loop proof: generic Unity discovers the provider, lowers the pilot world/assets, single-steps dock and undock while paused, buys daemon-priced station stock, single-steps Ymir salvage collection, resumes, moves, targets, fires, and presents authoritative receipts/shot outcome; the released full-session profile starts with no pickup, destroys a deterministic target, observes its canonical cargo drop, tractors it into a Ymir Begin contact, and proves exactly one `ymir-fact:` collection receipt plus cargo `0` to `1` | richer trade content, docking transitions, and sustained combat encounters |
| Starbridge | original/shared architecture intent | one daemon session | pilot + commander surfaces | Unity + Electron | commander task board and autonomous explore execution wired; Electron Eve lowering and split-target proof missing | commander orders plus four pilots and autonomous workers |
| Behavior engine | `ServerShared/Behaviors` composition | daemon | executable action/status projection | action bar and feedback | tick reconciles equipped catalog payloads into persistent behavior state; `Switch`, one-shot `Trigger`, normalized `Cooldown`, adjustable high/low-pass `Thermotoggle`, `EnergyDraw`, equipment `Heat`, atomic `ItemUsage`, and thermal `Wear` execute in authored group order and stop downstream effects on refusal; each row records whether the chain reached it. `Thruster`, rare `AetherDrive`, and `Radiator` now pause their groups at the specialized owner, report the exact fossil success result, and resume common tails at most once, so idle or unfunded actuators cannot consume wear; radiator emission remains its independent always-update path. Cooldown projects generic progress and thermostat target is daemon-commanded state seeded from authored data. Equipped and timed-consumable `StatModifier` sources persist daemon-owned lifecycle state and every runtime stat reader applies the fossil `base × multiplier product + constant sum` rule through one query; legacy `Data` kind references and required-behavior filters are honored | remaining specialized return-value composition and canonical consumable-content proof |
| Behavior engine | `ServerShared/Behaviors` composition | daemon | executable action/status projection | action bar and feedback | tick reconciles equipped catalog payloads into persistent behavior state; `Switch`, one-shot `Trigger`, normalized `Cooldown`, adjustable high/low-pass `Thermotoggle`, `EnergyDraw`, equipment `Heat`, atomic `ItemUsage`, and thermal `Wear` execute in authored group order and stop downstream effects on refusal; each row records whether the chain reached it. `Thruster`, rare `AetherDrive`, `Radiator`, `MiningTool`, and `ResourceScanner` pause their groups at the specialized owner, report the exact fossil success result, and resume common tails at most once. Invalid or out-of-range resource work therefore cannot consume trailing cargo or wear. Deferred tails now complete after the resource owners and before reactor settlement and thermal integration, preserving the fossil consumer-before-reactor order; radiator emission remains its independent always-update path. Cooldown projects generic progress and thermostat target is daemon-commanded state seeded from authored data. Equipped and timed-consumable `StatModifier` sources persist daemon-owned lifecycle state and every runtime stat reader applies the fossil `base × multiplier product + constant sum` rule through one query; legacy `Data` kind references and required-behavior filters are honored | remaining specialized return-value composition and canonical consumable-content proof |
| Sensors/visibility | installed sensor sensitivity and angular curve, `Visibility`, `Reflector`, decaying signature sources, stellar light, ping state, and observer information thresholds | daemon | accumulated contacts, named visibility sources, and ping events | indicators/maps and provider environment lowering | every operational installed Sensor executes the fossil visibility/sensitivity/angle/distance information equation and decay; visibility is thresholded by the provider setting. Actor-scoped ping owns energy, cooldown, expansion radius, reconnect-stable crossed-target state, one-time information boost, and transient signature. Operational `Visibility` equipment publishes evaluated constant signature; committed weapons publish authored signature including charged-shot multiplication; transient weapon and ping sources decay by the fossil exponential rule. Reflectors multiply evaluated cross-section by the exponent-8 stellar `PowerPulse` after thermal settlement. Gameplay light and environment projection share resolved authored orbit/body centers and provider-owned sun radius inputs. Contact refresh no longer invents perfect information or overwrites emitted visibility; docked craft consume one daemon-derived union of craft and dock-parent contacts through both Eve rows and SoA bodies, with sensor-source provenance | active consumable visibility/reflector effects, complete source cardinality, classification timelines, and canonical catalog station-array data |
| AI/tasks | corporation task scheduler plus agent state machines and installed orbital `TurretController` | daemon | commander task board, corporation survey ledger, controller aim/state, and shared semantic controls | Eve commander/pilot clients | point exploration, loadout-driven attack, haul, mining/offload, resource surveying, physical station towing, persistent orbit patrol, route-aware assignment, and autonomous return home are wired through shared commands. `patrol` is a first-class task with orbit targets distinct from survey/mining body targets; every generated tutorial NPC persists its assigned fossil four-orbit shuffled circuit before the first tick. Daemon sensors derive the fossil owner-security trespass rule from the controlled pilot's faction relationship and orbital security fields. Like the fossil `Minion`, a patrol agent temporarily enters the shared combat planner for its first visible hostile ship, keeps its circuit index, and resumes that same patrol when visibility is lost. Ship combat samples the fossil DPS/range policy, selects live weapon groups, leads projectiles, strafes relative to target attitude, and gates fire on catalog placement rotation. Chain-admitted orbital controllers independently acquire the first visible hostile ship, publish predictive look direction, and trigger only exact aligned in-range weapon behaviors through the shared combat lifecycle; the canonical preceding `EnergyDraw` now blocks acquisition, aim, and fire when power is unavailable, and non-player identity grants no implicit group-zero fire. Cross-zone task and home routes survive the full daemon-owned wormhole timeline; attack admission rejects missing/friendly targets and unavailable weapon groups before durable queueing. Cancel, complete, fail, stale-assignment repair, and duplicate-carrier repair share one scheduler-owned release primitive that zeros persisted helm input, clears the scheduler target, releases towing parentage, and prevents a terminal task from emitting another command. Real CultCache close/reopen proofs now cover both ordinary mid-travel and the first `entering` phase of a two-edge route; fresh Ymir owners resume without duplicate tasks, entities, or transition events, and Eve commander observes terminal status | multi-client command transfer and model-local barrel-direction metadata |
| Consumables | cargo-backed timed behavior containers | daemon | dynamic actions, active effects, and lifecycle facts | action bar/schematic | daemon atomically resolves typed metadata and concrete cargo, preserves consumed-instance quality, enforces authored stacking, evaluates effectiveness/quality, and executes ordered `EnergyDraw`, fossil-compatible no-op `Heat`, `ItemUsage`, and stateful `Cooldown` payloads after energy tick initialization; every effect and payload state has stable authored identity; cooldowns update before the ordered chain, require state strictly below zero, reset to one on success, and continue aging behind earlier failures; false and unsupported payloads stop later execution with a typed fact; timers retain the fossil's exact-zero final tick; Unity reconciles presentation by effect identity and cannot restore active behavior state by list index | catalog revision pinning, stat modifiers, remaining behavior families, and reconnect presentation proof |