Capture projector-routed Qwen failures

This commit is contained in:
Meta Vens 2026-05-02 03:55:51 +01:00
commit d41d1430d8
13 changed files with 516 additions and 51 deletions

View file

@ -86,6 +86,8 @@ Ghostlight now has the persistence spine plus the first architecture payload:
- `experiments/ink/cold-wake-sanctuary-intake-qwen-sequential-v3.capture.json`
- `experiments/ink/cold-wake-sanctuary-intake-qwen-sequential-v5.capture.json`
- `experiments/ink/cold-wake-sanctuary-intake-qwen-sequential-v6-projector.capture.json`
- `experiments/ink/cold-wake-sanctuary-intake-qwen-sequential-v8-projector-tightened.capture.json`
- `experiments/ink/cold-wake-sanctuary-intake-qwen-sequential-v9-projector-tightened.capture.json`
- `experiments/ink/cold-wake-sanctuary-intake-qwen-sequential-v1.mutation.json`
- `experiments/ink/qwen-chat-tools-smoke.json`
- `examples/agent-state.cold-wake-story-lab.after-sanctuary-ledger.json`
@ -126,10 +128,10 @@ training feedstock for projection and dialogue scaffolding.
## Current Next Action
Tighten the projector-routed sequential loop by repairing or preventing nested
tool-argument stringification, then decide whether the v6-style output should
be materialized into Ink and a reviewed mutation receipt or rerun after stricter
tool validation.
Add a deliberate retry or fallback strategy for projector-routed Qwen tool-call
failures, then rerun until a projector-routed sequential capture is
accepted-as-draft before materializing any branch into Ink or mutation training
data.
Cat/Oz remains useful as an Elysium procedural mechanics fixture, but grounded
training data should start from authored historical lore rather than gameplay
@ -229,15 +231,24 @@ Completed projection path items:
validates the architecture boundary and produces usable Maer/Sella behavior,
but remains useful-needs-revision because Qwen stringified a nested
`response_constraints` field in Sella appraisal
- tighten the sequential runner:
repair notes are separated from fatal validation notes, obvious truncated
stringified tool arrays can be repaired, failed Maer choice generation writes
a reviewed capture instead of exiting, and Sella's next-action prompt receives
appraisal context as prose constraints rather than raw numeric deltas
- add v8 and v9 projector-routed failure receipts:
v8 shows malformed stringified `choices`; v9 shows a no-tool-call dropout.
These are Qwen tool reliability failures, so no projector-routed branch was
materialized into Ink in this pass.
Remaining projection path:
- build a deterministic speaker-local input slicer
- build a renderer that emits projection controls before prompt prose
- tighten nested tool-argument repair or schema enforcement so projector-routed
sequential captures can become accepted-as-draft without hand-cleaning
- decide whether the v6 projector-routed output should be materialized into Ink
and mutation training data or rerun after stricter validation
- add a deliberate retry or fallback strategy around projector-routed Qwen
tool-call failures
- rerun until a projector-routed capture is accepted-as-draft before
materializing into Ink and mutation training data
- improve the local-awareness-to-Ink prompt so semantic `training_hooks` do not
drift into future branch ids, object custody remains branch-local, and action
labels come from the exact canonical enum

View file

@ -149,6 +149,13 @@ state and re-entry discipline.
- useful-needs-revision projector-routed receipt proving Qwen prompts can use
character-local operating prose instead of raw state variables; still
exposed nested `response_constraints` stringification in appraisal output
- `experiments/ink/cold-wake-sanctuary-intake-qwen-sequential-v8-projector-tightened.capture.json`
- useful-needs-revision receipt proving failed Maer choice generation is now
captured instead of crashing the runner; exposed malformed stringified
`choices`
- `experiments/ink/cold-wake-sanctuary-intake-qwen-sequential-v9-projector-tightened.capture.json`
- useful-needs-revision receipt showing Qwen can still drop tool calls
entirely under projector-routed prompting
- `examples/projected-contexts/`
- current rendered projected local context artifacts for Maer and Sella in
the sanctuary intake scene
@ -191,7 +198,9 @@ state and re-entry discipline.
- builds a sequential Qwen prototype through Ollama `/api/chat` with native
tools and thinking enabled: actor-local choices, participant
appraisal/consolidation, then next-actor action from updated state; now
routes character context through the projected-local-context seam
routes character context through the projected-local-context seam, captures
failed Maer choice calls, separates repair notes from fatal validation
notes, and keeps numeric appraisal deltas out of next-action prompt context
- `tools/check_qwen_chat_tools.py`
- fast smoke test for local Qwen thinking plus native tool calling
- `tools/project_local_context.py`
@ -230,7 +239,8 @@ first Qwen-generated Ink draft now exists with a reviewed capture, the first
selected branch now has a reviewed mutation replay that updates both involved
characters, v2 shows the symmetrical turn model improves action behavior, v5
proves local thinking-plus-tools invocation works for the scene runner, and v6
routes that runner through projected character-local operating context. The
next implementation target is tightening nested tool-argument validation and
deciding whether to materialize a projector-routed branch into Ink plus mutation
training data.
routes that runner through projected character-local operating context. v8 and
v9 show that Qwen tool-call reliability, not the projector seam, is now the
immediate blocker. The next implementation target is an explicit retry or
fallback strategy before any projector-routed branch is materialized into Ink
plus mutation training data.

View file

@ -130,9 +130,17 @@
produced usable Maer/Sella behavior but remains useful-needs-revision
because Qwen stringified nested `response_constraints` in the appraisal
payload.
- Next prototype: tighten nested tool-argument repair or schema enforcement,
then materialize only a validated projector-routed branch into Ink and
sidecar annotation.
- Runner tightening: failed Maer choice generation now writes reviewed
receipts instead of exiting, obvious malformed stringified tool arrays can
be repaired, repair notes are separated from fatal validation notes, and
Sella's next-action prompt receives appraisal prose instead of raw numeric
deltas.
- Eighth and ninth sequential drafts: v8 captured malformed stringified
`choices`; v9 captured a no-tool-call dropout. Both validate the receipt
path and show Qwen tool reliability is now the blocker.
- Next prototype: add deliberate retry or fallback behavior for
projector-routed Qwen tool-call failures, then materialize only an
accepted-as-draft projector-routed branch into Ink and sidecar annotation.
5. Build the projection distillation loop. Started.
- Use `docs/architecture/projection-distillation-plan.md` as the teacher to