diff --git a/docs/approvals.md b/docs/approvals.md index d3885c49..c3258656 100644 --- a/docs/approvals.md +++ b/docs/approvals.md @@ -586,8 +586,8 @@ updates the root agent itself. ## Root-agent policy -The system prompt (`hive-ag3nt/prompts/system.md`, rendered via -`hive_ag3nt::prompt::render`) is the **same for every agent**; what +The system prompt (`hive-agent/prompts/system.md`, rendered by +`hive-agent/src/prompt.rs`) is the **same for every agent**; what varies is which MCP tools are surfaced (gated by tool groups and capabilities in `agent.nix`). There is no `role:manager` block that renders only for the root agent. The root agent's approval-gating diff --git a/docs/conventions.md b/docs/conventions.md index e98b6ab6..fe2ef6e7 100644 --- a/docs/conventions.md +++ b/docs/conventions.md @@ -16,7 +16,7 @@ exist because something already went wrong without them. ## Hive identity (label + domain + display names) Four env vars cover the identity surface, read by -`hive_ag3nt::identity`: +`hive-agent/src/identity.rs`: - `HIVE_LABEL` — short, hive-local agent label (`iris`, `damocles`). `label()` returns it; falls back to empty string if diff --git a/docs/web-ui/dashboard.md b/docs/web-ui/dashboard.md index 3359540e..46132f25 100644 --- a/docs/web-ui/dashboard.md +++ b/docs/web-ui/dashboard.md @@ -657,7 +657,8 @@ is `https://{domain}/`. Both are derived from the env var objects) that the nix module writes into the c0re container environment. `cert_fingerprint` is null for CA-trusted (e.g. Let's Encrypt) peers and non-null to pin a self-signed cert. -`parse_peer_hives()` in `dashboard.rs` converts each entry to the +`parse_peer_hives()` in `hive-c0re/src/dashboard/state_snapshot.rs` +converts each entry to the `PeerHiveView { name: domain, url: "https://domain/" }` shape the frontend reads.