HarnessRouter Community Edition: the self-hosted, Apache-2.0 edition of the unified interface for agent harnesses. Run Codex, Claude Code, Hermes, PI, DSH, and more through one API, with sessions, streaming, files, cancellation, and failure handling. Implements the Unified Harness Protocol (UHP), an open standard. Your keys, your infrastructure.
Python agent-apiagent-frameworkagent-harnessai-agentsai-infrastructurecoding-agentconformance-testingdeepseek-harnessharness-engineeringhermesllmopen-protocolopen-sourceopen-standardpi-coding-agentself-hosteduhpunified-apiunified-harness-protocolunified-interface
runner: goose's workspace TMPDIR workaround is gone; the hosted defect was the image's /tmp mode (#176)
github-actions[bot]646d519f0260
diff --git a/runner/server.py b/runner/server.pyindex ce98c61c..0cb1734e 100644--- a/runner/server.py+++ b/runner/server.py@@ -4365,12 +4365,6 @@ def _build_goose(provider: str, auth: Auth, model: str, prompt: str, cwd: str, eroot.mkdir(parents=True, exist_ok=True)host, base_path = _goose_split_base(auth.base_url or "")env["GOOSE_PATH_ROOT"] = str(root)- # goose's platform-extension loader writes a temp file through std::env::temp_dir() at start- # (crates/goose/src/agents/platform_extensions/mod.rs, v1.50.0) and panics when it cannot:- # on a host whose sandbox refuses /tmp every turn exited 1 right after "goose is ready"- # (hosted, 2026-09-13). The workspace's own tmp, the same thing codex gets.- env["TMPDIR"] = str(pathlib.Path(cwd) / "tmp")- pathlib.Path(env["TMPDIR"]).mkdir(parents=True, exist_ok=True)env["OPENAI_API_KEY"] = auth.api_key or ""env["OPENAI_HOST"] = hostenv["OPENAI_BASE_PATH"] = base_pathdiff --git a/runner/tests/test_goose_build.py b/runner/tests/test_goose_build.pyindex a5c95901..3dff2eb2 100644--- a/runner/tests/test_goose_build.py+++ b/runner/tests/test_goose_build.py@@ -131,14 +131,6 @@ def test_everything_lives_under_the_harness_dir():assert ".harness" in root.parts-def test_temp_files_go_to_the_workspace():- """goose's extension loader writes a temp file through std::env::temp_dir() at start and panics- when it cannot; a sandbox that refuses /tmp failed every turn (hosted, 2026-09-13)."""- _, d, env = _argv()- assert env["TMPDIR"] == str(pathlib.Path(d) / "tmp")- assert pathlib.Path(env["TMPDIR"]).is_dir()--def test_config_names_the_provider_and_model():_, d, env = _argv()cfg = yaml.safe_load((pathlib.Path(env["GOOSE_PATH_ROOT"]) / "config" / "config.yaml").read_text())