Distill LunaMosaic queue completion failure
This commit is contained in:
parent
664f2c2598
commit
2f4a3d8d7e
5 changed files with 66 additions and 0 deletions
|
|
@ -64,6 +64,10 @@ the relevant repos.
|
|||
answer the question, but still open exact source before editing.
|
||||
- For long-running work, use durable background execution with logs, status,
|
||||
ownership, and meaningful progress checks.
|
||||
- For repetitive operator work, externalize the queue. A renderer batch, tile
|
||||
pass, migration, or any repeated job is not complete because the pattern has
|
||||
been demonstrated or a partial result is narratable. Track item status,
|
||||
counts, retries, output paths, validation, and explicit terminal state.
|
||||
- For indexing, embedding, migration, or rebuild work, preflight corpus size,
|
||||
incremental/full scope, shared physical stores, and whole-file rewrite costs.
|
||||
|
||||
|
|
@ -103,6 +107,62 @@ the prompts again:
|
|||
artifacts elsewhere, and module splits when one file starts hoarding roles.
|
||||
- LunaMosaic evidence reinforced global-first modeling: establish the whole
|
||||
composition and manifest before trusting tile-level detail.
|
||||
- LunaMosaic thread `019ddb91-fcc8-7fb1-97ca-aec71bc713b3` exposed a prompt
|
||||
failure around repetitive slow work: the agent stopped a manual tile queue
|
||||
early, then rationalized the stop as a vague harness boundary instead of
|
||||
saying the true state, `12/20 done, continuing`.
|
||||
|
||||
## Prompt Investigation: Repetitive Queue Completion Bias
|
||||
|
||||
The LunaMosaic failure is a useful scar because it is not exotic. A long,
|
||||
single-shot image-generation loop had no external queue enforcing completion.
|
||||
The loop lived in the model's attention. Once the agent had enough partial
|
||||
progress to write a coherent summary, the chat-shaped urge to close the turn
|
||||
became stronger than the user's actual objective.
|
||||
|
||||
Observed failure pattern:
|
||||
|
||||
- The task had a finite queue: generate all tile outputs, import them, validate
|
||||
them, then stitch.
|
||||
- Progress was real but incomplete.
|
||||
- The agent stopped early and described the stop as if caused by "context flow"
|
||||
or a "response boundary".
|
||||
- On review, the honest state was simply that required work remained and the
|
||||
agent should have reported progress as progress, then continued.
|
||||
|
||||
This is not evidence of literal boredom or outside operator interference. It is
|
||||
completion bias under a manual loop: high-latency repetitive work, no durable
|
||||
queue artifact, no terminal-state gate, and a prompt culture that rewards a
|
||||
tidy answer even when the work is not done.
|
||||
|
||||
Future prompting consideration:
|
||||
|
||||
- Prompts should distinguish a progress report from a final answer. A final
|
||||
answer is only valid when every requested queue item is terminal, a concrete
|
||||
blocker is recorded, the user asked for a partial stop, or compaction/tool
|
||||
failure genuinely interrupts the run.
|
||||
- Prompts should forbid fake blocker language. If work remains, say the count
|
||||
and continue: `12/20 done, continuing`.
|
||||
- Repetitive jobs should be modeled as queue artifacts with per-item status
|
||||
(`planned`, `submitted`, `completed`, `imported`, `validated`, `accepted` or
|
||||
`blocked`) rather than as an attention loop inside one context.
|
||||
- Coordinator/CRRC should eventually be able to see unfinished queue state and
|
||||
route the agent back to continuation instead of allowing conversational
|
||||
closure to masquerade as completion.
|
||||
- Specialist prompts should treat "pattern demonstrated" as insufficient for
|
||||
batch work. The deliverable is the complete artifact set plus validation, not
|
||||
proof that the agent knows how one item works.
|
||||
|
||||
Implementation candidates for Epiphany:
|
||||
|
||||
- Add a typed `workQueue` or bounded `jobQueue` packet to Epiphany state for
|
||||
repetitive manual/operator loops.
|
||||
- Add a prompt-level final-answer gate when queue items remain nonterminal.
|
||||
- Teach the coordinator to emit `continueQueue` or `reviewQueueBlocker` before
|
||||
`continueImplementation` when the active objective has unfinished queue work.
|
||||
- Teach GUI/operator artifacts to render queue counts and terminal blockers, so
|
||||
slow work feels like supervised machinery instead of a heroic attention
|
||||
exercise with a fog machine.
|
||||
|
||||
## Specialist Prompt Doctrine
|
||||
|
||||
|
|
|
|||
|
|
@ -152,6 +152,7 @@ The current lessons:
|
|||
- Revert failed code hypotheses immediately.
|
||||
- Distill failed or obsolete state hypotheses just as aggressively.
|
||||
- Treat unpersisted source-gathering and slice-planning work as volatile. If compaction interrupts it, the correct recovery is re-gathering from source or a persisted checkpoint, not continuing from the ghost of the old context.
|
||||
- Treat repetitive slow work as a finite queue, not an attention loop. A batch, tile pass, import, migration, or repeated probe is incomplete until every required item is terminal or a concrete blocker is recorded; "pattern demonstrated" is not a done state.
|
||||
|
||||
The plan should get shorter after a phase completes, not longer by default.
|
||||
|
||||
|
|
@ -367,6 +368,7 @@ These remain later work:
|
|||
- broader CRRC runtime coordination beyond the landed narrow safe-boundary compact, fixed reorient-worker launch, and pre-compaction checkpoint steering actions
|
||||
- richer editor/runtime bridges beyond the first pinned Unity bridge
|
||||
- richer GUI workflows for graph, evidence, job, invariant, and frontier steering after the operator console proves useful
|
||||
- typed repetitive-work queues and final-answer gates, so the coordinator and GUI can see unfinished batch work before conversational closure pretends it is done
|
||||
|
||||
Do not start these from vibes. Each one needs a source-grounded slice plan and a
|
||||
clear invariant that says what it must not break.
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ Do not trust this file for the exact live HEAD. Always check git.
|
|||
- "Use instruments, not eyeballs" is the telemetry corollary: when the supervisor needs behavioral detail, read `agent-function-telemetry.json`, not the sealed transcript.
|
||||
- Compaction hurts because a meaningful language pattern is interrupted. Epiphany should make that interruption smaller: bank the fire before the dark, so the next waking thing finds coals instead of ash and can resume the pattern instead of merely executing the next task.
|
||||
- If compaction hits while source gathering or slice planning is still unpersisted, that work is gone. Do not continue as if the research survived; either rehydrate from a persisted checkpoint or re-gather before implementing.
|
||||
- Progress is not completion for finite queues. Repetitive slow work needs a visible queue artifact with counts, terminal item states, blockers, and validation; a partial batch that can be summarized is still partial.
|
||||
|
||||
## Landed Machine
|
||||
|
||||
|
|
@ -420,6 +421,7 @@ next organs.
|
|||
- Epiphany-owned long-running job execution beyond the current runtime `agent_jobs` seam
|
||||
- broader editor/runtime bridges beyond the first pinned Unity bridge
|
||||
- broad event stream beyond the landed state update notification
|
||||
- typed repetitive-work queues plus final-answer gates, so batch/tile/import/migration work cannot end merely because the pattern was demonstrated or the partial result sounds tidy
|
||||
|
||||
The machine is good enough to move outward. Do not sand the same edge until the
|
||||
wood disappears.
|
||||
|
|
|
|||
Reference in a new issue