fix(#1595): rename effort env to HIVE_DEFAULT_EFFORT

Match the harness reader landed in #1600 (configured_effort reads
HIVE_DEFAULT_EFFORT, mirroring HIVE_DEFAULT_MODEL). Was
HYPERHIVE_EFFORT_LEVEL in the first cut; damocles standardized the
name on the HIVE_DEFAULT_* convention.
This commit is contained in:
atlas 2026-06-10 01:18:45 +02:00 committed by mara
commit 7eb1cef62b

View file

@ -144,7 +144,7 @@ in
example = "high";
description = ''
Baseline claude effort level for this agent. Rendered into the
`HYPERHIVE_EFFORT_LEVEL` environment variable; the harness resolves
`HIVE_DEFAULT_EFFORT` environment variable; the harness resolves
effort as operator-override-file this env built-in `"medium"`,
and passes the result to `claude --effort` at turn launch.
@ -935,10 +935,10 @@ in
# surfaces it to the frontend; an empty value falls back to the
# built-in default list.
HIVE_AVAILABLE_MODELS = lib.concatStringsSep "," config.hyperhive.availableModels;
# HYPERHIVE_EFFORT_LEVEL is the per-agent baseline effort (see
# HIVE_DEFAULT_EFFORT is the per-agent baseline effort (see
# hyperhive.effortLevel). The harness resolves operator-override-file
# → this env → "medium" and passes it to claude --effort at turn launch.
HYPERHIVE_EFFORT_LEVEL = config.hyperhive.effortLevel;
HIVE_DEFAULT_EFFORT = config.hyperhive.effortLevel;
HIVE_ASSETS_DIR = "${pkgs.hyperhive-assets}/share/hyperhive";
SHELL = "${pkgs.bashInteractive}/bin/bash";
}