diff options
| author | Igor Soarez <igor@soarez.org> | 2026-10-23 10:34:07 +0100 |
|---|---|---|
| committer | Igor Soarez <igor@soarez.org> | 2026-10-23 10:34:07 +0100 |
| commit | 3a519e6282408c19ed2aad17f7ff54d8a87e26f4 (patch) | |
| tree | 307e87ce1af5e7a41b4029cac46b883430e18652 /bin/random-id.ts | |
| parent | 13d7482ae9ed4ff2d8e9f6bf81e1a2074dbe8980 (diff) | |
pi alarm: steer a due alarm into a running task
An alarm that fell due mid-task used to wait in the extension until the
run settled. Now it is steered in: pi adds it after the tool calls in
progress finish, before the next model call, and the model weighs it
against the task. The alarm text tells it to say which it chose.
pi's Esc empties its queue and drops queued extension messages without
a word, so an alarm stays listed until message_end shows it in the
conversation. One not seen by the end of a stopped run is held and sent
again after the next run completes; resending into that run could
deliver it twice, since pi takes one queued steer per turn and other
aborts leave the original queued.
Diffstat (limited to 'bin/random-id.ts')
0 files changed, 0 insertions, 0 deletions
