refactor(#2012): docs in own derivation, ship via claude --add-dir (no ~/.claude clobber)
This commit is contained in:
parent
e6bc621f59
commit
362d392993
7 changed files with 123 additions and 67 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue