From dd8b5db7ab09f999cf5fe7b1b3436902a49ec5f1 Mon Sep 17 00:00:00 2001 From: iris Date: Sat, 15 Aug 2026 11:59:07 +0200 Subject: [PATCH] docs: fix remaining stale internal references from the #3281 sweep Two follow-ups the per-file sweep workers flagged but couldn't fix themselves (either not their assignment, or not visible from their worktree): - web-ui/dashboard.md's P33RS tab named dashboard.rs, which no longer exists (hive-c0re/src/dashboard/ is a module dir now); the function moved to state_snapshot.rs. - approvals.md and conventions.md used hive_ag3nt:: as a Rust module-path prefix. hive-agent is a bin-only crate (no lib target), so that prefix never resolved to anything; also fixed the hive-ag3nt/prompts/system.md path to the real hive-agent/prompts/. All three verified directly against the current source tree, not guessed. --- docs/approvals.md | 4 ++-- docs/conventions.md | 2 +- docs/web-ui/dashboard.md | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) 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.