Restore daemon-owned consumable lifecycle
This commit is contained in:
parent
be92f4c7af
commit
c4ae06d9cf
7 changed files with 332 additions and 7 deletions
|
|
@ -109,6 +109,15 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
|
|||
of falling through to legacy DTO classification. Slot-binding drag/drop now
|
||||
routes through typed daemon operations, and rebuilt current-entity binds come from typed
|
||||
action-bar descriptor rows instead of stale slot-local `Entity` references.
|
||||
`AetheriaRuntimeConsumableSimulation` is the sole live owner of consumable
|
||||
activation and lifetime. It resolves semantic activation intents against the
|
||||
typed catalog and the actor's concrete cargo, atomically removes one unit,
|
||||
preserves that instance's quality, applies authored stackability, and creates
|
||||
the canonical active-effect row. Daemon simulation time ages and expires those
|
||||
rows and publishes lifecycle/refusal facts. Input capability projection derives
|
||||
only currently activatable consumable actions from this state; Unity's restored
|
||||
`ConsumableItemEffect` and action-bar fill are read models and cannot consume
|
||||
cargo or advance timers.
|
||||
Consumable activation, active-duration fill, runtime duration, and effectiveness curves now use typed
|
||||
item rows with neutral defaults for missing optional facets. Gear action-bar bindings read custom icon resource
|
||||
paths from typed item rows, then use typed weapon and hardpoint facets for
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ validation proves contract shape, not wiring, exclusivity, lowering, or parity.
|
|||
| Dock/undock | wormhole-first interact; first eligible bay; component prerequisites | daemon + Ymir placement | dock commands/context | camera/UI transition | live generic Unity witness now proves advertised dock/undock actions, daemon bay assignment, dock-parent inclusion in the SoA view, sharing of the dock parent's equipment-derived contact picture, generic camera retargeting, controlled-subject hiding, movement suppression, and restoration on undock; the starter station and local raider form a deterministic Terminus departure proof | restore fossil component-prerequisite rejection reasons, exact undock placement, wormhole priority, reconnect, and docked inventory/trade surfaces |
|
||||
| Inventory/equipment | inventory panels + ServerShared | daemon | inventory/equipment surfaces | generic UI | owner-exists; wired/projected in fragments; not proven | all transfer directions and rejection |
|
||||
| Trade | trade UI/economy | daemon | stock, quote, purchase commands | generic UI | daemon derives station, stock row, catalog item, current price, quantity, credits, target capacity, and hull-vs-cargo result; Eve advertises only currently available stock actions; generic Unity live witness receives an authoritative purchase receipt while paused | sell flow, quote expiry, contested stock, and full trade surface parity |
|
||||
| Action bar/input | input shell and rebinding UI | daemon advertises actions; client owns bindings | input capability and action descriptors | universal binding UI | contracts wired; dynamic original behavior source absent | dynamic equipment/cargo actions |
|
||||
| Action bar/input | input shell and rebinding UI | daemon advertises actions; client owns bindings | input capability and action descriptors | universal binding UI | contracts wired; cargo actions are catalog-filtered to consumables the current actor can actually activate, including suppression of active non-stackable items | dynamic equipment behavior validity and runtime action-bar quantity/fill proof |
|
||||
| Pilot camera | ARPG follow/dock cameras | Eve view semantics + runtime | camera rig and semantic view id | EveUnity camera rig | basic follow lowered; dock/view parity absent | authored framing and dock transition |
|
||||
| Render channels | Unity layers/culling masks | provider variant + runtime | semantic view id | native layer policy | specification work; incomplete uncommitted prototype | no map glyphs in pilot view |
|
||||
| Minimap/tactical map | `ZoneRenderer`, map cameras | daemon world facts | explicit map projections | Unity and Electron | facts fragmented; generic lowerers absent | same state in both runtimes |
|
||||
|
|
@ -44,7 +44,7 @@ validation proves contract shape, not wiring, exclusivity, lowering, or parity.
|
|||
| Behavior engine | `ServerShared/Behaviors` composition | daemon | executable action/status projection | action bar and feedback | tick reconciles equipped catalog payloads into persistent behavior state; shared evaluated-stat query proven; execution families remain partial | every behavior family, ordering, resource transaction and modifier lifecycle |
|
||||
| Sensors/visibility | installed sensor sensitivity, decaying signature sources, and observer information thresholds | daemon | contacts and ping events | indicators/maps | passive reach now derives from enabled installed Sensor behaviors with diminishing-return array composition regardless of entity kind; contact refresh no longer overwrites emitted visibility; the old station range survives only as obsolete snapshot compatibility | author station/ship sensor loadout budgets, then prove power/thermal shutdown, threshold decay, ping, and classification timelines |
|
||||
| AI/tasks | corporation task scheduler plus agent state machines | daemon | commander task board, corporation survey ledger, and shared semantic controls | Eve commander/pilot clients | point exploration, attack with optimum-range control, same-zone haul, mining/offload, resource surveying, physical station towing, persistent orbit patrol, route-aware assignment, and autonomous return home wired through shared commands; attack admission rejects missing/friendly targets and unavailable weapon groups before durable queueing; capability/priority assignment and rejection behavior proven; generic Electron commander lowering proves the worker roster | cross-zone logistics execution, cancellation, reconnect, and multi-client command transfer |
|
||||
| Consumables | cargo-backed timed behavior containers | daemon | dynamic actions and active effects | action bar/schematic | reference | consume, stacking, duration and cleanup |
|
||||
| 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, advances timers on daemon time with the fossil's exact-zero final tick, removes expired effects, and emits activation/refusal/expiry facts; Unity remains a projection | execute authored behavior payloads in fossil order, including resource failure, effectiveness curves, and modifier cleanup |
|
||||
|
||||
## Ownership Invariants
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue