diff --git a/CLAUDE.md b/CLAUDE.md index 68addac..7bb8180 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -407,6 +407,14 @@ with `./agent.nix` plus an inline module that sets claude-code's `--allowedTools` extended grammar. Likely lives in `agent.nix` so each agent can scope its own shell surface. +## Per-agent settings backlog + +- **Model override.** Hard-coded to `claude-haiku-4-5-20251001` in the turn + loop right now. Surface it as a per-agent override: operator via + dashboard, manager via `request_apply_commit` setting an attr on the + agent's flake (most natural place since the flake already carries + per-agent env/identity). + ## Polish backlog Not phased — pick when relevant: diff --git a/hive-ag3nt/src/bin/hive-ag3nt.rs b/hive-ag3nt/src/bin/hive-ag3nt.rs index fe24272..3ac2b25 100644 --- a/hive-ag3nt/src/bin/hive-ag3nt.rs +++ b/hive-ag3nt/src/bin/hive-ag3nt.rs @@ -178,8 +178,13 @@ async fn invoke_claude(prompt: &str, mcp_config: &Path) -> Result { // plus the hyperhive MCP surface so there's no permission prompt // mid-turn. A finer-grained allow-list system for Bash command // patterns is on the backlog (PLAN.md polish). + // Hard-coded to Haiku 4.5 for now to keep cost predictable while we + // iterate. TODO: make this overridable per-agent — op via dashboard, + // manager via `request_apply_commit` setting on the agent's flake. let out = Command::new("claude") .arg("--print") + .arg("--model") + .arg("claude-haiku-4-5-20251001") .arg("--mcp-config") .arg(mcp_config) .arg("--tools")