diff --git a/hive-c0re/src/auto_update.rs b/hive-c0re/src/auto_update.rs index 5355d20e..7f52cdc6 100644 --- a/hive-c0re/src/auto_update.rs +++ b/hive-c0re/src/auto_update.rs @@ -159,9 +159,6 @@ pub async fn rebuild_agent( /// hive-c0re manages the manager end-to-end: operators no longer declare /// `containers.h-ruth` in their host NixOS config. Bypasses the approval /// queue — manager is required infrastructure. Idempotent. -/// -/// (Renamed from `ensure_manager` to align with the "root agent" terminology -/// used in docs and issues; behaviour is identical.) pub async fn ensure_root_agent(coord: &Arc) -> Result<()> { let existing = lifecycle::list().await.unwrap_or_default(); let current_rev = current_flake_rev(&coord.hyperhive_flake); diff --git a/hive-c0re/src/scheduled_prompts_worker.rs b/hive-c0re/src/scheduled_prompts_worker.rs index d532c01e..ec0d431b 100644 --- a/hive-c0re/src/scheduled_prompts_worker.rs +++ b/hive-c0re/src/scheduled_prompts_worker.rs @@ -202,8 +202,7 @@ fn known_agents(_coord: &Coordinator) -> std::collections::HashSet { if let Some(name) = raw.strip_prefix(crate::lifecycle::AGENT_PREFIX) { out.insert(name.to_owned()); } - // Note: the old `else if raw == MANAGER_NAME` branch was dead code; - // the manager container uses the h- prefix like all other agents. + } } Err(e) => { @@ -379,8 +378,7 @@ async fn known_agents_async() -> std::collections::HashSet { if let Some(name) = raw.strip_prefix(crate::lifecycle::AGENT_PREFIX) { out.insert(name.to_owned()); } - // Note: the old `else if raw == MANAGER_NAME` branch was dead code; - // the manager container uses the h- prefix like all other agents. + } } Err(e) => {