2.2 KiB
2.2 KiB
Aetheria agent doctrine
Data tooling: AetherDb
tools/AetherDb is the agent's tool for reading and writing Aetheria's CultCache stores (GameData/Aetheria.cc,
run.cc, player.cc). The simulation lives in Aetheria.Shared (the headless build of
Assets/Scripts/ServerShared) and needs no Unity; Unity is only the shell for graphics and input.
- When a task needs a catalog or save capability AetherDb lacks (authoring or cloning designs, setting fields,
fixtures for a play smoke, a query), add it to AetherDb as a command. Do not write a scratch console project,
a loose
.csscript, a Python or PowerShell reader of the.ccbytes, or a Unity editor script instead. Loose scripts were retired in9f9149bdbecause they ran against stale schemas. - A command dry-runs by default and writes only with
apply, validates withCultRecordRefs.Validateand commits in oneCultCache.Commitbatch, like the existing migrations intools/AetherDb/Program.cs. - Deep copies of records use CultCache's own options,
CultDocumentMessagePackSerialization.OptionsFor(typeof(ItemData).Assembly); MessagePack's standard options cannot serialiseCultMathtypes orCultRecordRef. - The headless build refuses to compile unless CultLib is a clean checkout at the revisions pinned in
Directory.Build.props(Directory.Build.targetsenforces it). WhenF:\Projects\CultLibis elsewhere, pointCULTLIB_ROOTandCULTMATH_ROOTat detached worktrees of those revisions; never move the shared checkout. - CultCache Studio is the operator's GUI over the same files. It is not an agent path.
Releases
- Player-visible means a player of the shipped game could notice it, or a modder using the shipped ModTools could. Needs a change file: gameplay or balance changes, new or changed content, UI or controls, fixes to bugs a player could hit, modding format changes. Needs none: tests, refactors, docs, editor-only tools, build and CI changes, internal data layout that players and modders never see.
- A player-visible change lands with a
.changeset/file (bump level and one player-facing line), written by whoever lands it, agents included. Change files decide the release's version bump and changelog;docs/release-checklist.mdhas the format.