diff --git a/docs/agent-lifecycle/persistence.md b/docs/agent-lifecycle/persistence.md index d3270136..72f48d0c 100644 --- a/docs/agent-lifecycle/persistence.md +++ b/docs/agent-lifecycle/persistence.md @@ -142,14 +142,13 @@ The `hive-bash-daemon` (not the harness) writes a sibling file: one row per executed bash task recording the normalised command head - the basename of the first real command, looking past `cd repo &&` prefixes, env-assignments, and prefix-runners like `sudo`/`env`. It -backs the "favorite tools" view on the /stats page (aggregated -host-side). Best-effort and created on first write +backs the "favorite tools" view on the /stats page. Best-effort and created on first write (`CREATE TABLE IF NOT EXISTS`), so it's absent until a bash task runs. turn-stats.sqlite has **no vacuum** — it's one small row per turn -(~hundreds of KB even over months), read directly by the `/stats` page -and the hive-wide stats view, so pruning it would only lose trend +(~hundreds of KB even over months), read directly by the `/stats` page, +so pruning it would only lose trend history for no space gain. ### `/state/hyperhive-harness.json` (per agent) diff --git a/hive-c0re/src/dashboard/mod.rs b/hive-c0re/src/dashboard/mod.rs index 41071e50..ba2afac7 100644 --- a/hive-c0re/src/dashboard/mod.rs +++ b/hive-c0re/src/dashboard/mod.rs @@ -38,7 +38,7 @@ use crate::lifecycle; (name = "build_logs", description = "build log headers, full rows, and raw text downloads"), (name = "lifecycle_ops", description = "agent container lifecycle: rebuild/restart/start/stop/pause/limits"), - (name = "misc_api", description = "mark-all-read, compose, spawn-request, hive stats"), + (name = "misc_api", description = "mark-all-read, compose, spawn-request"), (name = "rebuild_queue", description = "rebuild-queue cancel"), (name = "state_snapshot", description = "cold-load dashboard snapshot"), (name = "tombstones", description = "purge of retained state for destroyed agents"),