remove history comments from code

This commit is contained in:
damocles 2026-06-03 20:36:36 +02:00 committed by mara
commit 4bb0d7f310
2 changed files with 2 additions and 7 deletions

View file

@ -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<Coordinator>) -> Result<()> {
let existing = lifecycle::list().await.unwrap_or_default();
let current_rev = current_flake_rev(&coord.hyperhive_flake);

View file

@ -202,8 +202,7 @@ fn known_agents(_coord: &Coordinator) -> std::collections::HashSet<String> {
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<String> {
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) => {