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.
- checksums.yaml +4 -4
- data/DESIGN.md +126 -51
- data/INSTALL.md +14 -5
- data/README.md +525 -176
- data/RELEASE_NOTES.md +130 -18
- data/RUNAWAY_AGENTS.md +181 -0
- data/USE_CASES.md +135 -0
- data/examples/configs/consolidated.yml +13 -7
- data/examples/configs/mixed-harness.yml +24 -0
- data/examples/configs/single.yml +2 -1
- data/examples/prompts/recommend-model-ensemble-prompt.md +3 -1
- data/examples/prompts/review-docs-prompt.md +1 -1
- data/examples/prompts/review-latest-commit-prompt.md +4 -1
- data/examples/prompts/review-pull-request-prompt.md +1 -1
- data/examples/prompts/state-of-the-code-base-prompt.md +0 -7
- data/examples/prompts/test-coverage-analysis-prompt.md +24 -37
- data/exe/agent-council +4 -0
- data/lib/agent_council/harnesses/claude_code_harness.rb +205 -0
- data/lib/agent_council/harnesses/pi_harness.rb +23 -45
- data/lib/agent_council/harnesses/scaffold.rb +44 -0
- data/lib/agent_council/harnesses.rb +58 -0
- data/lib/agent_council/pi_models.rb +1 -1
- data/lib/agent_council/templates/analyst_format.md +2 -2
- data/lib/agent_council/templates/consolidate_prompt.md +12 -8
- data/lib/agent_council/version.rb +1 -1
- data/lib/agent_council/worker_pool.rb +6 -4
- data/lib/agent_council.rb +391 -148
- metadata +15 -9
- data/code-review-agents.md +0 -28
|
@@ -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
|
|
15
|
-
#
|
|
16
|
-
#
|
|
17
|
-
#
|
|
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
|