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

@ -1013,7 +1013,7 @@ pub struct GetLooseEndsArgs {
#[derive(Debug, serde::Deserialize, schemars::JsonSchema)]
pub struct RequestApplyCommitArgs {
/// Agent whose config repo the commit lives in (use `"hm1nd"` for the
/// Agent whose config repo the commit lives in (use `"root"` for the
/// manager's own config).
pub agent: String,
/// Commit sha (full or short, 7-40 hex chars) in that agent's
@ -1124,7 +1124,7 @@ pub struct EditScheduleArgs {
#[derive(Debug, serde::Deserialize, schemars::JsonSchema)]
pub struct GetLogsArgs {
/// Logical agent name to fetch logs for (e.g. `gui`, `hm1nd`).
/// Logical agent name to fetch logs for (e.g. `gui`, `root`).
/// hive-c0re maps it to the underlying machine name (`h-gui`)
/// itself — pass the plain agent name, not the `h-` form.
pub agent: String,
@ -1580,7 +1580,7 @@ impl ManagerServer {
#[tool(
description = "Submit a config change for operator approval. Pass the agent name \
(e.g. `alice` or `hm1nd` for the manager's own config) and a commit sha (7-40 hex \
(e.g. `alice` or `root` for the manager's own config) and a commit sha (7-40 hex \
chars, full or short) in that agent's proposed config repo a branch/tag name like \
`main` is rejected, the approval pins the exact commit. On approval hive-c0re \
rebuilds the container."
@ -1785,7 +1785,7 @@ impl ManagerServer {
}
#[tool_handler(
instructions = "You are the hyperhive manager (hm1nd). You coordinate sub-agents and \
instructions = "You are the hyperhive manager (root). You coordinate sub-agents and \
relay between them and the operator. Use `send` to talk to agents/operator, `recv` \
to drain your inbox. Privileged: `request_init_config` (step 1 of new-agent \
creation seeds the proposed config repo so you can customise agent.nix; \
@ -1800,7 +1800,7 @@ impl ManagerServer {
question or reminder row by id), `set_status` / `get_agent_meta` (publish your \
own status text + query identity/status of any agent `get_agent_meta` with \
no arg replaces the old `whoami` self-introspection). The manager's own config lives at \
`/agents/hm1nd/config/agent.nix`."
`/agents/root/config/agent.nix`."
)]
impl ServerHandler for ManagerServer {}

View file

@ -1,6 +1,6 @@
//! Per-agent path resolution for state, harness, and credential directories.
//!
//! All agents (including the manager `hm1nd`) use `/agents/{label}/state`
//! All agents (including the manager `root`) use `/agents/{label}/state`
//! for agent-owned durable notes, and `/agents/{label}/harness` for
//! harness-internal files (`hyperhive-events.sqlite`, `hyperhive-model`, etc.)
//! that should not clutter what claude sees as "my notes dir".

View file

@ -318,7 +318,7 @@ shared closer
let rendered = render(
&PRODUCTION_TEMPLATE,
Flavor::Manager,
"hm1nd",
"root",
"she/her",
None,
None,
@ -346,7 +346,7 @@ shared closer
let manager = render(
&PRODUCTION_TEMPLATE,
Flavor::Manager,
"hm1nd",
"root",
"she/her",
None,
None,
@ -390,7 +390,7 @@ You are hyperhive agent `{label}` (qualified: `{qualified_label}`){hive_identity
let rendered = render(
IDENTITY_FIXTURE,
Flavor::Manager,
"hm1nd",
"root",
"she/her",
None,
Some("constellat1on"),