fix(turns): keep the run task in every stage's input

Later visits' input.md held only the previous stage's output, so the
operator's task reached only the first stage; when a Prepare stage
summarised (paths, HEAD), Code never saw the task or its acceptance
checklist and either blocked (run #202) or did part of it (#195, #197,
#198). Later inputs now carry the run prompt under '# Run task' (headings
demoted) before '# Previous turn output'.
This commit is contained in:
2026-10-31 02:52:16 +00:00
parent ea0f22dfc7
commit 13c4035175
8 changed files with 35 additions and 23 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ explicitly asks to manage a schedule; scheduling alone is not workflow authoring
## Turns and artifacts
Each visit has `input.md` (the run prompt or previous body), `memory.md`
Each visit has `input.md` (the run prompt; later visits add the previous body), `memory.md`
(completed turns), `output.md`, and `private/`. Every run also has one shared
`public/` directory, addressed by its absolute path; files there are visible to
later stages and are the stage's real artifacts. `input.md`, `memory.md`,