drop the applied repo: the hive keeps no copy of an agent's config, only the deploy markers. Refs #5913
This commit is contained in:
parent
deeb5ecd86
commit
862495530c
1 changed files with 190 additions and 1634 deletions
|
|
@ -114,19 +114,14 @@ pub fn agents_root() -> PathBuf {
|
|||
PathBuf::from(AGENTS_ROOT)
|
||||
}
|
||||
|
||||
/// `applied/` — per-agent *applied* (deployed) config repos + rev markers.
|
||||
/// `applied/` — per-agent deploy rev markers (and, on a hive that predates
|
||||
/// their removal, leftover config repos the startup migration clears).
|
||||
// nix: read by hive-c0re only, but paired with `agents/` in the deploy flow.
|
||||
#[must_use]
|
||||
pub fn applied_root() -> PathBuf {
|
||||
state_root().join("applied")
|
||||
}
|
||||
|
||||
/// `applied/<name>` — one agent's applied config working tree.
|
||||
#[must_use]
|
||||
pub fn applied_dir(name: &str) -> PathBuf {
|
||||
applied_root().join(name)
|
||||
}
|
||||
|
||||
/// `applied/.<name>.hyperhive-rev` — marker recording the hyperhive commit
|
||||
/// `internal/meta` pinned when an agent was last successfully built (the boot
|
||||
/// reconcile's staleness check).
|
||||
|
|
|
|||
Loading…
Reference in a new issue