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
CI / tests (pull_request) Has been cancelled
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user