Answer stability round 1: 1 🔴, 3 🟡 (0 misread); call project-config by its path in the README, pin the run-heavy breach, say who has the tools on PATH
CI / tests (pull_request) Has been cancelled

This commit is contained in:
2026-12-03 14:25:42 +01:00
parent 65c957bcea
commit 3a0097e959
6 changed files with 22 additions and 13 deletions
+3 -2
View File
@@ -10,7 +10,7 @@ RELEASE_ROOT = pathlib.Path(__file__).resolve().parents[2]
# Each folder below is named relative to the person's home folder.
# The Claude home: Claude Code's own folder, with its settings and transcripts. A release is deployed into it, so the release's CLAUDE.md, rules/ and agents/ are read from it.
# The Claude home: Claude Code's own folder, with its settings and transcripts. A release is deployed into it, so its CLAUDE.md, rules/ and agents/ are read from it.
CLAUDE_HOME = ".claude"
# The config folder, which holds one folder per project, and do-epic's.
CONFIG_FOLDER = ".claude-projects"
@@ -18,8 +18,9 @@ CONFIG_FOLDER = ".claude-projects"
STATE_FOLDER = ".local/state"
# Only a claude started through this has the tools on PATH. One a person starts by hand lacks them, as their shell does: short names such as `wait-for` stay out of it, and README.md → Tools says how to call a tool there.
def with_release_tools(env: Mapping[str, str]) -> dict[str, str]:
"""env with the release's tools first on `PATH`: what every claude the loop starts runs in, so its Bash tool and its hooks find each tool by its bare name."""
"""env with the release's tools first on `PATH`: what every claude the loop or `task-bench` starts runs in, so its Bash tool finds each tool by its bare name, and so does a hook's own script."""
tools = str(RELEASE_ROOT / "bin")
rest = env.get("PATH", "")
if rest.split(os.pathsep)[0] == tools: