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:
+3
-2
@@ -662,8 +662,9 @@ files as that step's artifacts:
|
||||
<artifacts>/<run>/public/
|
||||
```
|
||||
|
||||
`input.md` is the run prompt on the first visit and the previous visit's output
|
||||
body (without its outcome section) afterwards. `memory.md` is the accumulated markdown of completed turns plus the
|
||||
`input.md` is the run prompt on the first visit; later visits carry the run
|
||||
prompt under `# Run task` followed by the previous visit's output body (without
|
||||
its outcome section) under `# Previous turn output`. `memory.md` is the accumulated markdown of completed turns plus the
|
||||
files each turn added to the shared `public/` directory. A text-only stage (an
|
||||
explicit empty `tools` block) receives both files' contents in its prompt
|
||||
instead, because it has no file-reading tool. The model returns the complete
|
||||
|
||||
Reference in New Issue
Block a user