Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion environments/compact/compact/program.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# /// script
# requires-python = ">=3.10"
# dependencies = ["openai", "mcp"]
# dependencies = ["openai", "mcp>=1.24.0,<2"]
# ///
"""The compacting harness's program: a context-REWRITE loop (so every turn branches).

Expand Down
2 changes: 1 addition & 1 deletion verifiers/v1/harnesses/bash/program.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# /// script
# requires-python = ">=3.10"
# dependencies = ["openai", "mcp", "httpx", "tenacity"]
# dependencies = ["openai", "mcp>=1.24.0,<2", "httpx", "tenacity"]
# ///
"""Secrets arrive through argv so local tool subprocesses do not inherit them."""

Expand Down
2 changes: 1 addition & 1 deletion verifiers/v1/harnesses/null/program.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# /// script
# requires-python = ">=3.11"
# dependencies = ["openai", "mcp", "httpx", "tenacity"]
# dependencies = ["openai", "mcp>=1.24.0,<2", "httpx", "tenacity"]
# ///
"""The interception endpoint and secret arrive through argv rather than the environment."""

Expand Down
2 changes: 2 additions & 0 deletions verifiers/v1/harnesses/rlm/harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ async def setup(self, runtime: Runtime) -> None:
ensure = shlex.quote(f"[ -x {RLM_BIN} ] || ({install})")
guarded = f"mkdir -p {RLM_DIR} && flock {RLM_DIR}/install.lock sh -c {ensure}"
env = {**self.config.resolved_env, "RLM_HOME": RLM_HOME}
extra_uv_args = env.get("RLM_EXTRA_UV_ARGS", "")
env["RLM_EXTRA_UV_ARGS"] = f"{extra_uv_args} --with mcp~=1.28".strip()
result = await runtime.run(["sh", "-c", guarded], env)
if result.exit_code != 0:
raise RuntimeError(f"rlm install failed: {result.stderr.strip()[-500:]}")
Expand Down
Loading