From f004307113bf6b5a966c2dd29a977ca480b5680c Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 13 Jun 2026 21:36:48 +0100 Subject: [PATCH] Demote agent tasks from runtime projection --- Aetheria.State/README.md | 4 +++- Assets/Scripts/ServerShared/Agents/Tasks/AgentTask.cs | 2 +- docs/aetheria-perfect-machine-map.md | 8 ++++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Aetheria.State/README.md b/Aetheria.State/README.md index 965ad40e1..1ad3f2145 100644 --- a/Aetheria.State/README.md +++ b/Aetheria.State/README.md @@ -69,11 +69,13 @@ and inspection metadata for the typed runtime bridge. Item instances now carry `RuntimeItemReference`, a narrow item-id/value holder. The old generic `RuntimeCatalogLink` abstraction has been deleted; item data projection is routed through `ItemManager` and the typed runtime catalog reader. -Surviving Unity DTOs inherit `RuntimeProjectionEntry`; the old +Surviving catalog and zone Unity DTOs inherit `RuntimeProjectionEntry`; the old `RuntimeCatalogEntry` base name no longer appears in live source. The dead `InspectableRuntimeCatalogLinkAttribute` inspector metadata is gone; typed runtime projection still uses `LegacyPayloadKeyAttribute` only where the temporary mapper needs a deterministic field order. +Agent task DTOs no longer inherit `RuntimeProjectionEntry`; they are local +runtime AI work orders until a typed Verse task document exists. `Aetheria.State.Import` captures the legacy catalog files into typed quarantine state: path, size, and SHA-256 fingerprint for `AetherDB.msgpack` plus diff --git a/Assets/Scripts/ServerShared/Agents/Tasks/AgentTask.cs b/Assets/Scripts/ServerShared/Agents/Tasks/AgentTask.cs index d150c6e94..e052dbbc9 100644 --- a/Assets/Scripts/ServerShared/Agents/Tasks/AgentTask.cs +++ b/Assets/Scripts/ServerShared/Agents/Tasks/AgentTask.cs @@ -4,7 +4,7 @@ using System; -public abstract class AgentTask : RuntimeProjectionEntry +public abstract class AgentTask { public int Priority; diff --git a/docs/aetheria-perfect-machine-map.md b/docs/aetheria-perfect-machine-map.md index fe5a754ca..6cece7f38 100644 --- a/docs/aetheria-perfect-machine-map.md +++ b/docs/aetheria-perfect-machine-map.md @@ -286,8 +286,9 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted. shapes. The global scene-load MessagePack resolver hook is deleted. The slime compute settings path no longer serializes its local parameter struct for change detection. Agent task runtime shapes no longer carry MessagePack - object, union, key, or ignore metadata. They remain plain in-memory AI task - DTOs until a typed Verse task document exists. + object, union, key, or ignore metadata. `AgentTask` no longer inherits the + shared runtime projection identity base; task objects are plain in-memory AI + work orders until a typed Verse task document exists. - Legacy player, faction, name-file, galaxy-map-layer, and narrative helper DTOs no longer carry MessagePack object/key/ignore metadata. Typed corporation/name-file/catalog documents own durable state; these classes are @@ -301,6 +302,9 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted. - Declaration-only personality fields on `Faction`/`Entity` and the unused production personality setting have also been cut; there is no surviving personality-state owner in live Unity source. +- `AgentTask` has been cut loose from `RuntimeProjectionEntry`; AI tasks are + local runtime work orders and no longer participate in the shared projection + identity base. - `Aetheria.Shared.Unity` no longer references the vendored `MessagePack` assembly. The embedded `GameCult.Aetheria.State.Unity` package still depends on MessagePackReader to open CultCache `.cc` records; that dependency belongs