build every agent from the agent-base template
Delete nix/templates/ruth.nix, the ruth nixosConfiguration, module and toplevel, the hive-c0re managerToplevel option, and the meta flake's isManager switch with lifecycle::MANAGER_NAME. Every agent, ruth included, now builds from nix/templates/agent.nix. The template's only content beyond agent.nix was docs.enable = mkDefault true; docs.enable is off by default for every agent and ruth's own agent.nix turns it on. Refs #5377
This commit is contained in:
parent
1f214f9f01
commit
1b60084bf0
15 changed files with 85 additions and 95 deletions
|
|
@ -8,7 +8,7 @@ Absent means the default. (The claude spawn + compaction themselves live in
|
|||
## Reference docs (`services.hyperhive.agent.docs.enable`)
|
||||
|
||||
```nix
|
||||
services.hyperhive.agent.docs.enable = true; # default: false (true for the manager agent)
|
||||
services.hyperhive.agent.docs.enable = true; # default: false
|
||||
```
|
||||
|
||||
Makes the hyperhive `docs/` tree available inside the container at a nix
|
||||
|
|
@ -17,8 +17,8 @@ sentence into the agent's system prompt so it knows the docs exist and
|
|||
where to find them. `claude --add-dir` serves the tree so the full
|
||||
markdown is readable during every turn.
|
||||
|
||||
Enabled by default only for the root/manager agent (`nix/templates/ruth.nix`). Any
|
||||
agent can opt in by adding the line above to its `agent.nix`.
|
||||
Off by default for every agent, ruth included. An agent opts in by adding the
|
||||
line above to its `agent.nix`.
|
||||
|
||||
The `docs/` source is a narrow flake input (`hyperhive-docs`) tracked
|
||||
separately from the main `hyperhive` flake so editing docs re-locks only
|
||||
|
|
|
|||
Loading…
Reference in a new issue