Answer prose round 2: 0 🔴, 2 🟡 (0 misread); name task-bench gather alone, say whose records are headed by a path
CI / tests (pull_request) Has been cancelled
CI / tests (pull_request) Has been cancelled
This commit is contained in:
@@ -18,9 +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.
|
||||
# Only a claude started through this has the tools on PATH. One a person starts by hand lacks them, as their shell does: the plan keeps short names such as `wait-for` out of a person's shell. 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 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."""
|
||||
"""env with the release's tools first on `PATH`: what every claude the loop or `task-bench gather` 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