diff options
| author | Igor Soarez <igor@soarez.org> | 2026-10-27 11:36:43 +0200 |
|---|---|---|
| committer | Igor Soarez <igor@soarez.org> | 2026-10-27 11:36:43 +0200 |
| commit | b5100c2e088ef5c966b114f968847de779ed852f (patch) | |
| tree | e48e72e9342da54d343dc7141508ac0574950301 /macos-defaults.sh | |
| parent | 11adcd3f5c6b2d60578096b039426ab21d171bda (diff) | |
sz-final-review-loop: wait with a wake armed, not blocked in sz-wait-for
The loop's agents blocked in a foreground sz-wait-for because nothing could
bring an agent back from a background one. Both harnesses now can: pi's
alarm fires when a when_done command exits, and Claude Code starts a new
turn when a run_in_background Bash task exits (checked on 2.1.310). So an
agent arms sz-wait-for as a wake and ends its turn: no context resent every
30 minutes to re-arm, the human can talk to it while it waits, and "arm,
then signal" becomes literal. The foreground wait stays for a harness with
neither.
The invariant is unchanged in substance: never idle, where idle now means
the other side's turn with no wake armed. sz-wait-for stays the watcher, for
its settle window.
pi-subagent: ยง5 says how to be woken in Claude Code too.
Diffstat (limited to 'macos-defaults.sh')
0 files changed, 0 insertions, 0 deletions
