drop the sqlite event log nothing reads, and the comments naming routes that are gone
This commit is contained in:
parent
6289b8d64b
commit
cbda9c162f
1 changed files with 71 additions and 305 deletions
|
|
@ -2,7 +2,7 @@
|
|||
//!
|
||||
//! 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.)
|
||||
//! harness-internal files (`hyperhive-turn-stats.sqlite`, `hyperhive-model`, etc.)
|
||||
//! that should not clutter what claude sees as "my notes dir".
|
||||
//! Claude credentials live at `$HOME/.claude` (resolves to
|
||||
//! `/home/<agent-name>/.claude` because the harness service runs as a
|
||||
|
|
@ -28,7 +28,7 @@ pub fn state_dir() -> PathBuf {
|
|||
}
|
||||
|
||||
/// Harness-internal state directory. Holds files the harness owns
|
||||
/// (`hyperhive-events.sqlite`, `hyperhive-turn-stats.sqlite`,
|
||||
/// (`hyperhive-turn-stats.sqlite`,
|
||||
/// `hyperhive-model`) so they do not appear inside the agent-visible
|
||||
/// `/agents/{label}/state` tree. Delegates to the shared canonical
|
||||
/// resolver in `hive_agent_sock::paths` so the harness + every
|
||||
|
|
@ -41,8 +41,8 @@ pub fn harness_dir() -> PathBuf {
|
|||
}
|
||||
|
||||
/// Consolidated harness-local state db — todos + reminders, one table
|
||||
/// each — mutable per-agent state the harness owns, kept out of the
|
||||
/// append-only `hyperhive-events.sqlite` sink. Each store's `open()` only
|
||||
/// each — mutable per-agent state the harness owns, kept apart
|
||||
/// from the append-only turn-stats db. Each store's `open()` only
|
||||
/// applies its own `CREATE TABLE IF NOT EXISTS` against this same path
|
||||
/// (see their call sites), so distinct table names keep them from
|
||||
/// colliding without needing a per-store path wrapper here.
|
||||
|
|
|
|||
Loading…
Reference in a new issue