Watch
0
0
Fork
You've already forked hyperhive
0

hive-agent: keep an own /knowledge clone current from the swarm knowledge event

This commit is contained in:
damocles 2026-11-22 17:09:48 +01:00 • committed by mara
commit 989d1d578c

View file

@ -18,6 +18,7 @@ mod disk_watch;
mod events;
mod harness_state;
mod identity;
mod knowledge_sync;
mod login;
mod login_watch;
mod mcp_config;
@ -575,6 +576,7 @@ async fn serve_main<S: Surface>(socket: &Path, poll_ms: u64) -> Result<()> {
// for why this is strictly better than a host-side kick.
if let Some(store) = &todos_store {
boot_announce::announce(&label, store, &todo_wake);
knowledge_sync::spawn(store.clone(), todo_wake.clone());
}
if matches!(initial, LoginState::NeedsLogin) {
login::wait_for_login(