Skip to content

Commit 5eb6d19

Browse files
suleimanshclaude
andcommitted
DECISIONS: a stop waits for the tick in flight, which starts nothing more
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1 parent 41a6dd1 commit 5eb6d19

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎packages/agent-scheduler/DECISIONS.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@ decision. An AI proposes a bullet and asks; it never adds or rewrites one.
108108
--unless-keep-alive` when it closes, from a hook file of the user's that names the tool;
109109
The Framework itself names no tool. Picked over the daemon calling the tick, which would
110110
have made The Framework name the tool.
111+
- A stop waits for the tick in flight, and that tick starts nothing more: the readings are
112+
where a tick spends its seconds, and a person who said stop gets no new agent. The ending
113+
scheduler clears only its own pid from the state, since a dashboard's close hook stops one
114+
scheduler and its open hook starts the next before the first is over. Picked over killing
115+
the tick mid-flight, which could leave a marker half written.
111116
- `stop --unless-keep-alive` is the one reader of keep-alive: it leaves a keep-alive
112117
scheduler running and stops any other, so the line a dashboard runs when it closes
113118
honours the user's keep-alive while a person's plain `stop` still stops. Picked over

0 commit comments

Comments
 (0)