diff --git a/hive-ag3nt/src/forge_notify.rs b/hive-ag3nt/src/forge_notify.rs index c5e0f4b4..072c32cf 100644 --- a/hive-ag3nt/src/forge_notify.rs +++ b/hive-ag3nt/src/forge_notify.rs @@ -28,8 +28,7 @@ const TOKEN_RETRY_SECS: u64 = 30; /// Avoids an infinite wait on agents that genuinely have no forge account. const TOKEN_RETRY_MAX: u32 = 20; -/// Spawn point: called once from `hive-ag3nt serve` (agent) or -/// `hive-m1nd serve` (manager). Returns immediately if the forge is not +/// Spawn point: called once from `hive serve`. Returns immediately if the forge is not /// configured. Otherwise loops forever, polling every /// `POLL_INTERVAL_SECS` seconds. Errors are never fatal. /// diff --git a/hive-ag3nt/src/lib.rs b/hive-ag3nt/src/lib.rs index 801cc003..f02ec897 100644 --- a/hive-ag3nt/src/lib.rs +++ b/hive-ag3nt/src/lib.rs @@ -1,5 +1,6 @@ -//! Shared in-container harness code used by both `hive-ag3nt` (agent) and -//! `hive-m1nd` (manager) binaries. +//! Shared in-container harness code for the single `hive` binary that +//! serves every agent role (the manager is just an agent role, not a +//! separate binary). pub mod client; pub mod events; diff --git a/hive-ag3nt/src/serve_common.rs b/hive-ag3nt/src/serve_common.rs index b669c8e4..e401ef9e 100644 --- a/hive-ag3nt/src/serve_common.rs +++ b/hive-ag3nt/src/serve_common.rs @@ -1,7 +1,7 @@ -//! Helpers shared between `hive-ag3nt` (agent) and `hive-m1nd` (manager) -//! serve loops. Only pure functions with no wire-type dependency live here; +//! Pure helpers factored out of the `hive` serve loop (`bin/hive.rs`). +//! Only functions with no wire-type dependency live here; //! request/response-flavored helpers (`requeue_inflight`, `ack_turn`, etc.) -//! stay in each binary because they use different request enum variants. +//! stay in the binary because they touch the request enum variants directly. use crate::events::Bus; use crate::mcp::REDELIVERY_HINT; diff --git a/hive-sh4re/src/assets.rs b/hive-sh4re/src/assets.rs index ca6e239f..7bca5e17 100644 --- a/hive-sh4re/src/assets.rs +++ b/hive-sh4re/src/assets.rs @@ -1,7 +1,7 @@ //! Resolve the on-disk path to hyperhive's static assets (branding + //! claude prompts). Single source of truth for both the host daemon -//! (`hive-c0re`) and the in-container harness (`hive-ag3nt` / -//! `hive-m1nd`) so they agree on the lookup contract. +//! (`hive-c0re`) and the in-container harness (the `hive` binary) so +//! they agree on the lookup contract. //! //! At runtime, the path is read from `$HIVE_ASSETS_DIR`. In nix //! builds that env var is set by the `hive-c0re` / `harness-base` modules diff --git a/nix/packages/hive-forge-tools.nix b/nix/packages/hive-forge-tools.nix index 7079d857..6ebfff4f 100644 --- a/nix/packages/hive-forge-tools.nix +++ b/nix/packages/hive-forge-tools.nix @@ -15,7 +15,7 @@ # agents that already imported this file via # `pkgs.callPackage ../packages/hive-forge-tools.nix { }` keep # working, getting only the verb they need on PATH (not the full -# `hive-c0re` / `hive-ag3nt` / `hive-m1nd` surface). +# `hive-c0re` / `hive` surface). # # Requires the hyperhive overlay (see `flake.nix`'s `overlays.default`) # so `pkgs.hyperhive` resolves.