agent-council 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,10 +11,12 @@ module AgentCouncil
11
11
  # terminal's Ctrl-C reaches only agent-council, never the agents. Once
12
12
  # #trap_signals is installed, the first INT, TERM, HUP, or QUIT (not on
13
13
  # JRuby; see TERMINATING_SIGNALS) raises Interrupt in the main thread,
14
- # whose rescue calls #shutdown: it sends every agent SIGTERM (pi then also
15
- # stops any commands its bash tool started, which run detached and so would
16
- # survive the agent), waits up to the grace period for the workers to
17
- # finish, and SIGKILLs agents still running. A second trapped signal other
14
+ # whose rescue calls #shutdown: it sends every agent SIGTERM, waits up to
15
+ # the grace period for the workers to finish, and SIGKILLs agents still
16
+ # running. The commands an agent's shell tool started run in process
17
+ # groups of their own, which these signals don't reach; pi and Claude
18
+ # Code stop them on SIGTERM, but an agent that is SIGKILLed can't, so
19
+ # they may keep running. A second trapped signal other
18
20
  # than HUP SIGKILLs them at once. Any HUP after the first signal is
19
21
  # ignored: a closing terminal can deliver two at once (one forwarded by the
20
22
  # shell, one from the kernel), which must not skip the graceful stop. A