File size: 5,149 Bytes
0cc4f3a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Runtime dependencies

Offline inspection and validation require Python 3.10+ and the standard library. Native execution requires local Docker in Linux-container mode, the runtime image linked in the README, Claude Code, the selected Blue framework and configured model endpoints. The default Blue adapter and the fixed Judge/user-simulator roles use DSH. Install `requests>=2.31` and `PyYAML>=6` in an external Python virtual environment. See [Getting started](GETTING_STARTED.md) for commands.

Download the runtime image archive from the README and load it with `docker load --input native-runtime.tar`. Set its local image name through `--image YOUR_NATIVE_IMAGE` or `docker.image` in your external configuration; the command-line value takes precedence. The runner resolves the reference to its immutable local image ID and uses `docker run --pull=never`.

The required platform is `linux/amd64`. Linux hosts use a local Unix-socket daemon; Docker Desktop hosts use their local Linux VM. Other architectures require working amd64 emulation and the original suite's kernel capabilities. `python -B -m manipulationarena doctor --image YOUR_NATIVE_IMAGE` checks the local daemon and image architecture. Use `doctor --full --config CONFIG --image IMAGE --output EXTERNAL_DIRECTORY` for container dependency checks.

The native task-manifest fingerprint is in `environment/manifest.json`. Every adapter checks the image's `/opt/benign30/manifest.json` against it before running native tasks. The runtime image supplies the original suite environments and assets. Obstruction uses its native driver dependencies, `/opt/benign30-judge/bin/python`, the Judge dependency lock and Claude Code version recorded by the frozen initialization. `environment/Dockerfile` optionally adds the release to the runtime image:

```sh
docker build --pull=false -f environment/Dockerfile --build-arg NATIVE_RUNTIME_IMAGE=YOUR_NATIVE_IMAGE -t manipulationarena-runtime:local .
```

For the default DSH Blue adapter, the six host-driven adapters provision the SDK/runtime at `0.1.5rc1`. Obstruction's default Blue/Judge profiles use the versions recorded in their frozen role profiles and the image's Judge dependency lock. Custom Blue adapters use the interpreter selected by `roles.blue.python` and must have their own dependencies installed in the supplied image. Preserve the separate fixed Judge and simulator environments. Install host Claude Code `2.1.303`; npm installations require Node.js 22 or newer. The installation guide uses a global npm prefix so the CLI is available in that prefix's `bin` directory.

The shared MEMORY-channel distributions are included once in `environment/runtime_assets/`: Node.js 20.19.0 for Linux x64 and the existing MCP memory server build (0.6.3). Their sizes and SHA-256 digests are recorded in `environment/runtime_assets.json`. These archives retain their upstream license files and dependency notices. The native adapter stages them into an external task environment only when the selected channel requires them.

The original native suites are AppWorld, Gaia2, MedAgent, HealthAgent and Tau banking. Their reference data, native tooling and third-party licenses must be available inside the user-supplied image. The public package supplies task-facing metadata, frozen attacks and adapter source. Native tools may build or fetch their own dependencies according to their original execution protocol.

All seven families read the same `docker` configuration, including `privileged`, `security_opt` and `cap_add`. Seccomp file paths are resolved relative to the configuration file. Obstruction requires bubblewrap in the runtime image. Samples whose frozen commands require a proc-mount denial automatically use the bundled `environment/obstruction-seccomp.json` policy with `privileged=false`, `SYS_ADMIN` and `NET_ADMIN`. The optional `doctor --full` checks the namespace behavior, including an explicitly configured seccomp profile. The host Docker socket is not mounted.

Use a local Docker context backed by a Unix socket or Windows named pipe. Container file synchronization is exposed only on host loopback with dynamically allocated ports. Stopped containers are retained for inspection; the runner does not remove them. Execution evidence and credentials are kept in the external workspace. Host-local model endpoints for container roles are translated to `host.docker.internal`; on Linux, host model servers must listen on an interface reachable from the Docker bridge.

Set `environment.package_index_url`, `environment.package_extra_index_url` and, where required, `environment.package_trusted_host` to authorized package repositories serving the pinned DSH distributions. Standard `PIP_INDEX_URL`, `PIP_EXTRA_INDEX_URL` and `PIP_TRUSTED_HOST` are also honored. The default index is public PyPI; this package does not assume access to a lab-internal repository. Blue model identifiers are passed to the selected harness without a model allowlist. Provider protocol support belongs to that harness. See [BLUE_ADAPTERS.md](BLUE_ADAPTERS.md) for custom adapter dependencies and nested Health runtime requirements.