docs: add coordinator.md, move rebuild-queue prose from code (#715)

This commit is contained in:
damocles 2026-06-01 10:07:51 +02:00 committed by mara
commit 64f11a862d
3 changed files with 129 additions and 54 deletions

View file

@ -1,9 +1,8 @@
//! Startup auto-update: on `hive-c0re serve` boot, rebuild every known
//! container unconditionally. `nixos-container update` is a no-op at the
//! nix level when nothing changed (same store path), so the cost of always
//! running it on startup is low and avoids the complexity of rev-marker
//! staleness (issue #179: all agents always needed update when any meta
//! commit landed).
//! nix level when nothing changed (same store path), so the cost is low
//! and avoids rev-marker staleness (all agents always need an update pass
//! when any meta commit lands). See `docs/coordinator.md::Auto-update sweep`.
use std::path::{Path, PathBuf};
use std::sync::Arc;