A Steer ends the step it was meant to help #412

Closed
opened 2026-11-08 00:04:10 -05:00 by cmoriarty · 1 comment
Owner

What happens. run 181's apply got a Steer, did it, wrote a report back and ended its turn with 14 tasks left; the attempt failed on every task after 89 min and a fresh session re-read the project.

Fix. Braid appends to a Steer "act on this, then carry on with your tasks; do not stop to report", and an apply attempt that ends with tasks left is sent on in the same session ("N tasks remain: continue") instead of a fresh one, as a spec-test retry already continues its session.

Done when. a sim with a steered apply finishes its tasks in one attempt and one session.

From run 181, the verifying run after #407; the log is docs/design/measurements/work/run-180/findings.md.

**What happens.** run 181's apply got a Steer, did it, wrote a report back and ended its turn with 14 tasks left; the attempt failed on `every task` after 89 min and a fresh session re-read the project. **Fix.** Braid appends to a Steer "act on this, then carry on with your tasks; do not stop to report", and an apply attempt that ends with tasks left is sent on in the same session ("N tasks remain: continue") instead of a fresh one, as a spec-test retry already continues its session. **Done when.** a sim with a steered apply finishes its tasks in one attempt and one session. From run 181, the verifying run after #407; the log is `docs/design/measurements/work/run-180/findings.md`.
Author
Owner

Shipped in PR #421 (ff9381d8), change briefs-after-run-181.

  • A Steer or queued message to a step's agent is delivered with one sentence appended: "Act on this, then carry on with your tasks; do not stop to report." A message to a subagent, and to Repair, is sent as written.
  • openspec.apply opts in to retry_continues: an attempt whose tasks-complete check fails with tasks unticked is tried again in a fork of its own session, told which tasks remain ("N tasks of the change remain (ids): continue them in this session"), under the existing room rule. An attempt stopped at its limit still starts fresh.
  • The sim gained a steer operator action; sim/apply-steered.yaml steers a whole-change apply whose turn ends with two tasks left, and the run finishes in two attempts of one session.

Evidence: tests/engine/test_operator_messages.py, test_mediation.py and test_fork_room.py (failing before, passing after), the sim, and a green suite. The next Scratch run is the production check.

**Shipped in PR #421 (ff9381d8), change `briefs-after-run-181`.** - A Steer or queued message to a step's agent is delivered with one sentence appended: "Act on this, then carry on with your tasks; do not stop to report." A message to a subagent, and to Repair, is sent as written. - `openspec.apply` opts in to `retry_continues`: an attempt whose `tasks-complete` check fails with tasks unticked is tried again in a fork of its own session, told which tasks remain ("N tasks of the change remain (`ids`): continue them in this session"), under the existing room rule. An attempt stopped at its limit still starts fresh. - The sim gained a `steer` operator action; `sim/apply-steered.yaml` steers a whole-change apply whose turn ends with two tasks left, and the run finishes in two attempts of one session. Evidence: `tests/engine/test_operator_messages.py`, `test_mediation.py` and `test_fork_room.py` (failing before, passing after), the sim, and a green suite. The next Scratch run is the production check.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cmoriarty/braid#412
No description provided.