Add coordinator artifact seam

This commit is contained in:
Meta Vens 2026-05-02 10:14:41 +01:00
commit 43eea254de
9 changed files with 1457 additions and 10 deletions

View file

@ -55,6 +55,11 @@ Ghostlight now has the persistence spine plus the first architecture payload:
- `examples/lore-grounding/historical-flashpoint.template.json`
- `examples/lore-grounding/cold-wake-panic.ganymede-corridor.json`
- `tools/validate_lore_grounding.py`
- coordinator artifact seam:
- `schemas/coordinator-artifact.schema.json`
- `examples/coordinator/cold-wake-sanctuary-intake.v0.json`
- `tools/validate_coordinator_artifacts.py`
- `npm run coordinator:validate`
- Cold Wake story-lab seam:
- `docs/experiments/cold-wake-story-lab.md`
- `examples/agent-state.cold-wake-story-lab.json`
@ -151,6 +156,12 @@ targets. They exist to expose missing fields, bad boundaries, leakage risks, and
validator gaps before large data generation. Robust organs will need roughly an
order of magnitude more examples, with separate review-assistant and runtime
targets.
The first coordinator artifact seam now exists. It captures scene setup,
next-beat choice, acting-agent choice, machinery invocation plan, sandboxed
responder handoffs, world-state refs, proposed deltas, branch constraints,
item-manifest deltas, unresolved hooks, glue prose, and review status. The first
example is a backfilled Cold Wake sanctuary packet-assessment artifact accepted
as draft for schema shakedown, not gold responder data.
It now uses three timeline lanes: `historical_grounded`,
`transition_grounded`, and `future_branch`. Future branches are required
training/evaluation material for post-Rupture Elysium concepts, but generated
@ -179,10 +190,11 @@ narrow elaboration before treating the detail as available to Ghostlight.
## Current Next Action
Define the coordinator artifact schema so future story passes capture
next-beat choice, glue prose, world-state refs, branch flags, unresolved hooks,
and machinery invocations as trainable data, then return to the Sella
prompt/rendering fix.
Use the coordinator artifact schema for the next fresh generation pass: produce
a source-grounded coordinator receipt first, then generate any responder turn
through a sandboxed packet-only worker and preserve raw output, reviewed output,
hidden-context refs, leakage audit, and coordinator repair labels. Do not call
Qwen for gold responder data yet.
Cat/Oz remains useful as an Elysium procedural mechanics fixture, but
single-history grounding should start from authored historical lore rather than

View file

@ -111,6 +111,11 @@ state and re-entry discipline.
factional pressure fields
- `schemas/projected-local-context.schema.json`
- v0 contract for projected character-local operating context artifacts
- `schemas/coordinator-artifact.schema.json`
- v0 contract for coordinator/story-runtime receipts: scene setup,
next-beat choice, acting-agent choice, machinery invocations, sandboxed
responder handoffs, world-state refs, proposed deltas, branch constraints,
item-manifest deltas, unresolved hooks, glue prose, and review notes
- `schemas/agent-state.required-fields.json`
- required first-class variable names for canonical state and relationship
stance
@ -125,6 +130,10 @@ state and re-entry discipline.
- `examples/projections/cold-wake-story-lab.jsonl`
- response-turn projection examples for the Cold Wake story lab, including
rejected and accepted Maer/Veyr prompt revisions
- `examples/coordinator/cold-wake-sanctuary-intake.v0.json`
- first coordinator artifact schema-shakedown example, backfilled from the
accepted-as-draft sanctuary packet-assessment beat and explicitly marked as
not gold responder data
- `experiments/cold-wake-story-lab/`
- Qwen response captures and reviews from the writing experiment
- `the-narrowest-possible-margin.md`, the first readable short story
@ -253,6 +262,10 @@ state and re-entry discipline.
- `tools/validate_projected_contexts.py`
- validates projected context artifacts and rejects prompt text that leaks raw
canonical state internals
- `tools/validate_coordinator_artifacts.py`
- validates v0 coordinator artifacts, including sandboxed responder handoff
fields, world-state refs, branch constraints, proposed deltas, unresolved
hooks, and review status
- `tools/apply_sequential_ink_branch_mutation.py`
- applies a reviewed replay of one selected branch into a mutated agent-state
fixture and mutation receipt without letting Ink variables become
@ -274,8 +287,9 @@ state and re-entry discipline.
- automatic promotion of Ink branch outcomes into canonical state
The canonical agent-state schema, projection example schema, lore grounding
digest schema, projected-local-context schema, first draft Cold Wake grounding
digest, and first Cold Wake story-lab Qwen captures now exist as v0 seams. The
digest schema, projected-local-context schema, coordinator artifact schema,
first draft Cold Wake grounding digest, and first Cold Wake story-lab Qwen
captures now exist as v0 seams. The
first complete Cold Wake story pass exists with receipts, projection controls
have been promoted, and Ink is now the standard branching scene format. The
first Qwen-generated Ink draft now exists with a reviewed capture, the first
@ -310,7 +324,9 @@ and deterministic code for gates. The listed per-stage counts are pilot
schema-shakedown gates, not robust training targets; review-assistant and runtime
targets are larger corpus tiers meant to avoid declaring victory after the first
small pile of sacrificial data merely shows where the schema is wrong. The
coordinator is currently the authoring
first coordinator artifact seam now validates through `npm run schema:validate`
and backfills the sanctuary packet-assessment beat as an accepted-as-draft
schema shakedown example. The coordinator is currently the authoring
agent: it glues scenes together, carries world-state refs and unresolved hooks,
decides which machinery runs, and emits glue prose. That output should stay
game-engine-shaped even while the prose lives in model imagination. The

View file

@ -324,6 +324,14 @@
- Coordinator artifacts should be able to attach item-manifest deltas when a
scene or branch decision discovers, alters, upgrades, restricts, salvages,
counterfeits, or economically stresses a technology or item.
- First schema seam: `schemas/coordinator-artifact.schema.json`,
`examples/coordinator/cold-wake-sanctuary-intake.v0.json`, and
`tools/validate_coordinator_artifacts.py` now validate the coordinator
receipt shape through `npm run schema:validate`.
- Next prototype: use the coordinator artifact before generating fresh story
or lore elaboration. The coordinator must write the receipt first, then any
responder turn must be generated through a sandboxed packet-only worker and
reviewed into the artifact rather than improvised into chat.
7. Build the first drama-scaffolding loop.
- memory updates