2026-05-02 11:00:17 +01:00
|
|
|
# Sandboxed Responder Packets
|
2026-05-02 10:20:29 +01:00
|
|
|
|
|
|
|
|
Responder packets are the handoff surface between the omniscient coordinator and
|
|
|
|
|
a character-local responder model or one-turn worker.
|
|
|
|
|
|
|
|
|
|
The coordinator is allowed to know the scene, the branch, hidden state, source
|
|
|
|
|
material, pending hooks, and author intent. The responder is not. The responder
|
|
|
|
|
gets one packet, acts as one character, and returns a visible action plus any
|
|
|
|
|
private interpretation it can justify from that packet.
|
|
|
|
|
|
|
|
|
|
No clairvoyance. No repo spelunking. No "I accidentally remembered the whole
|
|
|
|
|
chat" aristocratic nonsense.
|
|
|
|
|
|
2026-05-02 10:43:51 +01:00
|
|
|
## Generation Lanes
|
|
|
|
|
|
|
|
|
|
Responder examples have two valid lanes.
|
|
|
|
|
|
|
|
|
|
`packet_only` is the runtime-parity lane. The responder sees the packet,
|
|
|
|
|
including any curated source excerpts the coordinator or lore retriever placed
|
|
|
|
|
there. It does not search the lore archive. Use this lane to test whether a
|
|
|
|
|
future game-runtime responder can act from bounded scene context.
|
|
|
|
|
|
2026-05-02 11:00:17 +01:00
|
|
|
`retrieval_augmented` is the lore-absorption lane. The coordinator or a
|
|
|
|
|
dedicated retrieval worker searches a declared AetheriaLore scope, then builds a
|
|
|
|
|
visible packet from the selected refs. The responder still answers only from the
|
|
|
|
|
packet it receives. Use this lane to generate stronger Aetheria-native final
|
2026-05-02 10:43:51 +01:00
|
|
|
responses and to bake setting assumptions, faction pressures, species
|
2026-05-02 11:00:17 +01:00
|
|
|
affordances, and tone into later fine-tuning data without pretending the
|
|
|
|
|
character model did autonomous scholarship in the walls.
|
2026-05-02 10:43:51 +01:00
|
|
|
|
2026-05-02 11:12:31 +01:00
|
|
|
There are two retrieval-augmented modes:
|
|
|
|
|
|
|
|
|
|
- `coordinator_scoped_retrieval`: the coordinator or retriever consults lore,
|
|
|
|
|
then hands the responder a bounded packet. The responder has no repo access.
|
|
|
|
|
- `responder_scoped_repository_search`: the responder itself is explicitly
|
|
|
|
|
allowed to inspect the declared lore scope before answering. This is the
|
|
|
|
|
research-enabled lane. The packet must include a `Required Lore Research`
|
|
|
|
|
section, `allowed_scope`, and `research_instructions`.
|
|
|
|
|
|
|
|
|
|
In `responder_scoped_repository_search`, the responder must consult the scoped
|
|
|
|
|
docs before answering. It should use retrieved lore to constrain behavior,
|
|
|
|
|
affordances, institutions, vocabulary, material stakes, and local assumptions.
|
|
|
|
|
It must not use research access to infer hidden state, author-only answers,
|
|
|
|
|
future branches, or private motives outside the packet. The output capture must
|
|
|
|
|
preserve consulted refs and a brief research summary. No consulted refs means
|
|
|
|
|
the research-enabled response failed at the first hurdle, tragic but at least
|
|
|
|
|
easy to grade.
|
|
|
|
|
|
2026-05-02 11:00:17 +01:00
|
|
|
Do not mix these silently. Retrieval-augmented output can be excellent training
|
2026-05-02 10:43:51 +01:00
|
|
|
material for an Aetheria-tuned responder, but it does not prove packet-only
|
|
|
|
|
runtime competence. Packet-only failures are also useful because they reveal
|
|
|
|
|
which lore facts the retriever or projector needs to feed at runtime.
|
|
|
|
|
|
2026-05-02 10:20:29 +01:00
|
|
|
## Current Artifact
|
|
|
|
|
|
|
|
|
|
The v0 packet seam is:
|
|
|
|
|
|
|
|
|
|
- `schemas/responder-packet.schema.json`
|
|
|
|
|
- `examples/responder-packets/scene-02-sanctuary-intake.sella_ren.packet.v0.json`
|
2026-05-02 11:18:18 +01:00
|
|
|
- `examples/responder-packets/scene-02-sanctuary-intake.sella_ren.packet.research.v0.json`
|
2026-05-02 10:20:29 +01:00
|
|
|
- `tools/build_responder_packet.py`
|
|
|
|
|
- `tools/validate_responder_packets.py`
|
|
|
|
|
- `npm run responder-packets:validate`
|
2026-05-02 10:25:53 +01:00
|
|
|
- `schemas/responder-output.schema.json`
|
|
|
|
|
- `experiments/responder-packets/cold-wake-sanctuary-intake-sella-v0.capture.json`
|
2026-05-02 10:50:36 +01:00
|
|
|
- `experiments/responder-packets/cold-wake-sanctuary-intake-sella-v0.mutation.json`
|
2026-05-02 11:00:17 +01:00
|
|
|
- `experiments/responder-packets/cold-wake-sanctuary-intake-sella-retrieval-v0.capture.json`
|
2026-05-02 10:50:36 +01:00
|
|
|
- `experiments/responder-packets/cold-wake-sanctuary-intake-sella-lane-comparison.v0.json`
|
2026-05-02 10:25:53 +01:00
|
|
|
- `tools/validate_responder_outputs.py`
|
2026-05-02 10:50:36 +01:00
|
|
|
- `tools/apply_responder_output_mutation.py`
|
2026-05-02 10:25:53 +01:00
|
|
|
- `npm run responder-outputs:validate`
|
2026-05-02 10:20:29 +01:00
|
|
|
|
|
|
|
|
The first example is accepted as draft. It is suitable for testing the sandbox
|
2026-05-02 10:25:53 +01:00
|
|
|
handoff shape. The first no-fork worker output from that packet is also accepted
|
|
|
|
|
as draft, because the output is useful and clean but the review protocol is
|
|
|
|
|
fresh enough to deserve some suspicion. Tiny ceremonies keep us from eating the
|
|
|
|
|
paint.
|
2026-05-02 10:20:29 +01:00
|
|
|
|
|
|
|
|
## Packet Contents
|
|
|
|
|
|
|
|
|
|
A packet contains:
|
|
|
|
|
|
2026-05-02 11:00:17 +01:00
|
|
|
- `generation_lane`: `packet_only` or `retrieval_augmented`
|
2026-05-02 11:12:31 +01:00
|
|
|
- `lore_access`: curated excerpts, coordinator-scoped retrieval, or
|
|
|
|
|
responder-scoped repository search
|
2026-05-02 10:20:29 +01:00
|
|
|
- `local_context_prompt`: the projected character-local context
|
|
|
|
|
- `observed_event`: what the character can see or hear from the prior action
|
|
|
|
|
- `allowed_action_labels`: concrete action labels, including speech and non-speech moves
|
2026-05-02 11:08:43 +01:00
|
|
|
- `source_excerpts`: short source-backed facts the responder may use, copied
|
|
|
|
|
from active runtime retrieval requirements plus local packet invariants
|
2026-05-02 10:20:29 +01:00
|
|
|
- `output_contract`: the required JSON response shape and rules
|
|
|
|
|
- `hidden_context_audit`: refs and inference classes deliberately omitted
|
|
|
|
|
- `isolation_requirements`: how the worker/model must be run
|
|
|
|
|
- `packet_prompt_text`: the exact prompt text sent to the responder
|
|
|
|
|
|
|
|
|
|
The packet prompt must not expose raw state internals such as
|
|
|
|
|
`current_activation`, `plasticity`, raw dimension scores, coordinator rationale,
|
|
|
|
|
author-only answers, or future branch plans.
|
|
|
|
|
|
|
|
|
|
## Response Boundary
|
|
|
|
|
|
|
|
|
|
The responder may output:
|
|
|
|
|
|
|
|
|
|
- a visible action
|
|
|
|
|
- optional spoken text
|
|
|
|
|
- private interpretation explicitly framed as interpretation
|
|
|
|
|
- candidate state updates
|
|
|
|
|
- candidate relationship updates
|
|
|
|
|
- unresolved hooks
|
|
|
|
|
|
|
|
|
|
Those candidates are not canonical. The coordinator, event resolver, appraiser,
|
|
|
|
|
state mutator, and reviewer decide what becomes truth.
|
|
|
|
|
|
|
|
|
|
## Training Use
|
|
|
|
|
|
|
|
|
|
Gold responder data requires packet-only isolation. Valid approaches include:
|
|
|
|
|
|
|
|
|
|
- a one-turn subagent started without inherited context
|
|
|
|
|
- an external model call that receives only the packet prompt
|
|
|
|
|
- a manual packet-only pass, clearly labeled as manual
|
|
|
|
|
|
|
|
|
|
Any coordinator rewrite, schema repair, lore correction, or leakage removal must
|
|
|
|
|
be preserved as a coordinator intervention. Repaired prose is useful training
|
|
|
|
|
data for the coordinator, but it is not raw responder behavior.
|
2026-05-02 10:25:53 +01:00
|
|
|
|
2026-05-02 11:00:17 +01:00
|
|
|
Retrieval-augmented responder data requires scoped lore access before the
|
2026-05-02 11:12:31 +01:00
|
|
|
responder acts. The coordinator, retrieval worker, or explicitly research-enabled
|
|
|
|
|
responder may search only the declared source scope, and the output capture must
|
|
|
|
|
list consulted refs. The responder itself should not receive repo access unless
|
|
|
|
|
the artifact uses `responder_scoped_repository_search`, sets `no_repo_access` to
|
|
|
|
|
false, and includes visible research instructions in the prompt.
|
2026-05-02 11:00:17 +01:00
|
|
|
|
2026-05-02 11:18:18 +01:00
|
|
|
The current Sella research packet can be regenerated with:
|
|
|
|
|
|
|
|
|
|
```powershell
|
|
|
|
|
& 'C:\Users\Meta\.cache\codex-runtimes\codex-primary-runtime\dependencies\python\python.exe' .\tools\build_responder_packet.py --lore-access-mode responder_scoped_repository_search
|
|
|
|
|
```
|
|
|
|
|
|
2026-05-02 11:00:17 +01:00
|
|
|
Retrieval can also make the packet worse if it floods the scene with faction or
|
|
|
|
|
event context and starves the character's own scars. The Sella v0 comparison is
|
|
|
|
|
the first warning shot: the retrieval-augmented output used heat-debt and rescue
|
2026-05-02 11:02:45 +01:00
|
|
|
ledger texture well, but review must still verify that Sella's packet-visible
|
|
|
|
|
history of watching a sanctuary overpromise safety remains available as latent
|
|
|
|
|
behavioral pressure. The point is not to make her trauma-dump during a
|
|
|
|
|
mission-critical exchange. The point is that the responder cannot be shaped by
|
|
|
|
|
a pressure it cannot see.
|
2026-05-02 10:43:51 +01:00
|
|
|
|
2026-05-02 10:25:53 +01:00
|
|
|
## Output Captures
|
|
|
|
|
|
|
|
|
|
A responder output capture preserves:
|
|
|
|
|
|
|
|
|
|
- the packet ref
|
|
|
|
|
- the coordinator artifact ref
|
2026-05-02 10:43:51 +01:00
|
|
|
- generation lane
|
|
|
|
|
- lore access mode and consulted refs
|
2026-05-02 10:25:53 +01:00
|
|
|
- the isolation method
|
|
|
|
|
- the exact visible input ref
|
|
|
|
|
- hidden context refs that were withheld
|
|
|
|
|
- raw responder output
|
|
|
|
|
- parsed responder output
|
|
|
|
|
- leakage audit
|
|
|
|
|
- coordinator review and intervention labels
|
|
|
|
|
|
|
|
|
|
The raw output must parse to the reviewed `parsed_output` exactly. If the
|
|
|
|
|
coordinator edits prose, repairs schema, removes leakage, or corrects lore, the
|
|
|
|
|
capture must say so directly.
|
2026-05-02 10:50:36 +01:00
|
|
|
|
|
|
|
|
The first lane comparison found the expected tradeoff. Packet-only output gave a
|
2026-05-02 11:00:17 +01:00
|
|
|
clean runtime-parity conditional bay decision and stronger character-specific
|
|
|
|
|
flavor. Retrieval-augmented output added stronger Aetheria-native institutional
|
|
|
|
|
texture: heat-debt timing, rescue-ledger burden, dockfall responsibility, and
|
2026-05-02 11:02:45 +01:00
|
|
|
Aya sanctuary capacity politics. Follow-up review clarified that Sella's
|
|
|
|
|
packet-visible sanctuary-collapse scar does not need to be spoken aloud, but it
|
|
|
|
|
does need to remain visible to the responder as behavioral pressure. Both lanes
|
|
|
|
|
are useful; neither should impersonate the other.
|
2026-05-02 11:08:43 +01:00
|
|
|
|
|
|
|
|
The current packet builder consumes `runtime_retrieval_requirements` from the
|
|
|
|
|
projected local context. For the Sella sanctuary packet, that means packet-only
|
|
|
|
|
source excerpts now come from the same retrieval/projector seam that would feed
|
|
|
|
|
runtime context: Cold Wake heat-debt pressure, Navigator rescue ledgers, Aya
|
|
|
|
|
sanctuary capacity, and Ganymede/Lightsail route obligations. The static lore
|
|
|
|
|
sandwich is dead. We thank it for its service, then bury it shallow.
|