summaryrefslogtreecommitdiff
path: root/config/git
diff options
context:
space:
mode:
authorIgor Soarez <igor@soarez.org>2026-10-27 11:12:21 +0200
committerIgor Soarez <igor@soarez.org>2026-10-27 11:12:21 +0200
commit11adcd3f5c6b2d60578096b039426ab21d171bda (patch)
treea883d4312b254a140574a69524cebf10045bfdef /config/git
parent1613e5d0316af273f050f60c12f0b4726051b70a (diff)
pi alarm: fire when a command exits or when processes exit
when_done runs a command (bash -c, in pi's cwd, output to a log file) and fires when it exits, with its exit status; cancelling the alarm or ending the session stops it. when_exits polls PIDs already running and fires once all are gone. Either takes an optional deadline, 24 hours by default, at which the alarm fires anyway and a still-running command is stopped. A process exiting is a signal any condition can be turned into -- gh run watch, sz-wait-for, an until-curl loop -- so the agent can start something long, end its turn and be woken, instead of blocking on it. The delivery path is the existing one, unchanged. pi-subagent: ยง5 sets an alarm on the runs' PIDs instead of waiting.
Diffstat (limited to 'config/git')
0 files changed, 0 insertions, 0 deletions