rename(#162): scrub remaining hm1nd references from comments and MCP instructions

All functional renames (MANAGER_NAME, MANAGER_AGENT → "root") were done in
earlier commits. This cleans up the stale `hm1nd` strings that remained in
doc comments, test fixture labels, and the manager MCP server instructions
(which told the manager its config lived at /agents/hm1nd/config/agent.nix).
This commit is contained in:
iris 2026-06-01 18:34:17 +02:00 committed by mara
commit ab278affc7
9 changed files with 16 additions and 16 deletions

View file

@ -30,7 +30,7 @@ pub struct DashboardLink {
pub struct ContainerView {
/// Logical agent name (no `h-` prefix). Used in action URLs.
pub name: String,
/// Container name as nixos-container sees it (`h-foo`, `hm1nd`).
/// Container name as nixos-container sees it (`h-foo`, `root`).
pub container: String,
pub is_manager: bool,
pub port: u16,
@ -273,7 +273,7 @@ fn read_status(name: &str) -> (Option<String>, Option<i64>) {
/// the manager, the logical agent name otherwise — so callers can
/// reuse the same string they used to look the agent up.
pub async fn read_agent_status_live(name: &str) -> (Option<String>, Option<i64>, bool) {
// The lifecycle helper wants the on-disk name (`hm1nd` for the
// The lifecycle helper wants the on-disk name (`root` for the
// manager, the bare logical name for sub-agents) and internally
// adds the `h-` prefix. Map the broker-side `MANAGER_AGENT`
// sentinel back to the lifecycle name here so callers don't have