Add v0 canonical agent state schema

This commit is contained in:
Meta Vens 2026-05-01 18:52:27 +01:00
commit 3f0f0177d7
12 changed files with 1510 additions and 15 deletions

View file

@ -30,9 +30,14 @@ Ghostlight now has the persistence spine plus the first architecture payload:
- state distributions and prompt projection
- Aetheria content generation targets
- population scaling for socially dense authored slices
- first schema seam:
- `schemas/agent-state.schema.json`
- `schemas/agent-state.required-fields.json`
- `examples/agent-state.call-of-the-void.json`
- `tools/validate_agent_state.py`
There is still no runtime yet. The live machine is design, state discipline,
and a cleaner repo boundary.
There is still no full runtime yet. The live machine is design, state
discipline, a cleaner repo boundary, and the first executable state contract.
## Current Direction
@ -56,7 +61,8 @@ Pick the first implementation seam to cut:
- classifier/event data model
- prompt projection renderer for authoring outputs
The clean first move is still the canonical agent-state schema.
The canonical agent-state schema now exists as v0. The next move is to validate
and harden it before deriving perceived-state and prompt-projection fixtures.
## Warnings
@ -68,3 +74,5 @@ The clean first move is still the canonical agent-state schema.
truth storage.
- Do not accidentally re-promote the older corridor-crisis idea into a game MVP
because an old doc had a strong chin and good lighting.
- Do not build prompt projection on top of the v0 schema until the schema has
survived at least one hardening pass. One passing fixture is not revelation.

View file

@ -39,19 +39,29 @@ state and re-entry discipline.
- research backlog and social-model notes
- `docs/architecture/`
- world, state, and prompt-system architecture notes
- `schemas/agent-state.schema.json`
- v0 canonical agent-state contract for agents, relationships, events,
scenes, perceived overlays, and dialogue context packs
- `schemas/agent-state.required-fields.json`
- required first-class variable names for canonical state and relationship
stance
- `examples/agent-state.call-of-the-void.json`
- first Call of the Void-flavored fixture for schema and projection work
- `tools/ghostlight_state.py`
- compact state inspection and evidence or branch updates
- `tools/ghostlight_prepare_compaction.py`
- pre-compaction audit of required files, handoff content, and git hygiene
- `tools/validate_agent_state.py`
- dependency-free validator for the current schema fixture invariants
## What Does Not Exist Yet
- a canonical agent-state schema
- a classifier pipeline
- a prompt renderer
- a simulation/event loop
- a relationship engine
- a culture prior engine
That absence is not a bug. It is just the current phase. The repo now owns the
theory body cleanly, even if the runtime skeleton is still missing.
The canonical agent-state schema now exists as a v0 seam, not as a finished
runtime. It should be hardened before the prompt renderer or classifier pipeline
starts treating it as bedrock. The skeleton has one bone. Try not to worship it.

View file

@ -2,13 +2,16 @@
## Near-Term Sequence
1. Freeze the first canonical state model.
1. Freeze the first canonical state model. In progress.
- Define the latent variable families.
- Define first-class dimensions, including volatility, attachment-seeking,
and distance-seeking.
- Define canonical state versus perceived state.
- Keep authoring outputs explainable from the state, not just generated from
stylish prompt fog.
- Maintain `schemas/agent-state.schema.json`,
`schemas/agent-state.required-fields.json`, and the example fixtures as
the first executable contract.
2. Freeze the first event and classifier schema.
- Define event labels.