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
|
|
@ -1,7 +1,6 @@
|
|||
# Shared scaffolding for every hyperhive harness container.
|
||||
# `../templates/agent.nix` and `../templates/ruth.nix` both import
|
||||
# agents use the same service unit regardless of which entry-point
|
||||
# they came from.
|
||||
# `../templates/agent.nix`, the one entry point every agent builds from,
|
||||
# imports it.
|
||||
#
|
||||
# This is the core module: container plumbing (boot/nix/nixpkgs),
|
||||
# base tooling, and the cross-cutting `services.hyperhive.agent.icon` option. Each
|
||||
|
|
|
|||
|
|
@ -14,9 +14,8 @@
|
|||
via `claude --add-dir`, so the markdown is readable at
|
||||
`$HIVE_DOCS_DIR/`, and appends a single pointer sentence to the agent's
|
||||
system prompt so it knows the docs exist (see
|
||||
`hive-agent::prompt::render`). Default-on for the root/manager agent
|
||||
(see `../templates/ruth.nix`), off elsewhere; any agent can flip it from its
|
||||
`agent.nix`.
|
||||
`hive-agent::prompt::render`). Off by default for every agent; an agent
|
||||
turns it on from its `agent.nix`.
|
||||
'';
|
||||
|
||||
options.services.hyperhive.agent.docs.source = lib.mkOption {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# The hyperhive-built packages the harness modules consume, threaded
|
||||
# in explicitly as an option — no overlay. The flake's
|
||||
# `nixosModules.{agent-base,ruth}` set this to the flake's own package
|
||||
# `nixosModules.agent-base` sets this to the flake's own package
|
||||
# outputs via `lib.mkDefault`, so a per-agent override of an
|
||||
# individual key still wins.
|
||||
{ lib, ... }:
|
||||
|
|
@ -15,8 +15,8 @@
|
|||
`hive-forge`, `hive-forge-notify`, `hive-github-notify`,
|
||||
`hive-matrix-daemon`,
|
||||
`hive-metric`, `hive-screen-mcp`) plus the `assets`, `frontend`,
|
||||
`reference-docs` and `claude-plugins` trees. Wired by the flake's agent-base/ruth
|
||||
nixosModules to `hyperhive.packages.<system>.*`; override an
|
||||
`reference-docs` and `claude-plugins` trees. Wired by the flake's agent-base
|
||||
nixosModule to `hyperhive.packages.<system>.*`; override an
|
||||
individual key per-agent to swap in a patched binary.
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue