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:
@@ -16,8 +16,10 @@ Every model visit gets its own directory under the run's artifact root:
|
||||
<artifacts>/<run>/public/
|
||||
```
|
||||
|
||||
- `input.md` is the run prompt on the first visit and the previous visit's body
|
||||
after that, under a `# Previous turn output` heading.
|
||||
- `input.md` is the run prompt on the first visit. Later visits keep the run
|
||||
prompt under a `# Run task` heading (its own headings demoted two levels) and
|
||||
add the previous visit's body under a `# Previous turn output` heading, so
|
||||
every stage sees what the run is for even when an earlier stage summarised.
|
||||
- `memory.md` is one `## <stage> · visit <n>` section per completed turn: the
|
||||
turn body followed by a system-written, sorted list of the files that turn
|
||||
added to `public/`.
|
||||
|
||||
Reference in New Issue
Block a user