docs(agent): clarify cred-file set + settings doc pointer, fix forge_notify cross-ref
This commit is contained in:
parent
b4f54a194b
commit
8a78b8a464
3 changed files with 18 additions and 11 deletions
|
|
@ -14,15 +14,15 @@ use serde_json::Value;
|
|||
use crate::events::{Bus, LiveEvent};
|
||||
use crate::mcp_config;
|
||||
|
||||
// Hive-enforced claude settings ship at `/etc/claude-code/managed-settings.json`
|
||||
// (wired in `nix/templates/harness-base.nix` from the `prompts/claude-settings.json`
|
||||
// asset). claude-code auto-discovers that managed path — precedence #1,
|
||||
// read-only, un-overridable — so the harness no longer passes `--settings`.
|
||||
// We turn off claude's in-session auto-compaction and its cross-session
|
||||
// auto-memory because hyperhive owns those concerns (`/compact` on overflow,
|
||||
// notes persistence under `/state`). Unknown keys are silently ignored by
|
||||
// claude-code; if a key gets renamed we'll spot it because the
|
||||
// corresponding behavior will start firing mid-turn again.
|
||||
// Hive-enforced claude settings ship at `/etc/claude-code/managed-settings.json`,
|
||||
// which claude-code auto-discovers (precedence #1, read-only, un-overridable) —
|
||||
// so the harness no longer passes `--settings`. We turn off claude's in-session
|
||||
// auto-compaction and its cross-session auto-memory because hyperhive owns those
|
||||
// concerns (`/compact` on overflow, notes persistence under `/state`). How the
|
||||
// file is wired (the nix asset) + the full rationale live in
|
||||
// `docs/turn-loop/claude-invocation.md`. Unknown keys are silently ignored by
|
||||
// claude-code; if a key gets renamed we'll spot it because the corresponding
|
||||
// behavior will start firing mid-turn again.
|
||||
//
|
||||
// The subprocess mechanics — spawning `claude --print`, streaming +
|
||||
// classifying stream-json, session lookup/archive — live in the generic
|
||||
|
|
|
|||
Loading…
Reference in a new issue