From 19f0a25d2246dec0a24d8eaa63e1e1a2d506c367 Mon Sep 17 00:00:00 2001 From: Lee Overy Date: Mon, 27 Jul 2026 15:06:31 +0100 Subject: [PATCH] fix(scoping): context gathering reads the whole carrier, asks only the gaps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The quick-fix walk re-asked the what and the why the user had already given in discovery. Both walks, independently — asked what exactly is being changed, against a carrier that says the support mailbox is retiring and everything should point at the new address. Two causes, both in gather-context. Its guard weighed only the seed and the description — blind to the session log's Exploration, the half of the carrier the entry skill reads by name and the half that holds the shaped context. And its question block is a fixed fence: all four questions, prescribed verbatim, whatever the carrier holds. The reference now reads the Exploration alongside the description, mirroring the entry's own wording for where it lives and for the logless quick-fix that has none; the guard weighs the whole carrier; and the question block emits only the bullets the carrier leaves open. Same family as the investigation fix — the entry reads the carrier, the process skill dropped half of it — and the same repair: start from what the user already said, ask for what they have not. Found by scoping-defines-the-quickfix on its first run; its step-3 claim is the test for this. Co-Authored-By: Claude Opus 5 --- .../workflow-scoping-process/references/gather-context.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/skills/workflow-scoping-process/references/gather-context.md b/skills/workflow-scoping-process/references/gather-context.md index 787c56f53..857331906 100644 --- a/skills/workflow-scoping-process/references/gather-context.md +++ b/skills/workflow-scoping-process/references/gather-context.md @@ -14,7 +14,9 @@ Gather targeted context about the mechanical change. Read the work's seed and th node .claude/skills/workflow-engine/scripts/engine.cjs manifest get {work_unit} description ``` -#### If the seed and description already capture what, where, and why +Read the latest discovery session log's **Exploration** when one exists (`.workflows/{work_unit}/discovery/sessions/session-NNN.md`, highest-numbered) — discovery's shaped context is the carrier's second half. A logless quick-fix has none. + +#### If the carrier — seed, description, and exploration — already captures what, where, and why → Return to caller. @@ -24,6 +26,8 @@ node .claude/skills/workflow-engine/scripts/engine.cjs manifest get {work_unit} ## B. Targeted Questions +The carrier has already answered some of these. Emit only the questions it leaves open, dropping any bullet it already covers — a question the user has already answered reads as not having listened. + > *Output the next fenced block as a code block:* ```