dispatch-wiring
Goal
Wire /continue-roadmap’s ledger_evolution_candidate branch to generate the ephemeral microscope dossier (reusing intel_package_runtime compose-prompt) BEFORE the consensus, degrading gracefully.
Implementation Sketch
- compose-prompt —target
—out-md <out_md> —research-mode online -> foreground Agent writes the dossier -> reference out_md. - Reuse intel_package_runtime as the generation SSOT; NO durable sidecar (ephemeral _inflight, problem locus shifts each fire).
- Thin skill body; runtime owns the directive; degradation never blocks the consensus.
Spec References
- .claude/skills/continue-roadmap/SKILL.md (ledger_evolution_candidate / ledger_evolution_verify branches, intel_regen branch).
- scripts/intel_package_runtime compose-prompt (—target any kind, —out-md ephemeral path).
- skill-control-contract.md §Caller Foreground Dispatch; script-first.md §1.
Work Items
- /continue-roadmap SKILL.md ledger_evolution_candidate branch: when payload.problem_intel present, FIRST run python -m scripts.intel_package_runtime compose-prompt —target
—out-md <out_md> —research-mode then foreground-dispatch an Agent that writes the dossier to out_md, THEN the existing intel_regen (section dossier) + the /tpr-review consensus. - Keep the skill body thin (script-first.md §1): consume payload.problem_intel; no orchestration algorithm in skill prose; cite the runtime.
- Graceful degradation: dossier-generation failure / graph-down -> proceed to the consensus with the section dossier only; NEVER block candidate selection.
Fresh intel (regenerated)
{ “schema_version”: 1, “target”: { “kind”: “plan-section”, “ref”: “evolution-candidate-intel-package/s-34544187” }, “generated_at”: “2026-06-29T20:38:38.751986+00:00”, “graph_state”: { “head_sha”: “72ec9529”, “last_code_import_at”: “2026-06-29T20:38:27.587Z”, “embedding_stale”: true, “insights_stale”: false, “cpg_stale”: false }, “surfaces”: {}, “summary”: “intel-package[plan-section:evolution-candidate-intel-package/s-34544187] agent-authored dossier”, “degraded”: false, “dossier”: { “objective_symbols”: [], “tiers”: {}, “agent_authored”: true, “constrained_symbols”: [ “serving_surface_gate”, “assemble_corpus”, “compose_dead_ends_ledger”, “ledger_decay”, “route_walk” ], “difficulty”: { “class”: “routine”, “research_online”: false, “research_mode”: “auto”, “signals”: [], “plan_dir”: “/home/eric/projects/ori_lang/plans/evolution-candidate-intel-package” } } }
(full dossier: dispatch-wiring—s-34544187.intel.json)