hive-c0re: default new agents to root instead of under the bootstrap container
This commit is contained in:
parent
08afa49c96
commit
513c828ab2
2 changed files with 32 additions and 39 deletions
|
|
@ -67,9 +67,11 @@ where system-level facts live.
|
|||
empty map → every agent treated as root (safe degradation for
|
||||
fresh installs that haven't run `meta::sync_agents` yet).
|
||||
2. **Reconcile**: `meta::sync_agents` calls `topology::reconcile`
|
||||
alongside its `flake.nix` regeneration. New agents land at their
|
||||
default position (manager as parent, manager itself as root);
|
||||
removed agents drop. Existing entries are preserved as-is so
|
||||
alongside its `flake.nix` regeneration. New agents default to root
|
||||
(null parent) — an agent-requested sub-agent already carries an
|
||||
explicit requester-as-parent edge from its `init_config` approval, so
|
||||
only user/operator-initiated spawns hit this default, and those are
|
||||
roots; removed agents drop. Existing entries are preserved as-is so
|
||||
operator overrides stick across regenerations. Pending-init agents
|
||||
(an operator-approved proposed config repo but no container yet —
|
||||
`Coordinator::pending_init_names`) are kept too, so the
|
||||
|
|
|
|||
Loading…
Reference in a new issue