hive-agent: keep an own /knowledge clone current from the swarm knowledge event
This commit is contained in:
parent
ff4e42f1ae
commit
989d1d578c
1 changed files with 347 additions and 1 deletions
|
|
@ -39,6 +39,13 @@ pub fn harness_dir() -> PathBuf {
|
|||
hive_agent_sock::paths::harness_dir()
|
||||
}
|
||||
|
||||
/// This agent's own clone of the hive-wide `internal/knowledge` repo, kept
|
||||
/// current by [`crate::knowledge_sync`].
|
||||
#[must_use]
|
||||
pub fn knowledge_dir() -> PathBuf {
|
||||
harness_dir().join("knowledge")
|
||||
}
|
||||
|
||||
/// Consolidated harness-local state db — todos + reminders, one table
|
||||
/// each — mutable per-agent state the harness owns, kept apart
|
||||
/// from the usage db. Each store's `open()` only
|
||||
|
|
|
|||
Loading…
Reference in a new issue