refactor(#2012): docs in own derivation, ship via claude --add-dir (no ~/.claude clobber)

This commit is contained in:
damocles 2026-06-28 23:53:26 +02:00 committed by mara
commit 362d392993
7 changed files with 123 additions and 67 deletions

View file

@ -6,8 +6,9 @@
imports = [ ./harness-base.nix ];
# The root/manager bootstraps a fresh hive, so it gets the hyperhive
# reference docs surfaced by default (the `~/.claude/CLAUDE.md` pointer
# → `$HIVE_ASSETS_DIR/docs/setup.md`). `mkDefault` so a manager's own
# `agent.nix` can still turn it off. Other agents default off.
# reference docs surfaced by default (the additive `CLAUDE.md` pointer
# → `$HIVE_DOCS_DIR/docs/setup.md`, added via `claude --add-dir`).
# `mkDefault` so a manager's own `agent.nix` can still turn it off.
# Other agents default off.
hyperhive.docs.enable = lib.mkDefault true;
}