Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/hive-c0re/src/lifecycle
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas c978060824 hive-c0re: an unreadable capabilities file denies ManageRootAgent mounts
set_nspawn_flags propagated has_cap's error, so one corrupt
capabilities.json failed every agent's Start, spawn and Swap. It now
goes through holds_manage_root_agent, which logs the error (agent and
file) and treats the capability as absent: the agent starts without the
cross-agent, /applied and /meta mounts. caps_for/has_cap take the file
path so that seam is testable against a tempfile.

- meta.rs: a comment at the render_flake reads records why they
  propagate (an empty tool-groups map renders toolGroups = null, i.e.
  AGENT_DEFAULT, which fails open for narrower explicit entries).
- capabilities::read doc: states when set_caps/remove_agent rewrite
  the file instead of saying remove_agent repairs it.
- set/remove corrupt-file tests assert ErrorKind::InvalidData.
2026-09-26 21:11:54 +02:00
..
agent_identity.rs swarm: courier an agent's store identity into its container, and log in with it 2026-09-19 01:55:31 +02:00
git.rs fix(#2911): keep the forge token out of argv 2026-08-02 13:21:42 +02:00
host_config.rs hive-c0re: an unreadable capabilities file denies ManageRootAgent mounts 2026-09-26 21:11:54 +02:00
mod.rs hive-c0re: fail a nixos-container destroy that leaves the container in place 2026-09-24 12:18:34 +02:00
setup.rs refactor(hive-c0re): drop the request_init_config tool and InitConfig approval 2026-09-14 19:03:44 +02:00
tests.rs hive-c0re: fail a nixos-container destroy that leaves the container in place 2026-09-24 12:18:34 +02:00