Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/hive-runtime/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 8d206f124f hive-runtime: kill an ACP agent's whole process group, not just its pid
The ACP agent was spawned with only `kill_on_drop`, which SIGKILLs the
agent's own pid. Commands the agent had started (a `nix build`, a test
run) were reparented and kept running after the agent was killed: when a
subagent run ends after `interrupt`, when an agent ignores
`session/cancel` past the grace, and when the harness drops the runtime.

The agent now leads its own process group (`process_group(0)`), and
dropping its `Connection` SIGKILLs that group. The soft path is unchanged:
`interrupt` / `Canceller::cancel` still sends `session/cancel`.

Refs #4999. The claude half needs hive-claude 0.1.3, which is not on
crates.io yet.
2026-10-10 00:06:42 +02:00
..
acp hive-runtime: kill an ACP agent's whole process group, not just its pid 2026-10-10 00:06:42 +02:00
claude.rs hive-agent: export ACP-reported cost and context fill over OTLP 2026-09-30 22:24:06 +02:00
lib.rs hive-runtime: re-export ACP_API_KEY_ENV_ENV 2026-09-30 22:55:03 +02:00
spec.rs hive-runtime: read the ACP provider key from bao 2026-09-30 22:55:03 +02:00