Repository navigation
Description
Priority
extreme
Components
- app/nullius (backend)
- app/web (routes)
- templates and static files
- docs and the site
- catalogue (benchmarks, agents, capabilities)
- the standard (ports, kits, relay, runs)
- CI, workflows and skills
Today
SWE-bench Verified's page says "SWE-agent, the authors' own agent, runs only on Harbor." On the standard its reference agent is mini-swe-agent. SWE-agent itself was looked at for import at its latest release, v1.1.0 (0f3acaf), with the import procedure. It has no ACP mode; it has a one-task command that works in a container that exists already (sweagent run --env.deployment.type=local --env.repo.type=preexisting). As shipped it cannot be run by the standard, for two reasons in its own code, each tried:
- It copies its tool bundles to
/root/tools(sweagent/tools/tools.py:251, the path is written in). The conformance kits run an agent in the base image as the user of the machine, without root:mkdir: cannot create directory '/root': Permission denied. An agent that cannot pass its kits has no proven port, and no benchmark is matched to it. - Its default tools install a package when the agent starts (
tools/edit_anthropic/install.sh:pip install 'tree-sitter==0.21.3',pip install 'tree-sitter-languages'), and a failed install stops it (check="raise"). In a SWE-bench instance's container the agent has no way out but its model:ERROR: No matching distribution found for tree-sitter==0.21.3.
Its dependencies are also unpinned (pyproject.toml lists names only, no lock file), so an install of the same tag can differ from day to day.
Wanted
SWE-agent offered on the standard as its vendor ships it, and SWE-bench Verified's reference agent when it runs in the instance's own container. Nothing of the agent is patched to get there; what it needs is of the standard, and is the owner's to decide:
- An agent's own setup step in the unit's container before it starts, with the way out a benchmark's preparation has, gone again before the first model call. This is what Harbor's agent setup phase does.
- A way for an agent to pass its kits that does not depend on writing under
/rootas the machine's user: the kits run in a container where it is root, or the agent is proven on an own-image fixture.
Acceptance
- The owner has said whether an agent may have a setup step with a way out, and how an agent that needs root passes its kits.
- SWE-agent is in the agents catalogue at a pinned release, its dependencies pinned.
- It passes the kits of the ports it offers, and its model calls are in the relay's record.
- It runs a SWE-bench Verified instance in the instance's own container.
- The benchmark's limitation no longer says it runs only on Harbor.
Dependencies and related
The preparation step and Box.offline (Terminal-Bench's tmux) are the pieces an agent's setup step would reuse.
Current validation
Draft implementation: #284, head d64ebbd. Upstream SWE-agent v1.1.0 remains unchanged. Preparation uses temporary public access with verified teardown; workspace conformance uses an explicit digest-pinned root fixture.
Workspace conformance passed 2/2 with recorded OpenRouter openai/gpt-4.1 calls (nine for write, ten for fix). Its catalogue proof records the upstream version and root fixture provenance. The benchmark limitation now describes supported execution and remaining validation, rather than Harbor-only availability.
The selected django__django-17087 instance ran in its own pinned container with nine successful model calls. It stopped before grading: $0.162272 spent, and the next call's approximately $0.0899 reservation exceeded the $0.25 unit allowance. It has UnitSpendingCapError and no verifier score. This is an actual attempt, not a completed instance proof or a reference-agent promotion.
Total #37 spending across the initial attempts, approved retries and instance is $0.269534 of $0.75. Held/unsettled $0. Remaining total $0.480466; the instance retains only $0.087728. Workspace allowances were not transferred. No additional paid run is active.
Latest focused tests: 34 passed, one Docker-tier skip; 81 agent/catalogue/builder route tests passed. Existing shell-start timeout observations and legacy Python incompatibility remain documented. Keep the issue open pending completed instance validation and review. No upstream patches, merges or issue closure.
Activity