Put the release's tools on PATH of every claude the loop starts, and name them bare in the prose
CI / tests (pull_request) Successful in 4m36s
CI / tests (pull_request) Successful in 4m36s
This commit is contained in:
@@ -13,7 +13,7 @@ from git_cli.git_repo import Git, top
|
||||
from git_cli import git_repo
|
||||
from task_bench.bench_folder import held
|
||||
from review_rules.review_folder import made_review_folder
|
||||
from loop_state.paths import paths_from
|
||||
from loop_state.paths import paths_from, with_release_tools
|
||||
from transcript_archive.project_key import project_key
|
||||
from model_routing.ladder_file import project_ladder
|
||||
from chunk_driver.project.model_choice import read_models_file
|
||||
@@ -58,7 +58,7 @@ def gather(env: typing.Mapping[str, str], home: pathlib.Path, claude: Claude) ->
|
||||
|
||||
|
||||
def run_claude(args: list[str], cwd: str, prompt: str) -> subprocess.CompletedProcess[str]:
|
||||
return subprocess.run(["claude", *args], capture_output=True, cwd=cwd, input=prompt, text=True)
|
||||
return subprocess.run(["claude", *args], capture_output=True, cwd=cwd, env=with_release_tools(os.environ), input=prompt, text=True)
|
||||
|
||||
|
||||
def project_rung(home: pathlib.Path, git: Git) -> Rung | Failure:
|
||||
|
||||
Reference in New Issue
Block a user