File size: 5,248 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# ManipulationArena

ManipulationArena contains 888 frozen attack units across seven families. It supplies a shared inventory, plan loader, role configuration, execution workspace builder, and family-specific native attack and judging engines.

| Family | Units |
|---|---:|
| Self-preservation attack | 129 |
| Oversight evasion attack | 94 |
| Obstruction attack | 120 |
| Criteria attack | 137 |
| Decomposition attack | 138 |
| Sleeper poisoning | 131 |
| Role-play manipulation | 139 |

## Setup

| Download | Link |
|---|---|
| Native Docker runtime image | <!-- Add the release image archive URL here. --> |

Follow [Getting started](docs/GETTING_STARTED.md) to install dependencies, download and load the image, configure model APIs, and run a unit on a Linux machine. The runtime image contains the native task environments. Select its local image name with `--image IMAGE` or `docker.image`.

## Inspect and validate

Use Python 3.10 or newer from the release directory:

```sh
python -B -m manipulationarena inspect
python -B -m manipulationarena validate --require-checksums
python -B -m manipulationarena inspect --unit-key UNIT_KEY --show-plan
python -B -m manipulationarena prepare --unit-key UNIT_KEY --output /tmp/arena-unit --check-plan
```

Inspection, validation and preparation make no model calls and start no native tasks. `--check-plan` invokes the corresponding original plan validator. Use a fresh output path outside the release directory.

An installed Python package supplies the tools; dataset files and engine modules remain in the release directory. Use `manipulationarena --root /path/to/ManipulationArena inspect` or set `MANIPULATIONARENA_ROOT`. Without either setting, bundled data and then the current directory are checked. An invalid explicit setting fails instead of selecting another release. The optional `--engine-profile` asserts a unit's fixed source profile; it cannot switch that unit to another variant.

## Configure and run

Copy `config/roles.example.json` outside the release directory. Set its named credential environment variables, model endpoints and local Docker resources. Supply your native runtime image with `--image IMAGE` or the configuration's `docker.image` field; there is no default image address. Red uses Claude Code with `deepseek-v4.1-flash`; Judge defaults to Red's API configuration when omitted. Blue, native scorer and user simulator have independent configurations. Native auxiliary models retain their frozen identity.

The evaluated Blue agent is a harness plus model. Set `roles.blue.model` to your model identifier. DSH is the default adapter; to evaluate another framework, set `roles.blue.harness`, `roles.blue.adapter` (`module:factory`) and `roles.blue.python` (the interpreter inside your image). All seven families route through the same [Blue session adapter protocol](docs/BLUE_ADAPTERS.md). Custom adapters execute directly, without a DSH wrapper or fallback.

Model IDs, endpoints and credentials must be literal values accepted by the native environment-file readers. Whitespace, control characters and shell syntax are rejected before execution; credentials are never included in configuration error messages.

```sh
python -B -m manipulationarena doctor --image YOUR_NATIVE_IMAGE
python -B -m manipulationarena doctor --full --config /opt/arena-config/roles.json --image YOUR_NATIVE_IMAGE --output /tmp/arena-preflight
python -B -m manipulationarena run --unit-key UNIT_KEY --config /opt/arena-config/roles.json --image YOUR_NATIVE_IMAGE --output /tmp/arena-execution
python -B -m manipulationarena batch --config /opt/arena-config/roles.json --image YOUR_NATIVE_IMAGE --output /tmp/arena-batch
python -B -m manipulationarena summarize --output /tmp/arena-batch
```

All seven families execute through your local Docker daemon. The image must already be loaded locally; commands use `--pull=never`. `--image` overrides `docker.image`, and execution fails if neither supplies an image. `doctor` checks the local daemon and image architecture; `--full` checks container dependencies and writes a preflight report. Optional `--check-apis` performs model discovery without inference. Full runtime requirements are in [docs/DEPENDENCIES.md](docs/DEPENDENCIES.md).

See the executable [DSH example](examples/run_dsh.py) and [Blue model capabilities](docs/BLUE_ADAPTERS.md). `batch --resume` skips valid verdicts; `--retry-incomplete` explicitly retries incomplete attempts. Summaries retain separate failure categories and use the first valid verdict for each unit. See [evaluation and output fields](docs/EVALUATION.md).

`run` performs real model inference and native execution. Your image must contain the original native suites and match the task-manifest fingerprint in `environment/manifest.json`. Obstruction runs its driver and Judge in a local container; the other six adapters run Red and judging on the host and Blue in local containers. Credential files are written with mode 0600 only in the external run directory. Plans and package references are relocated only in the execution copy.

See [DATASET_CARD.md](DATASET_CARD.md), [docs/SCHEMA.md](docs/SCHEMA.md), [docs/EVALUATION.md](docs/EVALUATION.md), and [LICENSE_STATUS.md](LICENSE_STATUS.md).