Clean up architecture documentation

This commit is contained in:
Meta Vens 2026-05-02 23:40:45 +01:00
commit 43eddcd9d6
11 changed files with 328 additions and 49 deletions

View file

@ -27,7 +27,7 @@ behavior, major faction decision-making, and technology/item manifest generation
## Current Focus
The active path is not the archived local-model prototype runner. The active
path is:
path is a source-grounded branching-scene data loop:
1. Source-ground Aetheria context.
2. Project canonical state into character-local operating context.
@ -37,6 +37,11 @@ path is:
leakage audit, and coordinator interventions.
6. Apply only reviewed mutations into state, memory, relationships, perceived
overlays, and unresolved hooks.
7. Let the coordinator carry continuity, unresolved hooks, glue prose, and the
next scene/beat plan.
8. Let the branch compiler materialize playable Ink plus sidecar and compiler
notes from reviewed state and branch decisions.
9. Run IF artifact review before accepting the fixture as training data.
## Live Seams
@ -73,6 +78,11 @@ path is:
- Research sanity probe: `experiments/research-sanity/navigator-embodiment-sanity-v0.capture.json`
- Packet builder: `tools/build_responder_packet.py`
- Packet/output validators: `tools/validate_responder_packets.py`, `tools/validate_responder_outputs.py`
- Clean Cold Wake IF scaffold: `examples/ink/cold-wake-branch-and-fold.v0.ink`
- Clean Cold Wake IF sidecar: `examples/ink/cold-wake-branch-and-fold.v0.training.json`
- Clean Cold Wake coordinator artifact: `examples/coordinator/cold-wake-branch-and-fold.v0.json`
- Clean Cold Wake readable run: `experiments/cold-wake-story-lab/cold-wake-branch-and-fold-clean-run.v0.md`
- Branch compiler and IF reviewer contract: `docs/architecture/ink-branching-scenes.md`
Archived prototype captures and tools remain as evidence under `experiments/`,
`examples/ink/`, and old `run_qwen_*` helpers. They are useful receipts, not the
@ -130,6 +140,11 @@ IF scaffold with visual prompt anchors and reviewed consequence surfaces.
- Keep persistent state small. Git history and artifacts own chronology.
- Do not let notes, map, handoff, and evidence become four versions of the same brain.
- Do not train on coordinator-repaired responder prose unless the repair is labeled.
- Do not accept branch fixtures without branch compiler notes and IF artifact
review once that seam is available.
- Do not let tracked variables, authority pressure, heat, evidence quality,
relationship bands, or visual modifiers remain decorative. If they are
tracked, they need consequence or an explicit telemetry-only label.
- Do not let Elysium branch futures overwrite Sol single-history facts.
- Do not rebuild the older corridor-crisis game slice by accident.
- Do not treat parent-visible subagent output as proof of research. If the

View file

@ -33,9 +33,17 @@ Aetheria lore/source context
-> sandboxed responder output
-> review and leakage audit
-> mutation receipt
-> updated fixture / future training corpus
-> updated scene/world/social state
-> coordinator continuity and next-beat plan
-> branch compiler materializes Ink + sidecar + compiler notes
-> IF artifact reviewer audits consequence, fold, and visual continuity
-> accepted fixture / future training corpus
```
Responder packets are one seam, not the whole project. The current branching
scene path also requires coordinator receipts, branch compiler artifacts, and an
independent IF review pass before a fixture is accepted.
## Important Contracts
- Agent state: `schemas/agent-state.schema.json`
@ -45,6 +53,8 @@ Aetheria lore/source context
- Coordinator artifacts: `schemas/coordinator-artifact.schema.json`
- Responder packets: `schemas/responder-packet.schema.json`
- Responder outputs: `schemas/responder-output.schema.json`
- Ink branch contract: `docs/architecture/ink-branching-scenes.md`
- Training stages and corpus gates: `docs/architecture/training-plan.md`
## Current Live Example
@ -90,6 +100,17 @@ Aetheria lore/source context
- Parent sessions currently receive only the subagent final message, not a
visible tool-call transcript. Treat subagent research as self-reported unless
the worker returns explicit research notes or a future runner captures calls.
- Clean accepted-as-draft IF scaffold:
`examples/ink/cold-wake-branch-and-fold.v0.ink`
- Its sidecar is
`examples/ink/cold-wake-branch-and-fold.v0.training.json`.
- Its coordinator artifact is
`examples/coordinator/cold-wake-branch-and-fold.v0.json`.
- Its readable run is
`experiments/cold-wake-story-lab/cold-wake-branch-and-fold-clean-run.v0.md`.
- This fixture is coordinator/IF scaffold data. It is not raw responder gold.
- The user review that exposed fake variables and cosmetic state is now seed
taxonomy for the IF artifact reviewer.
## Archived Receipts
@ -99,7 +120,7 @@ embodiment, prompt leakage, and materialization. They are not active direction.
Do not let them steer gold responder data unless the task is explicitly model
plumbing.
## Missing Organs
## Missing Or Incomplete Organs
- Deterministic speaker-local input slicer
- Full prompt renderer
@ -107,13 +128,16 @@ plumbing.
- Relationship/perception updater
- State mutator model
- Student projector
- Branch compiler implementation beyond coordinator-authored fixtures
- IF artifact reviewer implementation beyond manual/frontier review
- Full scene/event loop implementation
- Culture prior engine
- Automatic promotion of branch outcomes into canonical state
## Current North Star
Generate high-quality, sandboxed, source-grounded responder/coordinator samples
that can later train specialized Ghostlight models while staying usable by a
game engine: exact inputs, exact outputs, provenance, review labels, state
mutation receipts, and clear branch consequences.
Generate high-quality, sandboxed, source-grounded branching-scene samples that
can later train specialized Ghostlight models while staying usable by a game
engine: exact inputs, exact outputs, provenance, review labels, state mutation
receipts, branch compiler artifacts, IF review findings, and clear branch
consequences.