Add sandboxed responder packet seam

This commit is contained in:
Meta Vens 2026-05-02 10:20:29 +01:00
commit f120289305
11 changed files with 796 additions and 16 deletions

View file

@ -60,6 +60,13 @@ Ghostlight now has the persistence spine plus the first architecture payload:
- `examples/coordinator/cold-wake-sanctuary-intake.v0.json`
- `tools/validate_coordinator_artifacts.py`
- `npm run coordinator:validate`
- sandboxed responder packet seam:
- `docs/architecture/sandboxed-responder-packets.md`
- `schemas/responder-packet.schema.json`
- `examples/responder-packets/scene-02-sanctuary-intake.sella_ren.packet.v0.json`
- `tools/build_responder_packet.py`
- `tools/validate_responder_packets.py`
- `npm run responder-packets:validate`
- Cold Wake story-lab seam:
- `docs/experiments/cold-wake-story-lab.md`
- `examples/agent-state.cold-wake-story-lab.json`
@ -162,6 +169,13 @@ 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.
The first responder packet seam now exists. It converts a coordinator artifact
and projected local context into the exact packet-only prompt surface a
character responder may see, with visible event, allowed actions, source
excerpts, hidden-context audit, isolation requirements, output contract, and
validator checks against raw-state or coordinator-context leakage. The first
Sella packet is accepted as draft for sandbox testing, not as gold responder
output.
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
@ -190,9 +204,10 @@ narrow elaboration before treating the detail as available to Ghostlight.
## Current Next Action
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,
Use the responder packet seam for the next fresh generation pass: generate the
first actual sandboxed responder output from
`examples/responder-packets/scene-02-sanctuary-intake.sella_ren.packet.v0.json`
through a packet-only worker, then preserve raw output, reviewed output,
hidden-context refs, leakage audit, and coordinator repair labels. Do not call
Qwen for gold responder data yet.

View file

@ -84,6 +84,11 @@ state and re-entry discipline.
coordinator/story runtime, projector, character agent/responder, appraiser,
state mutator, relationship/perception classifier, Aetheria responder, and
institution/faction/consumer decision models
- `docs/architecture/sandboxed-responder-packets.md`
- contract for the exact packet-only surface handed from an omniscient
coordinator to a sandboxed character responder, including visible event,
local prompt, allowed actions, source excerpts, hidden-context audit, and
output contract
- `docs/architecture/training-plan.md`
- concrete enumeration of trainable Ghostlight stages, including each stage's
inputs, outputs, likely model architecture, artifact family, first training
@ -116,6 +121,8 @@ state and re-entry discipline.
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/responder-packet.schema.json`
- v0 contract for the exact input a sandboxed character responder may see
- `schemas/agent-state.required-fields.json`
- required first-class variable names for canonical state and relationship
stance
@ -134,6 +141,10 @@ state and re-entry discipline.
- first coordinator artifact schema-shakedown example, backfilled from the
accepted-as-draft sanctuary packet-assessment beat and explicitly marked as
not gold responder data
- `examples/responder-packets/scene-02-sanctuary-intake.sella_ren.packet.v0.json`
- first responder-packet schema-shakedown example for Sella's sanctuary
response; accepted as draft for sandbox handoff testing, not gold responder
output
- `experiments/cold-wake-story-lab/`
- Qwen response captures and reviews from the writing experiment
- `the-narrowest-possible-margin.md`, the first readable short story
@ -266,6 +277,12 @@ state and re-entry discipline.
- validates v0 coordinator artifacts, including sandboxed responder handoff
fields, world-state refs, branch constraints, proposed deltas, unresolved
hooks, and review status
- `tools/build_responder_packet.py`
- builds the first packet-only responder handoff from a coordinator artifact
and projected local context
- `tools/validate_responder_packets.py`
- validates responder packets and rejects prompt surfaces that leak raw state
internals or hidden coordinator context markers
- `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
@ -288,7 +305,7 @@ state and re-entry discipline.
The canonical agent-state schema, projection example schema, lore grounding
digest schema, projected-local-context schema, coordinator artifact schema,
first draft Cold Wake grounding digest, and first Cold Wake story-lab Qwen
responder-packet 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
@ -315,7 +332,10 @@ data now requires a sandbox boundary: the coordinator may be omniscient, but the
responder sees only the exact projected local packet, visible event, allowed
actions, and explicitly included source excerpts; artifacts preserve raw output,
reviewed output, hidden-context refs, leakage audit, isolation method, and
coordinator intervention labels. The concrete training plan now enumerates
coordinator intervention labels. The responder packet seam now turns that
requirement into a concrete artifact and validator, so the next gold-data pass
can hand a worker the exact prompt surface instead of hoping nobody leaks the
coordinator's brain into the room. The concrete training plan now enumerates
eleven trainable stages and their likely model
families: generative decoder LLMs for coordinator, responder, and structured
soft outputs; classifiers or cross-encoders for appraisal, evaluation, and

View file

@ -324,14 +324,20 @@
- 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.
- 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`.
- First responder packet seam:
`schemas/responder-packet.schema.json`,
`examples/responder-packets/scene-02-sanctuary-intake.sella_ren.packet.v0.json`,
`tools/build_responder_packet.py`, and
`tools/validate_responder_packets.py` now validate the exact prompt surface
a sandboxed character responder may see.
- Next prototype: generate the first actual responder output from the Sella
packet through a packet-only worker. Preserve the raw output, reviewed
output, hidden-context refs, leakage audit, and coordinator repair labels
before accepting anything as training material.
7. Build the first drama-scaffolding loop.
- memory updates