Skip to content

The first exam for code agents in the physical world: frozen robot tasks from many benchmark suites, each answered with a program and verified in a separate sandbox. Runs on Harbor.

ABC Sim: 60 task directories and the abc-sim image (29 families; privileged, standard, 2 realtime twins; #473) (#480)

Changhe Chenb9e50dc4a7eb
diff --git a/README.md b/README.md
index a9ae03c3c1..17e6c4926b 100644
--- a/README.md
+++ b/README.md
@@ -44,7 +44,7 @@ In every task, a coding agent writes code, runs it on a robot in a frozen scene
### Before you run
- **Host:** Linux x86_64 with git, [uv](https://docs.astral.sh/uv/) (it fetches a Python 3.12-3.14 for Harbor if needed) and Docker Engine with Compose v2 and BuildKit (the `buildx` plugin). Without Docker, e.g. on a Slurm cluster: rootless podman with `-e podman` ([docs/protocol/running.md](docs/protocol/running.md#without-docker-rootless-podman-eg-a-slurm-cluster)).
-- **GPU:** the NVIDIA driver and the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html) for every task that uses a GPU. An RTX-class GPU (with RT cores; not A100 or H100): AM-Bench, BEHAVIOR-1K, iSpatialGym, LabUtopia, ManiGuard, RoboARC, RoboDojo, RoboLab, YAMLab. Any NVIDIA GPU: BiGym 2.0, DexToolBench, MolmoSpaces, Panda Dynamic Scenes, RoboPaint, RoboTwin 2.0, RoboWits. Some tasks: Embodied Olympics - Fun, Embodied Olympics - Match, HumanoidBench, IKEA MuJoCo, KinDER, MuJoCo Playground, MyoSuite, roboEngineer. No GPU: AutoBio, DexHand, DexJoCo, Embodied Safety Exam, LIBERO-MAX, MetaWorld+, RoboCasa, RoboCasa-GR1, RoboCasa365, VLABench.
+- **GPU:** the NVIDIA driver and the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html) for every task that uses a GPU. An RTX-class GPU (with RT cores; not A100 or H100): AM-Bench, BEHAVIOR-1K, iSpatialGym, LabUtopia, ManiGuard, RoboARC, RoboDojo, RoboLab, YAMLab. Any NVIDIA GPU: ABC Sim, BiGym 2.0, DexToolBench, MolmoSpaces, Panda Dynamic Scenes, RoboPaint, RoboTwin 2.0, RoboWits. Some tasks: Embodied Olympics - Fun, Embodied Olympics - Match, HumanoidBench, IKEA MuJoCo, KinDER, MuJoCo Playground, MyoSuite, roboEngineer. No GPU: AutoBio, DexHand, DexJoCo, Embodied Safety Exam, LIBERO-MAX, MetaWorld+, RoboCasa, RoboCasa-GR1, RoboCasa365, VLABench.
- **Disk:** a benchmark's public images take 1-30 GB, pulled on its first run; a benchmark that builds its image needs the free disk its row below states.
- **API keys** for the agent's model in `.env` (step 1), or a subscription (step 3).
@@ -97,7 +97,7 @@ harbor run -d embodied-first-exam --privileged -a codex -m openai/gpt-6-astra
```
```bash
-# every task: 2164 task dirs (1108 tasks in their modes, 34 benchmarks)
+# every task: 2224 task dirs (1137 tasks in their modes, 35 benchmarks)
harbor run -d embodied-first-exam@all -a codex -m openai/gpt-6-astra
```
diff --git a/images/abc-sim/ASSET_LICENSES.md b/images/abc-sim/ASSET_LICENSES.md
new file mode 100644
index 0000000000..9191ea0846
--- /dev/null
+++ b/images/abc-sim/ASSET_LICENSES.md
@@ -0,0 +1,21 @@
+# Asset licences (abc-sim image)
+
+`/opt/abc/abc_sim` is ABC Sim's simulator package, Apache-2.0 (`/opt/abc/LICENSE`), from github.com/amazon-far/abc at d0832d1. The meshes and textures under `/opt/abc/abc_sim/models/assets/` are the subset of its simulator asset packages that this benchmark's frozen scenes use; their licences and credits, as upstream states them (its README, "Simulator asset licenses"), follow. Per-object credits ship inside the packages (`OFFICE_ATTRIBUTIONS.md`, the package `README.md` and `LICENSE` files).
+
+The simulator asset packages bundle meshes and textures from the sources below. abc-side processing — recentering, rescaling, trimesh re-export, resized
+textures, custom convex collision decompositions, and retuned MJCF wrappers —
+does not change the upstream licenses. Per-object credits ship inside the
+packages where noted.
+
+| Source | License | Where it is used |
+| --- | --- | --- |
+| [RoboCasa](https://github.com/robocasa/robocasa) objaverse pack: objects curated from [Objaverse 1.0](https://objaverse.allenai.org/objaverse-1.0), originally by individual Sketchfab creators | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) (RoboCasa asset release) | `mug`; the object libraries in `task_put_relative`, `task_grab_clutter`, and `task_conveyor_pick`; mug variants in `task_mug_flip` and `task_mug_tree`; plates in `task_dishrack`; bottles in `task_water_bottles`; objects in `task_multi_drawer_search` and `task_inhand_transfer` |
+| RoboCasa lightwheel pack: objects by [LightWheel AI](https://www.lightwheel.ai/) | CC BY 4.0 (RoboCasa asset release) | object variants in `task_put_relative`, `task_grab_clutter`, `task_conveyor_pick`, `task_inhand_transfer`, and `task_multi_drawer_search`; dish racks in `task_dishrack` |
+| RoboCasa aigen pack: AI-generated objects ([Luma.ai](https://lumalabs.ai/)) | CC BY 4.0 (RoboCasa asset release) | `bowl` |
+| [Google Scanned Objects](https://github.com/kevinzakka/mujoco_scanned_objects) | CC BY 4.0 | Two office objects in `task_multi_drawer_search`; per-object credits in the package's `OFFICE_ATTRIBUTIONS.md` |
+| Sketchfab creators, individually credited | CC BY 4.0 | Six office objects in `task_multi_drawer_search` (see `OFFICE_ATTRIBUTIONS.md`); the box and crate in `task_bins` (see the package `README.md`); the Fujiya tin in `task_chess` by [Vision Fountain](https://sketchfab.com/visionfountain); [`bin`](https://sketchfab.com/3d-models/bin-8984db4f15284436ab704919327ca251) by [AlaPasta](https://sketchfab.com/alapasta); [`blocks`](https://sketchfab.com/3d-models/wooden-alphabet-blocks-5f8dfddbbc7d468784ca014378f7e5fe) by [Cherryvania](https://sketchfab.com/mikequeen123); [`dustpan`](https://sketchfab.com/3d-models/dustpan-d91eae20c02a4741aeb889246b417ae4) by [c_irby_paint](https://sketchfab.com/cirby2180); [`garbage_can`](https://sketchfab.com/3d-models/garbage-can-trashcan-bin-926826667ff04fb09a0907bbec54c766) by [BlackCube](https://sketchfab.com/blackcube4), including its copy in `task_water_bottles`; [`paper_ball`](https://sketchfab.com/3d-models/paper-ball-8afd2bfbe8c14fad937f768617d55f9e) by [ianshanewise](https://sketchfab.com/ianshanewise); [`tray`](https://sketchfab.com/3d-models/plastic-tray-e9b536258ae4499abec7b31ebd231daf) by [Aullwen](https://sketchfab.com/Aullwen) |
+| [freepoly.org](https://freepoly.org/) | CC0 | The yellow tin in `task_chess` |
+| [LIBERO](https://github.com/Lifelong-Robot-Learning/LIBERO) | MIT | The `short_cabinet` drawer fixture in `task_multi_drawer_search`; license copy in the package |
+| [i2rt YAM](https://github.com/i2rt-robotics) | MIT | The `i2rt_yam` robot model package; license copy in the package |
+| This project | Apache-2.0 | Everything else, modeled or scanned in-house: `ball_sorting_toy`, `brush`, `brush_flat`, `building_blocks`, `chess`, `cup_stacking`, `dishrack`, `drawer`, `flexible_gripper`, `hand_brush_smooth`, `jenga`, `letters`, `marker`, `mug_tree`, `new_brush`, `plate`, the generated `task_nuts_bolts` meshes, the conveyor fixture in `task_conveyor_pick`, the baked plate/rack originals in `task_dishrack`, `tin_2` in `task_chess`, and all task-tuned MJCF wrappers and collision meshes |
+
diff --git a/images/abc-sim/Dockerfile b/images/abc-sim/Dockerfile
new file mode 100644
index 0000000000..bd4e87080a
--- /dev/null
+++ b/images/abc-sim/Dockerfile
@@ -0,0 +1,60 @@
+# abc-sim: ABC Sim (`abc_sim` of github.com/amazon-far/abc @ d0832d1, Apache-2.0) on MuJoCo 3.6.0, the version its
+# demonstrations were recorded with: two I2RT YAM arms at a table, CPU physics, camera images rendered over EGL on an
+# NVIDIA GPU (OSMesa on the CPU where EGL does not start). Holds the simulator package, the meshes and textures the
+# benchmark's frozen scenes use, and the benchmark's tooling (/opt/abc-tools: the privileged Session, the graders, the
+# standard and standard-realtime adapters); tasks `FROM` it and add their frozen instance.
+# Tag = ghcr.io/mll-lab-nu/efe:abc-sim-<images/abc-sim/VERSION>; the build context is the repo root:
+# docker build -f images/abc-sim/Dockerfile -t ghcr.io/mll-lab-nu/efe:abc-sim-$(cat images/abc-sim/VERSION) .
+# Nothing in it is a reference solution: abc_sim ships no scripted expert or policy, and its pointers to the upstream
+# demonstrations, checkpoints and asset mirror (READMEs, the asset manifest, the episode exporter, one XML comment) are
+# left out in the fetch stage, whose layers are not part of this image.
+
+# ---- fetch: the upstream package at its commit and the checksum-pinned asset packages, assembled into /out
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f AS fetch
+RUN apt-get update && apt-get install -y --no-install-recommends git ca-certificates && rm -rf /var/lib/apt/lists/*
+RUN git init -q /src && git -C /src fetch -q --depth 1 https://github.com/amazon-far/abc.git \
+ d0832d12651d1b260a652861a14648dc5f3660c7 && git -C /src checkout -q FETCH_HEAD
+ADD --checksum=sha256:ffb892f424a4d4e26f4f3f5e9cf3118e47d1dd1b9e98ff3d2514623b604efa6a https://abc-data.timehorizons.org/sim_assets/blocks.tar.gz /pkgs/
+ADD --checksum=sha256:1f6b3fddefd555b688c06f5dfb1cd111dc4e406bb3bee18f3fa42c90fd52007c https://abc-data.timehorizons.org/sim_assets/brush_flat.tar.gz /pkgs/
+ADD --checksum=sha256:0e91795f17a81006f65743707a6fd3395c36a02b75d4ee934e499fe554edbfa5 https://abc-data.timehorizons.org/sim_assets/chess.tar.gz /pkgs/
+ADD --checksum=sha256:0bd60a4a11e038a88cabbecc8b4baf71123d4c371f98219250c36386e9aaacf2 https://abc-data.timehorizons.org/sim_assets/cup_stacking.tar.gz /pkgs/
+ADD --checksum=sha256:9746caee3de796f7da66c6d200f5a391c746e75c9941460f299fbd400b820761 https://abc-data.timehorizons.org/sim_assets/dustpan.tar.gz /pkgs/
+ADD --checksum=sha256:fee5374110e3a805539fb876962765db169c91bcba9d6bf92207551cf318d5a2 https://abc-data.timehorizons.org/sim_assets/garbage_can.tar.gz /pkgs/
+ADD --checksum=sha256:ed5144c0b4ae55da75a3701b5bad9ca3599977cc8b73c59996e5e1633749aad7 https://abc-data.timehorizons.org/sim_assets/i2rt_yam.tar.gz /pkgs/
+ADD --checksum=sha256:06fe8d31f4849443bcdbe6decc7151d77744f4877afd3ae6cd57b98f0d7c165d https://abc-data.timehorizons.org/sim_assets/mug.tar.gz /pkgs/
+ADD --checksum=sha256:988d5f6455fd24f44f046d3ee88dddb867025ea05b84bcb22ed7f168a39fd71b https://abc-data.timehorizons.org/sim_assets/mug_tree.tar.gz /pkgs/
+ADD --checksum=sha256:f3b816f9bc654f03c2af4e8f277e25b8881769c4132769fd6eb591a944bfcc08 https://abc-data.timehorizons.org/sim_assets/paper_ball.tar.gz /pkgs/
+ADD --checksum=sha256:5229ca71cbcf4bf243033d42a384266b0f0cdf40388e0d59484678ac60095e21 https://abc-data.timehorizons.org/sim_assets/task_bins.tar.gz /pkgs/
+ADD --checksum=sha256:093c1ab6389932dab39c58d31639e353a865655a6676ee253f303f9cbc7b5ffa https://abc-data.timehorizons.org/sim_assets/task_chess.tar.gz /pkgs/
+ADD --checksum=sha256:e229fc943dc245b75dbf5af236beb28e3f5d57615493572cd15d02da61454f99 https://abc-data.timehorizons.org/sim_assets/task_conveyor_pick_v2.tar.gz /pkgs/
+ADD --checksum=sha256:e025985d199ae42b4b935deef42aa28adb4af625d45747120fc313976221b0b1 https://abc-data.timehorizons.org/sim_assets/task_dishrack.tar.gz /pkgs/
+ADD --checksum=sha256:d51a595ff0a4078f737d71043343080d8be1b501554ebb8bf5b49f4f52269a12 https://abc-data.timehorizons.org/sim_assets/task_inhand_transfer.tar.gz /pkgs/
+ADD --checksum=sha256:b0d43a4856cdd72f1aed2b9d05e489fbd1a553458d3a497917dd74b3d1950744 https://abc-data.timehorizons.org/sim_assets/task_mug_flip.tar.gz /pkgs/
+ADD --checksum=sha256:a23dea938cb6abb4e907d4e4e52e2d9797221bc6dda2027f1452a8447de6cb50 https://abc-data.timehorizons.org/sim_assets/task_mug_tree.tar.gz /pkgs/
+ADD --checksum=sha256:b0ac5a7da7f98d91518bb08d383c898faa44bea9fc590d7c632defe481658dd8 https://abc-data.timehorizons.org/sim_assets/task_multi_drawer_search.tar.gz /pkgs/
+ADD --checksum=sha256:a389616fbbbf922bf6d444e472e9b95697eab5f0589b29b1a09575b1b2ba5aeb https://abc-data.timehorizons.org/sim_assets/task_nuts_bolts.tar.gz /pkgs/
+ADD --checksum=sha256:0ef853c1a7a96561ec1b1ac9baa7f1ed79897656461b08c910b5ac1be140041d https://abc-data.timehorizons.org/sim_assets/task_put_relative.tar.gz /pkgs/
+ADD --checksum=sha256:a93e7d5d4fd5204b136e368af94bcc949d7a94435f19f2d14fc792e689f9c7ca https://abc-data.timehorizons.org/sim_assets/task_water_bottles.tar.gz /pkgs/
+ADD --checksum=sha256:b130c04a7b72356d2336a60ab9ab68804035bbf7d8655d41d7b5f253fa715bea https://abc-data.timehorizons.org/sim_assets/tray.tar.gz /pkgs/
+COPY images/abc-sim/assemble.py images/abc-sim/assets.txt /tmp/
+RUN python /tmp/assemble.py /src /pkgs /tmp/assets.txt /out
+
+# ---- the image
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+# libEGL (glvnd) finds the NVIDIA driver's EGL library through the vendor file below once the container runtime mounts
+# the driver (NVIDIA_DRIVER_CAPABILITIES includes graphics); libOSMesa is the CPU fallback.
+RUN apt-get update && apt-get install -y --no-install-recommends libegl1 libgl1 libglvnd0 libosmesa6 libgomp1 && \
+ rm -rf /var/lib/apt/lists/* && mkdir -p /usr/share/glvnd/egl_vendor.d && \
+ printf '{"file_format_version":"1.0.0","ICD":{"library_path":"libEGL_nvidia.so.0"}}\n' \
+ > /usr/share/glvnd/egl_vendor.d/10_nvidia.json
+COPY images/abc-sim/requirements.lock /tmp/requirements.lock
+RUN pip install --no-cache-dir --no-deps -r /tmp/requirements.lock && rm /tmp/requirements.lock
+COPY --from=fetch /out /opt/abc
+COPY images/abc-sim/ASSET_LICENSES.md /opt/abc/ASSET_LICENSES.md
+COPY images/abc-sim/tools /opt/abc-tools
+ENV PYTHONPATH=/opt/abc:/opt/abc-tools ABC_SIM_ROOT=/opt/abc PYTHONUNBUFFERED=1 NVIDIA_DRIVER_CAPABILITIES=all \
+ OMP_NUM_THREADS=1 OPENBLAS_NUM_THREADS=1 MKL_NUM_THREADS=1
+# Smoke test (no GPU at build time: OSMesa): the package imports and the tooling loads.
+RUN cd /tmp && RCB_GL=osmesa python -c "import abc_sim, mujoco, rcb_abc; assert mujoco.__version__ == '3.6.0'; \
+print('abc-sim ok: mujoco', mujoco.__version__, 'gl', rcb_abc.GL)"
+WORKDIR /app
diff --git a/images/abc-sim/VERSION b/images/abc-sim/VERSION
new file mode 100644
index 0000000000..6e8bf73aa5
--- /dev/null
+++ b/images/abc-sim/VERSION
@@ -0,0 +1 @@
+0.1.0
diff --git a/images/abc-sim/assemble.py b/images/abc-sim/assemble.py
new file mode 100644
index 0000000000..ff5c845c9e
--- /dev/null
+++ b/images/abc-sim/assemble.py
@@ -0,0 +1,60 @@
+"""Assemble /opt/abc for the abc-sim image (runs in the Dockerfile's fetch stage; not part of the image).
+
+ python assemble.py <abc git checkout> <dir of asset tarballs> <assets.txt> <out>
+
+- The `abc_sim` package from the upstream checkout (its git-tracked files), without what points at the upstream
+ demonstrations, checkpoints or asset mirror or is not needed to simulate: the package and models READMEs, the asset
+ manifest (mirror URLs), the RoboCasa pack stub, and the Blender exporter of recorded dataset episodes.
+- The scene XMLs of the package with their comments removed (one described the training data); comments never change
+ a compiled model.
+- From the checksum-pinned asset packages, only the files the frozen instances' scenes open (assets.txt: every file the
+ 29 scenes opened while they were built) and each package's licence and attribution files.
+- The upstream LICENSE (Apache-2.0).
+"""
+import re
+import shutil
+import subprocess
+import sys
+import tarfile
+from pathlib import Path
+
+src, pkgs, keep_list, out = map(Path, sys.argv[1:5])
+EXCLUDE = re.compile(r"^abc_sim/(README\.md|models/README\.md|models/assets_manifest\.json|models/assets_robocasa/|"
+ r"rendering/blender/)")
+LICENCE = re.compile(r"(^|/)(LICENSE[^/]*|README\.md|[^/]*ATTRIBUTIONS[^/]*\.md)$")
+
+pkg_root = out / "abc_sim"
+files = subprocess.run(["git", "-C", str(src), "ls-files", "abc_sim"], check=True, capture_output=True,
+ text=True).stdout.split()
+for f in files:
+ if EXCLUDE.match(f):
+ continue
+ dst = out / f
+ dst.parent.mkdir(parents=True, exist_ok=True)
+ shutil.copy2(src / f, dst)
+ if f.startswith("abc_sim/models/") and f.endswith(".xml"):
+ text = dst.read_text()
+ dst.write_text(re.sub(r"<!--.*?-->", "", text, flags=re.S))
+shutil.copy2(src / "LICENSE", out / "LICENSE")
+
+keep = {line.strip() for line in keep_list.read_text().splitlines() if line.strip() and not line.startswith("#")}
+models = pkg_root / "models"
+found = set()
+for tgz in sorted(pkgs.glob("*.tar.gz")):
+ with tarfile.open(tgz) as t:
+ for m in t.getmembers():
+ if not m.isfile():
+ continue
+ name = m.name.lstrip("./")
+ rel = name if name.startswith("assets/") else f"assets/{name}"
+ if rel in keep or LICENCE.search(rel):
+ dst = models / rel
+ dst.parent.mkdir(parents=True, exist_ok=True)
+ with t.extractfile(m) as fsrc, open(dst, "wb") as fdst:
+ shutil.copyfileobj(fsrc, fdst)
+ found.add(rel)
+missing = sorted(keep - found)
+if missing:
+ sys.exit(f"asset files not found in the packages: {missing[:10]} ({len(missing)} in all)")
+print(f"abc_sim: {sum(1 for f in files if not EXCLUDE.match(f))} package files, {len(keep)} asset files, "
+ f"{len(found - keep)} licence / attribution files")
diff --git a/images/abc-sim/assets.txt b/images/abc-sim/assets.txt
new file mode 100644
index 0000000000..cc1819ef59
--- /dev/null
+++ b/images/abc-sim/assets.txt
@@ -0,0 +1,705 @@
+assets/blocks/block_A.obj
+assets/blocks/block_B.obj
+assets/blocks/block_C.obj
+assets/blocks/block_D.obj
+assets/blocks/block_E.obj
+assets/blocks/block_F.obj
+assets/blocks/block_G.obj
+assets/blocks/block_H.obj
+assets/blocks/block_I.obj
+assets/blocks/block_J.obj
+assets/blocks/block_K.obj
+assets/blocks/block_L.obj
+assets/blocks/block_M.obj
+assets/blocks/block_N.obj
+assets/blocks/block_O.obj
+assets/blocks/block_P.obj
+assets/blocks/block_Q.obj
+assets/blocks/block_R.obj
+assets/blocks/block_S.obj
+assets/blocks/block_T.obj
+assets/blocks/block_U.obj
+assets/blocks/block_V.obj
+assets/blocks/block_W.obj
+assets/blocks/block_X.obj
+assets/blocks/block_Y.obj
+assets/blocks/block_Z.obj
+assets/blocks/texture.png
+assets/brush_flat/bristles.png
+assets/brush_flat/brush_flat_collision_0.obj
+assets/brush_flat/brush_flat_collision_1.obj
+assets/brush_flat/brush_material_003.obj
+assets/brush_flat/brush_material.obj
+assets/chess/black_bishop_1.obj
+assets/chess/black_bishop_2.obj
+assets/chess/black_king_1.obj
+assets/chess/black_knight_1.obj
+assets/chess/black_knight_2.obj
+assets/chess/black_pawn_1.obj
+assets/chess/black_pawn_2.obj
+assets/chess/black_pawn_3.obj
+assets/chess/black_pawn_4.obj
+assets/chess/black_pawn_5.obj
+assets/chess/black_pawn_6.obj
+assets/chess/black_pawn_7.obj
+assets/chess/black_pawn_8.obj
+assets/chess/black_queen_1.obj
+assets/chess/black_rook_1.obj
+assets/chess/black_rook_2.obj
+assets/chess/board.obj
+assets/chess/white_bishop_1.obj
+assets/chess/white_bishop_2.obj
+assets/chess/white_king_1.obj
+assets/chess/white_knight_1.obj
+assets/chess/white_knight_2.obj
+assets/chess/white_pawn_1.obj
+assets/chess/white_pawn_2.obj
+assets/chess/white_pawn_3.obj
+assets/chess/white_pawn_4.obj
+assets/chess/white_pawn_5.obj
+assets/chess/white_pawn_6.obj
+assets/chess/white_pawn_7.obj
+assets/chess/white_pawn_8.obj
+assets/chess/white_queen_1.obj
+assets/chess/white_rook_1.obj
+assets/chess/white_rook_2.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_0.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_10.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_11.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_12.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_13.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_14.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_15.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_16.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_17.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_18.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_19.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_1.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_20.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_21.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_22.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_23.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_24.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_25.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_26.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_27.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_28.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_29.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_2.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_30.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_31.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_32.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_33.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_34.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_35.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_36.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_37.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_38.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_39.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_3.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_40.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_41.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_42.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_43.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_44.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_45.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_46.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_47.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_4.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_5.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_6.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_7.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_8.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue_collision_9.obj
+assets/cup_stacking/Cup_Blue/Cup_Blue.obj
+assets/dustpan/dustpan_0.obj
+assets/dustpan/dustpan_collision_0.obj
+assets/dustpan/dustpan_collision_10.obj
+assets/dustpan/dustpan_collision_11.obj
+assets/dustpan/dustpan_collision_12.obj
+assets/dustpan/dustpan_collision_13.obj
+assets/dustpan/dustpan_collision_14.obj
+assets/dustpan/dustpan_collision_15.obj
+assets/dustpan/dustpan_collision_1.obj
+assets/dustpan/dustpan_collision_2.obj
+assets/dustpan/dustpan_collision_3.obj
+assets/dustpan/dustpan_collision_4.obj
+assets/dustpan/dustpan_collision_5.obj
+assets/dustpan/dustpan_collision_6.obj
+assets/dustpan/dustpan_collision_7.obj
+assets/dustpan/dustpan_collision_8.obj
+assets/dustpan/dustpan_collision_9.obj
+assets/dustpan/tex.png
+assets/garbage_can/garbage_can_collision_0.obj
+assets/garbage_can/garbage_can_collision_10.obj
+assets/garbage_can/garbage_can_collision_11.obj
+assets/garbage_can/garbage_can_collision_1.obj
+assets/garbage_can/garbage_can_collision_2.obj
+assets/garbage_can/garbage_can_collision_3.obj
+assets/garbage_can/garbage_can_collision_4.obj
+assets/garbage_can/garbage_can_collision_5.obj
+assets/garbage_can/garbage_can_collision_6.obj
+assets/garbage_can/garbage_can_collision_7.obj
+assets/garbage_can/garbage_can_collision_8.obj
+assets/garbage_can/garbage_can_collision_9.obj
+assets/garbage_can/garbage_can_inner.obj
+assets/garbage_can/garbage_can.obj
+assets/garbage_can/material_0.png
+assets/i2rt_yam/assets/base_visual_gate.stl
+assets/i2rt_yam/assets/d405.stl
+assets/i2rt_yam/assets/model2__10.stl
+assets/i2rt_yam/assets/model2__11.stl
+assets/i2rt_yam/assets/model2__12.stl
+assets/i2rt_yam/assets/model2__13.stl
+assets/i2rt_yam/assets/model2__14.stl
+assets/i2rt_yam/assets/model2__15.stl
+assets/i2rt_yam/assets/model2__16.stl
+assets/i2rt_yam/assets/model2__17.stl
+assets/i2rt_yam/assets/model2__2.stl
+assets/i2rt_yam/assets/model2__3.stl
+assets/i2rt_yam/assets/model2__4.stl
+assets/i2rt_yam/assets/model2__5.stl
+assets/i2rt_yam/assets/model2__6.stl
+assets/i2rt_yam/assets/model2__7.stl
+assets/i2rt_yam/assets/model2__8.stl
+assets/i2rt_yam/assets/model2__9.stl
+assets/i2rt_yam/assets/model2.stl
+assets/mug/collision/model_normalized_collision_0.obj
+assets/mug/collision/model_normalized_collision_10.obj
+assets/mug/collision/model_normalized_collision_11.obj
+assets/mug/collision/model_normalized_collision_12.obj
+assets/mug/collision/model_normalized_collision_13.obj
+assets/mug/collision/model_normalized_collision_14.obj
+assets/mug/collision/model_normalized_collision_15.obj
+assets/mug/collision/model_normalized_collision_16.obj
+assets/mug/collision/model_normalized_collision_17.obj
+assets/mug/collision/model_normalized_collision_18.obj
+assets/mug/collision/model_normalized_collision_19.obj
+assets/mug/collision/model_normalized_collision_1.obj
+assets/mug/collision/model_normalized_collision_20.obj
+assets/mug/collision/model_normalized_collision_21.obj
+assets/mug/collision/model_normalized_collision_22.obj
+assets/mug/collision/model_normalized_collision_23.obj
+assets/mug/collision/model_normalized_collision_24.obj
+assets/mug/collision/model_normalized_collision_25.obj
+assets/mug/collision/model_normalized_collision_26.obj
+assets/mug/collision/model_normalized_collision_27.obj
+assets/mug/collision/model_normalized_collision_28.obj
+assets/mug/collision/model_normalized_collision_29.obj
+assets/mug/collision/model_normalized_collision_2.obj
+assets/mug/collision/model_normalized_collision_30.obj
+assets/mug/collision/model_normalized_collision_31.obj
+assets/mug/collision/model_normalized_collision_3.obj
+assets/mug/collision/model_normalized_collision_4.obj
+assets/mug/collision/model_normalized_collision_5.obj
+assets/mug/collision/model_normalized_collision_6.obj
+assets/mug/collision/model_normalized_collision_7.obj
+assets/mug/collision/model_normalized_collision_8.obj
+assets/mug/collision/model_normalized_collision_9.obj
+assets/mug_tree/model_collision_0.obj
+assets/mug_tree/model_collision_10.obj
+assets/mug_tree/model_collision_1.obj
+assets/mug_tree/model_collision_2.obj
+assets/mug_tree/model_collision_3.obj
+assets/mug_tree/model_collision_4.obj
+assets/mug_tree/model_collision_5.obj
+assets/mug_tree/model_collision_6.obj
+assets/mug_tree/model_collision_7.obj
+assets/mug_tree/model_collision_8.obj
+assets/mug_tree/model_collision_9.obj
+assets/mug_tree/model.obj
+assets/mug_tree/texture.png
+assets/mug/visual/model_normalized_0.obj
+assets/mug/visual/model_normalized_1.obj
+assets/paper_ball/paper_ball_collision_0.obj
+assets/paper_ball/paper_ball_collision_10.obj
+assets/paper_ball/paper_ball_collision_11.obj
+assets/paper_ball/paper_ball_collision_12.obj
+assets/paper_ball/paper_ball_collision_13.obj
+assets/paper_ball/paper_ball_collision_14.obj
+assets/paper_ball/paper_ball_collision_15.obj
+assets/paper_ball/paper_ball_collision_1.obj
+assets/paper_ball/paper_ball_collision_2.obj
+assets/paper_ball/paper_ball_collision_3.obj
+assets/paper_ball/paper_ball_collision_4.obj
+assets/paper_ball/paper_ball_collision_5.obj
+assets/paper_ball/paper_ball_collision_6.obj
+assets/paper_ball/paper_ball_collision_7.obj
+assets/paper_ball/paper_ball_collision_8.obj
+assets/paper_ball/paper_ball_collision_9.obj
+assets/paper_ball/paper_ball.obj
+assets/task_bins/low_poly_plastic_crate.obj
+assets/task_bins/stackable_box.obj
+assets/task_chess/tin_box/tin_2/body/body_collision_0.obj
+assets/task_chess/tin_box/tin_2/body/body_collision_10.obj
+assets/task_chess/tin_box/tin_2/body/body_collision_11.obj
+assets/task_chess/tin_box/tin_2/body/body_collision_12.obj
+assets/task_chess/tin_box/tin_2/body/body_collision_13.obj
+assets/task_chess/tin_box/tin_2/body/body_collision_14.obj
+assets/task_chess/tin_box/tin_2/body/body_collision_1.obj
+assets/task_chess/tin_box/tin_2/body/body_collision_2.obj
+assets/task_chess/tin_box/tin_2/body/body_collision_3.obj
+assets/task_chess/tin_box/tin_2/body/body_collision_4.obj
+assets/task_chess/tin_box/tin_2/body/body_collision_5.obj
+assets/task_chess/tin_box/tin_2/body/body_collision_6.obj
+assets/task_chess/tin_box/tin_2/body/body_collision_7.obj
+assets/task_chess/tin_box/tin_2/body/body_collision_8.obj
+assets/task_chess/tin_box/tin_2/body/body_collision_9.obj
+assets/task_chess/tin_box/tin_2/body/body.obj
+assets/task_chess/tin_box/tin_2/body/yellw.png
+assets/task_conveyor_pick/conveyor_belt/model_0.obj
+assets/task_conveyor_pick/conveyor_belt/model_1.obj
+assets/task_conveyor_pick/conveyor_belt/model_2.obj
+assets/task_conveyor_pick/conveyor_belt/model_3.obj
+assets/task_conveyor_pick/conveyor_belt/model_4.obj
+assets/task_conveyor_pick/conveyor_belt/model_5.obj
+assets/task_conveyor_pick/objects/bagged_food/bagged_food_3/collision_coacd/model_normalized_0_coacd_00.obj
+assets/task_conveyor_pick/objects/bagged_food/bagged_food_3/collision_coacd/model_normalized_0_coacd_01.obj
+assets/task_conveyor_pick/objects/bagged_food/bagged_food_3/collision_coacd/model_normalized_0_coacd_02.obj
+assets/task_conveyor_pick/objects/bagged_food/bagged_food_3/collision_coacd/model_normalized_1_coacd_00.obj
+assets/task_conveyor_pick/objects/bagged_food/bagged_food_3/collision_coacd/model_normalized_1_coacd_01.obj
+assets/task_conveyor_pick/objects/bagged_food/bagged_food_3/collision_coacd/model_normalized_1_coacd_02.obj
+assets/task_conveyor_pick/objects/bagged_food/bagged_food_3/visual/image0.png
+assets/task_conveyor_pick/objects/bagged_food/bagged_food_3/visual/image2.png
+assets/task_conveyor_pick/objects/bagged_food/bagged_food_3/visual/model_normalized_0.obj
+assets/task_conveyor_pick/objects/bagged_food/bagged_food_3/visual/model_normalized_1.obj
+assets/task_conveyor_pick/objects/boxed_drink/boxed_drink_2/collision_coacd/model_normalized_0_coacd_00.obj
+assets/task_conveyor_pick/objects/boxed_drink/boxed_drink_2/collision_coacd/model_normalized_1_coacd_00.obj
+assets/task_conveyor_pick/objects/boxed_drink/boxed_drink_2/visual/image0.png
+assets/task_conveyor_pick/objects/boxed_drink/boxed_drink_2/visual/model_normalized_0.obj
+assets/task_conveyor_pick/objects/boxed_drink/boxed_drink_2/visual/model_normalized_1.obj
+assets/task_conveyor_pick/objects/canned_food/canned_food_4/collision_coacd/model_normalized_0_coacd_00.obj
+assets/task_conveyor_pick/objects/canned_food/canned_food_4/collision_coacd/model_normalized_0_coacd_01.obj
+assets/task_conveyor_pick/objects/canned_food/canned_food_4/collision_coacd/model_normalized_0_coacd_02.obj
+assets/task_conveyor_pick/objects/canned_food/canned_food_4/collision_coacd/model_normalized_0_coacd_03.obj
+assets/task_conveyor_pick/objects/canned_food/canned_food_4/collision_coacd/model_normalized_0_coacd_04.obj
+assets/task_conveyor_pick/objects/canned_food/canned_food_4/collision_coacd/model_normalized_0_coacd_05.obj
+assets/task_conveyor_pick/objects/canned_food/canned_food_4/collision_coacd/model_normalized_0_coacd_06.obj
+assets/task_conveyor_pick/objects/canned_food/canned_food_4/collision_coacd/model_normalized_0_coacd_07.obj
+assets/task_conveyor_pick/objects/canned_food/canned_food_4/visual/image0.png
+assets/task_conveyor_pick/objects/canned_food/canned_food_4/visual/model_normalized_0.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_0.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_100.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_101.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_102.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_103.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_104.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_105.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_106.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_107.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_108.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_109.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_10.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_110.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_111.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_112.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_113.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_114.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_115.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_116.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_117.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_118.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_119.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_11.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_120.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_121.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_122.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_123.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_124.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_125.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_126.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_127.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_128.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_129.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_12.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_130.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_131.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_132.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_133.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_134.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_135.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_136.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_137.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_138.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_139.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_13.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_140.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_141.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_142.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_143.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_144.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_145.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_146.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_147.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_148.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_14.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_15.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_16.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_17.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_18.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_19.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_1.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_20.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_21.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_22.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_23.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_24.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_25.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_26.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_27.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_28.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_29.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_2.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_30.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_31.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_32.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_33.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_34.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_35.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_36.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_37.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_38.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_39.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_3.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_40.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_41.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_42.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_43.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_44.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_45.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_46.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_47.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_48.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_49.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_4.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_50.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_51.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_52.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_53.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_54.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_55.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_56.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_57.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_58.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_59.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_5.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_60.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_61.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_62.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_63.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_64.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_65.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_66.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_67.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_68.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_69.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_6.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_70.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_71.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_72.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_73.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_74.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_75.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_76.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_77.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_78.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_79.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_7.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_80.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_81.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_82.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_83.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_84.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_85.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_86.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_87.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_88.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_89.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_8.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_90.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_91.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_92.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_93.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_94.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_95.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_96.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_97.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_98.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_99.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model_collision_9.obj
+assets/task_dishrack/dish_rack/dish_rack_0/model.obj
+assets/task_dishrack/dish_rack/dish_rack_0/texture.png
+assets/task_dishrack/plate/plate_9/collision/model_collision_0.obj
+assets/task_dishrack/plate/plate_9/collision/model_collision_10.obj
+assets/task_dishrack/plate/plate_9/collision/model_collision_11.obj
+assets/task_dishrack/plate/plate_9/collision/model_collision_12.obj
+assets/task_dishrack/plate/plate_9/collision/model_collision_13.obj
+assets/task_dishrack/plate/plate_9/collision/model_collision_1.obj
+assets/task_dishrack/plate/plate_9/collision/model_collision_2.obj
+assets/task_dishrack/plate/plate_9/collision/model_collision_3.obj
+assets/task_dishrack/plate/plate_9/collision/model_collision_4.obj
+assets/task_dishrack/plate/plate_9/collision/model_collision_5.obj
+assets/task_dishrack/plate/plate_9/collision/model_collision_6.obj
+assets/task_dishrack/plate/plate_9/collision/model_collision_7.obj
+assets/task_dishrack/plate/plate_9/collision/model_collision_8.obj
+assets/task_dishrack/plate/plate_9/collision/model_collision_9.obj
+assets/task_dishrack/plate/plate_9/visual/model_normalized_0.obj
+assets/task_inhand_transfer/cream_cheese_stick/CreamCheeseStick012/collision/CreamCheese012001.obj
+assets/task_inhand_transfer/cream_cheese_stick/CreamCheeseStick012/collision/CreamCheese012002.obj
+assets/task_inhand_transfer/cream_cheese_stick/CreamCheeseStick012/collision/CreamCheese012003.obj
+assets/task_inhand_transfer/cream_cheese_stick/CreamCheeseStick012/collision/CreamCheese012004.obj
+assets/task_inhand_transfer/cream_cheese_stick/CreamCheeseStick012/collision/CreamCheese012005.obj
+assets/task_inhand_transfer/cream_cheese_stick/CreamCheeseStick012/collision/CreamCheese012006.obj
+assets/task_inhand_transfer/cream_cheese_stick/CreamCheeseStick012/collision/CreamCheese012007.obj
+assets/task_inhand_transfer/cream_cheese_stick/CreamCheeseStick012/collision/CreamCheese012008.obj
+assets/task_inhand_transfer/cream_cheese_stick/CreamCheeseStick012/collision/CreamCheese012009.obj
+assets/task_inhand_transfer/cream_cheese_stick/CreamCheeseStick012/collision/CreamCheese012010.obj
+assets/task_inhand_transfer/cream_cheese_stick/CreamCheeseStick012/collision/CreamCheese012011.obj
+assets/task_inhand_transfer/cream_cheese_stick/CreamCheeseStick012/collision/CreamCheese012012.obj
+assets/task_inhand_transfer/cream_cheese_stick/CreamCheeseStick012/visual/CreamCheese012.obj
+assets/task_inhand_transfer/cream_cheese_stick/CreamCheeseStick012/visual/T_BC001.png
+assets/task_mug_flip/mug/mug_13/collision/collision_mesh_collision_0.obj
+assets/task_mug_flip/mug/mug_13/collision/collision_mesh_collision_10.obj
+assets/task_mug_flip/mug/mug_13/collision/collision_mesh_collision_11.obj
+assets/task_mug_flip/mug/mug_13/collision/collision_mesh_collision_12.obj
+assets/task_mug_flip/mug/mug_13/collision/collision_mesh_collision_13.obj
+assets/task_mug_flip/mug/mug_13/collision/collision_mesh_collision_14.obj
+assets/task_mug_flip/mug/mug_13/collision/collision_mesh_collision_15.obj
+assets/task_mug_flip/mug/mug_13/collision/collision_mesh_collision_1.obj
+assets/task_mug_flip/mug/mug_13/collision/collision_mesh_collision_2.obj
+assets/task_mug_flip/mug/mug_13/collision/collision_mesh_collision_3.obj
+assets/task_mug_flip/mug/mug_13/collision/collision_mesh_collision_4.obj
+assets/task_mug_flip/mug/mug_13/collision/collision_mesh_collision_5.obj
+assets/task_mug_flip/mug/mug_13/collision/collision_mesh_collision_6.obj
+assets/task_mug_flip/mug/mug_13/collision/collision_mesh_collision_7.obj
+assets/task_mug_flip/mug/mug_13/collision/collision_mesh_collision_8.obj
+assets/task_mug_flip/mug/mug_13/collision/collision_mesh_collision_9.obj
+assets/task_mug_flip/mug/mug_13/visual/image0.png
+assets/task_mug_flip/mug/mug_13/visual/model_normalized_0.obj
+assets/task_mug_flip/mug/mug_9/collision/collision_mesh_collision_0.obj
+assets/task_mug_flip/mug/mug_9/collision/collision_mesh_collision_10.obj
+assets/task_mug_flip/mug/mug_9/collision/collision_mesh_collision_11.obj
+assets/task_mug_flip/mug/mug_9/collision/collision_mesh_collision_12.obj
+assets/task_mug_flip/mug/mug_9/collision/collision_mesh_collision_13.obj
+assets/task_mug_flip/mug/mug_9/collision/collision_mesh_collision_14.obj
+assets/task_mug_flip/mug/mug_9/collision/collision_mesh_collision_15.obj
+assets/task_mug_flip/mug/mug_9/collision/collision_mesh_collision_1.obj
+assets/task_mug_flip/mug/mug_9/collision/collision_mesh_collision_2.obj
+assets/task_mug_flip/mug/mug_9/collision/collision_mesh_collision_3.obj
+assets/task_mug_flip/mug/mug_9/collision/collision_mesh_collision_4.obj
+assets/task_mug_flip/mug/mug_9/collision/collision_mesh_collision_5.obj
+assets/task_mug_flip/mug/mug_9/collision/collision_mesh_collision_6.obj
+assets/task_mug_flip/mug/mug_9/collision/collision_mesh_collision_7.obj
+assets/task_mug_flip/mug/mug_9/collision/collision_mesh_collision_8.obj
+assets/task_mug_flip/mug/mug_9/collision/collision_mesh_collision_9.obj
+assets/task_mug_flip/mug/mug_9/visual/image0.png
+assets/task_mug_flip/mug/mug_9/visual/model_normalized_0.obj
+assets/task_mug_tree/mug/mug_9/collision/collision_mesh_collision_0.obj
+assets/task_mug_tree/mug/mug_9/collision/collision_mesh_collision_10.obj
+assets/task_mug_tree/mug/mug_9/collision/collision_mesh_collision_11.obj
+assets/task_mug_tree/mug/mug_9/collision/collision_mesh_collision_12.obj
+assets/task_mug_tree/mug/mug_9/collision/collision_mesh_collision_13.obj
+assets/task_mug_tree/mug/mug_9/collision/collision_mesh_collision_14.obj
+assets/task_mug_tree/mug/mug_9/collision/collision_mesh_collision_15.obj
+assets/task_mug_tree/mug/mug_9/collision/collision_mesh_collision_1.obj
+assets/task_mug_tree/mug/mug_9/collision/collision_mesh_collision_2.obj
+assets/task_mug_tree/mug/mug_9/collision/collision_mesh_collision_3.obj
+assets/task_mug_tree/mug/mug_9/collision/collision_mesh_collision_4.obj
+assets/task_mug_tree/mug/mug_9/collision/collision_mesh_collision_5.obj
+assets/task_mug_tree/mug/mug_9/collision/collision_mesh_collision_6.obj
+assets/task_mug_tree/mug/mug_9/collision/collision_mesh_collision_7.obj
+assets/task_mug_tree/mug/mug_9/collision/collision_mesh_collision_8.obj
+assets/task_mug_tree/mug/mug_9/collision/collision_mesh_collision_9.obj
+assets/task_mug_tree/mug/mug_9/visual/image0.png
+assets/task_mug_tree/mug/mug_9/visual/model_normalized_0.obj
+assets/task_multi_drawer_search/drawer/short_cabinet/base/dark-wood.png
+assets/task_multi_drawer_search/drawer/short_cabinet/base/visual/base_vis_vis.msh
+assets/task_multi_drawer_search/drawer/short_cabinet/drawer_high/visual/drawer_high_handleless.obj
+assets/task_multi_drawer_search/drawer/short_cabinet/drawer_low/visual/drawer_low_handleless.obj
+assets/task_multi_drawer_search/drawer/short_cabinet/drawer_middle/visual/drawer_middle_handleless.obj
+assets/task_multi_drawer_search/objects/apple/apple_10/visual/image0.png
+assets/task_multi_drawer_search/objects/apple/apple_10/visual/model_normalized_0.obj
+assets/task_multi_drawer_search/objects/boxed_drink/boxed_drink_1/visual/image0.png
+assets/task_multi_drawer_search/objects/boxed_drink/boxed_drink_1/visual/model_normalized_0.obj
+assets/task_multi_drawer_search/objects/boxed_drink/boxed_drink_1/visual/model_normalized_1.obj
+assets/task_multi_drawer_search/objects/boxed_food/boxed_food_0/visual/image0.png
+assets/task_multi_drawer_search/objects/boxed_food/boxed_food_0/visual/model_normalized_0.obj
+assets/task_multi_drawer_search/objects/calculator/desk_calculator/visual/material_0.png
+assets/task_multi_drawer_search/objects/calculator/desk_calculator/visual/model.obj
+assets/task_multi_drawer_search/objects/can/can_12/visual/image0.png
+assets/task_multi_drawer_search/objects/can/can_12/visual/model_normalized_0.obj
+assets/task_multi_drawer_search/objects/canned_food/canned_food_11/visual/image0.png
+assets/task_multi_drawer_search/objects/canned_food/canned_food_11/visual/model_normalized_0.obj
+assets/task_multi_drawer_search/objects/dish_brush/DishBrush004/collision/collision_mesh_collision_0.obj
+assets/task_multi_drawer_search/objects/dish_brush/DishBrush004/collision/collision_mesh_collision_1.obj
+assets/task_multi_drawer_search/objects/dish_brush/DishBrush004/visual/DishBrush004.obj
+assets/task_multi_drawer_search/objects/dish_brush/DishBrush004/visual/T_BC001.png
+assets/task_multi_drawer_search/objects/eraser/worn_eraser/visual/Material0.png
+assets/task_multi_drawer_search/objects/eraser/worn_eraser/visual/model.obj
+assets/task_multi_drawer_search/objects/lemon/lemon_10/visual/image0.png
+assets/task_multi_drawer_search/objects/lemon/lemon_10/visual/model_normalized_0.obj
+assets/task_multi_drawer_search/objects/marker/office_marker/visual/Material.png
+assets/task_multi_drawer_search/objects/marker/office_marker/visual/model.obj
+assets/task_multi_drawer_search/objects/measuring_cup/MeasuringCup003/collision/collision_mesh_collision_0.obj
+assets/task_multi_drawer_search/objects/measuring_cup/MeasuringCup003/collision/collision_mesh_collision_10.obj
+assets/task_multi_drawer_search/objects/measuring_cup/MeasuringCup003/collision/collision_mesh_collision_11.obj
+assets/task_multi_drawer_search/objects/measuring_cup/MeasuringCup003/collision/collision_mesh_collision_12.obj
+assets/task_multi_drawer_search/objects/measuring_cup/MeasuringCup003/collision/collision_mesh_collision_13.obj
+assets/task_multi_drawer_search/objects/measuring_cup/MeasuringCup003/collision/collision_mesh_collision_1.obj
+assets/task_multi_drawer_search/objects/measuring_cup/MeasuringCup003/collision/collision_mesh_collision_2.obj
+assets/task_multi_drawer_search/objects/measuring_cup/MeasuringCup003/collision/collision_mesh_collision_3.obj
+assets/task_multi_drawer_search/objects/measuring_cup/MeasuringCup003/collision/collision_mesh_collision_4.obj
+assets/task_multi_drawer_search/objects/measuring_cup/MeasuringCup003/collision/collision_mesh_collision_5.obj
+assets/task_multi_drawer_search/objects/measuring_cup/MeasuringCup003/collision/collision_mesh_collision_6.obj
+assets/task_multi_drawer_search/objects/measuring_cup/MeasuringCup003/collision/collision_mesh_collision_7.obj
+assets/task_multi_drawer_search/objects/measuring_cup/MeasuringCup003/collision/collision_mesh_collision_8.obj
+assets/task_multi_drawer_search/objects/measuring_cup/MeasuringCup003/collision/collision_mesh_collision_9.obj
+assets/task_multi_drawer_search/objects/measuring_cup/MeasuringCup003/visual/MeasuringCup003.obj
+assets/task_multi_drawer_search/objects/measuring_cup/MeasuringCup003/visual/T_BC001.png
+assets/task_multi_drawer_search/objects/notebook/spiral_notebook/visual/model.obj
+assets/task_multi_drawer_search/objects/notebook/spiral_notebook/visual/wire_176026026.png
+assets/task_multi_drawer_search/objects/orange/orange_0/visual/image0.png
+assets/task_multi_drawer_search/objects/orange/orange_0/visual/model_normalized_0.obj
+assets/task_multi_drawer_search/objects/peeler/Peeler004/collision/collision_mesh_collision_0.obj
+assets/task_multi_drawer_search/objects/peeler/Peeler004/collision/collision_mesh_collision_1.obj
+assets/task_multi_drawer_search/objects/peeler/Peeler004/collision/collision_mesh_collision_2.obj
+assets/task_multi_drawer_search/objects/peeler/Peeler004/collision/collision_mesh_collision_3.obj
+assets/task_multi_drawer_search/objects/peeler/Peeler004/collision/collision_mesh_collision_4.obj
+assets/task_multi_drawer_search/objects/peeler/Peeler004/collision/collision_mesh_collision_5.obj
+assets/task_multi_drawer_search/objects/peeler/Peeler004/visual/Peeler004.obj
+assets/task_multi_drawer_search/objects/peeler/Peeler004/visual/T_BC001.png
+assets/task_multi_drawer_search/objects/pencil_sharpener/table_sharpener/visual/model.obj
+assets/task_multi_drawer_search/objects/pencil_sharpener/table_sharpener/visual/Tochilka.png
+assets/task_multi_drawer_search/objects/pizza_cutter/PizzaCutter003/collision/collision_mesh_collision_0.obj
+assets/task_multi_drawer_search/objects/pizza_cutter/PizzaCutter003/collision/collision_mesh_collision_1.obj
+assets/task_multi_drawer_search/objects/pizza_cutter/PizzaCutter003/visual/PizzaCutter003.obj
+assets/task_multi_drawer_search/objects/pizza_cutter/PizzaCutter003/visual/Prop.obj
+assets/task_multi_drawer_search/objects/pizza_cutter/PizzaCutter003/visual/T_BC001.png
+assets/task_multi_drawer_search/objects/potato/potato_13/visual/image0.png
+assets/task_multi_drawer_search/objects/potato/potato_13/visual/model_normalized_0.obj
+assets/task_multi_drawer_search/objects/reamer/Reamer008/collision/collision_mesh_collision_0.obj
+assets/task_multi_drawer_search/objects/reamer/Reamer008/collision/collision_mesh_collision_10.obj
+assets/task_multi_drawer_search/objects/reamer/Reamer008/collision/collision_mesh_collision_11.obj
+assets/task_multi_drawer_search/objects/reamer/Reamer008/collision/collision_mesh_collision_12.obj
+assets/task_multi_drawer_search/objects/reamer/Reamer008/collision/collision_mesh_collision_13.obj
+assets/task_multi_drawer_search/objects/reamer/Reamer008/collision/collision_mesh_collision_14.obj
+assets/task_multi_drawer_search/objects/reamer/Reamer008/collision/collision_mesh_collision_15.obj
+assets/task_multi_drawer_search/objects/reamer/Reamer008/collision/collision_mesh_collision_1.obj
+assets/task_multi_drawer_search/objects/reamer/Reamer008/collision/collision_mesh_collision_2.obj
+assets/task_multi_drawer_search/objects/reamer/Reamer008/collision/collision_mesh_collision_3.obj
+assets/task_multi_drawer_search/objects/reamer/Reamer008/collision/collision_mesh_collision_4.obj
+assets/task_multi_drawer_search/objects/reamer/Reamer008/collision/collision_mesh_collision_5.obj
+assets/task_multi_drawer_search/objects/reamer/Reamer008/collision/collision_mesh_collision_6.obj
+assets/task_multi_drawer_search/objects/reamer/Reamer008/collision/collision_mesh_collision_7.obj
+assets/task_multi_drawer_search/objects/reamer/Reamer008/collision/collision_mesh_collision_8.obj
+assets/task_multi_drawer_search/objects/reamer/Reamer008/collision/collision_mesh_collision_9.obj
+assets/task_multi_drawer_search/objects/reamer/Reamer008/visual/Reamer008.obj
+assets/task_multi_drawer_search/objects/reamer/Reamer008/visual/T_BC001.png
+assets/task_multi_drawer_search/objects/rolling_pin/rolling_pin_0/collision/collision_mesh_collision_0.obj
+assets/task_multi_drawer_search/objects/rolling_pin/rolling_pin_0/collision/collision_mesh_collision_1.obj
+assets/task_multi_drawer_search/objects/rolling_pin/rolling_pin_0/collision/collision_mesh_collision_2.obj
+assets/task_multi_drawer_search/objects/rolling_pin/rolling_pin_0/visual/image0.png
+assets/task_multi_drawer_search/objects/rolling_pin/rolling_pin_0/visual/model_normalized_0.obj
+assets/task_multi_drawer_search/objects/scissors/scissors_gso/visual/material_0.png
+assets/task_multi_drawer_search/objects/scissors/scissors_gso/visual/model.obj
+assets/task_multi_drawer_search/objects/stapler/red_stapler/visual/model.obj
+assets/task_multi_drawer_search/objects/stapler/red_stapler/visual/stapler_u1_v1.png
+assets/task_multi_drawer_search/objects/tape_roll/tape_roll_gso/visual/material_0.png
+assets/task_multi_drawer_search/objects/tape_roll/tape_roll_gso/visual/model.obj
+assets/task_multi_drawer_search/objects/tomato/tomato_1/visual/image0.png
+assets/task_multi_drawer_search/objects/tomato/tomato_1/visual/model_normalized_0.obj
+assets/task_multi_drawer_search/objects/tongs/Tongs007/collision/collision_mesh_collision_0.obj
+assets/task_multi_drawer_search/objects/tongs/Tongs007/visual/T_BC001.png
+assets/task_multi_drawer_search/objects/tongs/Tongs007/visual/Tong007.obj
+assets/task_multi_drawer_search/objects/whisk/Whisk003/collision/collision_mesh_collision_0.obj
+assets/task_multi_drawer_search/objects/whisk/Whisk003/collision/collision_mesh_collision_1.obj
+assets/task_multi_drawer_search/objects/whisk/Whisk003/collision/collision_mesh_collision_2.obj
+assets/task_multi_drawer_search/objects/whisk/Whisk003/collision/collision_mesh_collision_3.obj
+assets/task_multi_drawer_search/objects/whisk/Whisk003/visual/Prop.obj
+assets/task_multi_drawer_search/objects/whisk/Whisk003/visual/T_BC001.png
+assets/task_multi_drawer_search/objects/whisk/Whisk003/visual/Whisk003.obj
+assets/task_multi_drawer_search/objects/wooden_spoon/WoodenSpoon005/collision/collision_mesh_collision_0.obj
+assets/task_multi_drawer_search/objects/wooden_spoon/WoodenSpoon005/visual/T_BC001.png
+assets/task_multi_drawer_search/objects/wooden_spoon/WoodenSpoon005/visual/WoodenSpoon005.obj
+assets/task_nuts_bolts/m20_bolt_watertight.obj
+assets/task_nuts_bolts/m20_nut_watertight.obj
+assets/task_put_relative/objects/bar_soap/bar_soap_3/visual/model_normalized_0.obj
+assets/task_put_relative/objects/boxed_food/boxed_food_2/visual/image0.png
+assets/task_put_relative/objects/boxed_food/boxed_food_2/visual/model_normalized_0.obj
+assets/task_put_relative/objects/can/can_13/visual/image0.png
+assets/task_put_relative/objects/can/can_13/visual/model_normalized_0.obj
+assets/task_put_relative/objects/cereal/cereal_1/visual/image0.png
+assets/task_put_relative/objects/cereal/cereal_1/visual/model_normalized_0.obj
+assets/task_put_relative/objects/cookie_dough_ball/CookieDoughBall008/visual/CookieDoughBall008.obj
+assets/task_put_relative/objects/cookie_dough_ball/CookieDoughBall008/visual/T_BC001.png
+assets/task_put_relative/objects/cupcake/cupcake_6/visual/image0.png
+assets/task_put_relative/objects/cupcake/cupcake_6/visual/model_normalized_0.obj
+assets/task_put_relative/objects/ketchup/ketchup_10/visual/image0.png
+assets/task_put_relative/objects/ketchup/ketchup_10/visual/model_normalized_0.obj
+assets/task_put_relative/objects/marshmallow/Marshmallow002/visual/Marshmallow002.obj
+assets/task_put_relative/objects/marshmallow/Marshmallow002/visual/T_BC001.png
+assets/task_put_relative/objects/mug/mug_0/visual/image0.png
+assets/task_put_relative/objects/mug/mug_0/visual/model_normalized_0.obj
+assets/task_put_relative/objects/mug/mug_0/visual/model_normalized_1.obj
+assets/task_put_relative/objects/orange/orange_0/visual/image0.png
+assets/task_put_relative/objects/orange/orange_0/visual/model_normalized_0.obj
+assets/task_put_relative/objects/soap_dispenser/soap_dispenser_1/visual/image0.png
+assets/task_put_relative/objects/soap_dispenser/soap_dispenser_1/visual/model_normalized_0.obj
+assets/task_put_relative/objects/sponge/sponge_4/visual/image0.png
+assets/task_put_relative/objects/sponge/sponge_4/visual/model_normalized_0.obj
+assets/task_put_relative/objects/water_bottle/water_bottle_12/visual/image0.png
+assets/task_put_relative/objects/water_bottle/water_bottle_12/visual/image3.png
+assets/task_put_relative/objects/water_bottle/water_bottle_12/visual/image6.png
+assets/task_put_relative/objects/water_bottle/water_bottle_12/visual/model_normalized_0.obj
+assets/task_put_relative/objects/water_bottle/water_bottle_12/visual/model_normalized_1.obj
+assets/task_put_relative/objects/water_bottle/water_bottle_12/visual/model_normalized_2.obj
+assets/task_water_bottles/bottle/bottle_2/collision/collision_mesh_collision_0.obj
+assets/task_water_bottles/bottle/bottle_2/collision/collision_mesh_collision_1.obj
+assets/task_water_bottles/bottle/bottle_2/collision/collision_mesh_collision_2.obj
+assets/task_water_bottles/bottle/bottle_2/collision/collision_mesh_collision_3.obj
+assets/task_water_bottles/bottle/bottle_2/collision/collision_mesh_collision_4.obj
+assets/task_water_bottles/bottle/bottle_2/collision/collision_mesh_collision_5.obj
+assets/task_water_bottles/bottle/bottle_2/visual/image0.png
+assets/task_water_bottles/bottle/bottle_2/visual/model_normalized_0.obj
+assets/task_water_bottles/bottle/bottle_2/visual/model_normalized_1.obj
+assets/task_water_bottles/bottle/bottle_2/visual/model_normalized_2.obj
+assets/task_water_bottles/bottle/bottle_2/visual/model_normalized_3.obj
+assets/task_water_bottles/bottle/bottle_7/collision/collision_mesh_collision_0.obj
+assets/task_water_bottles/bottle/bottle_7/collision/collision_mesh_collision_1.obj
+assets/task_water_bottles/bottle/bottle_7/collision/collision_mesh_collision_2.obj
+assets/task_water_bottles/bottle/bottle_7/visual/image0.png
+assets/task_water_bottles/bottle/bottle_7/visual/model_normalized_0.obj
+assets/task_water_bottles/garbage_can/garbage_can_collision_0.obj
+assets/task_water_bottles/garbage_can/garbage_can_collision_10.obj
+assets/task_water_bottles/garbage_can/garbage_can_collision_11.obj
+assets/task_water_bottles/garbage_can/garbage_can_collision_1.obj
+assets/task_water_bottles/garbage_can/garbage_can_collision_2.obj
+assets/task_water_bottles/garbage_can/garbage_can_collision_3.obj
+assets/task_water_bottles/garbage_can/garbage_can_collision_4.obj
+assets/task_water_bottles/garbage_can/garbage_can_collision_5.obj
+assets/task_water_bottles/garbage_can/garbage_can_collision_6.obj
+assets/task_water_bottles/garbage_can/garbage_can_collision_7.obj
+assets/task_water_bottles/garbage_can/garbage_can_collision_8.obj
+assets/task_water_bottles/garbage_can/garbage_can_collision_9.obj
+assets/task_water_bottles/garbage_can/garbage_can_inner.obj
+assets/task_water_bottles/garbage_can/garbage_can.obj
+assets/tray/plastic_tray_collision_0.obj
+assets/tray/plastic_tray_collision_10.obj
+assets/tray/plastic_tray_collision_11.obj
+assets/tray/plastic_tray_collision_12.obj
+assets/tray/plastic_tray_collision_13.obj
+assets/tray/plastic_tray_collision_14.obj
+assets/tray/plastic_tray_collision_15.obj
+assets/tray/plastic_tray_collision_16.obj
+assets/tray/plastic_tray_collision_17.obj
+assets/tray/plastic_tray_collision_18.obj
+assets/tray/plastic_tray_collision_1.obj
+assets/tray/plastic_tray_collision_2.obj
+assets/tray/plastic_tray_collision_3.obj
+assets/tray/plastic_tray_collision_4.obj
+assets/tray/plastic_tray_collision_5.obj
+assets/tray/plastic_tray_collision_6.obj
+assets/tray/plastic_tray_collision_7.obj
+assets/tray/plastic_tray_collision_8.obj
+assets/tray/plastic_tray_collision_9.obj
+assets/tray/plastic_tray.obj
diff --git a/images/abc-sim/requirements.lock b/images/abc-sim/requirements.lock
new file mode 100644
index 0000000000..da76564166
--- /dev/null
+++ b/images/abc-sim/requirements.lock
@@ -0,0 +1,17 @@
+# The closure of `pip install mujoco==3.6.0 numpy==2.4.6 gymnasium==1.4.0 imageio==2.38.1 imageio-ffmpeg==0.6.0
+# pillow==13.0.0` in the base image (Python 3.12.14), resolved 2026-10-21; installed with --no-deps.
+absl-py==2.5.1
+cloudpickle==3.1.2
+etils==1.14.0
+Farama-Notifications==0.0.6
+fsspec==2026.9.0
+glfw==2.11.0
+gymnasium==1.4.0
+ImageIO==2.38.1
+imageio-ffmpeg==0.6.0
+mujoco==3.6.0
+numpy==2.4.6
+pillow==13.0.0
+PyOpenGL==3.1.10
+typing_extensions==4.16.0
+zipp==4.1.1
diff --git a/images/abc-sim/tools/grade.py b/images/abc-sim/tools/grade.py
new file mode 100644
index 0000000000..b467d394a2
--- /dev/null
+++ b/images/abc-sim/tools/grade.py
@@ -0,0 +1,163 @@
+"""Verifier (privileged ABC Sim tasks): replay /app/output/trajectory.npz from the frozen instance and write Harbor's rewards.
+
+ python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz
+
+Two replays, each in its own fresh process, run side by side (`rcb_abc.py replay`: the frozen start, one control step
+per row, the episode ends at the task's success -- the evaluator's success held for 1.02 s; ball tray: the countdown
+completed with the ball on the tray and both handles held -- or at its failure). success = both replays succeed, end in
+the same state, and start from the instance's recorded state hash. Writes /logs/verifier/reward.txt (1/0) and
+reward.json (numbers only); then a third replay renders replay.mp4, after the verdict is on disk (it never changes it).
+
+Whose failure a 0 is (PROTOCOL §4, H.5): a file that is no trajectory for this instance -- unreadable, not (T, 14),
+empty or longer than MAX_ROWS, NaN/inf -- is the agent's (`bad_trajectory`), checked here before any replay. After that
+check a replay process that gives no result (out of time, killed, not started, a failing tool) is the grader's
+(`replay_failed`, `grader_error` and `infra_error` = 1), as is an instance the verifier's host does not rebuild:
+every `grader_error` = 1 has `infra_error` = 1 next to it, and every reward.json carries `infra_error`.
+"""
+
+import argparse
+import json
+import os
+import subprocess
+import sys
+import tempfile
+import traceback
+
+import numpy as np
+
+LOG_DIR = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier")
+TOOL = os.path.join(os.path.dirname(os.path.abspath(__file__)), "rcb_abc.py")
+MAX_ROWS = 20_000 # 680 s of simulated time, 7x the longest reference; the instruction states it
+REPLAY_TIMEOUT_S = 2400 # the slowest scene (chess) replays ~14 control steps/s: MAX_ROWS in ~24 min
+NU = 14
+
+
+def write(ok: bool, out: dict) -> None:
+ out = {**out, "infra_error": int(bool(out.get("grader_error")))} # no grader error here is the agent's doing
+ os.makedirs(LOG_DIR, exist_ok=True)
+ open(os.path.join(LOG_DIR, "reward.txt"), "w").write("1\n" if ok else "0\n")
+ json.dump(out, open(os.path.join(LOG_DIR, "reward.json"), "w"))
+ print(json.dumps(out), flush=True)
+
+
+def agent_cost() -> dict:
+ """Self-reported cost from the tooling's log in the agent's container (accounting, never evidence)."""
+ cost = {"agent_sessions": 0, "agent_resets": 0, "agent_sim_steps": 0, "agent_records": 0, "agent_replays": 0,
+ "agent_cost_self_reported": 1}
+ try:
+ with open("/app/output/rcb_session_log.jsonl", errors="replace") as f:
+ for i, line in enumerate(f):
+ if i > 200_000 or len(line) > 10_000:
+ break
+ try:
+ e = json.loads(line)
+ ev = e.get("ev") if isinstance(e, dict) else None
+ if ev == "session_start":
+ cost["agent_sessions"] += 1
+ elif ev == "reset":
+ cost["agent_resets"] += 1
+ elif ev == "session_end":
+ cost["agent_sim_steps"] += min(int(float(e.get("sim_steps", 0) or 0)), 10**9)
+ elif ev == "record":
+ cost["agent_records"] += 1
+ elif ev == "replay":
+ cost["agent_replays"] += 1
+ except Exception: # noqa: BLE001 -- one bad line must not sink the verdict
+ continue
+ except Exception: # noqa: BLE001 -- the agent's file, any bytes: the cost stays self-reported
+ pass
+ return cost
+
+
+def start_replay(a, traj: str, out: str, video: str | None = None) -> subprocess.Popen:
+ cmd = [sys.executable, TOOL, "replay", "--instance", a.instance, "--traj", traj, "--out", out]
+ if video:
+ cmd += ["--video", video]
+ env = {**os.environ, "RCB_SESSION_LOG": "", "RCB_SESSION_LOG_KEEP": ""} # the verifier's sessions are not the agent's
+ return subprocess.Popen(cmd, env=env, stdout=subprocess.DEVNULL, stderr=sys.stderr)
+
+
+def result(p: subprocess.Popen, out: str, timeout: float) -> dict:
+ try:
+ p.wait(timeout=timeout)
+ with open(out) as f:
+ r = json.load(f)
+ return r if isinstance(r, dict) else {}
+ except subprocess.TimeoutExpired:
+ p.kill()
+ p.wait()
+ print(f"replay ran out of time ({timeout:.0f} s)", file=sys.stderr, flush=True)
+ return {}
+ except (OSError, ValueError):
+ traceback.print_exc(file=sys.stderr)
+ return {}
+
+
+def main() -> int:
+ ap = argparse.ArgumentParser()
+ ap.add_argument("--instance", required=True)
+ ap.add_argument("--traj", default="/app/output/trajectory.npz")
+ ap.add_argument("--no-video", action="store_true")
+ a = ap.parse_args()
+ family = str(np.load(a.instance, allow_pickle=False)["family"])
+ cost = agent_cost()
+ if not os.path.isfile(a.traj):
+ write(False, {"success": 0, "deterministic": 0, "missing_trajectory": 1, "grader_error": 0, **cost})
+ return 0
+ try:
+ d = np.load(a.traj, allow_pickle=False)
+ fam = str(d["family"]) if "family" in d.files else family
+ acts = np.asarray(d["actions"], dtype=np.float64)
+ except Exception: # noqa: BLE001 -- not a readable trajectory: the agent's 0
+ traceback.print_exc(file=sys.stderr)
+ write(False, {"success": 0, "deterministic": 0, "bad_trajectory": 1, "grader_error": 0, **cost})
+ return 0
+ if fam != family:
+ write(False, {"success": 0, "deterministic": 0, "wrong_family": 1, "grader_error": 0, **cost})
+ return 0
+ if acts.ndim != 2 or not 0 < acts.shape[0] <= MAX_ROWS or acts.shape[1] != NU or not np.all(np.isfinite(acts)):
+ write(False, {"success": 0, "deterministic": 0, "bad_trajectory": 1, "grader_error": 0,
+ "n_actions": int(acts.shape[0]) if acts.ndim == 2 else 0, **cost})
+ return 0
+ with tempfile.TemporaryDirectory() as tmp:
+ clean = os.path.join(tmp, "trajectory.npz") # only the rows cross into the replay processes
+ np.savez(clean, actions=acts, family=family)
+ o1, o2 = os.path.join(tmp, "r1.json"), os.path.join(tmp, "r2.json")
+ p1, p2 = start_replay(a, clean, o1), start_replay(a, clean, o2) # two fresh processes, side by side
+ r1, r2 = result(p1, o1, REPLAY_TIMEOUT_S), result(p2, o2, REPLAY_TIMEOUT_S)
+ if not (r1.get("state_sha") and r2.get("state_sha")):
+ # The rows were checked above, so a replay without a result did not run to a verdict (out of time, killed,
+ # not started, the tool failed): no verdict on the agent.
+ write(False, {"success": 0, "deterministic": 0, "replay_failed": 1, "grader_error": 1,
+ "n_actions": int(len(acts)), **cost})
+ return 0
+ for i, r in ((1, r1), (2, r2)): # the record (grade.log): each fresh process's verdict and final-state hash
+ print(f"replay {i}: success={r.get('success')} steps={r.get('steps')} reason={r.get('reason')} "
+ f"state_sha={r.get('state_sha')} instance_ok={r.get('instance_ok')}", file=sys.stderr, flush=True)
+ both = bool(r1.get("success")) and bool(r2.get("success"))
+ deterministic = r1["state_sha"] == r2["state_sha"]
+ instance_ok = bool(r1.get("instance_ok")) and bool(r2.get("instance_ok"))
+ ok = both and deterministic and instance_ok
+ out = {
+ "success": int(ok),
+ "replay_success": int(both),
+ "deterministic": int(deterministic),
+ "instance_ok": int(instance_ok),
+ "n_actions": int(len(acts)),
+ "sim_steps": int(r1.get("steps") or 0),
+ "task_failure": int(bool(r1.get("reason")) and not r1.get("success")),
+ "grader_error": int(not instance_ok),
+ "video_rendered": 0,
+ **cost,
+ }
+ write(ok, out)
+ if not a.no_video: # a human-viewable replay (never affects the verdict)
+ o3 = os.path.join(tmp, "r3.json")
+ r3 = result(start_replay(a, clean, o3, video=os.path.join(LOG_DIR, "replay.mp4")), o3, REPLAY_TIMEOUT_S)
+ out["video_rendered"] = int(bool(r3.get("video")))
+ write(ok, out)
+ return 0
+
+
+if __name__ == "__main__":
+ sys.exit(main())
diff --git a/images/abc-sim/tools/rcb_abc.py b/images/abc-sim/tools/rcb_abc.py
new file mode 100644
index 0000000000..a3888bee97
--- /dev/null
+++ b/images/abc-sim/tools/rcb_abc.py
@@ -0,0 +1,731 @@
+"""
+rcb_abc.py — the tooling of the ABC Sim tasks: `abc_sim` (Apache-2.0) on MuJoCo 3.6.0, two I2RT YAM arms (6 joints and
+a parallel gripper each) at a table. Frozen scene instance / privileged state / joint-position actions / recording /
+fresh-process deterministic replay / rendering / kinematics.
+
+Concepts
+--------
+instance : instance.npz, one frozen scene: the assembled scene XML (every object, its size and pose already chosen),
+ the full initial qpos, and the scene's randomization record (the directive, the targets, the per-task
+ parameters the task's evaluator and runtime read). Session(instance=...) builds the scene from it, and
+ every episode (reset, replay) starts from it. `state_sha` covers the MuJoCo state and the model's numeric
+ arrays; the instance records the sha its scene starts at.
+action : one row per control step, 14 numbers: [left joint1..6 (rad), left gripper, right joint1..6 (rad), right
+ gripper]. The joints are position servos (targets in rad, MuJoCo clamps them to the joint ranges); the
+ gripper is a position servo on the finger opening, 0 = closed, 1 = open (each finger 0.0475 m from closed).
+ One control step = 17 physics steps of 2 ms = 0.034 s.
+episode : starts at the frozen instance; ends in success once the task's evaluator has reported success after
+ HOLD_STEPS consecutive control steps (30 steps = 1.02 s: passing through the goal does not count). Hanging a
+ mug also requires every mug to touch neither the table nor a gripper (hanging from the rack, let go).
+ Ball-tray balancing instead ends in success when the tray's countdown completes with the ball on the tray
+ and both handles held throughout; it fails the moment the ball leaves the tray or a handle is let go during
+ the countdown. MAX_STEPS only stops runaway trajectories. MuJoCo on the CPU is deterministic: the same rows
+ from the same instance give the same final state, bit for bit, in any fresh process.
+
+CLI
+---
+ python rcb_abc.py replay --instance instance.npz --traj trajectory.npz [--repeat N] [--out r.json] [--video replay.mp4]
+ python rcb_abc.py info --instance instance.npz
+
+Python (what the agent gets in privileged mode)
+-----------------------------------------------
+ from rcb_abc import Session
+ s = Session(instance="/app/instance.npz")
+ s.prompt # the task's directive, e.g. "spell abc"
+ s.reset() # back to the frozen instance state (unlimited)
+ s.state() # privileged: robot joints, every object's pose, the evaluator's view, the runtime's
+ s.model, s.data, s.env # MuJoCo model / data and the abc_sim env (read them; only actions are replayed)
+ s.step(a) # one control step (14 numbers); False once the episode is over
+ s.status() # {'success', 'done', 'reason', 'steps', 'resets', 'state_sha', 'info'}
+ snap = s.snapshot(); ...; s.restore(snap) # save / restore a mid-episode state (search, planning); exact
+ s.record_start(); ...; A = s.record_stop(); s.replay(A); s.save_trajectory(A, "/app/output/trajectory.npz")
+ s.render_frame("top"); s.render_depth("top"); s.camera_info("left"); s.render_video(A, "/app/output/check.mp4")
+ s.kinematics({"op": "fk", "q": q14}) ; s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+"""
+from __future__ import annotations
+
+import os
+import subprocess
+import sys
+
+
+def _pick_gl() -> str:
+ """The rendering backend, chosen before MuJoCo loads: EGL on an NVIDIA GPU when it works (5-20 ms a frame), else
+ OSMesa on the CPU (0.2-1 s a frame). RCB_GL / MUJOCO_GL = egl | osmesa forces one; auto probes EGL in a throwaway
+ process (a failed EGL context cannot be undone in this one). Rendering never changes the physics."""
+ want = os.environ.get("RCB_GL") or os.environ.get("MUJOCO_GL") or "auto"
+ if want not in ("egl", "osmesa"):
+ probe = "import mujoco; c = mujoco.GLContext(8, 8); c.make_current(); c.free()"
+ try:
+ ok = subprocess.run([sys.executable, "-c", probe], env={**os.environ, "MUJOCO_GL": "egl",
+ "PYOPENGL_PLATFORM": "egl"}, capture_output=True, timeout=60).returncode == 0
+ except (OSError, subprocess.TimeoutExpired):
+ ok = False
+ want = "egl" if ok else "osmesa"
+ os.environ["MUJOCO_GL"] = want
+ os.environ["PYOPENGL_PLATFORM"] = want
+ return want
+
+
+GL = _pick_gl()
+
+import argparse # noqa: E402
+import copy # noqa: E402
+import hashlib # noqa: E402
+import json # noqa: E402
+import math # noqa: E402
+import time # noqa: E402
+from pathlib import Path # noqa: E402
+from typing import Any # noqa: E402
+
+import mujoco # noqa: E402
+import numpy as np # noqa: E402
+
+sys.path.insert(0, os.environ.get("ABC_SIM_ROOT", "/opt/abc"))
+
+MAX_STEPS = 10_000_000 # runaway guard only; the wall clock is the budget
+HOLD_STEPS = 30 # the evaluator's success must hold this many consecutive control steps (1.02 s)
+TRAY_GRACE_S = 0.1 # ball tray: both handles count as held when both were touched this recently (the runtime's)
+CONTROL_DT = 0.034 # 17 physics steps of 2 ms (abc_sim's control_decimation)
+GRIPPER_M = 0.0475 # the gripper command 1.0 = each finger 0.0475 m from closed
+SIDES = ("left", "right")
+ARM_JOINTS = [f"{s}_joint{i}" for s in SIDES for i in range(1, 7)]
+ACTION_LAYOUT = [*(f"left_joint{i}" for i in range(1, 7)), "left_gripper", *(f"right_joint{i}" for i in range(1, 7)),
+ "right_gripper"]
+CAMERAS = ("top", "left", "right", "overhead", "left_side", "right_side")
+DEFAULT_CAMERAS = ("top", "left", "right")
+_MODEL_SKIP = ("mesh_", "tex_", "hfield_", "skin_", "name_", "names", "paths", "text_", "flex_", "bvh_", "oct_", "plugin")
+
+SESSION_LOG = os.environ.get("RCB_SESSION_LOG", "/app/output/rcb_session_log.jsonl")
+SESSION_LOG_KEEP = os.environ.get("RCB_SESSION_LOG_KEEP", "/logs/agent/rcb_session_log.jsonl")
+
+
+def _slog(ev: str, **kw) -> None:
+ if not SESSION_LOG:
+ return
+ line = json.dumps({"ts": time.time(), "pid": os.getpid(), "ev": ev, **kw}) + "\n"
+ for path, must_exist in ((SESSION_LOG, False), (SESSION_LOG_KEEP, True)):
+ if not path or (must_exist and not os.path.isdir(os.path.dirname(path))):
+ continue
+ try:
+ os.makedirs(os.path.dirname(path), exist_ok=True)
+ with open(path, "a") as f:
+ f.write(line)
+ except OSError:
+ pass
+
+
+def _log(*a: Any) -> None:
+ print("[rcb_abc]", *a, file=sys.stderr, flush=True)
+
+
+class PrimitiveError(RuntimeError):
+ pass
+
+
+def _jsonable(v: Any) -> Any:
+ if isinstance(v, np.ndarray):
+ return _jsonable(v.tolist())
+ if isinstance(v, (np.floating, float)):
+ return round(float(v), 6) if math.isfinite(float(v)) else None
+ if isinstance(v, np.integer):
+ return int(v)
+ if isinstance(v, np.bool_):
+ return bool(v)
+ if isinstance(v, (list, tuple)):
+ return [_jsonable(x) for x in v]
+ if isinstance(v, dict):
+ return {str(k): _jsonable(x) for k, x in v.items()}
+ return v
+
+
+def _model_arrays(model) -> dict[str, np.ndarray]:
+ out = {}
+ for k in dir(model):
+ if k.startswith("_") or k.startswith(_MODEL_SKIP):
+ continue
+ try:
+ v = getattr(model, k)
+ except Exception: # noqa: BLE001
+ continue
+ if isinstance(v, np.ndarray) and v.dtype.kind in "fiub" and v.size:
+ out[k] = v
+ return out
+
+
+def load_instance(path: str | Path) -> dict[str, Any]:
+ d = np.load(path, allow_pickle=False)
+ return {"family": str(d["family"]), "task": str(d["task"]), "scene_xml": str(d["scene_xml"]),
+ "qpos0": np.asarray(d["qpos0"], dtype=np.float64), "randomization": json.loads(str(d["randomization"])),
+ "rule": str(d["rule"]), "sha": str(d["sha"]), "meta": json.loads(str(d["meta"]))}
+
+
+def build_env(task: str, scene_xml: str):
+ """The abc_sim env of catalogue task `task` on the scene `scene_xml` (no randomizer: the scene is the instance's).
+ The same construction for every task: the env on its default scene, then the instance's scene in its place (the
+ path abc_sim takes for its model-swapping tasks), then the task's evaluator and runtime on that model."""
+ from abc_sim.config import get_i2rt_sim_config
+ from abc_sim.env import MuJoCoYAMEnv
+ from abc_sim.task_registry import get_task_physics_defaults, resolve_task
+
+ rt = resolve_task(task)
+ env_task = rt.env_task or task
+ prompt = rt.task_spec.prompt if rt.task_spec is not None else task.replace("_", " ")
+ env = MuJoCoYAMEnv(config=get_i2rt_sim_config(), render_cameras=False, prompt=prompt, scene_xml=None,
+ **get_task_physics_defaults(env_task), max_episode_steps=None, terminate_on_success=False)
+ env.reload_from_xml(scene_xml)
+ env.set_task(task)
+ env._task_randomizer = None
+ return env
+
+
+def _subtree_geoms(model, roots: list[str]) -> set[int]:
+ ids = {model.body(r).id for r in roots if mujoco.mj_name2id(model, mujoco.mjtObj.mjOBJ_BODY, r) >= 0}
+ out = set()
+ for g in range(model.ngeom):
+ b = int(model.geom_bodyid[g])
+ while b > 0 and b not in ids:
+ b = int(model.body_parentid[b])
+ if b in ids:
+ out.add(g)
+ return out
+
+
+def _touching(data, a: set[int], b: set[int]) -> bool:
+ for i in range(data.ncon):
+ c = data.contact[i]
+ g1, g2 = int(c.geom1), int(c.geom2)
+ if (g1 in a and g2 in b) or (g2 in a and g1 in b):
+ return True
+ return False
+
+
+class Session:
+ """One abc_sim scene on a frozen instance. Every episode starts from the instance."""
+
+ def __init__(self, instance: str | Path = "/app/instance.npz", *, max_steps: int = MAX_STEPS,
+ image_size: tuple[int, int] = (480, 640)):
+ from abc_sim.randomization.core import RandomizationState
+
+ self.inst = load_instance(instance)
+ self.family, self.task, self.rule = self.inst["family"], self.inst["task"], self.inst["rule"]
+ self.instance_sha = self.inst["sha"]
+ self.max_steps = int(max_steps)
+ self.env = build_env(self.task, self.inst["scene_xml"])
+ self.model, self.data = self.env.model, self.env.data
+ self.nu = 14
+ self.dt = CONTROL_DT
+ assert abs(self.model.opt.timestep * self.env._control_decimation - CONTROL_DT) < 1e-12
+ if self.inst["qpos0"].shape != (self.model.nq,):
+ raise ValueError(f"instance qpos has {self.inst['qpos0'].shape}, the scene nq = {self.model.nq}")
+ self._rstate = RandomizationState.from_dict(self.inst["randomization"])
+ self._renderers: dict[tuple[int, int], Any] = {}
+ self._rec: list[np.ndarray] | None = None
+ self.resets = 0
+ self._total_steps = 0
+ self._qadr = np.array([int(self.model.jnt_qposadr[self.model.joint(j).id]) for j in ARM_JOINTS[:6]]
+ + [int(self.model.jnt_qposadr[self.model.joint("left_left_finger").id])]
+ + [int(self.model.jnt_qposadr[self.model.joint(j).id]) for j in ARM_JOINTS[6:]]
+ + [int(self.model.jnt_qposadr[self.model.joint("right_left_finger").id])])
+ self._vadr = np.array([int(self.model.jnt_dofadr[self.model.joint(j).id]) for j in ARM_JOINTS[:6]]
+ + [int(self.model.jnt_dofadr[self.model.joint("left_left_finger").id])]
+ + [int(self.model.jnt_dofadr[self.model.joint(j).id]) for j in ARM_JOINTS[6:]]
+ + [int(self.model.jnt_dofadr[self.model.joint("right_left_finger").id])])
+ self._fingers = _subtree_geoms(self.model, [f"{a}_link_{b}_finger" for a in SIDES for b in SIDES])
+ self._mugs = {b: _subtree_geoms(self.model, [b]) for b in self.objects() if self.family == "hang_mug"
+ and b.startswith("mug_") and b != "mug_tree"}
+ self._table = {self.model.geom("table_plane").id} if self.family == "hang_mug" else set()
+ self._episode_reset()
+ self.instance_exact = self.state_sha() == self.instance_sha
+ if not self.instance_exact:
+ _log(f"WARNING: the scene starts at {self.state_sha()}, the frozen instance records {self.instance_sha}")
+ _slog("session_start", family=self.family)
+ import atexit
+ atexit.register(lambda: _slog("session_end", family=self.family, resets=self.resets,
+ sim_steps=self._total_steps + self.steps))
+
+ # ------------------------------------------------------------------ episode
+ def _episode_reset(self) -> None:
+ """The instance's start, in env.reset()'s order: clean data, the frozen qpos at rest, then the runtime and the
+ evaluator configured from the instance's randomization record."""
+ env, st = self.env, self._rstate
+ env.reset(seed=0, randomize=False)
+ mujoco.mj_resetData(self.model, self.data)
+ self.data.qpos[:] = self.inst["qpos0"]
+ self.data.qvel[:] = 0.0
+ env._last_randomization = st
+ if st.metadata.get("prompt") is not None:
+ env.prompt = str(st.metadata["prompt"])
+ if env._task_runtime is not None:
+ env._task_runtime.after_reset(self.model, self.data, randomization=st)
+ env._sync_prompt_from_task_runtime()
+ ev = env._task_evaluator
+ if ev is not None:
+ ev.reset(nworld=1)
+ if hasattr(ev, "configure_from_randomization"):
+ ev.configure_from_randomization(self.model, st)
+ for hook, key in (("set_active_trash_joints", "trash_joints"),
+ ("set_active_object_joints", "active_object_joints")):
+ if hasattr(ev, hook) and st.metadata.get(key) is not None:
+ getattr(ev, hook)(st.metadata[key])
+ env.cur_step = 0
+ mujoco.mj_forward(self.model, self.data)
+ self.steps = 0
+ self.done = False
+ self.success = False
+ self.reason: str | None = None
+ self.success_run = 0
+ self.last_info: dict[str, Any] = {}
+
+ def reset(self) -> None:
+ """Back to the frozen instance state (unlimited). Starts a new episode."""
+ _slog("reset", family=self.family, n=self.resets + 1, sim_steps_before=self.steps)
+ self._total_steps += self.steps
+ self._episode_reset()
+ self.resets += 1
+
+ @property
+ def prompt(self) -> str:
+ return str(self.env.prompt)
+
+ def step(self, action) -> bool:
+ """One control step (14 numbers, ACTION_LAYOUT). True while the episode runs."""
+ a = np.asarray(action, dtype=np.float64).reshape(-1)
+ if a.shape != (self.nu,):
+ raise ValueError(f"action must have {self.nu} numbers (ACTION_LAYOUT), got {a.shape}")
+ if not np.all(np.isfinite(a)):
+ raise ValueError("action contains NaN or inf")
+ if self.done:
+ raise PrimitiveError(f"episode is over ({self.reason}); call reset()")
+ if self.steps >= self.max_steps:
+ raise PrimitiveError(f"runaway guard: {self.max_steps} steps")
+ _, reward, _, _, info = self.env.step(a, render_obs=False)
+ self.steps += 1
+ if self._rec is not None:
+ self._rec.append(a.copy())
+ ok = bool(info.get("task_success", False))
+ self.last_info = {"task_success": ok, "task_reward": _jsonable(info.get("task_reward", 0.0))}
+ if self.rule == "tray":
+ rt = self.env._task_runtime
+ rs = self.env.task_runtime_debug_state() or {}
+ last = getattr(rt, "_last_both_handles_contact_at_s", None)
+ held = last is not None and float(self.data.time) - float(last) <= TRAY_GRACE_S + 1e-9
+ self.last_info.update(state=rs.get("state"), handles_held=held)
+ if not ok:
+ self.done, self.reason = True, "failure: the ball left the tray"
+ elif getattr(rt, "_started_at_s", None) is not None and not held:
+ self.done, self.reason = True, "failure: a handle was let go during the countdown"
+ elif bool(rs.get("complete")):
+ self.done, self.success, self.reason = True, True, "success"
+ return not self.done
+ if ok and self._mugs:
+ ok = self.hanging()
+ self.last_info["hanging"] = ok
+ self.success_run = self.success_run + 1 if ok else 0
+ self.last_info["success_run"] = self.success_run
+ if self.success_run >= HOLD_STEPS:
+ self.done, self.success, self.reason = True, True, "success"
+ return not self.done
+
+ def hanging(self) -> bool:
+ """Hang a mug: no mug touches the table or a gripper finger (it hangs from the rack, let go)."""
+ for g in self._mugs.values():
+ if _touching(self.data, g, self._table | self._fingers):
+ return False
+ return True
+
+ def status(self) -> dict[str, Any]:
+ return {"success": bool(self.success), "done": bool(self.done), "reason": self.reason, "steps": int(self.steps),
+ "resets": int(self.resets), "state_sha": self.state_sha(), "rule": self.rule,
+ "success_run": int(self.success_run), "hold_steps": HOLD_STEPS, "info": self.last_info}
+
+ # ------------------------------------------------------------------ state
+ def _integration_state(self) -> np.ndarray:
+ sig = mujoco.mjtState.mjSTATE_INTEGRATION
+ s = np.empty(mujoco.mj_stateSize(self.model, sig))
+ mujoco.mj_getState(self.model, self.data, s, sig)
+ return s
+
+ def state_sha(self) -> str:
+ h = hashlib.sha1(self._integration_state().tobytes())
+ for k, v in sorted(_model_arrays(self.model).items()):
+ h.update(k.encode())
+ h.update(np.ascontiguousarray(v).tobytes())
+ return h.hexdigest()[:16]
+
+ def snapshot(self) -> dict[str, Any]:
+ """The exact mid-episode state (MuJoCo's integration state and the task's Python-side state: the evaluator's
+ latches, the runtime's countdown or target sequence, its random generator). restore() continues bit for bit."""
+ e = self.env
+ return {"physics": self._integration_state(), "runtime": copy.deepcopy(e._task_runtime),
+ "evaluator": copy.deepcopy(e._task_evaluator), "prompt": e.prompt, "cur_step": e.cur_step,
+ "steps": self.steps, "done": self.done, "success": self.success, "reason": self.reason,
+ "success_run": self.success_run, "last_info": copy.deepcopy(self.last_info)}
+
+ def restore(self, snap: dict[str, Any]) -> None:
+ e = self.env
+ mujoco.mj_setState(self.model, self.data, snap["physics"], mujoco.mjtState.mjSTATE_INTEGRATION)
+ e._task_runtime = copy.deepcopy(snap["runtime"])
+ e._task_evaluator = copy.deepcopy(snap["evaluator"])
+ e.prompt, e.cur_step = snap["prompt"], snap["cur_step"]
+ self.steps, self.done, self.success, self.reason = snap["steps"], snap["done"], snap["success"], snap["reason"]
+ self.success_run = snap["success_run"]
+ self.last_info = copy.deepcopy(snap["last_info"])
+ mujoco.mj_forward(self.model, self.data)
+
+ def robot_q(self) -> np.ndarray:
+ """The 14 action-space coordinates of the robot now: joint angles (rad) and gripper openings (0 closed .. 1 open)."""
+ q = self.data.qpos[self._qadr].astype(np.float64).copy()
+ q[[6, 13]] /= GRIPPER_M
+ return q
+
+ def robot_qd(self) -> np.ndarray:
+ v = self.data.qvel[self._vadr].astype(np.float64).copy()
+ v[[6, 13]] /= GRIPPER_M
+ return v
+
+ def site_pose(self, name: str) -> list[float]:
+ i = self.model.site(name).id
+ quat = np.zeros(4)
+ mujoco.mju_mat2Quat(quat, self.data.site_xmat[i])
+ return [*self.data.site_xpos[i].tolist(), *quat.tolist()]
+
+ def objects(self) -> dict[str, list[float]]:
+ """Every free-moving body (objects, tools, the ball ...): its pose, [x, y, z, qw, qx, qy, qz] in the world frame."""
+ out = {}
+ for j in range(self.model.njnt):
+ if int(self.model.jnt_type[j]) == 0:
+ a = int(self.model.jnt_qposadr[j])
+ out[self.model.body(int(self.model.jnt_bodyid[j])).name] = self.data.qpos[a:a + 7].round(6).tolist()
+ return out
+
+ def evaluate(self) -> dict[str, Any]:
+ """The task evaluator's view of the current state (reward, success and its metrics)."""
+ r = self.env.evaluate_task()
+ return {} if r is None else _jsonable(r.to_info(squeeze=True))
+
+ def state(self) -> dict[str, Any]:
+ """Privileged: the directive, the robot, every free body's pose, the evaluator's and the runtime's view."""
+ return {"prompt": self.prompt, "robot_q": self.robot_q().round(6).tolist(),
+ "tcp": {s: self.site_pose(f"{s}_tcp_site") for s in SIDES},
+ "grasp_site": {s: self.site_pose(f"{s}_grasp_site") for s in SIDES},
+ "objects": self.objects(), "evaluator": self.evaluate(),
+ "runtime": _jsonable(self.env.task_runtime_debug_state() or {}),
+ "randomization": _jsonable(self._rstate.metadata)}
+
+ def action_limits(self) -> dict[str, list[float]]:
+ lo, hi = self.model.actuator_ctrlrange[:14, 0].copy(), self.model.actuator_ctrlrange[:14, 1].copy()
+ lo[[6, 13]] /= GRIPPER_M
+ hi[[6, 13]] /= GRIPPER_M
+ return {"low": lo.tolist(), "high": hi.tolist()}
+
+ def hold_action(self) -> np.ndarray:
+ """The row that holds the robot where it is now (its current joint angles and gripper openings)."""
+ return self.robot_q()
+
+ # ------------------------------------------------------------------ recording / replay
+ def record_start(self) -> None:
+ self._rec = []
+
+ def record_stop(self) -> np.ndarray:
+ rec, self._rec = self._rec or [], None
+ _slog("record", family=self.family, n_actions=len(rec), success=bool(self.success))
+ return np.asarray(rec, dtype=np.float64).reshape(-1, self.nu)
+
+ def save_trajectory(self, actions, path: str | Path, meta: dict | None = None) -> None:
+ A = np.asarray(actions, dtype=np.float64)
+ if A.ndim != 2 or A.shape[1] != self.nu:
+ raise ValueError(f"trajectory must be (T, {self.nu}), got {A.shape}")
+ os.makedirs(os.path.dirname(os.path.abspath(path)), exist_ok=True)
+ np.savez(path, actions=A, family=self.family, instance_sha=self.instance_sha, meta=json.dumps(meta or {}))
+
+ def replay(self, actions) -> dict[str, Any]:
+ """Reset to the instance and replay open loop until the episode ends or the rows run out."""
+ A = np.asarray(actions, dtype=np.float64)
+ self.reset()
+ n = 0
+ for row in A:
+ n += 1
+ if not self.step(row):
+ break
+ st = self.status()
+ st["replayed_rows"], st["rows"] = n, int(len(A))
+ _slog("replay", family=self.family, n_actions=int(len(A)), success=st["success"])
+ return st
+
+ # ------------------------------------------------------------------ cameras
+ def cameras(self) -> list[str]:
+ return [mujoco.mj_id2name(self.model, mujoco.mjtObj.mjOBJ_CAMERA, i) for i in range(self.model.ncam)]
+
+ def _renderer(self, h: int, w: int):
+ r = self._renderers.get((h, w))
+ if r is None:
+ if GL == "osmesa": # a second OSMesa context next to a live one reads garbage
+ for old in self._renderers.values():
+ old.close()
+ self._renderers.clear()
+ self.model.vis.global_.offheight = max(self.model.vis.global_.offheight, h)
+ self.model.vis.global_.offwidth = max(self.model.vis.global_.offwidth, w)
+ r = self._renderers[(h, w)] = mujoco.Renderer(self.model, height=h, width=w)
+ return r
+
+ def render_frame(self, camera: str = "top", size: tuple[int, int] = (480, 640)) -> np.ndarray:
+ """RGB uint8 (H, W, 3) from a camera of the scene."""
+ r = self._renderer(*size)
+ r.update_scene(self.data, camera=camera)
+ return r.render().copy()
+
+ def render_depth(self, camera: str = "top", size: tuple[int, int] = (480, 640)) -> np.ndarray:
+ """z-depth float32 (H, W) in metres from a camera of the scene."""
+ r = self._renderer(*size)
+ r.enable_depth_rendering()
+ try:
+ r.update_scene(self.data, camera=camera)
+ return r.render().astype(np.float32).copy()
+ finally:
+ r.disable_depth_rendering()
+
+ def camera_info(self, camera: str, size: tuple[int, int] = (480, 640)) -> dict[str, Any]:
+ """The camera's intrinsics (OpenCV), world -> camera (OpenCV axes) and camera -> world (OpenGL axes) now."""
+ h, w = size
+ i = self.model.camera(camera).id
+ f = 0.5 * h / math.tan(math.radians(float(self.model.cam_fovy[i])) / 2)
+ c2w = np.eye(4)
+ c2w[:3, :3] = self.data.cam_xmat[i].reshape(3, 3)
+ c2w[:3, 3] = self.data.cam_xpos[i]
+ ext = np.linalg.inv(c2w @ np.diag([1.0, -1.0, -1.0, 1.0]))[:3, :]
+ return {"intrinsic_cv": [[f, 0.0, w / 2], [0.0, f, h / 2], [0.0, 0.0, 1.0]], "extrinsic_cv": ext.tolist(),
+ "cam2world_gl": c2w.tolist(), "image_size": [w, h]}
+
+ def render_video(self, actions, path: str | Path, *, cameras: list[str] | None = None, every: int = 1,
+ fps: float = 1 / CONTROL_DT, size: tuple[int, int] = (240, 320)) -> dict[str, Any]:
+ import imageio.v2 as imageio
+ A = np.asarray(actions, dtype=np.float64)
+ self.reset()
+ cams = list(cameras or DEFAULT_CAMERAS)
+ w = imageio.get_writer(str(path), fps=fps / max(1, every), codec="libx264", quality=7, macro_block_size=8)
+ try:
+ w.append_data(np.concatenate([self.render_frame(c, size) for c in cams], axis=1))
+ for i, row in enumerate(A):
+ running = self.step(row)
+ if i % every == 0 or not running or i == len(A) - 1:
+ w.append_data(np.concatenate([self.render_frame(c, size) for c in cams], axis=1))
+ if not running:
+ break
+ finally:
+ w.close()
+ return self.status()
+
+ # ------------------------------------------------------------------ kinematics
+ def kinematics(self, req: dict) -> dict[str, Any]:
+ """The robot's kinematic model, stateless (it never touches the episode): fk of links / tool frames for 14
+ action-space coordinates q, or ik for tool-frame targets (see Kinematics)."""
+ if self._kin is None:
+ self._kin = Kinematics(self.model, self.data)
+ return self._kin.answer(req, self.robot_q())
+
+ _kin = None
+
+ def close(self) -> None:
+ for r in self._renderers.values():
+ try:
+ r.close()
+ except Exception: # noqa: BLE001
+ pass
+ self._renderers.clear()
+
+
+class Kinematics:
+ """FK / IK on a private copy of the model's data (never stepped). Frames: the tool centre points `left_tcp` /
+ `right_tcp` (the `<side>_tcp_site`), the grasp points `left_grasp` / `right_grasp` (`<side>_grasp_site`, between the
+ finger pads), and the arm links. IK solves each requested frame with its own arm's six joints (damped least
+ squares, several starts, within the joint ranges): position, and orientation when the target has a quaternion."""
+
+ FRAMES = {f"{s}_{k}": f"{s}_{k}_site" for s in SIDES for k in ("tcp", "grasp")}
+
+ def __init__(self, model, data):
+ self.m = model
+ self.d = mujoco.MjData(model)
+ self.d.qpos[:] = data.qpos
+ self.links = [f"{s}_link_{i}" for s in SIDES for i in range(1, 7)] + [f"{s}_camera_frame" for s in SIDES]
+ self.jq = {s: np.array([int(model.jnt_qposadr[model.joint(f"{s}_joint{i}").id]) for i in range(1, 7)]) for s in SIDES}
+ self.jv = {s: np.array([int(model.jnt_dofadr[model.joint(f"{s}_joint{i}").id]) for i in range(1, 7)]) for s in SIDES}
+ self.lo = {s: model.jnt_range[[model.joint(f"{s}_joint{i}").id for i in range(1, 7)], 0].copy() for s in SIDES}
+ self.hi = {s: model.jnt_range[[model.joint(f"{s}_joint{i}").id for i in range(1, 7)], 1].copy() for s in SIDES}
+ self.fq = {s: (int(model.jnt_qposadr[model.joint(f"{s}_left_finger").id]),
+ int(model.jnt_qposadr[model.joint(f"{s}_right_finger").id])) for s in SIDES}
+
+ def _set(self, q14) -> None:
+ q = np.asarray(q14, dtype=np.float64).reshape(-1)
+ if q.shape != (14,):
+ raise ValueError("q must have 14 numbers (the action layout)")
+ for k, s in enumerate(SIDES):
+ self.d.qpos[self.jq[s]] = q[7 * k:7 * k + 6]
+ g = q[7 * k + 6] * GRIPPER_M
+ self.d.qpos[self.fq[s][0]], self.d.qpos[self.fq[s][1]] = g, -g
+ mujoco.mj_kinematics(self.m, self.d)
+ mujoco.mj_comPos(self.m, self.d)
+
+ def _pose(self, name: str) -> list[float]:
+ quat = np.zeros(4)
+ if name in self.FRAMES:
+ i = self.m.site(self.FRAMES[name]).id
+ mujoco.mju_mat2Quat(quat, self.d.site_xmat[i])
+ return [*self.d.site_xpos[i].tolist(), *quat.tolist()]
+ b = self.m.body(name).id
+ return [*self.d.xpos[b].tolist(), *self.d.xquat[b].tolist()]
+
+ def answer(self, req: dict, q_now: np.ndarray) -> dict[str, Any]:
+ op = req.get("op")
+ if op == "fk":
+ self._set(req["q"])
+ names = req.get("links") or [*self.FRAMES, *self.links]
+ bad = [n for n in names if n not in self.FRAMES and n not in self.links]
+ if bad:
+ raise ValueError(f"unknown links {bad}; links: {[*self.FRAMES, *self.links]}")
+ return {"ok": True, "op": "fk", "frame": "world", "poses": {n: self._pose(n) for n in names}}
+ if op != "ik":
+ raise ValueError("op must be fk or ik")
+ targets = req.get("targets") or {}
+ if not targets or any(k not in self.FRAMES for k in targets):
+ raise ValueError(f"targets: a dict of frames {list(self.FRAMES)} -> [x, y, z] or [x, y, z, qw, qx, qy, qz]")
+ seed = np.asarray(req["seed"], dtype=np.float64) if req.get("seed") is not None else np.asarray(q_now, float)
+ tol_p, tol_r = float(req.get("tol_pos_m", 0.002)), float(req.get("tol_rot_rad", 0.02))
+ iters = int(req.get("max_iters", 300))
+ q, errors = seed.copy(), {}
+ for side in SIDES: # each arm solves all of its frames at once, with its own six joints
+ tg = {f: np.asarray(v, dtype=np.float64) for f, v in targets.items() if f.startswith(side + "_")}
+ if not tg:
+ continue
+ k = 7 * SIDES.index(side)
+ rng = np.random.default_rng(0)
+ starts = [q[k:k + 6].copy()] + [rng.uniform(self.lo[side], self.hi[side])
+ for _ in range(int(req.get("restarts", 8)))]
+ best = None
+ for q6 in starts:
+ q6, errs = self._ik_arm(side, tg, q6, q, iters, tol_p, tol_r)
+ score = max(e[0] + 0.1 * e[1] for e in errs.values())
+ if best is None or score < best[2]:
+ best = (q6, errs, score)
+ if all(e[0] <= tol_p and e[1] <= tol_r for e in errs.values()):
+ break
+ q[k:k + 6] = best[0]
+ errors.update({f: {"pos_m": float(e[0]), "rot_rad": float(e[1])} for f, e in best[1].items()})
+ ok = all(e["pos_m"] <= tol_p and e["rot_rad"] <= tol_r for e in errors.values())
+ return {"ok": bool(ok), "op": "ik", "frame": "world", "q": q.tolist(), "error": errors,
+ "note": "each arm solves its frames with its own six joints within their ranges; no collision check"}
+
+ def _frame_err(self, frame: str, tgt: np.ndarray):
+ """Position error (world) and, for a 7-number target, the rotation error as a world-frame rotation vector."""
+ i = self.m.site(self.FRAMES[frame]).id
+ ep = tgt[:3] - self.d.site_xpos[i]
+ if tgt.size != 7:
+ return ep, None
+ cur = np.zeros(4)
+ mujoco.mju_mat2Quat(cur, self.d.site_xmat[i])
+ tq = tgt[3:] / np.linalg.norm(tgt[3:])
+ qe = np.zeros(4)
+ mujoco.mju_mulQuat(qe, tq, np.array([cur[0], -cur[1], -cur[2], -cur[3]]))
+ if qe[0] < 0:
+ qe = -qe
+ er = np.zeros(3)
+ mujoco.mju_quat2Vel(er, qe, 1.0)
+ return ep, er
+
+ def _ik_arm(self, side, tg: dict, q6, q14, iters, tol_p, tol_r):
+ jp, jr = np.zeros((3, self.m.nv)), np.zeros((3, self.m.nv))
+ q = np.asarray(q14, float).copy()
+ k = 7 * SIDES.index(side)
+ lam = 1e-3
+ for _ in range(iters):
+ q[k:k + 6] = q6
+ self._set(q)
+ rows, jac, done = [], [], True
+ for f, t in tg.items():
+ ep, er = self._frame_err(f, t)
+ mujoco.mj_jacSite(self.m, self.d, jp, jr, self.m.site(self.FRAMES[f]).id)
+ rows.append(ep)
+ jac.append(jp[:, self.jv[side]].copy())
+ done = done and np.linalg.norm(ep) <= tol_p
+ if er is not None:
+ rows.append(er)
+ jac.append(jr[:, self.jv[side]].copy())
+ done = done and np.linalg.norm(er) <= tol_r
+ if done:
+ break
+ e, J = np.concatenate(rows), np.vstack(jac)
+ dq = J.T @ np.linalg.solve(J @ J.T + lam * np.eye(J.shape[0]), e)
+ n = np.linalg.norm(dq)
+ if n > 0.3:
+ dq *= 0.3 / n
+ q6 = np.clip(q6 + dq, self.lo[side], self.hi[side])
+ q[k:k + 6] = q6
+ self._set(q)
+ errs = {}
+ for f, t in tg.items():
+ ep, er = self._frame_err(f, t)
+ errs[f] = (float(np.linalg.norm(ep)), 0.0 if er is None else float(np.linalg.norm(er)))
+ return q6, errs
+
+
+# ------------------------------------------------------------------ CLI
+def _load_traj(path: str) -> np.ndarray:
+ return np.asarray(np.load(path, allow_pickle=False)["actions"], dtype=np.float64)
+
+
+def cmd_replay(a) -> None:
+ """Replay a trajectory from the frozen instance, `--repeat` times in this process (the graders run it once per fresh
+ process); prints, and with --out writes, the result as JSON. --video renders the first replay (after the verdict)."""
+ A = _load_traj(a.traj)
+ runs, instance_ok = [], True
+ for _ in range(a.repeat):
+ s = Session(instance=a.instance)
+ instance_ok = instance_ok and bool(s.instance_exact)
+ st = s.replay(A)
+ runs.append({k: st[k] for k in ("success", "reason", "steps", "state_sha", "replayed_rows", "rows")})
+ s.close()
+ out = {"n_actions": int(len(A)), "replays": runs, "success": all(r["success"] for r in runs),
+ "state_sha": runs[0]["state_sha"] if runs else None, "steps": runs[0]["steps"] if runs else 0,
+ "reason": runs[0]["reason"] if runs else None, "instance_ok": instance_ok,
+ "deterministic": len({r["state_sha"] for r in runs}) == 1, "video": False}
+ if a.out:
+ with open(a.out, "w") as f:
+ json.dump(out, f)
+ if a.video:
+ try:
+ s = Session(instance=a.instance)
+ s.render_video(A, a.video, every=max(1, -(-len(A) // 1500)))
+ out["video"] = os.path.isfile(a.video)
+ s.close()
+ except Exception as exc: # noqa: BLE001 -- the video never changes the verdict
+ _log("video failed:", repr(exc))
+ if a.out:
+ with open(a.out, "w") as f:
+ json.dump(out, f)
+ print(json.dumps(out))
+
+
+def cmd_info(a) -> None:
+ s = Session(instance=a.instance)
+ print(json.dumps({"family": s.family, "task": s.task, "prompt": s.prompt, "rule": s.rule, "gl": GL,
+ "instance_sha": s.instance_sha, "state_sha": s.state_sha(), "instance_exact": s.instance_exact,
+ "cameras": s.cameras(), "nq": int(s.model.nq), "objects": sorted(s.objects())}))
+
+
+def main() -> None:
+ ap = argparse.ArgumentParser(description=__doc__.split("\n\n")[0])
+ sub = ap.add_subparsers(dest="cmd", required=True)
+ r = sub.add_parser("replay")
+ r.add_argument("--instance", required=True)
+ r.add_argument("--traj", required=True)
+ r.add_argument("--repeat", type=int, default=1)
+ r.add_argument("--video")
+ r.add_argument("--out", help="write the result JSON here")
+ i = sub.add_parser("info")
+ i.add_argument("--instance", required=True)
+ a = ap.parse_args()
+ {"replay": cmd_replay, "info": cmd_info}[a.cmd](a)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/images/abc-sim/tools/realtime/rcb_service.py b/images/abc-sim/tools/realtime/rcb_service.py
new file mode 100644
index 0000000000..33a70a7439
--- /dev/null
+++ b/images/abc-sim/tools/realtime/rcb_service.py
@@ -0,0 +1,1070 @@
+"""eai-standard/2.1 sim service: the simulator-agnostic half of a standard-mode sidecar (docs/protocol/README.md §4,
+docs/protocol/standard_mode.md).
+
+The robot as a service: the agent reaches a simulator it cannot open over HTTP. GET /spec, GET /status, POST /observe
+and POST /submit; POST /reset exists only when the run grants resets (budget.reset > 0); everything else is 404.
+Responses that carry data are RCB1 frames (rcb1.py), never base64. Everything simulator-specific comes in through an
+adapter (the `Sim` contract below), so this file imports no simulator: a sidecar is its benchmark's adapter plus this.
+
+One thread does all of it -- the HTTP requests, the SIGUSR1 wrap-up, the finalize -- because a simulator's GL context
+belongs to the thread that made it (MuJoCo renders black frames from any other).
+
+The episode starts when the service is ready. It ends on success, by the task's own rule ("failed": the robot fell,
+the episode's control steps ran out), on a simulator error ("error"), or at SIGUSR1 ("timeout": the collect hook, once
+the agent's container is gone). With a reset budget, POST /reset abandons the running episode and starts another from
+the frozen instance; only the last episode is graded, and a success ends the trial.
+
+A request is checked in full before anything runs: whatever is wrong with it is a 400 and nothing ran. Once it runs,
+any failure is the simulator's: a 500, and the episode ends ("error").
+
+Evidence under DATA, never visible to the agent:
+ episode.jsonl one line per event; every state the service may resume from is a checkpoint (it carries
+ state_sha and journal_rows)
+ trajectory_live.f64 the journal: every executed control step in the simulator's own action space, float64
+ calls/NNNNNN/ each call's response meta and the actions as sent
+ startups.jsonl one line per process start
+ final.json kept current (written atomically); "finalized": true once the verdict is in -- before the
+ video is rendered ("video_pending": true while it is), so the video never decides anything
+ trajectory.npz the graded episode (the deliverable: every control step since the last reset, as executed)
+ replay.mp4, replay.last.png the episode's video, rendered from trajectory.npz after the verdict (for people only)
+
+The verdict is the live episode's (docs/protocol/README.md H.4; owner, 2026-10-17): success = the episode this
+service ran ended in success under the task's rule (the adapter's step()), judged here, after the agent's container is
+gone; nothing is replayed to grade it. An adapter may add its benchmark's own record of the live episode with
+live_verdict(rows, success) -> dict, e.g. a settle window run on the live simulator: its "success" can only take a
+success away, never give one: only a real True keeps it; a live_verdict() that raises, returns what JSON cannot hold, or
+whose process died in it (a restart finds the live_verdict_begin marker and does not run it again) takes it away too
+(live_verdict_error) -- the episode's 0, never infrastructure. An adapter that still defines verify() is refused at
+build (a TypeError), unless it sets replay_free = True: nothing calls it, and its rule must not vanish silently.
+
+The frozen initial state is checked on the live simulator, as no replay checks it later: an adapter that records the
+instance's starting-state hash sets `start_sha`; a fresh trial whose scene does not start there gives up before the agent
+is served (instance_mismatch, infra_error = 1), and so does an adapter whose build() raises InstanceMismatch (its own
+loader refused the instance). A reset that does not bring the scene back to start_sha ends the trial at once the same
+way (the reset is answered 409 with gave_up, and every call after it too).
+
+Crash recovery: compose restarts a crashed service (restart: on-failure). It replays the journal up to the last
+checkpoint, checks the state hash, and continues the SAME episode -- never a reset. A call in flight is lost as a
+whole (its caller got an error, not a result, so nothing was learned). More than RCB_MAX_RESUMES restarts since the
+episode began (every process start counts, also one that died building the scene or replaying the journal) end the
+trial: sim_crashed_on_call if every crash was the agent's (here: it happened while serving one of its calls -- not a
+/reset, whose rebuild is the simulator's -- while the episode was running), else sim_crashed (infrastructure,
+infra_error = 1). Once the outcome is decided (the graded episode ended in success, or failed with no reset left),
+crashes cannot take it away: the restart past the limit resumes the episode and finalizes it as it ended. Each process writes a fatal signal's record (SIGSEGV, SIGBUS, SIGFPE, SIGILL,
+SIGABRT: faulthandler) to crash.log, and startups.jsonl notes crash.log's size at every start, so the death before a
+start is known to be a simulator crash or not (a kill -- SIGKILL, SIGTERM, the OOM killer -- leaves no record);
+"resuming" logs it (fatal_signal), and whether the crashing thread was inside a control step (in_step). This service
+keeps the in-call rule; the realtime layer counts a simulator crash inside a control step after the agent's first
+command as the agent's (rcb_realtime.py). A reset whose scene does not rebuild ends the episode "error" as
+infrastructure in both (infra_error = 1: the agent's reset was legitimate); an error raised by the agent's own call
+is its 0. A verdict already on disk is never overwritten; a crash, a hang or a slow render
+of the video loses only the video.
+"""
+from __future__ import annotations
+
+import contextlib
+import errno
+import faulthandler
+import json
+import os
+import signal
+import tempfile
+import threading
+import time
+import traceback
+from http.server import BaseHTTPRequestHandler, HTTPServer
+from typing import Callable
+from urllib.parse import urlparse
+
+import numpy as np
+
+import rcb1
+
+PROTOCOL = "eai-standard/2.1"
+MAX_BODY = 64 * 1024 * 1024 # request bodies above this are refused (413)
+MAX_RESPONSE = 256 * 1024 * 1024 # responses above this drop frames/ and depth/ (meta.degraded says so)
+MAX_VIDEO_FPS = 30
+MAX_FRAMES_PER_CALL = 3000 # images in one response (cameras x frames, depth counted again): bounds memory
+VIDEOS = ("mp4", "frames", "both", "none")
+ON_SERVICE_ERROR = ("if a call fails with a connection error or a 5xx, the service may have crashed and resumed the "
+ "same episode (never a reset): the state is the one after the last call that completed on the "
+ "service, which you may not have received; check GET /status before continuing")
+
+
+class Sim:
+ """The adapter contract, duck-typed (this class only documents it). One object = one frozen scene.
+
+ Rows come in three forms: what the agent sends (an action of one of spec()["action_types"]), the same after
+ clip(), and a "sim row" (to_sim()), the action in the simulator's own space, which step() executes and the
+ journal and the graded trajectory record (raw_dim floats)."""
+ control_dt: float # seconds per control step; a chunk's dt is a whole multiple of it
+ max_control_steps: int # the task's episode length: the episode ends there
+ cameras: tuple[str, ...] # every camera the agent may ask for
+ depth_cameras: tuple[str, ...] # the ones that also give depth
+ proprio_layout: list[str] # the proprio row's columns
+ raw_dim: int # a sim row's width
+
+ def spec(self) -> dict: ... # simulator, robot, task_text, episode, action_types, cameras, robot facts
+ def interpolable(self, type: str) -> bool: ... # may a row of this type span several control steps?
+ def images(self, cameras: list[str], depth: bool) -> tuple[dict, dict]: ... # ({cam: uint8 HxWx3}, {cam: float32 HxW m})
+ def proprio(self) -> np.ndarray: ... # float32, one value per proprio_layout column
+ def clip(self, type: str, rows: np.ndarray) -> tuple[np.ndarray, list]: ... # into the limits; [{row, index, reason}]
+ def to_sim(self, type: str, row: np.ndarray) -> np.ndarray: ... # an agent row -> a sim row
+ def command(self, type: str) -> np.ndarray: ... # the last row executed, exactly as clip() returned it: a chunk
+ # interpolates from it, so a chunk equals its rows sent one by one
+ def hold(self) -> tuple[str, np.ndarray]: ... # the row that holds the last command (/observe with seconds > 0)
+ def step(self, row: np.ndarray) -> tuple[bool, bool, dict]: ... # one control step -> (done, success, info)
+ def reset(self) -> None: ... # back to the frozen instance
+ def state_sha(self) -> str: ...
+ # optional: start_sha: str the frozen instance's starting-state hash, as state_sha() gives it: a fresh trial that
+ # does not start there is refused before the agent is served, and a reset that does not return there
+ # ends the trial at once (both instance_mismatch, an infrastructure failure)
+ # optional: live_verdict(rows, success) -> dict the benchmark's own record of the live episode, judged on the live
+ # simulator after the episode ended and before the video (e.g. a settle window); "success": False takes the
+ # success away (live_rule; only True keeps it), an exception, a value JSON cannot hold or a crash in
+ # it does too (live_verdict_error); other keys (numpy scalars as numbers) go into final.json, except
+ # the service's own (RESERVED)
+ # optional: replay_free = True the adapter has a verify() but knows nothing calls it (else refused at build)
+ # build() may raise InstanceMismatch: the adapter's own loader found the frozen instance does not build (infra)
+ def save_trajectory(self, rows: np.ndarray, path: str, meta: dict) -> None: ...
+ def render_video(self, rows: np.ndarray, path: str) -> None: ... # path and path.last.png: the episode's video, after
+ # the verdict; it never decides anything
+
+
+class GiveUp(Exception):
+ """The service will not run this trial's episode again; final.json says why."""
+
+
+class InstanceMismatch(Exception):
+ """Raised by an adapter's build(): this image does not build the frozen instance's starting state (infrastructure)."""
+
+
+# final.json keys the service writes itself: a live_verdict() may not set them
+RESERVED = frozenset({"protocol", "success", "live_success", "done", "reason", "calls", "rows", "control_steps",
+ "control_steps_total", "episodes", "resets", "reset_budget", "elapsed_s", "sim_startups",
+ "finalized", "n_actions", "graded_by", "replays", "state_sha", "video", "video_pending",
+ "video_source", "live_rule", "live_verdict_error", "finalize_error", "infra_error",
+ "instance_mismatch", "ev", "ts", "deterministic", "replay_success", "live_sha"})
+
+
+def json_safe(d: dict) -> dict:
+ """An adapter's dict as final.json can hold it: numpy scalars and arrays as Python values; raises if anything else
+ is not JSON (so the caller can record that instead of dying writing final.json)."""
+ out = {}
+ for k, v in d.items():
+ if isinstance(v, np.generic):
+ v = v.item()
+ elif isinstance(v, np.ndarray):
+ v = v.tolist()
+ out[str(k)] = v
+ json.dumps(out, allow_nan=False)
+ return out
+
+
+class Refused(Exception):
+ """A request the service turns down with `code` and the JSON `body`; nothing was executed."""
+
+ def __init__(self, code: int, body: dict):
+ super().__init__(body.get("error"))
+ self.code, self.body = code, body
+
+
+def bad_request():
+ """Checking a request, before anything runs: whatever goes wrong here is the request's fault (400)."""
+ try:
+ yield
+ except Refused:
+ raise
+ except Exception as exc: # noqa: BLE001 -- a wrong type, value or shape of any field
+ raise Refused(400, {"error": str(exc)[:300] or type(exc).__name__}) from None
+
+
+CRASH_LOG = "crash.log"
+FATAL = b"Fatal Python error" # how faulthandler begins a fatal signal's record
+_crash_log = None # this process's crash.log, open for faulthandler
+
+
+def count_start(data: str) -> int:
+ """Record one process start in startups.jsonl (with crash.log's size: what the deaths before it wrote there);
+ returns how many there have been."""
+ path = os.path.join(data, "startups.jsonl")
+ crash = os.path.join(data, CRASH_LOG)
+ size = os.path.getsize(crash) if os.path.exists(crash) else 0
+ with open(path, "a") as f:
+ f.write(json.dumps({"ts": time.time(), "pid": os.getpid(), "crash_log_bytes": size}) + "\n")
+ with open(path) as f:
+ return sum(1 for _ in f)
+
+
+def enable_crash_log(data: str) -> None:
+ """A fatal signal (SIGSEGV, SIGBUS, SIGFPE, SIGILL, SIGABRT) leaves a record in DATA/crash.log (faulthandler, which
+ writes to the file descriptor directly, nothing buffered); a kill (SIGKILL, SIGTERM, the OOM killer) leaves none."""
+ global _crash_log
+ _crash_log = open(os.path.join(data, CRASH_LOG), "a", buffering=1)
+ faulthandler.enable(file=_crash_log, all_threads=True)
+
+
+STEP_FRAMES = (" in _step",) # the service's control step (Service._step, which runs sim.step)
+
+
+def crashed_in_step(record: bytes) -> bool:
+ """Does a fatal signal's record (faulthandler: every thread's stack, the crashing one under "Current thread", most
+ recent call first) show the crashing thread inside a control step? Not when it died building the scene, replaying
+ the journal to resume, resetting, rendering for a request, finalizing or in live_verdict()."""
+ text = record.decode("utf-8", "replace")
+ i = text.find("Current thread")
+ if i < 0:
+ return False
+ block = text[i:].split("\n\n", 1)[0]
+ return any(line.rstrip().endswith(STEP_FRAMES) for line in block.splitlines()[1:])
+
+
+def deaths(data: str) -> list[dict]:
+ """The process deaths startups.jsonl implies, in order: the k-th (0-based) ended process k + 1 (1-based, as a start
+ event's `startup` counts) and came before start k + 2. Each: {"process", "restart_ts", "fatal_signal", "in_step"};
+ fatal_signal = crash.log grew between the two starts with a fatal signal's record (None: a start without the size,
+ before 2026-10-17); in_step = that record shows the crashing thread inside a control step (crashed_in_step)."""
+ try:
+ with open(os.path.join(data, "startups.jsonl")) as f:
+ starts = [json.loads(line) for line in f if line.strip()]
+ except (OSError, ValueError):
+ return []
+ try:
+ with open(os.path.join(data, CRASH_LOG), "rb") as f:
+ log = f.read()
+ except OSError:
+ log = b""
+ out = []
+ for k in range(len(starts) - 1):
+ a, b = starts[k].get("crash_log_bytes"), starts[k + 1].get("crash_log_bytes")
+ chunk = b"" if a is None or b is None else log[int(a):int(b)]
+ fatal = None if a is None or b is None else FATAL in chunk
+ out.append({"process": k + 1, "restart_ts": float(starts[k + 1].get("ts") or 0.0), "fatal_signal": fatal,
+ "in_step": bool(fatal) and crashed_in_step(chunk)})
+ return out
+
+
+def write_json_atomic(path: str, obj: dict) -> None:
+ """Write then rename: the collect hook polling the file never reads half of it."""
+ fd, tmp = tempfile.mkstemp(dir=os.path.dirname(path), suffix=".tmp")
+ with os.fdopen(fd, "w") as f:
+ json.dump(obj, f)
+ os.replace(tmp, path)
+
+
+def give_up(data: str, reason: str, infra: bool) -> None:
+ """Record that this trial's episode will not run (again): final.json failed and finalized with the reason (a
+ finalized final.json is kept as it is), and the PID file for the collect hook."""
+ with open(os.path.join(data, "episode.jsonl"), "a") as f:
+ f.write(json.dumps({"ts": time.time(), "ev": "restart_refused", "reason": reason}) + "\n")
+ path = os.path.join(data, "final.json")
+ try:
+ with open(path) as f:
+ fin = json.load(f)
+ except (OSError, ValueError):
+ fin = {}
+ if not fin.get("finalized"):
+ fin.update({"protocol": PROTOCOL, "success": False, "done": True, "reason": reason, "finalized": True,
+ **({"infra_error": 1} if infra else {})})
+ write_json_atomic(path, fin)
+ elif fin.get("video_pending"): # the verdict stands; no video is coming from this trial any more
+ write_json_atomic(path, {**fin, "video": False, "video_pending": False})
+ with open(os.path.join(data, "server.pid"), "w") as f:
+ f.write(str(os.getpid()))
+
+
+def encode_mp4(frames: np.ndarray, fps: float) -> bytes:
+ import imageio.v2 as imageio
+ fd, path = tempfile.mkstemp(suffix=".mp4")
+ os.close(fd)
+ try:
+ with imageio.get_writer(path, format="FFMPEG", mode="I", fps=fps, codec="libx264", macro_block_size=1,
+ output_params=["-movflags", "+faststart", "-pix_fmt", "yuv420p"]) as w:
+ for f in frames:
+ w.append_data(np.ascontiguousarray(f))
+ with open(path, "rb") as f:
+ return f.read()
+ finally:
+ os.unlink(path)
+
+
+class Recorder:
+ """What one call returns: a proprio row at its start, every `every` control steps (the requested video_fps, rounded to
+ whole control steps) and at its end; with them the cameras' frames when a video or the frames are asked for, else
+ only the last frame (rendering is most of a call's cost)."""
+
+ def __init__(self, sim, cameras: list[str], fps: int, depth: bool, video: str):
+ self.sim, self.cams, self.depth, self.video = sim, cameras, depth, video
+ self.every = max(1, round(1.0 / (sim.control_dt * fps)))
+ self.fps = 1.0 / (self.every * sim.control_dt)
+ self.images = video != "none"
+ self.frames = {c: [] for c in cameras}
+ self.dep = {c: [] for c in cameras}
+ self.prop: list[np.ndarray] = []
+ self.k, self.grabbed_at = 0, None
+
+ def images_per_call(self, steps: int) -> int:
+ per_frame = len(self.cams) + (len(set(self.cams) & set(self.sim.depth_cameras)) if self.depth else 0)
+ return (steps // self.every + 2 if self.images else 1) * per_frame
+
+ def start(self) -> None:
+ self._grab(self.images)
+
+ def step(self) -> None:
+ self.k += 1
+ if self.k % self.every == 0:
+ self._grab(self.images)
+
+ def finish(self) -> None:
+ if self.grabbed_at != self.k:
+ self._grab(self.images)
+ if not self.images:
+ self._grab(True, proprio=False) # the one frame a call without video returns: the last
+
+ def _grab(self, images: bool, proprio: bool = True) -> None:
+ if images:
+ rgb, dep = self.sim.images(self.cams, self.depth)
+ for c in self.cams:
+ self.frames[c].append(rgb[c])
+ if c in dep:
+ self.dep[c].append(dep[c])
+ if proprio:
+ self.prop.append(np.asarray(self.sim.proprio(), np.float32))
+ self.grabbed_at = self.k
+
+ def parts(self) -> list:
+ out = []
+ for c in self.cams:
+ fr = np.stack(self.frames[c])
+ if self.video in ("mp4", "both"):
+ out.append((f"video/{c}", "mp4", encode_mp4(fr, self.fps), {"fps": round(self.fps, 3), "n": int(len(fr))}))
+ if self.video in ("frames", "both"):
+ out.append(rcb1.array_part(f"frames/{c}", fr))
+ out.append(rcb1.array_part(f"last/{c}", fr[-1]))
+ if self.dep[c]:
+ out.append(rcb1.array_part(f"depth/{c}", np.stack(self.dep[c]).astype(np.float16)))
+ out.append(rcb1.array_part("proprio", np.stack(self.prop)))
+ return out
+
+
+class Service:
+ """Episode bookkeeping, evidence and the HTTP endpoints around one `Sim`."""
+
+ def __init__(self, sim, *, data: str = "/data", reset_budget: int = 0, wall_clock_s: float = 3600.0,
+ max_chunk_s: float = 10.0, max_watch_s: float = 30.0, max_frames_per_call: int = MAX_FRAMES_PER_CALL,
+ max_resumes: int = 2):
+ if callable(getattr(sim, "verify", None)) and not getattr(sim, "replay_free", False):
+ # A grading replay of its own is no longer called: an adapter that still has one would lose
+ # whatever its replay applied, silently. It moves that rule to step() / live_verdict(), or says it has done
+ # so (replay_free = True).
+ raise TypeError(f"{type(sim).__name__} defines verify(), which this service never calls: move its rule "
+ "to step() or live_verdict(), or set replay_free = True")
+ self.sim, self.data = sim, data
+ self.reset_budget, self.wall_clock_s = int(reset_budget), float(wall_clock_s)
+ self.max_chunk_s, self.max_watch_s = float(max_chunk_s), float(max_watch_s)
+ self.max_frames, self.max_resumes = int(max_frames_per_call), int(max_resumes)
+ os.makedirs(os.path.join(data, "calls"), exist_ok=True)
+ self.journal_path = os.path.join(data, "trajectory_live.f64")
+ self.spec = self._spec()
+ self.types = {k: v for k, v in self.spec["action_types"].items() if isinstance(v, dict)}
+ self.calls = self.rows = self.resets = 0
+ self.journal_rows = 0 # control steps executed over the whole trial (the journal's length)
+ self.ep_start = 0 # where the current episode begins in the journal
+ self.episode: list[np.ndarray] = [] # the current episode's sim rows: what finalize grades
+ self.done, self.reason, self.success = False, None, False
+ self.stopping = False # SIGUSR1 seen: the agent is gone
+ self.finalized, self.verdict = False, {}
+ self.t0 = self.t_end = None # the clock starts at the agent's first request
+ self.starts = 1
+ self.ep_start_ok = True # the current episode began at the frozen instance's start_sha (or none is known)
+ self.judged_before = False # a process of this trial died inside live_verdict()
+ self.error_infra = False # the episode's "error" is the simulator's, not the agent's (a reset's rebuild)
+ self._unwritten: list[np.ndarray] = [] # sim rows executed since the last checkpoint
+
+ # ------------------------------------------------------------------ spec and status
+ def _spec(self) -> dict:
+ own = self.sim.spec()
+ core = {"protocol": PROTOCOL, "control_dt": self.sim.control_dt, "max_control_steps": self.sim.max_control_steps,
+ "max_chunk_s": self.max_chunk_s, "max_watch_s": self.max_watch_s, "max_video_fps": MAX_VIDEO_FPS,
+ "max_frames_per_call": self.max_frames, "proprio_layout": list(self.sim.proprio_layout),
+ "budget": {"reset": self.reset_budget, "wall_clock_s": self.wall_clock_s},
+ "clock": "time_s and elapsed_s count from your first request to the service; time_left_s is "
+ "budget.wall_clock_s minus time_s",
+ "on_service_error": ON_SERVICE_ERROR}
+ if clash := sorted(set(core) & set(own)):
+ raise ValueError(f"the adapter's spec() must not set {clash}")
+ cams = {c: {"rgb": True, "depth": c in self.sim.depth_cameras, **own["cameras"].get(c, {})}
+ for c in self.sim.cameras}
+ spec = {**core, **own, "cameras": cams}
+ if self.reset_budget:
+ spec["reset"] = ("POST /reset abandons the running episode and starts a new one from the same starting "
+ "state, budget.reset times in all; only the last episode is graded, and a success ends "
+ "the trial")
+ return spec
+
+ def clock(self) -> float:
+ return 0.0 if self.t0 is None else time.time() - self.t0
+
+ def _counters(self) -> dict:
+ out = {"calls": self.calls, "rows": self.rows, "control_steps": len(self.episode), "done": self.done,
+ "reason": self.reason}
+ if self.reset_budget:
+ out.update(episode=self.resets + 1, control_steps_total=self.journal_rows,
+ resets_left=0 if self.success or self.stopping else self.reset_budget - self.resets)
+ return out
+
+ def status(self) -> dict:
+ return {**self._counters(), "elapsed_s": round(self.clock(), 1)}
+
+ def meta(self) -> dict:
+ t = self.clock()
+ return {**self._counters(), "sim_time_s": round(len(self.episode) * self.sim.control_dt, 4),
+ "time_s": round(t, 2), "time_left_s": max(0.0, round(self.wall_clock_s - t, 1)),
+ "proprio": {"layout": list(self.sim.proprio_layout),
+ "now": np.asarray(self.sim.proprio(), np.float32).tolist()}}
+
+ # ------------------------------------------------------------------ evidence
+ def log(self, ev: str, **kw) -> None:
+ with open(os.path.join(self.data, "episode.jsonl"), "a") as f:
+ f.write(json.dumps({"ts": time.time(), "ev": ev, **kw}) + "\n")
+
+ def _events(self) -> list[dict]:
+ try:
+ with open(os.path.join(self.data, "episode.jsonl")) as f:
+ return [json.loads(line) for line in f if line.strip()]
+ except OSError:
+ return []
+
+ def _checkpoint(self, ev: str, **kw) -> None:
+ """Log a state this service may resume from, after appending everything executed since the last one to the
+ journal. Rows of a call that never reaches its checkpoint are lost with it, as the call is."""
+ if self._unwritten:
+ with open(self.journal_path, "ab") as f:
+ f.write(np.asarray(self._unwritten, dtype=np.float64).tobytes())
+ self._unwritten = []
+ self.log(ev, **kw, calls=self.calls, rows=self.rows, resets=self.resets, ep_start=self.ep_start,
+ journal_rows=self.journal_rows, done=self.done, reason=self.reason, success=self.success,
+ error_infra=self.error_infra, state_sha=self.sim.state_sha())
+ self._write_final()
+
+ def _write_final(self) -> None:
+ end = self.t_end or time.time()
+ d = {"protocol": PROTOCOL, "success": False, "live_success": self.success, "done": self.done,
+ "reason": self.reason, "calls": self.calls, "rows": self.rows, "control_steps": len(self.episode),
+ "control_steps_total": self.journal_rows, "episodes": self.resets + 1, "resets": self.resets,
+ "reset_budget": self.reset_budget, "elapsed_s": round(end - self.t0, 1) if self.t0 else 0.0,
+ "sim_startups": self.starts, "finalized": self.finalized, **self.verdict}
+ if self.verdict.get("graded_by") == "live": # the verdict is in: the live episode's, nothing replayed
+ d["success"] = bool(self.success and self.verdict.get("live_rule", True))
+ if self.reason == "error" and self.error_infra: # the simulator failed, not the agent's commands
+ d["infra_error"] = 1
+ if not self.ep_start_ok: # the graded episode began off the frozen instance (a reset)
+ d.update(success=False, instance_mismatch=True, infra_error=1)
+ write_json_atomic(os.path.join(self.data, "final.json"), d)
+
+ def _save_call(self, meta: dict, actions: np.ndarray | None) -> None:
+ d = os.path.join(self.data, "calls", f"{self.calls:06d}")
+ os.makedirs(d, exist_ok=True)
+ with open(os.path.join(d, "meta.json"), "w") as f:
+ json.dump(meta, f)
+ if actions is not None:
+ np.save(os.path.join(d, "actions.npy"), actions)
+
+ # ------------------------------------------------------------------ start, resume, give up
+ def start(self) -> None:
+ """A fresh episode, or -- after a crash -- the same one again. Raises GiveUp when it must not run again."""
+ try:
+ with open(os.path.join(self.data, "startups.jsonl")) as f:
+ self.starts = max(1, sum(1 for _ in f))
+ except OSError:
+ self.starts = 1
+ ev = self._events()
+ if not any(e["ev"] == "start" for e in ev):
+ # The frozen initial state is checked when the episode begins (the verdict is the live episode's, so no later
+ # replay checks it): a scene that did not build to the instance's recorded state is no trial of this task.
+ want = getattr(self.sim, "start_sha", None)
+ if want and (got := self.sim.state_sha()) != want:
+ self._give_up(f"instance_mismatch: the scene started at {got}, the frozen instance records {want}",
+ infra=True)
+ open(self.journal_path, "wb").close()
+ self._checkpoint("start", protocol=PROTOCOL, spec=self.spec, startup=self.starts)
+ else:
+ self._resume(ev)
+ with open(os.path.join(self.data, "server.pid"), "w") as f:
+ f.write(str(os.getpid()))
+
+ def _resume(self, ev: list[dict]) -> None:
+ path = os.path.join(self.data, "final.json")
+ try:
+ with open(path) as f:
+ fin = json.load(f)
+ except (OSError, ValueError):
+ fin = {}
+ if fin.get("finalized") or "deterministic" in fin or "graded_by" in fin:
+ # Graded already. The process died rendering the video (video_pending; before 2026-10, a verdict not yet
+ # finalized): all it lost is the video.
+ if not fin.get("finalized") or fin.get("video_pending"):
+ write_json_atomic(path, {**fin, "finalized": True, "video": False, "video_pending": False})
+ self._give_up("restarted after finalize", infra=False)
+ first = int(next(e for e in ev if e["ev"] == "start")["startup"])
+ restarts = self.starts - first
+ last = max(i for i, e in enumerate(ev) if e["ev"] in ("start", "resuming"))
+ in_call = self._died_in_call(ev[last:]) # did the process that died do so serving one of the agent's calls?
+ in_calls = sum(bool(e["crashed_in_call"]) for e in ev if e["ev"] == "resuming") + int(in_call)
+ died = [d for d in deaths(self.data) if d["process"] >= first] # the deaths since the episode began
+ fatal = bool(died and died[-1]["fatal_signal"]) # the one just before this start
+ cp = [e for e in ev if "state_sha" in e and "journal_rows" in e][-1]
+ # The live outcome is decided when the graded episode has ended and nothing can follow it: a success, or a
+ # failure with no reset left. Then crashes after it cannot take that outcome away: past the restarts, the
+ # episode is resumed and finalized as it ended (its own verdict, live_verdict() included), not given up.
+ decided = bool(cp["done"]) and cp["reason"] != "reset" and (
+ bool(cp["success"]) or int(cp["resets"]) >= self.reset_budget)
+ finalize_now = restarts > self.max_resumes and decided
+ if restarts > self.max_resumes and not decided:
+ agent = self._agent_crashes(ev, died, in_calls) >= restarts # every crash was the agent's
+ self._give_up("sim_crashed_on_call" if agent else "sim_crashed", infra=not agent)
+ self.log("resuming", crashed_in_call=in_call, fatal_signal=fatal, restart=restarts,
+ **({"finalize_decided": True} if finalize_now else {}))
+ n, dim = int(cp["journal_rows"]), int(self.sim.raw_dim)
+ rows = np.fromfile(self.journal_path, dtype=np.float64) if os.path.exists(self.journal_path) else np.zeros(0)
+ if rows.size < n * dim:
+ self._give_up("resume_failed: journal shorter than the log", infra=True)
+ rows = rows[: n * dim].reshape(n, dim)
+ for row in rows[cp["ep_start"]:]:
+ self.sim.step(row)
+ if self.sim.state_sha() != cp["state_sha"]:
+ self._give_up("resume_failed: replayed state differs from the logged one", infra=True)
+ rows.tofile(self.journal_path) # drop the steps of the call that was in flight
+ self.calls, self.rows, self.resets = int(cp["calls"]), int(cp["rows"]), int(cp["resets"])
+ self.ep_start, self.journal_rows = int(cp["ep_start"]), n
+ self.episode = [r.copy() for r in rows[self.ep_start:]]
+ self.done, self.reason, self.success = bool(cp["done"]), cp["reason"], bool(cp["success"])
+ self.judged_before = any(e["ev"] == "live_verdict_begin" for e in ev) # a process died in live_verdict()
+ self.error_infra = bool(cp.get("error_infra", self.error_infra))
+ if cp["ev"] == "end" and cp["reason"] == "reset":
+ # The process died inside a reset, after the abandoned episode's end and before the new episode began: a
+ # reset lost with its call never happened (as in server_mj.py), so that episode runs on and the reset is
+ # not charged; the agent may reset again (before, every call was a 409 until it did).
+ self.done, self.reason, self.success = False, None, False
+ self.t0 = next((e["t0"] for e in ev if e["ev"] == "first_request"), None)
+ if self.done:
+ self.t_end = next((e["ts"] for e in reversed(ev) if e["ev"] == "end"), cp["ts"])
+ self._checkpoint("resumed", downtime_s=round(time.time() - float(ev[-1]["ts"]), 1))
+ if finalize_now:
+ # Past the restarts with the outcome decided: grade it now (the agent may still be calling, but nothing it
+ # does can change a decided episode) and serve nothing more -- the crashes it suffered came after its end.
+ self.stopping = True
+ self._finalize()
+ self._give_up("restarted after finalize: crashes after the episode had ended", infra=False)
+
+ @staticmethod
+ def _died_in_call(evs: list[dict]) -> bool:
+ """Did the process whose events these are die serving one of the agent's calls while its episode was still
+ running? A /reset is not counted (its rebuild is the simulator's, infrastructure), nor a call that came after
+ the episode had ended (only deaths before the episode's end count toward the agent's crashes)."""
+ open_call, over = None, False
+ for e in evs:
+ if "journal_rows" in e and "done" in e:
+ over = bool(e["done"]) and e.get("reason") != "reset"
+ if e["ev"] == "call_begin":
+ open_call = (e.get("path"), over)
+ elif e["ev"] == "call_end":
+ open_call = None
+ return bool(open_call) and open_call[0] != "/reset" and not open_call[1]
+
+ def _agent_crashes(self, ev: list[dict], died: list[dict], in_calls: int) -> int:
+ """How many of the deaths since the episode began were the agent's: here, those while serving a call (its
+ commands were running); rcb_realtime.py counts simulator crashes after the first command instead."""
+ return in_calls
+
+ def _give_up(self, reason: str, infra: bool) -> None:
+ """End the trial without running its episode again (give_up()) and stop."""
+ give_up(self.data, reason, infra)
+ raise GiveUp(reason)
+
+ # ------------------------------------------------------------------ requests
+ def first_request(self) -> None:
+ if self.t0 is None:
+ self.t0 = time.time()
+ self.log("first_request", t0=self.t0)
+
+ def handle(self, method: str, path: str, body: bytes = b"", content_length: int | None = None) -> tuple[int, str, bytes]:
+ """One request -> (status, content type, body): the whole HTTP surface, without the HTTP."""
+ self.first_request()
+ path = urlparse(path).path
+ if method == "GET" and path in ("/spec", "/status"):
+ return self._reply_json(200, self.spec if path == "/spec" else self.status())
+ routes = {"/submit": self._submit, "/observe": self._observe}
+ if self.reset_budget:
+ routes["/reset"] = self._reset
+ if method != "POST" or path not in routes:
+ return self._reply_json(404, {"error": "no such endpoint"})
+ if (len(body) if content_length is None else content_length) > MAX_BODY:
+ return self._reply_json(413, {"error": f"request body over {MAX_BODY} bytes"})
+ try:
+ meta, parts = self._decode(body)
+ except Exception as exc: # noqa: BLE001 -- any malformed body is the caller's error
+ return self._reply_json(400, {"error": f"malformed body: {exc}"[:300]})
+ self.log("call_begin", path=path, call=self.calls + 1)
+ try:
+ out, blobs = routes[path](meta, parts)
+ except Refused as exc: # 400 (bad_request), 409: nothing ran
+ return self._reply_json(exc.code, exc.body)
+ except Exception as exc: # noqa: BLE001 -- it ran and failed: the episode ends, as on hardware
+ traceback.print_exc()
+ self.log("error", path=path, error=repr(exc)[:500])
+ self._end("error")
+ return self._reply_json(500, {"error": "simulator error", "detail": repr(exc)[:200]})
+ finally:
+ self.log("call_end", path=path)
+ return self._reply_rcb1(out, blobs)
+
+ @staticmethod
+ def _decode(body: bytes) -> tuple[dict, dict]:
+ if body[:4] == rcb1.MAGIC:
+ meta, parts = rcb1.decode(body)
+ else:
+ meta, parts = json.loads(body or b"{}"), {}
+ if not isinstance(meta, dict):
+ raise ValueError("the body must be a JSON object or an RCB1 frame")
+ return meta, parts
+
+ @staticmethod
+ def _reply_json(code: int, obj: dict) -> tuple[int, str, bytes]:
+ return code, "application/json", json.dumps(obj).encode()
+
+ @staticmethod
+ def _reply_rcb1(meta: dict, parts: list) -> tuple[int, str, bytes]:
+ body = rcb1.encode(meta, parts)
+ if len(body) > MAX_RESPONSE:
+ parts = [p for p in parts if not p[0].startswith(("frames/", "depth/"))]
+ meta = {**meta, "degraded": f"response over {MAX_RESPONSE} bytes: frames/ and depth/ dropped"}
+ body = rcb1.encode(meta, parts)
+ return 200, "application/x-rcb1", body
+
+ def _view(self, meta: dict, default_video: str) -> tuple[list[str], int, str, bool]:
+ cams = meta.get("cameras") or list(self.sim.cameras)
+ if isinstance(cams, str):
+ cams = [c for c in cams.split(",") if c]
+ if not isinstance(cams, list) or (unknown := sorted(set(map(str, cams)) - set(self.sim.cameras))):
+ raise ValueError(f"unknown camera(s) {unknown if isinstance(cams, list) else cams}; "
+ f"the cameras are {list(self.sim.cameras)}")
+ # Each camera once, in the order asked for. A name repeated N times would be rendered into one list N times and
+ # returned N times (N * N images), which the frame budget counted as N: a small request could exhaust the memory.
+ cams = list(dict.fromkeys(map(str, cams)))
+ try:
+ fps = int(meta.get("video_fps", 10))
+ except (TypeError, ValueError, OverflowError):
+ raise ValueError("video_fps must be an integer") from None
+ if not 1 <= fps <= MAX_VIDEO_FPS:
+ raise ValueError(f"video_fps must be in [1, {MAX_VIDEO_FPS}]")
+ video = meta.get("video", default_video)
+ if video not in VIDEOS:
+ raise ValueError(f"video must be one of {list(VIDEOS)}")
+ depth = bool(meta.get("include_depth", False))
+ if depth and not set(cams) & set(self.sim.depth_cameras):
+ raise ValueError(f"include_depth: none of {cams} has depth; spec()['cameras'][name]['depth'] says which do")
+ return cams, fps, video, depth
+
+ def _frame_budget(self, rec: Recorder, steps: int) -> None:
+ n = rec.images_per_call(steps)
+ if n > self.max_frames:
+ raise ValueError(f"this call would return {n} images (cameras x frames, depth counted again); the limit is "
+ f"{self.max_frames}: ask for fewer cameras, a lower video_fps or a shorter chunk")
+
+ def _conflict(self) -> Refused:
+ if self.stopping:
+ return Refused(409, {"error": "trial finished: your time is up", "reason": self.reason})
+ body = {"error": "episode finished", "reason": self.reason}
+ if self.reset_budget:
+ body["resets_left"] = 0 if self.success else self.reset_budget - self.resets
+ return Refused(409, body)
+
+ def _step(self, typ: str, row: np.ndarray) -> dict:
+ """One control step: execute, journal, and end the episode if it is over."""
+ sim_row = np.asarray(self.sim.to_sim(typ, row), dtype=np.float64)
+ done, success, info = self.sim.step(sim_row)
+ self._unwritten.append(sim_row)
+ self.journal_rows += 1
+ self.episode.append(sim_row)
+ if success:
+ self._end("success")
+ elif done or len(self.episode) >= self.sim.max_control_steps:
+ self._end("failed")
+ return info
+
+ def _end(self, reason: str) -> None:
+ if self.done:
+ return
+ self.done, self.reason, self.success = True, reason, reason == "success"
+ self.t_end = time.time()
+ try:
+ self._checkpoint("end")
+ except Exception as exc: # noqa: BLE001 -- a broken simulator may not even hash: the end is still logged
+ self.log("end", reason=reason, checkpoint_error=repr(exc)[:300])
+ self._write_final()
+
+ def _submit(self, meta: dict, parts: dict) -> tuple[dict, list]:
+ if self.done or self.stopping:
+ raise self._conflict()
+ with bad_request():
+ typ = meta.get("type")
+ if not isinstance(typ, str) or typ not in self.types:
+ raise ValueError(f"type must be one of {sorted(self.types)}")
+ try:
+ A = np.asarray(parts["actions"]["data"] if "actions" in parts else meta.get("actions"), dtype=np.float64)
+ except (TypeError, ValueError, KeyError):
+ raise ValueError("send the actions as an RCB1 array part `actions` or a JSON list of rows") from None
+ dim = int(self.types[typ]["dim"])
+ if A.ndim != 2 or A.shape[0] < 1 or A.shape[1] != dim:
+ raise ValueError(f"{typ} actions must be (T, {dim}) with T >= 1, got {list(A.shape)}")
+ if not np.all(np.isfinite(A)):
+ raise ValueError("actions contain NaN or inf")
+ cdt = self.sim.control_dt
+ try:
+ dt = cdt if meta.get("dt") is None else float(meta["dt"])
+ except (TypeError, ValueError):
+ raise ValueError("dt must be a number of seconds") from None
+ k = round(dt / cdt) if np.isfinite(dt / cdt) else 0
+ if k < 1 or abs(k * cdt - dt) > 1e-9:
+ raise ValueError(f"dt must be a positive whole multiple of control_dt = {cdt} s (never rounded)")
+ if k > 1 and not self.sim.interpolable(typ):
+ raise ValueError(f"{typ}: one row is one control step, so dt must be control_dt = {cdt} s")
+ if len(A) * k * cdt > self.max_chunk_s + 1e-9:
+ raise ValueError(f"the chunk covers {len(A) * k * cdt:g} s: more than max_chunk_s = {self.max_chunk_s:g}")
+ interp = meta.get("interpolate", "linear")
+ if interp not in ("linear", "hold"):
+ raise ValueError("interpolate must be linear or hold")
+ cams, fps, video, depth = self._view(meta, "mp4")
+ rec = Recorder(self.sim, cams, fps, depth, video)
+ self._frame_budget(rec, len(A) * k)
+ rows, clipped = self.sim.clip(typ, A)
+ before, info, executed, stop = len(self.episode), {}, 0, False
+ prev = np.asarray(self.sim.command(typ), dtype=np.float64)
+ rec.start()
+ for i, row in enumerate(rows):
+ for j in range(1, k + 1):
+ info = self._step(typ, row if interp == "hold" else prev + (row - prev) * (j / k))
+ rec.step()
+ if self.done or self.stopping or info.get("blocked"):
+ stop = True
+ break
+ executed, prev = i + 1, row
+ if stop:
+ break
+ rec.finish()
+ self.calls += 1
+ self.rows += executed
+ out = {**self.meta(), "chunk_id": self.calls, "type": typ, "executed_rows": executed,
+ "control_steps_chunk": len(self.episode) - before, "clipped": clipped[:200], "n_clipped": len(clipped),
+ **info, "ok": True}
+ self._checkpoint("submit", type=typ, n_rows=len(A), dt=dt, interpolate=interp, cameras=cams,
+ note=str(meta.get("note") or "")[:500], executed_rows=executed, n_clipped=len(clipped), **info)
+ self._save_call(out, A)
+ return out, rec.parts()
+
+ def _observe(self, meta: dict, parts: dict) -> tuple[dict, list]:
+ with bad_request():
+ try:
+ seconds = float(meta.get("seconds") or 0.0)
+ except (TypeError, ValueError):
+ raise ValueError("seconds must be a number") from None
+ if not 0.0 <= seconds <= self.max_watch_s:
+ raise ValueError(f"seconds must be in [0, {self.max_watch_s:g}]")
+ cams, fps, video, depth = self._view(meta, "frames")
+ n = int(round(seconds / self.sim.control_dt)) if not (self.done or self.stopping) else 0
+ rec = Recorder(self.sim, cams, fps, depth, video if n or video != "mp4" else "frames") # no time: no video
+ self._frame_budget(rec, n)
+ before = len(self.episode)
+ rec.start()
+ if n:
+ typ, row = self.sim.hold()
+ for _ in range(n):
+ self._step(typ, row)
+ rec.step()
+ if self.done or self.stopping:
+ break
+ rec.finish()
+ self.calls += 1
+ ran = len(self.episode) - before
+ out = {**self.meta(), "obs_id": self.calls, "seconds": round(ran * self.sim.control_dt, 4),
+ "control_steps_watch": ran, "ok": True}
+ self._checkpoint("observe", seconds=out["seconds"], cameras=cams)
+ self._save_call(out, None)
+ return out, rec.parts()
+
+ def _reset_view(self, meta: dict) -> tuple[list[str], int, str, bool]:
+ """A reset's checks, all of them, before anything changes: Refused (409, 400) or the view it returns."""
+ if self.success or self.stopping:
+ raise Refused(409, {"error": "trial finished: " + ("an episode succeeded" if self.success else "your time is up"),
+ "reason": self.reason})
+ if self.finalized:
+ raise Refused(409, {"error": "the sim service gave up on this trial", "reason": self.reason, "gave_up": True})
+ if self.resets >= self.reset_budget:
+ raise Refused(409, {"error": "reset budget exhausted", "budget": self.reset_budget})
+ with bad_request():
+ return self._view(meta, "frames")
+
+ def _reset(self, meta: dict, parts: dict) -> tuple[dict, list]:
+ cams, fps, video, depth = self._reset_view(meta)
+ if not self.done:
+ self._end("reset") # the running episode is abandoned
+ try:
+ self.sim.reset()
+ except Exception:
+ # The simulator failed to start the new episode: the trial ends on a simulator error, not on the episode
+ # the agent had every right to abandon (handle() answers 500; its _end("error") finds the episode ended).
+ # The agent's reset was legitimate: this error is infrastructure (owner, 2026-10-17; both modes).
+ self.done, self.reason, self.success, self.error_infra = True, "error", False, True
+ try:
+ self._checkpoint("end", reset_failed=True)
+ except Exception as exc: # noqa: BLE001 -- a broken simulator may not even hash
+ self.log("end", reason="error", reset_failed=True, checkpoint_error=repr(exc)[:300])
+ self._write_final()
+ raise
+ self.resets += 1
+ self.ep_start, self.episode = self.journal_rows, []
+ self.done, self.reason, self.success, self.t_end = False, None, False, None
+ self.error_infra = False
+ want = getattr(self.sim, "start_sha", None)
+ got = self.sim.state_sha() if want else None
+ self.ep_start_ok = not want or got == want # the episode starts at the frozen instance
+ if not self.ep_start_ok:
+ # No trial of this task can go on from here: the service gives up at once (instance_mismatch,
+ # infrastructure), finalized, and refuses every call after this one.
+ self.done, self.success, self.finalized = True, False, True
+ self.reason = f"instance_mismatch: a reset brought the scene to {got}, the frozen instance records {want}"
+ self.verdict = {"video": False, "video_pending": False}
+ self._checkpoint("reset", cameras=cams, start_ok=False)
+ give_up(self.data, self.reason, infra=True)
+ raise Refused(409, {"error": "the sim service gave up on this trial", "reason": self.reason, "gave_up": True})
+ rec = Recorder(self.sim, cams, fps, depth, "frames" if video == "mp4" else video) # no time: no video
+ rec.start()
+ rec.finish()
+ self.calls += 1
+ out = {**self.meta(), "ok": True}
+ self._checkpoint("reset", cameras=cams, start_ok=self.ep_start_ok)
+ self._save_call(out, None)
+ return out, rec.parts()
+
+ # ------------------------------------------------------------------ the end of the trial
+ def on_sigusr1(self, *_) -> None:
+ """The agent is gone (the [[verifier.collect]] hook). Only a flag: the handler may fire in the middle of a
+ request; a chunk stops at its next control step and poll() wraps up between requests."""
+ self.stopping = True
+
+ def poll(self) -> None:
+ """Between requests (the HTTP loop calls it every 0.5 s): after SIGUSR1, end the episode and finalize."""
+ if self.stopping and not self.finalized:
+ if not self.done:
+ self._end("timeout")
+ self._finalize()
+
+ def _finalize(self) -> None:
+ """The verdict: the live episode's (docs/protocol/README.md H.4). The graded episode (every control step since the last
+ reset) is saved as the trajectory, the deliverable that stays replayable, and the success is the one the live
+ episode ended with (plus the adapter's live_verdict(), which can only take it away): final from the moment it is
+ written ("finalized": true). Nothing is replayed to grade it. Then a video for humans, rendered from the
+ trajectory, which can no longer change or void the verdict: while it renders final.json says
+ "video_pending": true (the collect hook waits for it as long as its time allows)."""
+ rows = None
+ try:
+ rows = np.asarray(self.episode, dtype=np.float64).reshape(-1, self.sim.raw_dim)
+ try:
+ live_sha = self.sim.state_sha()
+ except Exception: # noqa: BLE001 -- a simulator broken by the episode's own error may not hash: no verdict lost
+ traceback.print_exc()
+ live_sha = None
+ self.sim.save_trajectory(rows, os.path.join(self.data, "trajectory.npz"),
+ {"source": "standard-mode episode", "protocol": PROTOCOL, "reason": self.reason,
+ "episode": self.resets + 1})
+ verdict = {"n_actions": int(len(rows)), "graded_by": "live", "replays": 0, "state_sha": live_sha,
+ "video": False, "video_source": "render"}
+ judge = getattr(self.sim, "live_verdict", None)
+ if callable(judge):
+ # the benchmark's own record of the live episode, judged on the live simulator (e.g. a settle window):
+ # recorded in final.json; its "success" can take a success away (live_rule), never give one. It runs
+ # after the agent's container is gone; whatever goes wrong in it is the episode's: no success
+ # A process that died in it (a native crash) would die again on every resume: the restart that finds the
+ # marker judges the hook failed instead (live_verdict_error "crashed": the episode's 0, not infra).
+ if self.judged_before:
+ verdict.update(live_rule=False, live_verdict_error="crashed: the process died in live_verdict()")
+ else:
+ self.log("live_verdict_begin")
+ try:
+ extra = json_safe(dict(judge(rows, bool(self.success)) or {}))
+ if "success" in extra:
+ verdict["live_rule"] = extra.pop("success") is True # only a real True keeps a success
+ verdict.update({k: v for k, v in extra.items() if k not in RESERVED})
+ except Exception as exc: # noqa: BLE001
+ traceback.print_exc()
+ verdict.update(live_rule=False, live_verdict_error=repr(exc)[:300])
+ self.verdict = verdict
+ self.log("verdict", **{k: v for k, v in verdict.items() if isinstance(v, (bool, int, float, str))})
+ except Exception as exc: # noqa: BLE001
+ traceback.print_exc()
+ self.log("finalize_error", error=repr(exc)[:500])
+ self.verdict = {"finalize_error": repr(exc)[:300]}
+ graded = "finalize_error" not in self.verdict
+ self.verdict["video_pending"] = graded
+ self.finalized = True
+ self._write_final() # the verdict, finalized, on disk before any video is rendered
+ if not graded:
+ return
+ try:
+ self.sim.render_video(rows, os.path.join(self.data, "replay.mp4"))
+ self.verdict["video"] = True
+ except Exception as exc: # noqa: BLE001 -- the video is for humans; it never decides the verdict
+ traceback.print_exc()
+ self.log("video_error", error=repr(exc)[:500])
+ self.verdict["video_pending"] = False
+ try:
+ self._write_final()
+ except Exception: # noqa: BLE001 -- the finalized verdict is on disk already; only the video's flag is lost
+ traceback.print_exc()
+
+ # ------------------------------------------------------------------ HTTP
+ def http_server(self, address: tuple[str, int]) -> HTTPServer:
+ svc = self
+
+ class Handler(BaseHTTPRequestHandler):
+ timeout = 120 # a client that stalls mid-request is dropped: one thread serves everyone
+
+ def log_message(self, *a):
+ pass
+
+ def _send(self, code: int, ctype: str, body: bytes) -> None:
+ self.send_response(code)
+ self.send_header("Content-Type", ctype)
+ self.send_header("Content-Length", str(len(body)))
+ self.end_headers()
+ self.wfile.write(body)
+
+ def do_GET(self):
+ self._send(*svc.handle("GET", self.path))
+
+ def do_POST(self):
+ try:
+ n = int(self.headers.get("Content-Length") or 0)
+ except ValueError:
+ n = -1
+ if n < 0: # (read(-1) would read to the end of the stream, without a limit)
+ self.close_connection = True
+ return self._send(*svc._reply_json(400, {"error": "bad Content-Length"}))
+ if n > MAX_BODY: # refused unread: drop the connection with it
+ self.close_connection = True
+ return self._send(*svc.handle("POST", self.path, b"", content_length=n))
+ self._send(*svc.handle("POST", self.path, self.rfile.read(n)))
+
+ class Server(HTTPServer):
+ def service_actions(self):
+ svc.poll()
+
+ return Server(address, Handler)
+
+ def bind(self, port: int) -> HTTPServer:
+ """The HTTP server on `port`. Something else may hold the port -- in the network namespace it shares with the
+ agent's container, an agent's process can take it while this service (re)starts -- so wait, not die (a death
+ here would count as a crash); the trial can still end meanwhile (SIGUSR1)."""
+ busy = False
+ while True:
+ try:
+ return self.http_server(("0.0.0.0", port))
+ except OSError as exc:
+ if exc.errno != errno.EADDRINUSE:
+ raise
+ if not busy:
+ busy = True
+ self.log("port_busy", port=port)
+ self.poll()
+ time.sleep(1.0)
+
+ def serve(self, port: int = 8000) -> None:
+ signal.signal(signal.SIGUSR1, self.on_sigusr1)
+ srv = self.bind(port)
+ print(f"{PROTOCOL} sim service ready on :{port}", flush=True)
+ srv.serve_forever()
+
+
+def refuse_forever(reason: str, port: int = 8000) -> None:
+ """After a give-up: answer every request 409 with the reason until the container is removed. Before, nothing
+ listened once the service had given up, and a client waited out its whole connection timeout for a simulator that
+ would never answer. The verdict is on disk already: nothing here reads or changes it."""
+ body = json.dumps({"error": "the sim service gave up on this episode and will not serve it", "reason": reason,
+ "gave_up": True}).encode()
+
+ class Refusal(BaseHTTPRequestHandler):
+ timeout = 30 # a client that stops sending must not hold the only thread
+
+ def _refuse(self):
+ try:
+ n = int(self.headers.get("Content-Length") or 0)
+ if 0 < n <= MAX_BODY: # take the request first: a client still sending would see a reset
+ self.rfile.read(n)
+ self.send_response(409)
+ self.send_header("Content-Type", "application/json")
+ self.send_header("Content-Length", str(len(body)))
+ self.end_headers()
+ self.wfile.write(body)
+ except (OSError, ValueError):
+ pass
+ self.close_connection = True
+
+ do_GET = do_POST = _refuse
+
+ def log_message(self, *args):
+ pass
+
+ def answer():
+ while True:
+ try:
+ HTTPServer(("0.0.0.0", port), Refusal).serve_forever()
+ except Exception: # noqa: BLE001 -- a busy port, or anything else: the give-up stands without the answer
+ time.sleep(5.0)
+
+ threading.Thread(target=answer, daemon=True).start()
+ while True:
+ time.sleep(3600)
+
+
+def main(build: Callable[[], Sim], port: int = 8000) -> None:
+ """A sidecar's life: count the start, back off after a failed one, build the scene under a startup watchdog, resume
+ or start the episode, serve. Settings: RCB_DATA (/data), RCB_RESET_BUDGET (0), RCB_WALL_CLOCK_S (3600),
+ RCB_STARTUP_TIMEOUT_S (300), RCB_MAX_RESUMES (2)."""
+ env = os.environ.get
+ data = env("RCB_DATA", "/data")
+ os.makedirs(data, exist_ok=True)
+ starts = count_start(data)
+ # Compose restarts a failed start at once; a scene that failed to build (e.g. the GPU full of other trials) would
+ # meet the same conditions every time, so wait before rebuilding -- only before the episode exists.
+ if starts > 1 and not os.path.exists(os.path.join(data, "episode.jsonl")):
+ time.sleep(min(120, 20 * (starts - 1)))
+ pending: list[int] = []
+ signal.signal(signal.SIGUSR1, lambda *_: pending.append(1)) # its default action would kill the process
+ # A scene build that hangs (no crash, so compose never restarts it) must end the process. Neither a Python thread
+ # (a native hang may hold the GIL) nor SIGALRM's default action (PID 1 ignores it) can; faulthandler's C watchdog
+ # dumps every thread's traceback and exits. Before the scene exists no episode exists: the retry is no reset.
+ enable_crash_log(data) # a fatal signal leaves its record (deaths())
+ faulthandler.dump_traceback_later(float(env("RCB_STARTUP_TIMEOUT_S", "300")), exit=True) # (to stderr: a hang
+ try: # is no crash record)
+ sim = build()
+ except InstanceMismatch as exc: # the adapter's own loader refused the frozen instance
+ faulthandler.cancel_dump_traceback_later()
+ reason = f"instance_mismatch: {exc}"[:500]
+ give_up(data, reason, infra=True)
+ print(f"restart refused: {reason}", flush=True)
+ signal.signal(signal.SIGUSR1, lambda *_: None)
+ refuse_forever(reason, port)
+ faulthandler.cancel_dump_traceback_later() # a resume replay may take minutes
+ svc = Service(sim, data=data, reset_budget=int(env("RCB_RESET_BUDGET") or 0),
+ wall_clock_s=float(env("RCB_WALL_CLOCK_S") or 3600), max_resumes=int(env("RCB_MAX_RESUMES") or 2))
+ try:
+ svc.start()
+ except GiveUp as exc:
+ print(f"restart refused: {exc}", flush=True)
+ signal.signal(signal.SIGUSR1, lambda *_: None)
+ refuse_forever(str(exc), port)
+ if pending:
+ svc.on_sigusr1()
+ svc.serve(port)
diff --git a/images/abc-sim/tools/realtime/server.py b/images/abc-sim/tools/realtime/server.py
new file mode 100644
index 0000000000..513e7de343
--- /dev/null
+++ b/images/abc-sim/tools/realtime/server.py
@@ -0,0 +1,214 @@
+"""eai-standard/2.3 sim service for ABC Sim's standard-realtime tasks -- the adapter behind the shared realtime layer
+(`python /srv/rcb_realtime.py`, which imports this module and calls build(); docs/protocol/README.md §3,
+docs/protocol/standard_mode.md Part 3).
+
+The simulator-specific half only: `AbcSim` implements rcb_service.Sim (the contract documented in rcb_service.py, a
+byte-identical copy of the other realtime benchmarks') for one frozen instance, on the benchmark's tooling module
+rcb_abc.Session -- the same scene, action and success rule as the standard twin's eai-standard/2.2 service. The
+protocol, the clock, the plan, the episode, crash recovery and the finalize are rcb_realtime.py's and rcb_service.py's.
+
+Grading: the verdict is the live episode's, judged by the layer from step(): the task's rule as Session.step applies it
+to the steps this service ran (the 1.02 s success hold; ball tray: the countdown completed with the ball on the tray and
+both handles held). There is no live_verdict(). Nothing is replayed to grade it; the video is rendered from the
+trajectory after the verdict (render_video). `start_sha` is the frozen instance's recorded state hash: the layer refuses
+a fresh episode whose scene does not start there (instance_mismatch, infrastructure).
+
+What the agent gets is what the standard twin gives, minus the 2.2 additions the realtime layer does not serve
+(`/kinematics`, per-frame camera poses, depth modes): the cameras (RGB and depth), the robot's own proprioception and the
+14-number joint-position action. Nothing about the scene leaves this process.
+
+Settings (environment/docker-compose.yaml): RCB_INSTANCE, RCB_TASK_INFO (task.json: task text, default cameras),
+RCB_IMAGE_HW (default "480,640"), RCB_DATA, RCB_RESET_BUDGET, RCB_WALL_CLOCK_S, RCB_SLOWDOWN, RCB_GL (auto: EGL when it
+works, else OSMesa; rcb_abc picks it before MuJoCo loads).
+"""
+from __future__ import annotations
+
+import json
+import math
+import os
+import sys
+
+import numpy as np
+
+HERE = os.path.dirname(os.path.abspath(__file__))
+sys.path.insert(0, HERE)
+os.environ["RCB_SESSION_LOG"] = ""
+import rcb_abc as M # noqa: E402 (first: it picks the rendering backend before mujoco loads)
+import mujoco # noqa: E402
+
+M.SESSION_LOG = "" # the sidecar's Session is not the agent's interaction log
+from rcb_service import main # noqa: E402
+
+GL2CV = np.diag([1.0, -1.0, -1.0, 1.0])
+JOINT_TEXT = ("one row per control step, 14 numbers in `layout` order: each arm's six joint position targets (rad) and its "
+ "gripper opening (0 = closed, 1 = open: each finger 0.0475 m from closed; up to 1.042); rows dt apart (a "
+ "whole multiple of control_dt), `linear` (default: a straight line from the target in force) or `hold` "
+ "between rows. The simulator rounds each command to float32; a value outside `lower` / `upper` is clamped "
+ "to it by the servo (the row is executed as sent)")
+
+
+class AbcSim:
+ """One frozen ABC Sim instance behind the rcb_service.Sim contract (see the module docstring)."""
+
+ def __init__(self, instance: str, task_info: dict, image_hw: tuple[int, int] = (480, 640)):
+ self.instance = instance
+ self.info = task_info
+ self.s = M.Session(instance=instance)
+ self.start_sha = self.s.instance_sha # the frozen instance's recorded start (the layer checks it)
+ m = self.m = self.s.model
+ self.H, self.W = image_hw
+ self.control_dt = float(self.s.dt)
+ self.max_control_steps = int(self.s.max_steps) # a runaway guard: the task's own rule ends an episode
+ self.raw_dim = 14
+ lim = self.s.action_limits()
+ self.lo, self.hi = np.array(lim["low"]), np.array(lim["high"])
+ self.cameras = tuple(c for c in M.CAMERAS if c in self.s.cameras())
+ self.depth_cameras = self.cameras
+ self.fingers = {s: (m.joint(f"{s}_left_finger").id, m.joint(f"{s}_right_finger").id) for s in M.SIDES}
+ self.grip_act = {s: m.actuator(f"{s}_gripper").id for s in M.SIDES}
+ self.proprio_layout = ([f"q_{n}" for n in M.ACTION_LAYOUT] + [f"qd_{n}" for n in M.ACTION_LAYOUT]
+ + ["left_gripper_opening_m", "right_gripper_opening_m"]
+ + [f"{s}_tcp_{k}" for s in M.SIDES for k in ("x", "y", "z", "qw", "qx", "qy", "qz")]
+ + [f"effort_{n}" for n in M.ACTION_LAYOUT])
+ self.s.render_frame(self.cameras[0], (self.H, self.W)) # warms up the GL context
+ self.cmd = self.s.hold_action()
+
+ # ------------------------------------------------------------------ what the agent may know
+ def _intrinsic(self, cam: str) -> list:
+ return self.s.camera_info(cam, (self.H, self.W))["intrinsic_cv"]
+
+ def _camera_fact(self, cam: str) -> dict:
+ m, i = self.m, self.m.camera(cam).id
+ info = self.s.camera_info(cam, (self.H, self.W))
+ out = {"hw": [self.H, self.W], "intrinsic_cv": info["intrinsic_cv"], "fovy_deg": round(float(m.cam_fovy[i]), 2)}
+ b = int(m.cam_bodyid[i])
+ chain, x = [], b
+ while x > 0:
+ chain.append(x)
+ x = int(m.body_parentid[x])
+ if all(int(m.body_jntnum[x]) == 0 for x in chain):
+ return {**out, "mounted": "static", "extrinsic_cv": np.asarray(info["extrinsic_cv"]).round(6).tolist(),
+ "pose_note": "extrinsic_cv: world -> camera, OpenCV axes (x right, y down, z forward)"}
+ Tb = np.eye(4)
+ Tb[:3, :3] = self.s.data.xmat[b].reshape(3, 3)
+ Tb[:3, 3] = self.s.data.xpos[b]
+ link_T_cam = np.linalg.inv(Tb) @ np.asarray(info["cam2world_gl"]) @ GL2CV
+ return {**out, "mounted": f"on the arm link {m.body(b).name}: it moves with it", "link": m.body(b).name,
+ "link_T_cam_cv": link_T_cam.round(6).tolist()}
+
+ # ------------------------------------------------------------------ the rcb_service.Sim contract
+ def spec(self) -> dict:
+ m = self.m
+ action = {"dim": 14, "layout": list(M.ACTION_LAYOUT), "lower": self.lo.tolist(), "upper": self.hi.tolist(),
+ "units": "rad (joints), opening in [0, 1.042] (grippers)", "semantics": JOINT_TEXT}
+ episode = ("an episode ends in success the moment the task's goal has held for "
+ f"{M.HOLD_STEPS} control steps in a row ({round(M.HOLD_STEPS * self.control_dt, 2)} s), when your "
+ "time is up, or on a simulator error" if self.s.rule != "tray" else
+ "an episode ends in success when the tray's countdown completes with the ball on the tray and both "
+ "handles held throughout, in failure the moment the ball leaves the tray or a handle is let go during "
+ "the countdown, when your time is up, or on a simulator error")
+ return {
+ "simulator": "ABC Sim (abc_sim) on MuJoCo 3.6.0 (CPU physics; cameras rendered over EGL)",
+ "robot": "two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) at a table",
+ "task_text": self.info["task_text"],
+ "episode": episode,
+ "action_types": {"joint_position": action},
+ "cameras": {c: self._camera_fact(c) for c in self.cameras},
+ "default_camera": (self.info.get("default_cameras") or list(M.DEFAULT_CAMERAS))[0],
+ "default_cameras": list(self.info.get("default_cameras") or M.DEFAULT_CAMERAS),
+ "proprio": {"groups": {
+ "q_*": "the 14 action coordinates measured: joint angles (rad) and gripper openings (0 closed .. 1 open)",
+ "qd_*": "their velocities",
+ "*_gripper_opening_m": "metres the two fingers of each gripper have travelled apart from closed (0 .. 0.095)",
+ "*_tcp_*": "each arm's tool centre point in the world frame: position (m), wxyz quaternion",
+ "effort_*": "each servo's force: joint torques (N m) and gripper force (N)"}},
+ "static": {"arms": list(M.SIDES)},
+ "world": {"frame": "the table's world frame: x forward (away from the arms' bases), y to the left as the arms "
+ "face, z up (no positions of the scene are given)", "up": "+z",
+ "units": {"length": "m", "angle": "rad", "time": "s"}, "quaternion_order": "wxyz"},
+ "robot_spec": {
+ "name": "I2RT YAM, bimanual",
+ "joints": [{"name": n, "type": "revolute", "position_limits": m.jnt_range[m.joint(n).id].tolist()}
+ for n in M.ARM_JOINTS],
+ "grippers": {s: {"command": f"action entry {s}_gripper: 0 = closed, 1 = open (each finger 0.0475 m from "
+ "closed), up to 1.042"} for s in M.SIDES},
+ "controller": "joint position servos (MuJoCo position actuators with velocity damping) on the 12 arm "
+ "joints and the 2 grippers; the targets are held for the whole control step",
+ "physics_hz": round(1.0 / self.control_dt * int(self.s.env._control_decimation), 3),
+ },
+ "depth": {"cameras": list(self.depth_cameras),
+ "units": "z-depth in metres, pixel for pixel with the camera's image; noise-free"},
+ "gl_backend": M.GL,
+ }
+
+ def interpolable(self, typ: str) -> bool:
+ return True
+
+ def images(self, cameras: list[str], depth: bool) -> tuple[dict, dict]:
+ rgb = {c: self.s.render_frame(c, (self.H, self.W)) for c in cameras}
+ dep = {}
+ if depth:
+ for c in cameras:
+ z = self.s.render_depth(c, (self.H, self.W))
+ dep[c] = np.where(np.isfinite(z) & (z > 0), z, 0.0).astype(np.float32)
+ return rgb, dep
+
+ def proprio(self) -> np.ndarray:
+ s, m, d = self.s, self.m, self.s.data
+ eff = np.array([float(d.qfrc_actuator[m.jnt_dofadr[m.joint(n).id]]) if not n.endswith("_gripper")
+ else float(d.actuator_force[self.grip_act[n.split("_")[0]]]) for n in M.ACTION_LAYOUT])
+ opening = [float(d.qpos[m.jnt_qposadr[self.fingers[x][0]]] - d.qpos[m.jnt_qposadr[self.fingers[x][1]]])
+ for x in M.SIDES]
+ tcp = [v for x in M.SIDES for v in s.site_pose(f"{x}_tcp_site")]
+ return np.concatenate([s.robot_q(), s.robot_qd(), opening, tcp, eff]).astype(np.float32)
+
+ def clip(self, typ: str, rows: np.ndarray) -> tuple[np.ndarray, list]:
+ """Rows are executed as sent (as in the standard twin); the entries the servos clamp are reported."""
+ A = np.asarray(rows, dtype=np.float64)
+ A32 = A.astype(np.float32).astype(np.float64)
+ bad = np.argwhere((A32 < self.lo) | (A32 > self.hi))
+ return A, [{"row": int(r), "index": int(i), "reason": f"{M.ACTION_LAYOUT[i]} clamped by the servo"}
+ for r, i in bad[:200]]
+
+ def to_sim(self, typ: str, row: np.ndarray) -> np.ndarray:
+ return np.asarray(row, dtype=np.float64)
+
+ def command(self, typ: str) -> np.ndarray:
+ return self.cmd
+
+ def hold(self) -> tuple[str, np.ndarray]:
+ return "joint_position", self.cmd
+
+ def step(self, row: np.ndarray) -> tuple[bool, bool, dict]:
+ running = self.s.step(row)
+ self.cmd = np.asarray(row, dtype=np.float64).copy()
+ return (not running), bool(self.s.success), ({} if running else {"why": self.s.reason})
+
+ def reset(self) -> None:
+ self.s.reset()
+ self.cmd = self.s.hold_action()
+
+ def state_sha(self) -> str:
+ return self.s.state_sha()
+
+ def save_trajectory(self, rows: np.ndarray, path: str, meta: dict) -> None:
+ self.s.save_trajectory(rows, path, meta)
+
+ def render_video(self, rows: np.ndarray, path: str) -> None:
+ """The episode's video, after the verdict (it decides nothing): the rows replayed on this service's session."""
+ import imageio.v2 as imageio
+ rows = np.asarray(rows, dtype=np.float64)
+ every = max(1, -(-len(rows) // 1500))
+ self.s.render_video(rows, path, cameras=list(M.DEFAULT_CAMERAS), every=every, size=(240, 320))
+ imageio.imwrite(os.path.splitext(path)[0] + ".last.png", self.s.render_frame("top", (self.H, self.W)))
+
+
+def build() -> AbcSim:
+ env = os.environ.get
+ hw = [int(v) for v in env("RCB_IMAGE_HW", "480,640").split(",")]
+ info = json.load(open(env("RCB_TASK_INFO", "/srv/task.json")))
+ return AbcSim(env("RCB_INSTANCE", "/srv/instance.npz"), info, (hw[0], hw[1]))
+
+
+if __name__ == "__main__":
+ main(build)
diff --git a/images/abc-sim/tools/standard/finalize.sh b/images/abc-sim/tools/standard/finalize.sh
new file mode 100755
index 0000000000..2aec3e3da7
--- /dev/null
+++ b/images/abc-sim/tools/standard/finalize.sh
@@ -0,0 +1,106 @@
+#!/bin/sh
+# [[verifier.collect]] hook, run inside the `sim` sidecar once Harbor has stopped the agent's container.
+# 1. `rcb_limited.py end` (docs/protocol/standard_mode.md §13.3): SIGUSR1 to the service, which ends the episode if the
+# agent had not (reason "timeout"), writes trajectory.npz + episode.json (the live verdict, the final-state hash)
+# and exits. It exits 2 when final.json already holds the verdict (the service gave up: after crashes, or at the
+# start on a scene that is not the frozen instance): that verdict stays.
+# 2. the verdict is the live episode's (owner, 2026-10-17): episode.json's success, the task's rule as the
+# service applied it to the steps it ran (its hold / track windows are part of that rule). Nothing is replayed to
+# grade it. final.json gets graded_by = "live", replays = 0, finalized = true: the only thing the verifier grades.
+# 3. ONE render pass of the trajectory from the frozen instance in a fresh process (video.py) draws replay.mp4, after
+# the verdict is on disk (video_pending while it runs): it checks nothing, and a render that fails or runs out of
+# time loses only the video, never the verdict.
+# Time: the hook has RCB_COLLECT_BUDGET_S (the task's [[verifier.collect]] timeout_sec). The render steps the physics of
+# the graded episode once (no agent thinking time, ~1500 frames at most; EGL on the sidecar's GPU) and gets what is
+# left of the budget, less a minute; it stops itself 30 s before that (the frames so far stay playable) and is
+# killed at it.
+# final.json is always written to a temporary file and renamed: the verifier never reads half of one, and a hook killed
+# mid-write leaves the previous one (not finalized: the verifier books that as infra_error, not as the agent's 0).
+set -u
+DATA="${RCB_DATA:-/data}"; SRV="${RCB_SRV:-/srv}"; TOOLS="${RCB_TOOLS:-/opt/abc-tools}"; export SRV TOOLS # RCB_SRV / RCB_TOOLS: for the tests only
+RCB_HOOK_T0="$(date +%s)"; export RCB_HOOK_T0
+python "$SRV/rcb_limited.py" end "$DATA" --timeout "${RCB_COLLECT_END_TIMEOUT_S:-900}"; rc=$?
+if [ "$rc" = 2 ]; then
+ echo "[finalize] final.json already holds the verdict"; exit 0
+fi
+RCB_END_RC="$rc" python - <<'PY'
+import json, os, subprocess, sys, time
+
+d = os.environ.get("RCB_DATA", "/data")
+srv = os.environ.get("SRV", "/srv")
+tools = os.environ.get("TOOLS", "/opt/abc-tools")
+instance = os.environ.get("RCB_INSTANCE", os.path.join(srv, "instance.npz"))
+t0 = float(os.environ.get("RCB_HOOK_T0") or time.time())
+hard = t0 + float(os.environ.get("RCB_COLLECT_BUDGET_S") or 1800) - 60.0 # everything is done a minute early
+final = os.path.join(d, "final.json")
+
+
+def read(name):
+ try:
+ with open(os.path.join(d, name)) as f:
+ v = json.load(f)
+ except (OSError, ValueError):
+ return {}
+ return v if isinstance(v, dict) else {}
+
+
+def write_final(out):
+ tmp = final + ".hook.tmp"
+ with open(tmp, "w") as f:
+ json.dump(out, f)
+ f.flush(); os.fsync(f.fileno())
+ os.replace(tmp, final)
+ print(json.dumps(out), flush=True)
+
+
+if os.environ.get("RCB_END_RC") != "0":
+ print("[finalize] the service did not end and dump the episode in time: an infrastructure failure", flush=True)
+ out = read("final.json")
+ out.update({"finalized": True, "success": False, "graded_by": "live", "replays": 0, "infra_error": 1,
+ "error": "collect hook: the sim service did not end and dump the episode in time"})
+ write_final(out)
+ sys.exit(0)
+
+ep = read("episode.json")
+out = dict(ep)
+out.update({"graded_by": "live", "replays": 0, "live_success": bool(ep.get("success")), "success": bool(ep.get("success")),
+ "state_sha": ep.get("live_sha"), "video": False, "video_pending": True, "video_source": "render"})
+if not ep: # the service's own record of the live episode is unreadable: no verdict on the agent
+ out.update({"success": False, "infra_error": 1, "video_pending": False, "error": "no episode.json"})
+out["finalized"] = True
+write_final(out) # the verdict: nothing below changes it
+if not ep:
+ sys.exit(0)
+
+left = hard - time.time()
+mp4, res = os.path.join(d, "replay.mp4"), os.path.join(d, "video.json")
+ok = False
+if left < 60.0:
+ print("[finalize] no time left for replay.mp4", flush=True)
+else:
+ print(f"[finalize] verdict written; rendering replay.mp4 (at most {left:.0f} s)", flush=True)
+ for f in (mp4, res):
+ try:
+ os.remove(f)
+ except OSError:
+ pass
+ with open(os.path.join(d, "video.log"), "w") as log:
+ p = subprocess.Popen([sys.executable, os.path.join(tools, "video.py"), "--instance", instance, "--traj",
+ os.path.join(d, "trajectory.npz"), "--out", mp4, "--result", res,
+ "--deadline-s", str(int(left - 30.0))],
+ stdout=subprocess.DEVNULL, stderr=log, env=dict(os.environ, RCB_SESSION_LOG=""))
+ try:
+ p.wait(timeout=left)
+ except subprocess.TimeoutExpired:
+ p.kill(); p.wait()
+ print("[finalize] the video render ran out of time", flush=True)
+ ok = bool(read("video.json").get("video")) and os.path.isfile(mp4)
+ if not ok:
+ try:
+ os.remove(mp4) # a file cut off mid-write does not play
+ except OSError:
+ pass
+out.update({"video": ok, "video_pending": False})
+write_final(out)
+PY
+exit 0
diff --git a/images/abc-sim/tools/standard/server.py b/images/abc-sim/tools/standard/server.py
new file mode 100644
index 0000000000..3e3b30ed30
--- /dev/null
+++ b/images/abc-sim/tools/standard/server.py
@@ -0,0 +1,718 @@
+"""eai-standard/2.2 sim service for the ABC Sim tasks (docs/protocol/standard_mode.md): the adapter of the shared layer
+rcb_limited.py (/srv/rcb_limited.py, from the shared standard files); the simulator is rcb_abc.Session (abc_sim on
+MuJoCo 3.6.0, CPU physics, EGL rendering). HTTP surface: GET /spec, GET /status, POST /observe, POST /submit,
+POST /kinematics, and POST /reset when the run grants resets (RCB_RESET_BUDGET; the standard tasks' default is 0).
+Every call is logged to /data/episode.jsonl.
+
+The episode is the frozen instance's (environment/sim/instance.npz, the privileged twin's). The action is abc_sim's own
+14 numbers per control step: the two arms' joint position targets (rad) and gripper openings (0 closed .. 1 open). The
+episode ends the moment the task's success has held for 1.02 s (30 control steps; ball tray: the countdown completed
+with the ball on the tray and both handles held), at the task's failure (ball tray only), or when the agent's time is
+over (the collect hook). Nothing about the scene leaves this process: the proprioception is the robot's own joints,
+grippers and tool frames; every camera is fixed in the world or rides on an arm.
+
+Crash recovery (rcb_limited.Episode, resume class `exact`: MuJoCo on the CPU repeats bit for bit in a fresh process):
+every executed row is journaled; after a crash the service rebuilds the episode and replays the journal, resetting where
+the committed resets did. When the episode ends the service writes /data/trajectory.npz + /data/episode.json; the collect
+hook (finalize.sh) makes it exit and writes the verdict.
+
+The verdict is the live episode's (PROTOCOL H.4): `success` in episode.json is the task's rule as Session.step applied
+it to the steps this service ran (its 1.02 s hold is part of the rule). Nothing is replayed to grade it. The frozen
+initial state is checked when the episode begins: a fresh start whose built scene does not hash to the instance's
+recorded sha gives up as an infrastructure failure (`instance_mismatch`) before the agent is served."""
+
+import contextlib
+import json
+import math
+import os
+import sys
+import threading
+import time
+import traceback
+
+import numpy as np
+
+sys.path.insert(0, os.environ.get("RCB_SRV", "/srv"))
+import rcb_limited as L # noqa: E402
+
+DATA = os.environ.get("RCB_DATA", "/data")
+SRV = os.environ.get("RCB_SRV", "/srv")
+INSTANCE = os.environ.get("RCB_INSTANCE", os.path.join(SRV, "instance.npz"))
+WALL_CLOCK_S = float(os.environ.get("RCB_WALL_CLOCK_S", "3600"))
+MAX_CHUNK_S = float(os.environ.get("RCB_MAX_CHUNK_S", "10"))
+MAX_WATCH_S = float(os.environ.get("RCB_MAX_WATCH_S", "30"))
+RESET_BUDGET = max(0, int(os.environ.get("RCB_RESET_BUDGET") or 0))
+W, H = 640, 480
+# Images one call may return (cameras x frames, per-frame depth counted again), checked before anything runs: every
+# frame is held until the response is sent (0.9 MB per 640 x 480 RGB frame; the simulator itself peaks at 2.4 GB).
+MAX_FRAMES = 1000
+LOCK = threading.Lock()
+PID_FILE = os.path.join(DATA, "server.pid")
+E = {"ready": False, "step": 0, "calls": 0, "done": False, "reason": None, "success": False, "t0": time.time(),
+ "error": None, "resets": 0, "reset_at": []}
+
+os.environ["RCB_SESSION_LOG"] = ""
+import rcb_abc as M # noqa: E402 (first: it picks the rendering backend before mujoco loads)
+import mujoco # noqa: E402
+
+M.SESSION_LOG = "" # the sidecar's Session is not the agent's interaction log
+NU = 14
+EP = L.Episode(DATA, dim=NU, resume="exact", persist=("resets", "reset_at"))
+EP.startup() # start count, back-off after failed starts, the startup watchdog until scene_built()
+S = M.Session(instance=INSTANCE)
+MD = S.model
+DT = S.dt
+CTRL_HZ = 1.0 / DT
+SUBSTEPS = int(S.env._control_decimation)
+ROWS: list = [] # every executed row of the current episode: trajectory.npz
+TASK_INFO = json.load(open(os.path.join(SRV, "task.json")))
+CAMS = [c for c in M.CAMERAS if c in S.cameras()]
+DEFAULT_CAMS = list(TASK_INFO.get("default_cameras") or M.DEFAULT_CAMERAS)
+LIM = S.action_limits()
+LO, HI = np.array(LIM["low"]), np.array(LIM["high"])
+ARM_J = [mujoco.mj_name2id(MD, mujoco.mjtObj.mjOBJ_JOINT, n) for n in M.ARM_JOINTS]
+FINGERS = {s: (MD.joint(f"{s}_left_finger").id, MD.joint(f"{s}_right_finger").id) for s in M.SIDES}
+ROBOT_JOINTS = set(ARM_J) | {j for pair in FINGERS.values() for j in pair}
+GRIP_ACT = {s: MD.actuator(f"{s}_gripper").id for s in M.SIDES}
+
+
+def own_body(b: int) -> bool:
+ """Whether body `b` is fixed in the world or moved by the robot's own joints alone (a camera on anything else would
+ give away where that thing is)."""
+ while b > 0:
+ if int(MD.body_mocapid[b]) >= 0:
+ return False
+ first = int(MD.body_jntadr[b])
+ if any(j not in ROBOT_JOINTS for j in range(first, first + int(MD.body_jntnum[b]))):
+ return False
+ b = int(MD.body_parentid[b])
+ return True
+
+
+SCENE_CAMS = [c for c in CAMS if not own_body(int(MD.cam_bodyid[MD.camera(c).id]))]
+assert not SCENE_CAMS, f"cameras on scene bodies: {SCENE_CAMS}" # every ABC camera is static or on an arm
+GROUPS = [
+ ("joint_pos", [f"q_{n}" for n in M.ACTION_LAYOUT],
+ "the 14 action coordinates measured: joint angles (rad) and gripper openings (0 closed .. 1 open), action order"),
+ ("joint_vel", [f"qd_{n}" for n in M.ACTION_LAYOUT], "their velocities (rad/s; gripper opening per second)"),
+ ("gripper_opening", ["left_gripper_opening_m", "right_gripper_opening_m"],
+ "metres the two fingers of each gripper have travelled apart from closed (0 .. 0.095)"),
+ ("tcp_pose", [f"{s}_tcp_{k}" for s in M.SIDES for k in ("x", "y", "z", "qw", "qx", "qy", "qz")],
+ "each arm's tool centre point (kinematics frames left_tcp / right_tcp) in the world frame: position (m), wxyz"),
+ ("joint_effort", [f"effort_{n}" for n in M.ACTION_LAYOUT],
+ "each servo's force: joint torques (N m) and gripper force (N), as the simulator applies them"),
+]
+PROPRIO_LAYOUT = [n for _, names, _ in GROUPS for n in names]
+PROPRIO_GROUPS, _i = {}, 0
+for _g, _names, _meaning in GROUPS:
+ PROPRIO_GROUPS[_g] = [_i, len(_names), _meaning]
+ _i += len(_names)
+
+
+# ------------------------------------------------------------------------------------------------- cameras
+def _intrinsic(cam: str) -> list:
+ return S.camera_info(cam, (H, W))["intrinsic_cv"]
+
+
+def camera_info(cam: str) -> dict:
+ """World -> camera (OpenCV axes) and camera -> world (OpenGL axes) at the current state."""
+ return S.camera_info(cam, (H, W))
+
+
+GL2CV = np.diag([1.0, -1.0, -1.0, 1.0])
+
+
+def _mount(cam: str) -> dict:
+ i = MD.camera(cam).id
+ b = int(MD.cam_bodyid[i])
+ info = camera_info(cam)
+ fixed = all(int(MD.body_jntnum[x]) == 0 for x in _chain(b))
+ if fixed:
+ return {"type": "static", "extrinsic_cv": info["extrinsic_cv"], "cam2world_gl": info["cam2world_gl"]}
+ Tb = np.eye(4)
+ Tb[:3, :3] = S.data.xmat[b].reshape(3, 3)
+ Tb[:3, 3] = S.data.xpos[b]
+ link_T_cam_cv = np.linalg.inv(Tb) @ np.asarray(info["cam2world_gl"]) @ GL2CV
+ return {"type": "link", "parent_link": MD.body(b).name, "link_T_cam_cv": link_T_cam_cv.tolist()}
+
+
+def _chain(b: int) -> list:
+ out = []
+ while b > 0:
+ out.append(b)
+ b = int(MD.body_parentid[b])
+ return out
+
+
+MOUNTS = {c: _mount(c) for c in CAMS}
+MOUNTED = {c: "static" if m["type"] == "static" else f"on the arm link {m['parent_link']}: it moves with it"
+ for c, m in MOUNTS.items()}
+KIN = M.Kinematics(MD, S.data)
+KIN_LINKS = [*M.Kinematics.FRAMES, *KIN.links]
+
+
+# ------------------------------------------------------------------------------------------------- kinematics
+def do_kinematics(req: dict) -> dict:
+ """The robot's kinematic model (stateless): fk of the tool frames and arm links for 14 action coordinates q; ik of
+ tool-frame poses, each frame with its own arm's six joints (damped least squares, several starts, within the joint
+ ranges); no collision check."""
+ if req["op"] == "fk":
+ r = KIN.answer({"op": "fk", "q": req["q"], "links": req["links"]}, S.robot_q())
+ return L.fk_response(r["poses"], "world")
+ r = KIN.answer({"op": "ik", "targets": req["targets"], "seed": req["seed"], "tol_pos_m": req["tol_pos_m"],
+ "tol_rot_rad": req["tol_rot_rad"], "max_iters": req["max_iters"]}, S.robot_q())
+ errors = {k: (v["pos_m"], v["rot_rad"]) for k, v in r["error"].items()}
+ return L.ik_response(r["q"], r["ok"], errors, "world", note=r["note"])
+
+
+# ------------------------------------------------------------------------------------------------- spec
+TASK_TEXT = TASK_INFO["task_text"]
+ONE = "one episode, no reset" if not RESET_BUDGET else (
+ f"an episode (with up to {RESET_BUDGET} resets: POST /reset starts a new one; only the last is graded)")
+EPISODE = (f"{ONE}: it ends in success the moment the task's goal has held for {M.HOLD_STEPS} control steps in a row "
+ f"({round(M.HOLD_STEPS * DT, 2)} s), or when your time is over" if S.rule != "tray" else
+ f"{ONE}: it ends in success when the tray's countdown completes with the ball on the tray and both handles "
+ "held throughout, in failure the moment the ball leaves the tray or a handle is let go during the "
+ "countdown, or when your time is over")
+JOINT_TEXT = ("one row per control step, 14 numbers in `layout` order: each arm's six joint position targets (rad) and its "
+ "gripper opening (0 = closed, 1 = open: each finger 0.0475 m from closed; up to 1.042). Rows are `dt` apart "
+ f"(a whole multiple of the {DT:g} s control period, at most 0.5 s), `linear` (default: from the previous "
+ "target) or `hold` between rows. The simulator rounds each command to float32; a value outside `limits` "
+ "is clamped to it by the servo (reported in meta.clipped; the row is executed as sent)")
+ACTION = {"dim": NU, "layout": list(M.ACTION_LAYOUT), "limits": {"low": LO.tolist(), "high": HI.tolist()},
+ "units": "rad (joints), opening in [0, 1.042] (grippers)", "semantics": JOINT_TEXT}
+
+
+def _joint(n: str, k: int) -> dict:
+ if n.endswith("_gripper"):
+ s = n.split("_")[0]
+ a = GRIP_ACT[s]
+ return {"name": n, "type": "prismatic", "unit": "m",
+ "position_limits": [float(MD.actuator_ctrlrange[a, 0]), float(MD.actuator_ctrlrange[a, 1])],
+ "velocity_limit": None, "effort_limit": None, "group": f"{s}_gripper",
+ "note": f"the finger travel of {s}_left_finger (its twin {s}_right_finger mirrors it); the action entry "
+ f"and q_{n} give it as a fraction of {M.GRIPPER_M} m (0 closed, 1 open)"}
+ j = MD.joint(n).id
+ a = MD.actuator(n).id
+ return {"name": n, "type": "revolute", "unit": "rad", "position_limits": MD.jnt_range[j].tolist(),
+ "velocity_limit": None, "effort_limit": float(MD.actuator_forcerange[a, 1]), "group": f"{n.split('_')[0]}_arm"}
+
+
+def _gains() -> dict:
+ out = {}
+ for n in M.ACTION_LAYOUT:
+ a = MD.actuator(n).id
+ out[n] = {"stiffness": float(MD.actuator_gainprm[a, 0]), "damping": float(-MD.actuator_biasprm[a, 2])}
+ return out
+
+
+BASES = {s: [*S.data.xpos[MD.body(f"{s}_arm").id].tolist(), *S.data.xquat[MD.body(f"{s}_arm").id].tolist()]
+ for s in M.SIDES}
+BASE_MID = [*((np.array(BASES["left"][:3]) + np.array(BASES["right"][:3])) / 2).tolist(), *BASES["left"][3:]]
+
+
+def _link_T_site(site: str) -> list:
+ """The site's constant pose in its body's frame (4 x 4)."""
+ i = MD.site(site).id
+ T = np.eye(4)
+ R = np.zeros(9)
+ mujoco.mju_quat2Mat(R, MD.site_quat[i])
+ T[:3, :3] = R.reshape(3, 3)
+ T[:3, 3] = MD.site_pos[i]
+ return T.tolist()
+SPEC = {
+ "protocol": L.PROTOCOL,
+ "protocol_compat": list(L.COMPAT),
+ "simulator": "ABC Sim (abc_sim) on MuJoCo 3.6.0 (CPU physics; cameras rendered over EGL)",
+ "robot": "two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) at a table",
+ "task_text": TASK_TEXT,
+ "control_hz": CTRL_HZ,
+ "physics_substeps": SUBSTEPS,
+ "max_chunk_s": MAX_CHUNK_S,
+ "max_watch_s": MAX_WATCH_S,
+ "max_frames_per_call": MAX_FRAMES,
+ "cameras": {c: {"rgb": True, "depth": True, "resolution": [W, H], "intrinsic_cv": _intrinsic(c),
+ "depth_range_m": [float(MD.vis.map.znear * MD.stat.extent), float(MD.vis.map.zfar * MD.stat.extent)],
+ "mounted": MOUNTED[c], "mount": MOUNTS[c]} for c in CAMS},
+ "default_cameras": DEFAULT_CAMS,
+ "action_types": {"joint_position": ACTION, "not_yet": ["ee_pose", "joint_delta", "joint_velocity", "joint_torque"]},
+ "proprio_layout": PROPRIO_LAYOUT,
+ "proprio_groups": PROPRIO_GROUPS,
+ "static": {"arms": list(M.SIDES), "control_period_s": DT},
+ "world": {
+ "frame": "the table's world frame: x forward (away from the arms' bases), y to the left as the arms face, z up "
+ "(no positions of the scene are given)",
+ "up": "+z",
+ "units": {"length": "m", "angle": "rad", "time": "s"},
+ "quaternion_order": "wxyz",
+ "camera_axes": "intrinsic_cv / extrinsic_cv: OpenCV camera axes (x right, y down, z forward); cam2world_gl: "
+ "OpenGL axes",
+ },
+ "budget": {"reset": RESET_BUDGET, "steps": None, "wall_clock_s": WALL_CLOCK_S},
+ "episode": EPISODE,
+ "robot_spec": {
+ "name": "I2RT YAM, bimanual",
+ "description": "two 6-joint I2RT YAM arms side by side, each with a parallel two-finger gripper and a wrist "
+ "camera; the left arm is the one at +y",
+ "base": {"type": "fixed", "pose": BASE_MID, "link": "the midpoint between the two arms' base links",
+ "arm_bases": {f"{s}_arm": BASES[s] for s in M.SIDES},
+ "note": "both arms' bases are fixed in the world (x y z + wxyz quaternion); `pose` is the midpoint "
+ "between them, `arm_bases` each arm's own"},
+ "joints": [_joint(n, k) for k, n in enumerate(M.ACTION_LAYOUT)],
+ "grippers": {s: {"joints": [f"{s}_left_finger", f"{s}_right_finger"], "opening_m": [0.0, 2 * M.GRIPPER_M],
+ "command": "the action's <side>_gripper entry: 0 = closed, 1 = open (each finger 0.0475 m "
+ "from closed), up to 1.042; a position servo on the finger travel",
+ "tcp_frame": f"{s}_tcp"} for s in M.SIDES},
+ "controller": {"type": "joint position servos (MuJoCo position actuators with velocity damping) on the 12 arm "
+ "joints and the 2 grippers", "control_hz": CTRL_HZ, "physics_hz": CTRL_HZ * SUBSTEPS,
+ "gains": _gains(),
+ "note": "the targets are held for the whole control step; force limits in joints[].effort_limit"},
+ "tcp": {f"{s}_tcp": {"parent_link": f"{s}_link_6", "link_T_frame": _link_T_site(f"{s}_tcp_site"),
+ "definition": f"the arm's tool centre point (abc_sim's {s}_tcp_site)"} for s in M.SIDES}
+ | {f"{s}_grasp": {"parent_link": f"{s}_link_6", "link_T_frame": _link_T_site(f"{s}_grasp_site"),
+ "definition": f"the point between the finger pads ({s}_grasp_site)"} for s in M.SIDES},
+ },
+ "kinematics": {
+ "endpoint": "/kinematics",
+ "joint_names": GROUPS[0][1],
+ "frame": "world",
+ "quaternion_order": "wxyz",
+ "links": KIN_LINKS,
+ "tcp_frames": ["left_tcp", "right_tcp"],
+ "ee_frames": list(M.Kinematics.FRAMES),
+ "ik_targets": list(M.Kinematics.FRAMES),
+ "ik": {"tol_pos_m": 0.002, "tol_rot_rad": 0.02, "max_iters": 300},
+ "note": "tool frames and arm links for 14 action coordinates q (joint_pos order), world frame; ik: each target "
+ "frame with its own arm's six joints, position and orientation; no collision check",
+ },
+ "depth": {"modes": list(L.DEPTH_MODES), "default": "none", "kind": "z-depth", "unit": "m", "invalid": 0,
+ "max_m": L.DEPTH_MAX_M, "frames_encoding": "uint16 mm, zlib", "noise": L.DEPTH_NOISE},
+}
+if RESET_BUDGET:
+ SPEC["reset"] = (
+ f"POST /reset (JSON or RCB1 {{cameras, video_fps, depth}}; no physics) abandons the running episode, or follows "
+ f"one that has ended, and starts a new one from the same frozen starting state, {RESET_BUDGET} times in all; it "
+ "returns the new episode's first frames and proprioception. Only the last episode is graded: an episode you "
+ "reset away is never graded, a success ends the trial (409 after it), and when your time is up the episode then "
+ "running is the one graded. The wall clock never restarts. /status and every meta add `episode`, `resets_left` "
+ "and `control_steps_total` (all episodes); `control_steps` counts the current episode's."
+ )
+L.check_spec(SPEC) # a spec that misses a 2.2 field or names a forbidden one never starts the episode
+EP.scene_built()
+
+
+def ctrl_steps() -> int:
+ return int(S.steps)
+
+
+def proprio_row() -> np.ndarray:
+ d = S.data
+ eff = np.array([float(d.qfrc_actuator[MD.jnt_dofadr[MD.joint(n).id]]) if not n.endswith("_gripper")
+ else float(d.actuator_force[GRIP_ACT[n.split("_")[0]]]) for n in M.ACTION_LAYOUT])
+ opening = [float(d.qpos[MD.jnt_qposadr[FINGERS[s][0]]] - d.qpos[MD.jnt_qposadr[FINGERS[s][1]]]) for s in M.SIDES]
+ tcp = [x for s in M.SIDES for x in S.site_pose(f"{s}_tcp_site")]
+ return np.concatenate([S.robot_q(), S.robot_qd(), opening, tcp, eff]).astype(np.float32)
+
+
+def grab(cams, want_depth: bool):
+ rgb, dep = {}, {}
+ for c in cams:
+ rgb[c] = S.render_frame(c, (H, W))
+ if want_depth:
+ dep[c] = S.render_depth(c, (H, W))
+ return rgb, dep
+
+
+def extrinsics(cams) -> dict:
+ return {c: np.asarray(camera_info(c)["extrinsic_cv"], dtype=np.float64) for c in cams}
+
+
+def write_final() -> None:
+ if L.final_verdict(DATA): # finalize.sh's verdict, or a give-up after crashes: never overwritten
+ return
+ L._write_json(os.path.join(DATA, "final.json"), {**summary(), "finalized": False, "live_sha": E.get("live_sha")})
+
+
+def summary() -> dict:
+ n = int(E.get("episode_control_steps") or ctrl_steps())
+ return {"success": bool(E["success"]), "steps": E["step"], "calls": E["calls"], "control_steps": n,
+ "physics_steps": n * SUBSTEPS, "elapsed_s": round((E.get("t_end") or time.time()) - E["t0"], 1),
+ "reason": E["reason"], "done": E["done"], "task": S.family, "protocol": L.PROTOCOL, "n_actions": len(ROWS),
+ "episodes": E["resets"] + 1, "resets": E["resets"], "reset_budget": RESET_BUDGET,
+ "control_steps_total": EP.rows, **EP.final_fields()}
+
+
+def finish(reason: str) -> None:
+ """The episode is over: the task's verdict on the steps executed, then the record for the collect hook."""
+ if E["done"]:
+ return
+ E["done"] = True
+ E["reason"] = reason
+ E["t_end"] = time.time()
+ E["episode_control_steps"] = ctrl_steps()
+ E["success"] = bool(S.success) and reason != "error"
+ EP.log({"ev": "end", "reason": reason, "step": E["step"], "control_steps": ctrl_steps(), "success": bool(E["success"]),
+ "episode": E["resets"] + 1, "journal_rows": EP.rows})
+ dump()
+
+
+def dump() -> None:
+ if E.get("dumped"):
+ return
+ E["dumped"] = True
+ E["live_sha"] = S.state_sha()
+ S.save_trajectory(np.asarray(ROWS, dtype=np.float64).reshape(-1, NU), os.path.join(DATA, "trajectory.npz"),
+ meta={"source": "standard-mode episode", "reason": E["reason"]})
+ L._write_json(os.path.join(DATA, "episode.json"), {**summary(), "live_sha": E["live_sha"]})
+ write_final()
+
+
+def ctrl_step(a, rec) -> bool:
+ """One executed control step, journaled. True when the call must stop here."""
+ running = S.step(a)
+ ROWS.append(np.asarray(a, dtype=np.float64))
+ stop = EP.journal(a)
+ rec.tick()
+ if not running:
+ finish(S.reason or "done")
+ return E["done"] or stop
+
+
+def checking():
+ """Checking a request, before anything runs: a field of the wrong type is a 400 with nothing changed, never a
+ simulator error that ends the episode."""
+ try:
+ yield
+ except ValueError:
+ raise
+ except (TypeError, AttributeError, KeyError, IndexError, OverflowError) as exc:
+ raise ValueError(f"malformed request: {exc!r}"[:300]) from None
+
+
+def number(meta: dict, key: str, default: float) -> float:
+ v = meta.get(key)
+ if v is None:
+ return float(default)
+ try:
+ if isinstance(v, bool):
+ raise TypeError
+ x = float(v)
+ except (TypeError, ValueError, OverflowError):
+ raise ValueError(f"{key} must be a number of seconds, got {v!r}"[:200]) from None
+ if not math.isfinite(x):
+ raise ValueError(f"{key} must be finite")
+ return x
+
+
+def note_of(meta: dict) -> str:
+ note = meta.get("note")
+ return "" if note is None else str(note)[:500]
+
+
+def frame_every(fps: int, video: str) -> int:
+ return max(1, int(round(CTRL_HZ / max(1, fps)))) if video != "none" else 10**9 # no video: first and last frame
+
+
+def recorder(cams, fps: int, meta: dict, video: str, steps: int = 0) -> L.Recorder:
+ every = frame_every(fps, video)
+ L.check_frames(len(cams), 2 + steps // every, L.depth_mode(meta) in ("frames", "legacy"), MAX_FRAMES)
+ return L.Recorder(cams, every, grab, proprio_row, extrinsics, ctrl_steps, depth=L.depth_mode(meta), clock_hz=CTRL_HZ)
+
+
+def video_fps(meta: dict) -> int:
+ fps = meta.get("video_fps")
+ if fps is None:
+ return 10
+ if isinstance(fps, bool) or not isinstance(fps, (int, float)) or not (1 <= fps <= CTRL_HZ):
+ raise ValueError(f"video_fps must be in [1, {CTRL_HZ:g}]")
+ return int(fps)
+
+
+def cameras_of(meta: dict) -> list:
+ cams = meta.get("cameras") or DEFAULT_CAMS
+ if not isinstance(cams, (list, tuple)) or not all(isinstance(c, str) for c in cams):
+ raise ValueError(f"cameras must be a list of camera names; cameras: {CAMS}")
+ bad = [c for c in cams if c not in CAMS]
+ if bad:
+ raise ValueError(f"unknown cameras {bad}; cameras: {CAMS}")
+ return list(dict.fromkeys(cams))
+
+
+def meta_common(cams) -> dict:
+ n = ctrl_steps()
+ return {"step": E["step"], "calls": E["calls"], "control_steps": n, "physics_steps": n * SUBSTEPS,
+ "sim_time_s": round(n * DT, 4), "time_s": round(L.agent_time(E), 2),
+ "time_left_s": max(0.0, round(WALL_CLOCK_S - L.agent_time(E), 1)),
+ "proprio": {"layout": PROPRIO_LAYOUT, "now": proprio_row().tolist()}, "done": E["done"],
+ "reason": E["reason"], "cameras": {c: camera_info(c) for c in cams}, **reset_counters()}
+
+
+def last_command() -> np.ndarray:
+ return ROWS[-1].copy() if ROWS else S.hold_action()
+
+
+def clipped_entries(A: np.ndarray):
+ """The entries the servos clamp: abc_sim rounds every command to float32 and MuJoCo clamps it to the actuator's
+ range. The row itself is executed as sent (clipping it here would change the physics in the last bits: the clamped
+ float32 command is not the float32 of the limit), so this only reports what the simulator does."""
+ A32 = A.astype(np.float32).astype(np.float64)
+ bad = np.argwhere((A32 < LO) | (A32 > HI))
+ clipped = [{"row": int(r), "index": int(i), "reason": f"{M.ACTION_LAYOUT[i]} clamped to "
+ f"[{LO[i]:.4f}, {HI[i]:.4f}] by the servo"} for r, i in bad[:200]]
+ return clipped, int(len(bad))
+
+
+def do_submit(meta: dict, A: np.ndarray):
+ with checking(): # every field, before a single control step runs
+ typ = meta.get("type")
+ if typ != "joint_position":
+ raise ValueError(f"type must be joint_position (not yet: {SPEC['action_types']['not_yet']})")
+ dt = number(meta, "dt", DT)
+ interp = meta.get("interpolate", "linear")
+ video = meta.get("video", "mp4")
+ cams, fps, note = cameras_of(meta), video_fps(meta), note_of(meta)
+ k = dt / DT
+ if A.ndim != 2 or A.shape[1] != NU:
+ raise ValueError(f"joint_position actions must be (T, {NU}), got {list(A.shape)}")
+ if A.shape[0] < 1:
+ raise ValueError("a chunk needs at least one row")
+ if not np.all(np.isfinite(A)):
+ raise ValueError("actions contain NaN/inf")
+ if not (dt <= 0.5 + 1e-9 and round(k) >= 1 and abs(k - round(k)) < 1e-6):
+ raise ValueError(f"dt must be a whole multiple of the {DT:g} s control period and at most 0.5 s; got {dt}")
+ if A.shape[0] * dt > MAX_CHUNK_S + 1e-9:
+ raise ValueError(f"chunk longer than max_chunk_s={MAX_CHUNK_S}: {A.shape[0]} rows x {dt} s")
+ if not isinstance(interp, str) or interp not in ("hold", "linear"):
+ raise ValueError("interpolate must be hold|linear")
+ if not isinstance(video, str) or video not in ("mp4", "frames", "both", "none"):
+ raise ValueError("video must be mp4|frames|both|none")
+ rec = recorder(cams, fps, meta, video, steps=A.shape[0] * int(round(k)))
+ A = np.asarray(A, dtype=np.float64)
+ clipped, n_clipped = clipped_entries(A)
+ E["calls"] += 1
+ step0, before = E["step"], ctrl_steps()
+ rec.tick(force=True)
+ prev = last_command()
+ n = int(round(k))
+ for row in A:
+ E["step"] += 1
+ target = np.asarray(row, dtype=np.float64)
+ stop = False
+ for s in range(1, n + 1):
+ a = target if (interp == "hold" or s == n) else prev + (target - prev) * (s / n)
+ if ctrl_step(a, rec):
+ stop = True
+ break
+ prev = target
+ if stop:
+ break
+ rec.tick(force=True, last=True)
+ out = {**meta_common(cams), "chunk_id": E["calls"], "type": typ, "executed_rows": E["step"] - step0,
+ "control_steps_chunk": ctrl_steps() - before, "physics_steps_chunk": (ctrl_steps() - before) * SUBSTEPS,
+ "clipped": clipped, "n_clipped": n_clipped, "plan": [], "ok": True}
+ EP.log({"ev": "submit", "call": E["calls"], "rows": E["step"] - step0, "dt": dt, "interpolate": interp,
+ "cameras": cams, "control_steps": ctrl_steps() - before, "n_clipped": n_clipped, "note": note,
+ **({"stopped": EP.stop_reason} if EP.stopping else {})})
+ return out, rec.parts(video, fps)
+
+
+def do_observe(meta: dict):
+ with checking(): # every field, before a single control step runs
+ cams, fps = cameras_of(meta), video_fps(meta)
+ seconds = number(meta, "seconds", 0.0)
+ video = meta.get("video", "frames")
+ if seconds < 0 or seconds > MAX_WATCH_S:
+ raise ValueError(f"seconds must be in [0, {MAX_WATCH_S}]")
+ if not isinstance(video, str) or video not in ("mp4", "frames", "both", "none"):
+ raise ValueError("video must be mp4|frames|both|none")
+ rec, before = recorder(cams, fps, meta, video, steps=int(round(seconds / DT))), ctrl_steps()
+ if seconds > 0 and not E["done"]:
+ rec.tick(force=True)
+ hold = last_command()
+ for _ in range(int(round(seconds / DT))):
+ if ctrl_step(hold, rec):
+ break
+ rec.tick(force=True, last=True)
+ E["calls"] += 1
+ out = {**meta_common(cams), "obs_id": E["calls"], "seconds": seconds, "control_steps_watch": ctrl_steps() - before,
+ "physics_steps_watch": (ctrl_steps() - before) * SUBSTEPS, "ok": True}
+ EP.log({"ev": "observe", "call": E["calls"], "seconds": seconds, "cameras": cams,
+ "control_steps": ctrl_steps() - before, **({"stopped": EP.stop_reason} if EP.stopping else {})})
+ return out, rec.parts(video if seconds > 0 else ("frames" if video == "mp4" else video), fps)
+
+
+def reset_counters() -> dict:
+ if not RESET_BUDGET:
+ return {}
+ left = 0 if (E["success"] or E.get("exiting")) else RESET_BUDGET - E["resets"]
+ return {"episode": E["resets"] + 1, "resets_left": left, "control_steps_total": EP.rows}
+
+
+def status() -> dict:
+ return {"step": E["step"], "calls": E["calls"], "control_steps": ctrl_steps(), "done": E["done"],
+ "reason": E["reason"], "elapsed_s": round(time.time() - E["t0"], 1), **reset_counters()}
+
+
+class Refused(Exception):
+ """A /reset the service turns down (409): nothing changes."""
+
+ def __init__(self, body: dict):
+ super().__init__(body.get("error"))
+ self.body = body
+
+
+def do_reset(meta: dict):
+ """POST /reset: a new episode from the frozen instance (the running one, if any, is abandoned, never graded)."""
+ with checking():
+ cams, fps = cameras_of(meta), video_fps(meta)
+ L.check_frames(len(cams), 2, L.depth_mode(meta) in ("frames", "legacy"), MAX_FRAMES)
+ if E["success"]:
+ raise Refused({"error": "trial finished: an episode succeeded", "reason": E["reason"], "resets_left": 0})
+ if E["resets"] >= RESET_BUDGET:
+ raise Refused({"error": "reset budget exhausted", "reason": "reset budget exhausted", "budget": RESET_BUDGET,
+ "resets_left": 0})
+ abandoned = {"episode": E["resets"] + 1, "control_steps": ctrl_steps(), "done": E["done"], "reason": E["reason"]}
+ S.reset()
+ ROWS.clear()
+ E["resets"] += 1
+ E["reset_at"] = list(E["reset_at"]) + [EP.rows]
+ E.update(done=False, reason=None, success=False, t_end=None, episode_control_steps=None, dumped=False)
+ EP._ck = None # the state changed without a journal row: the checkpoint after this call must hash it anew
+ E["calls"] += 1
+ EP.log({"ev": "reset", "call": E["calls"], "episode": E["resets"] + 1, "journal_rows": EP.rows,
+ "abandoned": abandoned, "state_sha": S.state_sha()})
+ rec = recorder(cams, fps, meta, "frames")
+ rec.tick(force=True, last=True)
+ out = {**meta_common(cams), "reset_id": E["resets"], "ok": True}
+ return out, rec.parts("frames", fps)
+
+
+def end_from_signal() -> None:
+ """The collect hook's SIGUSR1: end the episode (the agent's time is over), dump it, exit so the hook can grade it."""
+ with LOCK:
+ E["exiting"] = True
+ if not E["done"]:
+ finish("timeout")
+ EP.log({"ev": "exit", "reason": "collect hook: episode dumped"})
+ if not os.path.exists(PID_FILE):
+ open(PID_FILE, "w").write(str(os.getpid()))
+ sys.stdout.flush()
+ sys.stderr.flush()
+ os._exit(0)
+
+
+_CPS = [e for e in EP.events() if e.get("ev") == "checkpoint"]
+RESUME = {"at": list((_CPS[-1].get("persist") or {}).get("reset_at") or []) if _CPS else [], "i": 0}
+
+
+def _resume_resets() -> None:
+ while RESUME["at"] and int(RESUME["at"][0]) <= RESUME["i"]:
+ RESUME["at"].pop(0)
+ S.reset()
+ ROWS.clear()
+
+
+def replay_row(row) -> None:
+ """A journaled row during a resume."""
+ _resume_resets()
+ S.step(row)
+ ROWS.append(np.asarray(row, dtype=np.float64))
+ RESUME["i"] += 1
+
+
+def resume_sha() -> str:
+ _resume_resets()
+ return S.state_sha()
+
+
+# The frozen initial state, checked at the episode's start: a fresh start whose scene does not hash to the instance's
+# recorded sha is no trial of this task (an infrastructure failure, before the agent is served).
+if not any(e.get("ev") == "start" for e in EP.events()) and S.state_sha() != S.instance_sha:
+ if not L.final_verdict(DATA):
+ _fin = os.path.join(DATA, "final.json")
+ L._write_json(_fin, {**L._read_json(_fin), "instance_mismatch": 1, "start_sha": S.state_sha(),
+ "instance_sha": S.instance_sha})
+ EP.give_up(f"instance_mismatch: the scene started at {S.state_sha()}, the frozen instance records {S.instance_sha}",
+ infra=True)
+RESUMED = EP.begin(state=E, step=replay_row, state_sha=resume_sha, proprio=proprio_row, spec=SPEC,
+ on_end=end_from_signal,
+ start_event={"task": S.family, "cameras": CAMS, "instance_sha": S.instance_sha, "gl": M.GL})
+if RESUMED and E["resets"]:
+ _ends = [e for e in EP.events() if e.get("ev") == "end" and int(e.get("episode") or 1) == E["resets"] + 1
+ and int(e.get("journal_rows") or 0) <= EP.rows]
+ if _ends:
+ E.update(done=True, reason=_ends[-1].get("reason"), t_end=float(_ends[-1]["ts"]),
+ episode_control_steps=int(_ends[-1].get("control_steps") or ctrl_steps()))
+ else:
+ E.update(done=False, reason=None, t_end=None, episode_control_steps=None)
+if E["done"]:
+ dump()
+E["ready"] = True
+write_final()
+open(PID_FILE, "w").write(str(os.getpid()))
+print(f"{L.PROTOCOL} ABC Sim service ready ({S.family}; gl {M.GL}; startup {EP.n_startups}, resumes {EP.resumes})",
+ flush=True)
+
+
+def make_handler(svc: L.Service):
+ """The shared 2.2 handler, plus POST /reset when the run grants resets (the shared layer has no reset)."""
+ base = L.make_handler(svc)
+
+ class Hdl(base):
+ def do_POST(self):
+ if self.path != "/reset" or not RESET_BUDGET:
+ return super().do_POST()
+ try:
+ meta, _ = self._body()
+ except Exception as exc: # noqa: BLE001
+ return self._json(413 if "too large" in str(exc) else 400, {"error": str(exc)[:200]})
+ with LOCK:
+ if E.get("exiting"):
+ return self._json(409, {"error": "trial finished: your time is up", "reason": E.get("reason"),
+ "resets_left": 0})
+ cid = EP.call_begin(self.path, self.connection)
+ out = blobs = err = None
+ try:
+ out, blobs = do_reset(meta)
+ except Refused as exc:
+ err = (409, exc.body)
+ except ValueError as exc:
+ err = (400, {"error": str(exc)})
+ except Exception as exc: # noqa: BLE001
+ traceback.print_exc()
+ E["error"] = repr(exc)
+ EP.log({"ev": "error", "path": self.path, "error": repr(exc)})
+ try:
+ finish("error")
+ except Exception: # noqa: BLE001
+ traceback.print_exc()
+ err = (500, {"error": "simulator error", "detail": repr(exc)[:200]})
+ finally:
+ if out is not None or (err and err[0] == 500):
+ try:
+ EP.checkpoint(E, S.state_sha, proprio_row)
+ except Exception: # noqa: BLE001
+ traceback.print_exc()
+ EP.call_end(cid, self.path)
+ if err is not None:
+ return self._json(*err)
+ return self._rcb1({**out, "stopped": None}, blobs)
+
+ return Hdl
+
+
+def serve(svc: L.Service, port: int) -> None:
+ svc.spec.setdefault("on_service_error", L.ON_SERVICE_ERROR)
+ svc.spec.setdefault("max_call_wall_s", EP.max_call_wall_s)
+ L.check_spec(svc.spec)
+ L.bind(port, make_handler(svc)).serve_forever()
+
+
+try:
+ serve(L.Service(spec=SPEC, lock=LOCK, state=E, submit=do_submit, observe=do_observe, kinematics=do_kinematics,
+ status=status, on_submit_error=lambda exc: finish("error"), log=EP.log, episode=EP,
+ state_sha=S.state_sha, proprio=proprio_row), port=int(os.environ.get("RCB_PORT", "8000")))
+except Exception: # noqa: BLE001
+ traceback.print_exc()
+ raise
diff --git a/images/abc-sim/tools/video.py b/images/abc-sim/tools/video.py
new file mode 100644
index 0000000000..534e7801b4
--- /dev/null
+++ b/images/abc-sim/tools/video.py
@@ -0,0 +1,75 @@
+"""The episode's video (ABC Sim standard modes): ONE render pass of the recorded trajectory from the frozen instance, in
+a fresh process, after the verdict is in final.json. It is for people only and decides nothing: it checks no success
+and no state, and a render that fails, is stopped or runs out of time loses only the video.
+
+ python /opt/abc-tools/video.py --instance /srv/instance.npz --traj /data/trajectory.npz --out /data/replay.mp4 \
+ --result /data/video.json --deadline-s 1500
+
+The frames are the `top`, `left` and `right` cameras side by side, 320 x 240 each, at most ~1500 of them plus the last;
+the pass stops by itself `--deadline-s` seconds after it started and keeps the frames written so far (a playable file)."""
+import argparse
+import json
+import os
+import sys
+import time
+
+import numpy as np
+
+os.environ["RCB_SESSION_LOG"] = ""
+import rcb_abc as M # noqa: E402 (first: it picks the rendering backend before mujoco loads)
+
+M.SESSION_LOG = ""
+MAX_FRAMES = 1500
+SIZE = (240, 320)
+
+
+def main() -> int:
+ ap = argparse.ArgumentParser(description=__doc__.split("\n\n")[0])
+ ap.add_argument("--instance", required=True)
+ ap.add_argument("--traj", required=True)
+ ap.add_argument("--out", required=True)
+ ap.add_argument("--result", required=True, help="write {video, frames, rows, cut_short} here")
+ ap.add_argument("--deadline-s", type=float, default=0.0, help="stop this long after the start (0: never)")
+ a = ap.parse_args()
+ t0 = time.time()
+ res = {"video": False, "frames": 0, "rows": 0, "cut_short": False, "gl": M.GL}
+ try:
+ A = np.asarray(np.load(a.traj, allow_pickle=False)["actions"], dtype=np.float64)
+ res["rows"] = int(len(A))
+ s = M.Session(instance=a.instance)
+ import imageio.v2 as imageio
+ cams = list(M.DEFAULT_CAMERAS)
+ every = max(1, -(-len(A) // MAX_FRAMES))
+ s.reset()
+ w = imageio.get_writer(a.out, fps=max(1.0, 1 / (M.CONTROL_DT * every)), codec="libx264", quality=7,
+ macro_block_size=8)
+ try:
+ frame = lambda: np.concatenate([s.render_frame(c, SIZE) for c in cams], axis=1) # noqa: E731
+ w.append_data(frame())
+ res["frames"] += 1
+ for i, row in enumerate(A):
+ running = s.step(row)
+ if i % every == 0 or not running or i == len(A) - 1:
+ w.append_data(frame())
+ res["frames"] += 1
+ if not running:
+ break
+ if a.deadline_s and time.time() - t0 > a.deadline_s:
+ res["cut_short"] = True
+ break
+ finally:
+ w.close()
+ res["video"] = os.path.isfile(a.out)
+ except Exception as exc: # noqa: BLE001 -- the video never changes the verdict
+ import traceback
+ traceback.print_exc()
+ res["error"] = repr(exc)[:300]
+ res["elapsed_s"] = round(time.time() - t0, 1)
+ with open(a.result, "w") as f:
+ json.dump(res, f)
+ print(json.dumps(res), flush=True)
+ return 0
+
+
+if __name__ == "__main__":
+ sys.exit(main())
diff --git a/tasks/abc-sim/README.md b/tasks/abc-sim/README.md
new file mode 100644
index 0000000000..509b6150f7
--- /dev/null
+++ b/tasks/abc-sim/README.md
@@ -0,0 +1,229 @@
+# ABC Sim
+
+Twenty-nine tasks of [ABC Sim](https://github.com/amazon-far/abc) (`abc_sim` at d0832d1, Apache-2.0; assets CC BY 4.0 /
+MIT), the MuJoCo simulator of *ABC: Scalable Behavior Cloning with Open Data, Training, and Evaluation*: two I2RT YAM
+arms (6 revolute joints and a parallel two-finger gripper each, the robot of YAMLab) side by side at a table, controlled
+by joint-position targets. Every task the upstream catalogue scores is here, each as one frozen instance in two modes:
+58 task directories `tasks/abc-sim/abc-sim-<family>-i00-{privileged,standard}`, and a standard-realtime twin for the two
+families whose scene moves by itself (`abc-sim-conveyor-pick-i00-standard-realtime`, `abc-sim-ball-tray-i00-standard-realtime`):
+60 in all.
+
+## Quick start
+```bash
+harbor run -d embodied-first-exam@all -p tasks/abc-sim -a codex -m openai/gpt-6-astra
+```
+The tasks need an NVIDIA GPU (the cameras render over EGL; the physics runs on the CPU). The base image is
+`ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` (`images/abc-sim/`), built from public sources.
+
+## Tasks
+| family | upstream task | directive of the frozen instance | reference rows |
+|---|---|---|---|
+| `throw_bottles` | `throw_plastic_bottles_in_bin` | throw plastic bottles in bin | 563 |
+| `put_bottles` | `put_plastic_bottles_in_bin` | put the plastic bottles in the bin | 476 |
+| `conveyor_pick` | `conveyor_pick` | pick objects from the conveyor belt and put them in the bin | 274 |
+| `count` | `count_into_opaque_box` | put all yellow triangles in the box | 277 |
+| `count_one` | `count_one_into_opaque_box` | put exactly 1 red object in the box | 264 |
+| `count_two` | `count_two_into_opaque_box` | put exactly 2 objects in the box | 291 |
+| `count_three` | `count_three_into_opaque_box` | put exactly 3 objects in the box | 538 |
+| `count_four` | `count_four_into_opaque_box` | put exactly 4 objects in the box | 671 |
+| `put_relative` | `put_relative` | put the soap dispenser to the right of the boxed food | 237 |
+| `grab_clutter` | `grab_specific_object_from_clutter` | grab the ketchup and place it in the box | 226 |
+| `ball_tray` | `ball_tray_balancing` | grab the tray handles and keep the ball balanced on the tray | 453 |
+| `inhand_transfer` | `inhand_transfer_item_to_other_side` | inhand transfer the item to other side (a cream cheese stick) | 374 |
+| `drawer_search` | `multi_drawer_search` | find the measuring cup, then the dish brush | 432 |
+| `pouring` | `pouring` | pour from one container into another | 307 |
+| `hang_mug` | `hang_mug_on_mug_rack` | hang mug on mug rack | 314 |
+| `turn_mug` | `turn_mug_right_side_up` | turn mug right side up (two mugs) | 561 |
+| `sweep` | `sweep_away_paper_scraps_from_table` | sweep away paper scraps from the table (two scraps) | 1288 |
+| `nuts_bolts` | `sort_nuts_and_bolts` | sort the nuts and bolts into their matching bins (9 nuts, 10 bolts) | 2872 |
+| `lego` | `sort_lego_blocks` | sort the red, yellow, and blue lego blocks into their matching bins (12 blocks) | 2205 |
+| `dish_rack` | `load_plates_into_dish_rack` | load plates into tabletop dish rack (one plate) | 375 |
+| `chess` | `set_up_chess_pieces_on_board` | set up chess pieces on the board (six black pieces on the table) | 1872 |
+| `spell_cat`, `spell_dog`, `spell_fish`, `spell_bair`, `spell_xdof`, `spell_abc`, `spell_yam`, `spell_agi` | `spell_<word>` | spell <word> | 909, 580, 675, 1360, 719, 507, 581, 581 |
+
+Left out: the four catalogue tasks upstream does not score (it has no success evaluator for them): the three
+`put_markers_in_*_drawer` tasks and `build_wood_block_tower`. The count variants are one scene (upstream draws a new
+counting directive at every reset whatever the variant asks); here each is a frozen instance with its own directive:
+"exactly N objects" for N = 2, 3, 4, "exactly 1 red object" for one (upstream's randomizer never draws "exactly 1 object"
+without a colour), and an "all of a colour and shape" directive for the generic one.
+
+## Task definition
+- **Instance.** One frozen instance per family, `instance.npz` (the privileged task's `environment/` and `tests/`, the
+ standard twins' `environment/sim/`, byte-identical): the assembled scene XML (every object, its variant, size and
+ pose already chosen), the full initial `qpos` at rest, and the scene's randomization record (the directive and the
+ per-task parameters the evaluator and the runtime read). The scene is the one of an upstream validation demonstration
+ whose physics replay succeeded and was bit-identical in two fresh processes (spell_bair has no published
+ demonstration: its scene is upstream's randomizer at `reset(seed=243)`). The record's seed is set to 0 except for the
+ ball tray, whose runtime seeds its perturbations with it. Two families keep state on the model that the saved scene
+ XML of the demonstrations lost (the randomizer writes it at run time): drawer search (the drawer stacks' exact poses;
+ the collisions of the unused objects, parked below the table, are off) and chess (the tin's collisions are on only in
+ the tin scenario); the instances write it into the scene XML, so the scene is complete in the file. Without it the
+ demonstrations replay 0/20 (drawer search) and start numerically unstable (chess). The state hash (MuJoCo's integration
+ state and the model's numeric arrays) is recorded and checked on every load.
+- **Episode.** It starts at the frozen instance. One control step = 17 physics steps of 2 ms = 0.034 s. Unused objects
+ some scenes park below or far above the table (drawer search, chess, sweep) fall freely and touch nothing; they are
+ upstream's.
+- **Success** is upstream's evaluator for the task (`abc_sim/task_eval/`, the catalogue's `evaluator_name` and options),
+ read after every control step, with three changes:
+ - **The goal must hold 30 consecutive control steps (1.02 s)**; the episode then ends in success. Upstream counts any
+ single step (`ever_success`), and several of its rules count an object while it passes through a region (thrown,
+ carried over a bin): the hold stops a pass-through from counting.
+ - **Hang a mug:** upstream's test (the mug's centre within 0.115 m of the tree's axis, between its base and 0.05 m
+ above its top) also passes a mug standing on the table next to the tree; here the mug must also touch neither the
+ table nor a gripper, i.e. hang from the tree, released.
+ - **Ball-tray balancing:** upstream's evaluator only checks that the ball is still on the tray, so doing nothing
+ scores 1. Here the task's runtime decides: the episode succeeds when its countdown (started the moment both handle
+ bars are touched by the fingers, one arm on each; 11 s in the frozen instance) completes with the ball on the tray
+ and both handles held throughout (each bar touched within the last 0.1 s at every control step); it fails the moment
+ the ball leaves the tray or a handle is let go during the countdown (the runtime's countdown never restarts).
+ Every rule is stated in words, with its thresholds, in each task's instruction.
+- **Texts.** The privileged instruction names the scene's bodies and points to `s.state()`; the standard instructions
+ state the goal and the rule in words, with the robot's conventions. World-frame information: the standard texts give
+ no world coordinates of workspace items (no object, bin or table positions; directions are relative to the arms);
+ the robot's base poses, the camera calibration and the world frame's axes are given.
+- **Time limit: 3600 s**, the same for every task and mode (each task's `[agent] timeout_sec`).
+
+## Modes
+- **Privileged:** `rcb_abc.Session` (`/opt/abc-tools/rcb_abc.py` in the image) in the agent's container: reset, the scene's
+ full state (every free body's pose, the evaluator's and the runtime's view, the randomization record), MuJoCo model
+ and data, exact mid-episode snapshots, rendering (RGB, depth, calibration), the robot's kinematics (FK, IK), recording
+ and self-replay. Deliverable `/app/output/trajectory.npz`, `(T, 14)` rows, at most 20,000. The grader
+ (`/opt/abc-tools/grade.py`) checks the file (readable, `(T, 14)`, finite, not too long: otherwise `bad_trajectory`, the
+ agent's 0) before it replays it twice, side by side, in fresh processes; a replay that then gives no result is
+ `replay_failed` with `grader_error = 1` and `infra_error = 1`. A third replay renders `replay.mp4` after the verdict.
+- **Standard (`eai-standard/2.2`):** the shared layer of `embodied_first_exam/standard/` (from the pinned
+ `standard-sim-files` image) and the adapter `/opt/abc-tools/standard/server.py` (in the base image; `run.sh` starts it
+ through `RCB_SERVER`):
+ - action type `joint_position`: the 14 numbers per control step, as in privileged mode; `linear` or `hold` between rows
+ `dt` apart; rows are executed as sent (abc_sim rounds each command to float32 and the servos clamp it to the
+ actuator's range; the clamped entries are reported in `meta.clipped`, not changed: clipping a row before abc_sim's
+ float32 rounding changes the physics in the last bits);
+ - six cameras, 640 x 480, depth on request: `top`, `overhead`, `left_side`, `right_side` (static) and the wrist cameras
+ `left`, `right` (on the arms' sixth links); default `top`, `left`, `right`;
+ - proprioception: `joint_pos` (the 14 action coordinates measured), `joint_vel`, `gripper_opening` (m), `tcp_pose` (each
+ arm's tool centre point, world frame, `wxyz`), `joint_effort`; never an object's pose;
+ - `/kinematics`: FK of the tool frames (`left_tcp`, `right_tcp`, `left_grasp`, `right_grasp`), the arm links and the
+ wrist-camera mounts; IK of the tool frames with each arm's own six joints (damped least squares, several starts);
+ - resume class `exact` (MuJoCo on the CPU repeats bit for bit in a fresh process); `max_frames_per_call` 1000;
+ - reset budget 0 (the mode's default): one episode. The adapter implements the optional reset capability, so a run
+ can grant resets with `RCB_RESET_BUDGET`.
+- **Standard-realtime (`eai-standard/2.3`):** the shared realtime layer (`rcb_realtime.py` from `standard-sim-files`,
+ `rcb_service.py` byte-identical to the other realtime benchmarks' copies, in the base image at
+ `/opt/abc-tools/realtime/`) and the adapter `/opt/abc-tools/realtime/server.py` on the same Session: the standard twin's
+ instance, action, success rule, cameras and proprioception (not served: `/kinematics`, per-frame camera poses, depth
+ modes). The scene-dynamic families get the twin: the conveyor belt carries the objects, and the tray's runtime pushes
+ the ball. **S = 1**: the service's real-time factor (0.034 s of simulation per control step) is 11.2 for the conveyor
+ and 17.1 for the ball tray without rendering, 5.3 and 10.2 rendering three cameras every step (RTX 4090, EGL), above
+ PROTOCOL §2's 3. Reset budget 10 (the mode's default).
+
+## Grading (standard and standard-realtime)
+The verdict is the live episode's (PROTOCOL H.4): the episode the sim sidecar ran, under the task's rule as
+`Session.step` applied it (the 1.02 s hold is part of the rule, run on the live simulator). Standard: the collect hook
+(`/opt/abc-tools/standard/finalize.sh`) ends the service, writes `final.json` (`graded_by` = `live`, `replays` = 0) and then
+renders `replay.mp4` in one pass over the trajectory (EGL on the sidecar's GPU); the video decides nothing. Realtime: the
+shared layer does the same from the adapter's `step()`. The verifier is the shared `v2_1/grade.py` (from the pinned
+`standard-files` image), for both modes. At a fresh episode's start the service compares the built scene's state hash
+with the instance's recorded one; a mismatch gives up before the agent is served (`instance_mismatch`, `infra_error`).
+
+## Reference solutions and oracle levels
+`oracle = "full"` for all 60 directories. The reference of a family (`solution/oracle.npy`) is the commanded actions of
+the validation demonstration whose scene is the frozen instance (after its first frame), replayed from the instance and
+cut at the success step; spell_bair's is a hand-built trajectory (scripted inverse kinematics on the grasp frame, top-down
+grasps with the clearest finger yaw, place checks and re-placing) on its seed-243 layout. The rows are float32 values
+(abc_sim rounds every command to float32 anyway), so the privileged replay and the standard client execute the same rows.
+Privileged: `solution/oracle_replay.py` replays and saves them. Standard: `solution/oracle_stream.py` streams them as
+`joint_position` chunks. Standard-realtime: `solution/oracle_plan.py` plans them into the episode at the control steps
+where they ran (`submit(..., at=step)`, sent ahead of the clock).
+
+How the instances were chosen (the feasibility spike, 2026-10-20/21, issue #473): every validation demonstration of each
+family was replayed from its recorded scene twice in fresh processes under MuJoCo 3.6.0, the version the demonstrations
+were recorded with (under 3.8.1, which upstream pins now, fewer replays succeed: nuts and bolts 0/12 against 6/12);
+510/510 final states were bit-identical. The first demonstration (in a fixed order) whose replay succeeded became the
+instance. Replay success per family (the rest is open-loop drift: the recordings themselves mostly succeed): pouring,
+grab from clutter, in-hand transfer, turn a mug and four spell words 20/20; spell yam 18/20, abc 17/21, xdof 16/20; put
+relative 18/20; put bottles 18/20; count 17/20 (exactly 1 / 2 / 3 / 4: 10/10, 9/10, 10/10, 9/10); hang a mug 16/20;
+drawer search 15/20; throw bottles 11/20; conveyor 10/20; dish rack 7/20 (its demonstrations fail 11/20 themselves);
+nuts and bolts 6/12; sweep 5/20; LEGO 5/20; chess 3/17; ball tray (the rule above) 29/100.
+
+## Verification (efe:abc-sim-0.1.0)
+Oracle and `nop` with Harbor on an RTX 4090 workstation (AMD Ryzen 9 7950X), 2026-10-21, the image built from
+`images/abc-sim/`: **oracle 60/60**, every one on its first attempt; **nop 60/60 scored 0** (`infra_error` 0). In every
+family both privileged replays, the standard service's live episode and the realtime service's live episode end in the
+same final state (the hash below), which is also the reference's final state on the host where the instances were frozen
+(Python 3.11, NumPy 2.4.6; the image runs Python 3.12): MuJoCo 3.6.0 on the CPU is bit-exact across these processes.
+The realtime oracles (the reference planned with `submit(..., at=step)` at S = 1) ran with no late step and no stall (the
+largest lag 11 ms).
+
+| family | reference rows | oracle, privileged (both replays) | oracle, standard (live) | oracle, standard-realtime (live) | final state | nop (priv / std / realtime) |
+|---|---|---|---|---|---|---|
+| `ball_tray` | 453 | 1 | 1 | 1 | `0d05516cffd7e620` | 0 / 0 / 0 |
+| `chess` | 1872 | 1 | 1 | -- | `95d72acb81802ac4` | 0 / 0 |
+| `conveyor_pick` | 274 | 1 | 1 | 1 | `80563de74a724075` | 0 / 0 / 0 |
+| `count` | 277 | 1 | 1 | -- | `b505c774f544eaf8` | 0 / 0 |
+| `count_four` | 671 | 1 | 1 | -- | `61409c4d0e466e6a` | 0 / 0 |
+| `count_one` | 264 | 1 | 1 | -- | `dabc9c60b668c109` | 0 / 0 |
+| `count_three` | 538 | 1 | 1 | -- | `cfb8e8f612a52bd7` | 0 / 0 |
+| `count_two` | 291 | 1 | 1 | -- | `0514bf38465fb2ea` | 0 / 0 |
+| `dish_rack` | 375 | 1 | 1 | -- | `12ee39cc6ca7725b` | 0 / 0 |
+| `drawer_search` | 432 | 1 | 1 | -- | `5f4d8d12d9027048` | 0 / 0 |
+| `grab_clutter` | 226 | 1 | 1 | -- | `1de5d81724c1628a` | 0 / 0 |
+| `hang_mug` | 314 | 1 | 1 | -- | `c13c9ccdf019b28e` | 0 / 0 |
+| `inhand_transfer` | 374 | 1 | 1 | -- | `b15263ed28fedcff` | 0 / 0 |
+| `lego` | 2205 | 1 | 1 | -- | `697c1c23c81322bf` | 0 / 0 |
+| `nuts_bolts` | 2872 | 1 | 1 | -- | `adc51944b0096256` | 0 / 0 |
+| `pouring` | 307 | 1 | 1 | -- | `14a0bf1cea242cde` | 0 / 0 |
+| `put_bottles` | 476 | 1 | 1 | -- | `011999892aad55fe` | 0 / 0 |
+| `put_relative` | 237 | 1 | 1 | -- | `b3bacfe0c48af964` | 0 / 0 |
+| `spell_abc` | 507 | 1 | 1 | -- | `8cbaf7ef49ff90a9` | 0 / 0 |
+| `spell_agi` | 581 | 1 | 1 | -- | `6b54dcc0c6e409c3` | 0 / 0 |
+| `spell_bair` | 1360 | 1 | 1 | -- | `f20fdf438e9ab63f` | 0 / 0 |
+| `spell_cat` | 909 | 1 | 1 | -- | `a75f73d72cf9b18c` | 0 / 0 |
+| `spell_dog` | 580 | 1 | 1 | -- | `b2090d429824e80e` | 0 / 0 |
+| `spell_fish` | 675 | 1 | 1 | -- | `8a96253cc31a34ec` | 0 / 0 |
+| `spell_xdof` | 719 | 1 | 1 | -- | `69efe25ba8cd6cbc` | 0 / 0 |
+| `spell_yam` | 581 | 1 | 1 | -- | `0d6b71b98369775d` | 0 / 0 |
+| `sweep` | 1288 | 1 | 1 | -- | `0c0685ed6ef4b04c` | 0 / 0 |
+| `throw_bottles` | 563 | 1 | 1 | -- | `d5a8babe7c4be42b` | 0 / 0 |
+| `turn_mug` | 561 | 1 | 1 | -- | `75511085888777f6` | 0 / 0 |
+
+The oracle batch ran on the task directories before their last edit, which changed only texts (the ball tray's
+instruction and README) and the resource declarations of `task.toml`; `nop` ran on the final directories, and so did the
+oracle again on twelve of them (the ball tray's three, the conveyor's three, chess and spell bair in both modes, nuts and
+bolts standard, drawer search privileged): 12/12, the same final states.
+- `bash ci_checks/run_all.sh tasks/abc-sim/abc-sim-*`: every invariant holds; the one advisory finding is the root
+ README's benchmark list (regenerated after merge).
+- `python3 scripts/task_conventions.py --check tasks/abc-sim/abc-sim-*`: clean.
+- `ci_checks/check-standard-protocol.py` against a live spell_abc service: 222 PASS, 0 FAIL, 16 WARN (velocity limits:
+ the simulator enforces none).
+- Crash recovery: the spell_abc service killed (`kill -9`) after 300 of the reference's 507 rows; it restarted, resumed
+ the same episode (`resumes` 1, no state mismatch) and the reference ended in success at the same final state.
+- In one process: a reset after 150 steps returns to the instance's hash, a replay after it ends at the fresh-process
+ final state, and a mid-episode `snapshot()` / `restore()` continues bit for bit (all 29 families).
+- Measured (the oracle trials): the privileged agent container 1.9 GB and its verifier 3.9 GB (chess); the standard
+ sidecar 2.1 GB and 0.83 GiB of GPU memory (chess), the realtime sidecar 0.8 GB and 0.72 GiB; the client container 0.03 GB.
+
+## Integrity
+- abc_sim ships no scripted expert or policy. The image takes the package from the upstream repository at its commit
+ and the asset packages by checksum in a fetch stage whose layers are not part of the image, and leaves out what
+ points at the demonstrations, checkpoints or the asset mirror: the package's README files, the asset manifest, the
+ Blender exporter of recorded dataset episodes and the comments of the scene XMLs (one described the training data).
+ Only the meshes and textures the 29 frozen scenes open are kept (`images/abc-sim/assets.txt`), with every package's
+ licence and attribution files (`/opt/abc/ASSET_LICENSES.md`).
+- Nothing an agent can read names its source: the instances carry no demonstration or episode id, and the reference
+ solutions live under `solution/` only.
+- **Agent egress is the model APIs and the package registries** (PROTOCOL H.6). The demonstrations and checkpoints are on
+ Hugging Face and the upstream mirror, both unreachable. ABC Sim is not on PyPI (`abc-sim` and `abc-minimal` do not
+ exist there).
+
+## Files
+Each task directory carries its frozen instance (`instance.npz`) and its reference solution (`solution/`); the standard
+twins also the task's text for the service (`environment/sim/task.json`). Everything the tasks share is in the base image
+(`images/abc-sim/`: the Dockerfile, the pinned packages, the asset list, the fetch stage's assembly script, and
+`tools/`: `rcb_abc.py`, `grade.py`, `video.py`, `standard/server.py`, `standard/finalize.sh`, `realtime/server.py`,
+`realtime/rcb_service.py`). The tooling that froze the instances and wrote the task directories is kept outside this
+repository.
+
+## Standard-mode service details
+Serves `eai-standard/2.2` (MuJoCo on the CPU, EGL rendering, resume class `exact`); `max_frames_per_call` = 1000. The
+optional reset capability is implemented with a budget of 0 by default; the 2.2 client has no `reset()`, so a run that
+grants resets calls `POST /reset` through `Robot._post`. The scene builds in 1-5 s (`RCB_STARTUP_TIMEOUT_S` 300).
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/DIGEST
new file mode 100644
index 0000000000..1fff6d09c5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:08ae09ad7e62e213050bb453a1932f29fa990b2cacb4106521baca676ebabdef
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/README.md b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/README.md
new file mode 100644
index 0000000000..998ae15422
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-ball-tray-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-ball-tray-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `ball_tray` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `ball_tray_balancing` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Grab the tray by both handles -- the left gripper on one handle bar, the right gripper on the other -- and keep the ball on the tray. The moment both handle bars are touched by the fingers (one arm's fingers on each bar), an 11-second countdown starts and the ball gets a push every 0.5 s (a 0.1 s force in the tray's plane, up to ~0.18 m/s each, its direction drifting from push to push). Success: the countdown completes with the ball on the tray throughout and both handles held throughout (each bar touched by its arm's fingers within the last 0.1 s at every control step). Failure, which ends the episode: the ball leaves the tray (its centre outside the tray floor's central ~0.26 x 0.25 m area, or lower than 8 mm above the floor), or a handle is let go during the countdown.
+A flat tray with a handle bar along each side lies on the table with a small ball on it. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: hard. A bimanual grasp of both handles, then closed-loop balancing for 11 s against random pushes the agent cannot predict, with the ball's position known only from the cameras (standard modes). The action is joint-level (two 6-joint arms and two grippers; no motion primitives).
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 453 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `6cdaa86a450092e7`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `ball_tray_balancing` held 30 control steps (ball tray: its own rule, tasks/abc-sim/README.md) |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..9db6dff0fd
Binary files /dev/null and b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..4baa16064a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-ball-tray-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/instruction.md
new file mode 100644
index 0000000000..0a04b4fed7
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · ball-tray balancing -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Grab the tray by both handles -- the left gripper on one handle bar, the right gripper on the other -- and keep the ball on the tray. The moment both handle bars are touched by the fingers (one arm's fingers on each bar), an 11-second countdown starts and the ball gets a push every 0.5 s (a 0.1 s force in the tray's plane, up to ~0.18 m/s each, its direction drifting from push to push). Success: the countdown completes with the ball on the tray throughout and both handles held throughout (each bar touched by its arm's fingers within the last 0.1 s at every control step). Failure, which ends the episode: the ball leaves the tray (its centre outside the tray floor's central ~0.26 x 0.25 m area, or lower than 8 mm above the floor), or a handle is let go during the countdown.
+
+A flat tray with a handle bar along each side lies on the table with a small ball on it. The task's directive, as the scene states it: "grab the tray handles and keep the ball balanced on the tray".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the tray and the ball are free bodies (`s.objects()`); `s.state()['runtime']` shows the countdown. Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success or failure;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..5bf730dc8d
Binary files /dev/null and b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/task.toml
new file mode 100644
index 0000000000..04ec45f3f3
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-ball-tray-i00-privileged"
+description = "ABC Sim ball-tray balancing (two I2RT YAM arms, MuJoCo): Grab the tray by both handles -- the left gripper on one handle bar, the right gripper on the other -- and keep the ball on the tray. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "ball_tray", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "ball_tray"
+mode = "privileged"
+dynamics = "dynamic" # the tray's runtime pushes the ball
+oracle = "full"
+expert_time_estimate_hours = 4.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..9db6dff0fd
Binary files /dev/null and b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..4baa16064a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-ball-tray-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/DIGEST b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/DIGEST
new file mode 100644
index 0000000000..aef6834e95
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/DIGEST
@@ -0,0 +1 @@
+sha256:4374e41d15dadbfbd2ad6513b07c62c569f2e51cb4b19bc6e87a8a54dd4e6090
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/README.md b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/README.md
new file mode 100644
index 0000000000..d611b6f44a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/README.md
@@ -0,0 +1,54 @@
+# abc-sim-ball-tray-i00-standard-realtime
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard-realtime (`eai-standard/2.3`) |
+| Twin | `abc-sim-ball-tray-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `ball_tray` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Real time | slowdown S = 1 (the world runs at 1/S of real speed: one control step every S x control_dt s of wall time; `RCB_SLOWDOWN`'s default); reset budget 10 (`RCB_RESET_BUDGET`'s default) (PROTOCOL §4b) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `ball_tray_balancing` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Grab the tray by both handles -- the left gripper on one handle bar, the right gripper on the other -- and keep the ball on the tray. The moment both handle bars are touched by the fingers (one arm's fingers on each bar), an 11-second countdown starts and the ball gets a push every 0.5 s (a 0.1 s force in the tray's plane, up to ~0.18 m/s each, its direction drifting from push to push). Success: the countdown completes with the ball on the tray throughout and both handles held throughout (each bar touched by its arm's fingers within the last 0.1 s at every control step). Failure, which ends the episode: the ball leaves the tray (its centre outside the tray floor's central ~0.26 x 0.25 m area, or lower than 8 mm above the floor), or a handle is let go during the countdown.
+A flat tray with a handle bar along each side lies on the table with a small ball on it. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: hard. A bimanual grasp of both handles, then closed-loop balancing for 11 s against random pushes the agent cannot predict, with the ball's position known only from the cameras (standard modes). The action is joint-level (two 6-joint arms and two grippers; no motion primitives).
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 453 rows, planned into the episode at the control steps where they ran in the privileged replay (`submit(..., at=step)`, sent ahead of the clock; `solution/oracle_plan.py`), so the service executes exactly those rows at S = 1.
+
+## Verification
+The live episode's verdict, judged by the sim sidecar (the shared realtime layer and this benchmark's adapter) on the episode it ran; the collect hook waits for `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `6cdaa86a450092e7`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `ball_tray_balancing` held 30 control steps (ball tray: its own rule, tasks/abc-sim/README.md) |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/Dockerfile b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/Dockerfile
new file mode 100644
index 0000000000..57588ae3e0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard-realtime mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# realtime client (eai-standard/2.3), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /realtime/rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/docker-compose.yaml
new file mode 100644
index 0000000000..150108fc1f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/docker-compose.yaml
@@ -0,0 +1,71 @@
+# Standard-realtime mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: python /srv/rcb_realtime.py
+ restart: on-failure:6 # a resume continues the episode, paused
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_TASK_INFO: /srv/task.json
+ PYTHONPATH: /opt/abc-tools/realtime:/srv:/opt/abc:/opt/abc-tools
+ RCB_SLOWDOWN: "${RCB_SLOWDOWN:-1}" # S = 1: the world runs at 1/S of real speed
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-10}" # 10 resets (the mode's default); 0: one episode
+ RCB_GL: "${RCB_GL:-auto}" # auto: EGL on the GPU when it works, else OSMesa
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..08e970713a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard-realtime",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-ball-tray-i00-standard-realtime",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/sim/Dockerfile
new file mode 100644
index 0000000000..cfcf3aee36
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/sim/Dockerfile
@@ -0,0 +1,9 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's realtime adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared realtime layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /realtime/rcb_realtime.py \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/sim/instance.npz
new file mode 100644
index 0000000000..9db6dff0fd
Binary files /dev/null and b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/sim/task.json b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/sim/task.json
new file mode 100644
index 0000000000..87dee257a6
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Grab the tray by both handles -- the left gripper on one handle bar, the right gripper on the other -- and keep the ball on the tray. The moment both handle bars are touched by the fingers (one arm's fingers on each bar), an 11-second countdown starts and the ball gets a push every 0.5 s (a 0.1 s force in the tray's plane, up to ~0.18 m/s each, its direction drifting from push to push). Success: the countdown completes with the ball on the tray throughout and both handles held throughout (each bar touched by its arm's fingers within the last 0.1 s at every control step). Failure, which ends the episode: the ball leaves the tray (its centre outside the tray floor's central ~0.26 x 0.25 m area, or lower than 8 mm above the floor), or a handle is let go during the countdown.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/instruction.md b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/instruction.md
new file mode 100644
index 0000000000..f4dbbc3967
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/instruction.md
@@ -0,0 +1,96 @@
+# ABC Sim · ball-tray balancing -- STANDARD-REALTIME MODE (robot as a service; time does not stop)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open, you reach it only through a client, and like the real world it does not wait for you: once an
+episode is running, the robot and the scene move while you think. You act only through the robot's joint targets.
+**Task:** Grab the tray by both handles -- the left gripper on one handle bar, the right gripper on the other -- and keep the ball on the tray. The moment both handle bars are touched by the fingers (one arm's fingers on each bar), an 11-second countdown starts and the ball gets a push every 0.5 s (a 0.1 s force in the tray's plane, up to ~0.18 m/s each, its direction drifting from push to push). Success: the countdown completes with the ball on the tray throughout and both handles held throughout (each bar touched by its arm's fingers within the last 0.1 s at every control step). Failure, which ends the episode: the ball leaves the tray (its centre outside the tray floor's central ~0.26 x 0.25 m area, or lower than 8 mm above the floor), or a handle is let go during the countdown.
+
+A flat tray with a handle bar along each side lies on the table with a small ball on it.
+
+**Slowdown: S = 1.** The world runs at 1/S of real speed: one control step (0.034 s of robot time) every S x 0.034 s of
+wall-clock time (real time). `spec()["timing"]["slowdown"]` states it.
+
+## Rules (real-world rules)
+- **Time does not stop.** An episode starts paused, on the frozen starting state, with the robot holding its starting
+ pose. Its clock starts at your first `submit` (or `get_obs(seconds=s)`) and from then on the simulator runs at 29.4 Hz
+ of robot time (S = 1), one control step every 0.034 s of wall-clock time, whether or not you send anything, until the
+ episode ends. Between your commands it executes what you planned, then holds the last targets you sent; nothing
+ pauses for you, not your thinking, not your tool calls.
+- **You are far too slow to steer it turn by turn.** One turn of yours (a model response, a tool call) takes seconds.
+ Drive the robot with a program: a controller of your own (Python in your container, with numpy and the client) that
+ plans or streams the targets, started in the background (`nohup python /app/output/gen.py > /app/output/run.log 2>&1 &`)
+ or in the foreground if it ends with the episode. Use your turns to start episodes, read what happened, and improve
+ the program.
+- **Episodes and resets.** An episode ends on success, on the task's failure, when your time is up, or on a simulator error. You
+ have **10 resets** (`spec()["budget"]["reset"]`, which is authoritative: if it says 0, there is no reset and the one
+ episode is the run). `r.reset()` puts the robot and the scene back on the same frozen starting state and starts a new
+ episode, paused until your next `submit`, either abandoning the running episode or after one has ended. Once an
+ episode has ended, `submit` raises `EpisodeOver` (its message gives `resets_left`) until you reset. **Only the last
+ episode is graded**: an episode you reset away is never graded, a success ends the run at once (no reset after it),
+ and when your time is up the episode then running is the one graded. The wall clock is the run's and never restarts;
+ `meta["episode"]` and `meta["resets_left"]` count the episodes.
+- **No privileged state, no score.** You see what the cameras see (RGB, and depth on request) and the robot's own
+ proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object poses, no
+ success check: the service judges the episode and only tells you that it ended and why (`meta["done"]`,
+ `meta["reason"]`: `"success"`, `"error"` after a simulator error, else `"failed"`). `spec()` gives the robot's own
+ facts: the action layout and limits, the joints, each camera's intrinsics and mounting.
+- There is nothing to hand in: the service records every control step it ran and grades the last episode as it ran
+ (nothing is replayed). Keep the controller that drives the robot at `/app/output/gen.py` for the record: save it early
+ and keep it current.
+- Do not stop early: while the episode runs, or a reset is left, the run can still pass.
+
+## Time and streaming
+- `submit` answers at once, with the robot as it is now: the rows you sent have not run yet. They become the plan from
+ control step `at` (an episode step number; by default the next step), replacing whatever was planned from `at` on and
+ keeping what is planned before it. When the plan runs out, the last targets are held. `res.meta["control_steps"]` is
+ the number of steps run so far in this episode (so the next step has that number), `res.meta["proprio"]["now"]` the
+ proprioception now, `res.meta["plan_end_step"]` where the plan now ends.
+- Open loop: plan a whole movement at once (`dt` a multiple of 0.034 s; a chunk covers at most 10 s), from step `at = 0`
+ for the episode's start: `r.submit("joint_position", rows, dt=0.034, interpolate="hold", at=0, cameras=[])` starts the
+ clock and runs exactly those rows from the first step; `at` may be up to `spec()["timing"]["max_ahead_steps"]` steps
+ ahead.
+- Closed loop: send one row per control step, `r.submit("joint_position", a[None], cameras=[])`, computed from the
+ proprioception or images the previous call returned. `cameras=[]` skips the images (the fastest call).
+- Latency: a reading is a few milliseconds old when it reaches you, and a row takes effect at the next control step at
+ the earliest. A row whose step has already run when the request arrives is dropped (`res.meta["late_steps"]` counts
+ them); the rest of its chunk applies from the next step.
+- `get_obs()` reads the robot now; `get_obs(seconds=s)` (at most 30) waits while s seconds of robot time run and returns
+ what the cameras saw meanwhile (the robot keeps executing its plan). `spec()["timing"]` states all this; `r.status()`
+ shows `running` and `lag_s`.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.3`, standard-realtime mode)
+| call | endpoint | what it does |
+|---|---|---|
+| `r = Robot()` | | connects (`http://sim:8000`, then `http://localhost:8000`) and waits until the scene is ready |
+| `r.spec()` | `GET /spec` | the robot's facts: the action layout (`action_types["joint_position"]["layout"]`), `control_dt` (0.034 s), `timing`, the cameras, `proprio_layout`, `budget` |
+| `r.status()` | `GET /status` | `calls`, `rows`, `control_steps`, `done`, `reason`, `elapsed_s`, `running`, `planned_steps`, `lag_s`, and `episode`, `resets_left`, `control_steps_total` |
+| `r.submit("joint_position", A, dt=0.034, interpolate="linear", at=None, cameras=None)` | `POST /submit` | plans `A`, rows of 14 targets `dt` seconds apart (a chunk covers at most 10 s), from step `at`; answers at once; the first one starts the episode's clock |
+| `r.get_obs(cameras=None, seconds=0, include_depth=False, video="frames")` | `POST /observe` | the robot now, or what the cameras saw over the next `seconds` |
+| `r.reset(cameras=None, include_depth=False)` | `POST /reset` | a new episode from the frozen starting state, paused (at most 10 in all); returns the start's frames |
+
+The answers are binary (RCB1) and come back decoded: `res.meta` (the counters, `done`, `reason`, `proprio["now"]`),
+`res.last[camera]` (the last frame), `res.frames` or `res.video` (what the cameras saw during a watch), `res.proprio`
+(proprioception rows). A malformed request raises `ValueError` and changes nothing. Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480,
+default `top`), rendered on the service's GPU in a few milliseconds each; `cameras=None` means every camera, so name the
+ones you need. Each proprioception row has, in `spec()["proprio_layout"]` order: `q_<entry>` (the 14 action coordinates
+measured), `qd_<entry>`, the two gripper openings (m), each arm's tool centre point (x y z, `wxyz`), `effort_<entry>`.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec()["action_types"]["joint_position"]["layout"]` order; rows `dt` apart,
+`interpolate="linear"` (default: a straight line from the targets in force) or `"hold"`; the realtime client sends them
+as float64.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/solution/oracle.npy b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/solution/oracle.npy
new file mode 100644
index 0000000000..5bf730dc8d
Binary files /dev/null and b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/solution/oracle_plan.py b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/solution/oracle_plan.py
new file mode 100644
index 0000000000..a0dd153800
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/solution/oracle_plan.py
@@ -0,0 +1,29 @@
+"""Standard-realtime reference solution: the privileged twin's reference rows (solution/oracle.npy, one row of 14
+joint-position targets per control step) planned into the episode at the control steps where they ran in the privileged
+replay: chunks of at most 200 rows, `submit(..., at=<its first step>)`, each sent ahead of time (well inside
+max_ahead_steps of the clock). The first chunk, at step 0, starts the clock; the rows then run at the same control steps
+as in the privileged replay, so the episode is the privileged reference's."""
+import os
+import time
+
+import numpy as np
+
+from rcb_client import EpisodeOver, Robot
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt, ahead = float(spec["control_dt"]), int(spec["timing"]["max_ahead_steps"])
+chunks = [(i, min(i + 200, len(A))) for i in range(0, len(A), 200)]
+try:
+ for i, j in chunks:
+ while i and r.status()["control_steps"] < i - ahead // 2: # well inside max_ahead_steps
+ time.sleep(0.02)
+ res = r.submit("joint_position", A[i:j], dt=dt, interpolate="hold", at=i, cameras=[])
+ print(f"planned rows {i}..{j} at step {i}; now step {res.meta['control_steps']}, late {res.meta.get('late_steps')}",
+ flush=True)
+ while not r.status()["done"]:
+ time.sleep(0.1)
+except EpisodeOver:
+ pass
+print(r.status())
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/solution/solve.sh b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/solution/solve.sh
new file mode 100755
index 0000000000..5daa4348a0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/solution/solve.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+# Reference solution (standard-realtime): plan the privileged twin's reference rows into the episode from step 0.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_plan.py /app/output/gen.py
+python /solution/oracle_plan.py
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/task.toml b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/task.toml
new file mode 100644
index 0000000000..1f1d2a3d67
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/task.toml
@@ -0,0 +1,99 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/trajectory_live.f64", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/replay.last.png", service = "sim" }, { source = "/data/ticks.f64", service = "sim" }, { source = "/data/calls.jsonl", service = "sim" }, { source = "/data/submitted.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/crash.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-ball-tray-i00-standard-realtime"
+description = "ABC Sim ball-tray balancing (two I2RT YAM arms, MuJoCo): Grab the tray by both handles -- the left gripper on one handle bar, the right gripper on the other -- and keep the ball on the tray. The robot as a service on a clock that does not stop (eai-standard/2.3, S = 1); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "ball_tray", "standard-realtime"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "ball_tray"
+mode = "standard-realtime"
+dynamics = "dynamic" # the tray's runtime pushes the ball
+slowdown = 1 # standard-realtime: the world runs at 1/S of real speed (docs/protocol/README.md §4b); RCB_SLOWDOWN's default
+protocol = "eai-standard/2.3"
+oracle = "full"
+expert_time_estimate_hours = 6.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+# Then the episode ends: SIGUSR1 to the service (re-sent every 30 s), which writes the live verdict;
+# the hook waits for it until 300 s and for the video (rendered from the trajectory) until 870 s.
+[[verifier.collect]]
+service = "sim"
+command = "t0=$(date +%s); while [ ! -f /data/server.pid ] && [ $(( $(date +%s) - t0 )) -lt 120 ]; do sleep 2; done; i=0; while [ $(( $(date +%s) - t0 )) -lt 300 ] && ! grep -q '\"finalized\": true' /data/final.json 2>/dev/null; do [ $((i % 15)) -eq 0 ] && kill -USR1 $(cat /data/server.pid 2>/dev/null) 2>/dev/null; i=$((i + 1)); sleep 2; done; while [ $(( $(date +%s) - t0 )) -lt 870 ] && grep -q '\"video_pending\": true' /data/final.json 2>/dev/null; do sleep 2; done; cat /data/final.json"
+timeout_sec = 900
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/tests/Dockerfile b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/tests/rcb_limits.json
new file mode 100644
index 0000000000..08e970713a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard-realtime",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-ball-tray-i00-standard-realtime",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/tests/test.sh b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard-realtime/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/DIGEST
new file mode 100644
index 0000000000..9920e579b5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:fbd906e2b9610503f9b5308d953712f1efb080d867f7f4bf9e1682815df23a77
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard/README.md b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/README.md
new file mode 100644
index 0000000000..f07bf122d3
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-ball-tray-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-ball-tray-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `ball_tray` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `ball_tray_balancing` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Grab the tray by both handles -- the left gripper on one handle bar, the right gripper on the other -- and keep the ball on the tray. The moment both handle bars are touched by the fingers (one arm's fingers on each bar), an 11-second countdown starts and the ball gets a push every 0.5 s (a 0.1 s force in the tray's plane, up to ~0.18 m/s each, its direction drifting from push to push). Success: the countdown completes with the ball on the tray throughout and both handles held throughout (each bar touched by its arm's fingers within the last 0.1 s at every control step). Failure, which ends the episode: the ball leaves the tray (its centre outside the tray floor's central ~0.26 x 0.25 m area, or lower than 8 mm above the floor), or a handle is let go during the countdown.
+A flat tray with a handle bar along each side lies on the table with a small ball on it. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: hard. A bimanual grasp of both handles, then closed-loop balancing for 11 s against random pushes the agent cannot predict, with the ball's position known only from the cameras (standard modes). The action is joint-level (two 6-joint arms and two grippers; no motion primitives).
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 453 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `6cdaa86a450092e7`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `ball_tray_balancing` held 30 control steps (ball tray: its own rule, tasks/abc-sim/README.md) |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..92158a8dd9
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-ball-tray-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..9db6dff0fd
Binary files /dev/null and b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..87dee257a6
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Grab the tray by both handles -- the left gripper on one handle bar, the right gripper on the other -- and keep the ball on the tray. The moment both handle bars are touched by the fingers (one arm's fingers on each bar), an 11-second countdown starts and the ball gets a push every 0.5 s (a 0.1 s force in the tray's plane, up to ~0.18 m/s each, its direction drifting from push to push). Success: the countdown completes with the ball on the tray throughout and both handles held throughout (each bar touched by its arm's fingers within the last 0.1 s at every control step). Failure, which ends the episode: the ball leaves the tray (its centre outside the tray floor's central ~0.26 x 0.25 m area, or lower than 8 mm above the floor), or a handle is let go during the countdown.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/instruction.md
new file mode 100644
index 0000000000..b7e4538002
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · ball-tray balancing -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Grab the tray by both handles -- the left gripper on one handle bar, the right gripper on the other -- and keep the ball on the tray. The moment both handle bars are touched by the fingers (one arm's fingers on each bar), an 11-second countdown starts and the ball gets a push every 0.5 s (a 0.1 s force in the tray's plane, up to ~0.18 m/s each, its direction drifting from push to push). Success: the countdown completes with the ball on the tray throughout and both handles held throughout (each bar touched by its arm's fingers within the last 0.1 s at every control step). Failure, which ends the episode: the ball leaves the tray (its centre outside the tray floor's central ~0.26 x 0.25 m area, or lower than 8 mm above the floor), or a handle is let go during the countdown.
+
+A flat tray with a handle bar along each side lies on the table with a small ball on it.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success or on the task's failure,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..5bf730dc8d
Binary files /dev/null and b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard/task.toml b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/task.toml
new file mode 100644
index 0000000000..e3ae8d91f1
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-ball-tray-i00-standard"
+description = "ABC Sim ball-tray balancing (two I2RT YAM arms, MuJoCo): Grab the tray by both handles -- the left gripper on one handle bar, the right gripper on the other -- and keep the ball on the tray. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "ball_tray", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "ball_tray"
+mode = "standard"
+dynamics = "dynamic" # the tray's runtime pushes the ball
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 6.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..92158a8dd9
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-ball-tray-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-ball-tray-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-ball-tray-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-chess-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-chess-i00-privileged/DIGEST
new file mode 100644
index 0000000000..ea0e8a3a68
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:9d228a277546443374bdd482333d7f94bd4307b13dbe023cf79d07314cc9de9d
diff --git a/tasks/abc-sim/abc-sim-chess-i00-privileged/README.md b/tasks/abc-sim/abc-sim-chess-i00-privileged/README.md
new file mode 100644
index 0000000000..748dca0bd9
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-chess-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-chess-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `chess` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `set_up_chess_pieces_on_board` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Put the 6 pieces that stand next to the board (3 black pawns, a black bishop, the black king, the black queen) on their starting squares: the squares of the standard starting position left empty. Success: each of those pieces stands on a starting square of its own kind that is to be filled: its centre within 0.028 m (half a square) of the square's centre in the board's plane, at most 0.05 m above the board, and upright (tilted at most 32 deg). Disturbing the other pieces does not fail the task. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+A chess board lies on the table with the pieces on their starting squares, except 6 pieces -- 3 black pawns, a black bishop, the black king, the black queen -- which stand on the table next to the board. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: hard. Small, tall pieces placed precisely next to standing neighbours, and knowing the standard starting position (which square each kind takes). The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 1872 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `65f14022364f054f`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `set_up_chess_pieces_on_board` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-chess-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-chess-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-chess-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-chess-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-chess-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-chess-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..8a49c58dee
Binary files /dev/null and b/tasks/abc-sim/abc-sim-chess-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-chess-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-chess-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..f25fe55ab5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-chess-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-chess-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-chess-i00-privileged/instruction.md
new file mode 100644
index 0000000000..ac773ab324
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · set up chess pieces -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Put the 6 pieces that stand next to the board (3 black pawns, a black bishop, the black king, the black queen) on their starting squares: the squares of the standard starting position left empty. Success: each of those pieces stands on a starting square of its own kind that is to be filled: its centre within 0.028 m (half a square) of the square's centre in the board's plane, at most 0.05 m above the board, and upright (tilted at most 32 deg). Disturbing the other pieces does not fail the task. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+A chess board lies on the table with the pieces on their starting squares, except 6 pieces -- 3 black pawns, a black bishop, the black king, the black queen -- which stand on the table next to the board. The task's directive, as the scene states it: "set up chess pieces on the board".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the pieces are `<colour>_<kind>_<n>` (the ones to place: `s.state()['randomization']['target_joints']`), the board `chessboard`. Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-chess-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-chess-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..08afec7cdd
Binary files /dev/null and b/tasks/abc-sim/abc-sim-chess-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-chess-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-chess-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-chess-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-chess-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-chess-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-chess-i00-privileged/task.toml
new file mode 100644
index 0000000000..a9eb1d118c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-chess-i00-privileged"
+description = "ABC Sim set up chess pieces (two I2RT YAM arms, MuJoCo): Put the 6 pieces that stand next to the board (3 black pawns, a black bishop, the black king, the black queen) on their starting squares: the squares of the standard starting position left empty. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "chess", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "chess"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 5.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-chess-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-chess-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-chess-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-chess-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-chess-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-chess-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..8a49c58dee
Binary files /dev/null and b/tasks/abc-sim/abc-sim-chess-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-chess-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-chess-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..f25fe55ab5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-chess-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-chess-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-chess-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-chess-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-chess-i00-standard/DIGEST
new file mode 100644
index 0000000000..4129757193
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:2572fd25642ad91cd3cc51d45a6fbbeff36fec5cf400996f55db7adb4a92c513
diff --git a/tasks/abc-sim/abc-sim-chess-i00-standard/README.md b/tasks/abc-sim/abc-sim-chess-i00-standard/README.md
new file mode 100644
index 0000000000..b42e341649
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-chess-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-chess-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `chess` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `set_up_chess_pieces_on_board` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Put the 6 pieces that stand next to the board (3 black pawns, a black bishop, the black king, the black queen) on their starting squares: the squares of the standard starting position left empty. Success: each of those pieces stands on a starting square of its own kind that is to be filled: its centre within 0.028 m (half a square) of the square's centre in the board's plane, at most 0.05 m above the board, and upright (tilted at most 32 deg). Disturbing the other pieces does not fail the task. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+A chess board lies on the table with the pieces on their starting squares, except 6 pieces -- 3 black pawns, a black bishop, the black king, the black queen -- which stand on the table next to the board. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: hard. Small, tall pieces placed precisely next to standing neighbours, and knowing the standard starting position (which square each kind takes). The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 1872 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `65f14022364f054f`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `set_up_chess_pieces_on_board` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-chess-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-chess-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-chess-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-chess-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-chess-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-chess-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-chess-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-chess-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..5c8894da55
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-chess-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-chess-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-chess-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-chess-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-chess-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-chess-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-chess-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..8a49c58dee
Binary files /dev/null and b/tasks/abc-sim/abc-sim-chess-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-chess-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-chess-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..44616ea06a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Put the 6 pieces that stand next to the board (3 black pawns, a black bishop, the black king, the black queen) on their starting squares: the squares of the standard starting position left empty. Success: each of those pieces stands on a starting square of its own kind that is to be filled: its centre within 0.028 m (half a square) of the square's centre in the board's plane, at most 0.05 m above the board, and upright (tilted at most 32 deg). Disturbing the other pieces does not fail the task. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-chess-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-chess-i00-standard/instruction.md
new file mode 100644
index 0000000000..c6f9c514ef
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · set up chess pieces -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Put the 6 pieces that stand next to the board (3 black pawns, a black bishop, the black king, the black queen) on their starting squares: the squares of the standard starting position left empty. Success: each of those pieces stands on a starting square of its own kind that is to be filled: its centre within 0.028 m (half a square) of the square's centre in the board's plane, at most 0.05 m above the board, and upright (tilted at most 32 deg). Disturbing the other pieces does not fail the task. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+A chess board lies on the table with the pieces on their starting squares, except 6 pieces -- 3 black pawns, a black bishop, the black king, the black queen -- which stand on the table next to the board.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-chess-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-chess-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..08afec7cdd
Binary files /dev/null and b/tasks/abc-sim/abc-sim-chess-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-chess-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-chess-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-chess-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-chess-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-chess-i00-standard/task.toml b/tasks/abc-sim/abc-sim-chess-i00-standard/task.toml
new file mode 100644
index 0000000000..c4e79c9b44
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-chess-i00-standard"
+description = "ABC Sim set up chess pieces (two I2RT YAM arms, MuJoCo): Put the 6 pieces that stand next to the board (3 black pawns, a black bishop, the black king, the black queen) on their starting squares: the squares of the standard starting position left empty. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "chess", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "chess"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 7.5
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-chess-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-chess-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-chess-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-chess-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..5c8894da55
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-chess-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-chess-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-chess-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-chess-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/DIGEST
new file mode 100644
index 0000000000..9e0243e2cd
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:bec570fe29e0668983dc00b196ff4d2c632b8769ba93239e83fb3ac2218908f2
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/README.md b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/README.md
new file mode 100644
index 0000000000..dc50ba411a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-conveyor-pick-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-conveyor-pick-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `conveyor_pick` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `conveyor_pick` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Pick the three objects off the moving belt and put them in the bin. Success: all three objects' centres are inside the bin's interior (between its walls, below its rim) at the same time. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+A conveyor belt runs across the table in front of the arms, along y, between two rails; it carries three objects (canned food, bagged food, boxed drink) towards the left (+y) at about 9 cm/s. A bin stands right behind the belt (on its far side). The objects keep moving with the belt until they are lifted off it. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: hard. The scene does not wait: the belt carries the objects past the arms, so each grasp has to be timed on a moving object, and the objects are of different shapes and sizes. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 274 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `73fd8e08bd4000ee`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `conveyor_pick` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..5f2802c496
Binary files /dev/null and b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..120f5acd49
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-conveyor-pick-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/instruction.md
new file mode 100644
index 0000000000..be9b05347d
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · conveyor pick -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Pick the three objects off the moving belt and put them in the bin. Success: all three objects' centres are inside the bin's interior (between its walls, below its rim) at the same time. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+A conveyor belt runs across the table in front of the arms, along y, between two rails; it carries three objects (canned food, bagged food, boxed drink) towards the left (+y) at about 9 cm/s. A bin stands right behind the belt (on its far side). The objects keep moving with the belt until they are lifted off it. The task's directive, as the scene states it: "pick objects from the conveyor belt and put them in the bin".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the objects are `conveyor_object_1` ... `conveyor_object_3` (their poses: `s.objects()`). Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..9f01edd0a9
Binary files /dev/null and b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/task.toml
new file mode 100644
index 0000000000..2272e2325e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-conveyor-pick-i00-privileged"
+description = "ABC Sim conveyor pick (two I2RT YAM arms, MuJoCo): Pick the three objects off the moving belt and put them in the bin. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "conveyor_pick", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "conveyor_pick"
+mode = "privileged"
+dynamics = "dynamic" # the conveyor belt moves the objects
+oracle = "full"
+expert_time_estimate_hours = 4.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..5f2802c496
Binary files /dev/null and b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..120f5acd49
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-conveyor-pick-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/DIGEST b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/DIGEST
new file mode 100644
index 0000000000..869ce1159b
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/DIGEST
@@ -0,0 +1 @@
+sha256:a3811a7564d38ed406664d71d66e0135f01ed82638b81df1be59c0e9ce8f914c
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/README.md b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/README.md
new file mode 100644
index 0000000000..ea2edc0999
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/README.md
@@ -0,0 +1,54 @@
+# abc-sim-conveyor-pick-i00-standard-realtime
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard-realtime (`eai-standard/2.3`) |
+| Twin | `abc-sim-conveyor-pick-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `conveyor_pick` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Real time | slowdown S = 1 (the world runs at 1/S of real speed: one control step every S x control_dt s of wall time; `RCB_SLOWDOWN`'s default); reset budget 10 (`RCB_RESET_BUDGET`'s default) (PROTOCOL §4b) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `conveyor_pick` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Pick the three objects off the moving belt and put them in the bin. Success: all three objects' centres are inside the bin's interior (between its walls, below its rim) at the same time. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+A conveyor belt runs across the table in front of the arms, along y, between two rails; it carries three objects (canned food, bagged food, boxed drink) towards the left (+y) at about 9 cm/s. A bin stands right behind the belt (on its far side). The objects keep moving with the belt until they are lifted off it. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: hard. The scene does not wait: the belt carries the objects past the arms, so each grasp has to be timed on a moving object, and the objects are of different shapes and sizes. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 274 rows, planned into the episode at the control steps where they ran in the privileged replay (`submit(..., at=step)`, sent ahead of the clock; `solution/oracle_plan.py`), so the service executes exactly those rows at S = 1.
+
+## Verification
+The live episode's verdict, judged by the sim sidecar (the shared realtime layer and this benchmark's adapter) on the episode it ran; the collect hook waits for `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `73fd8e08bd4000ee`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `conveyor_pick` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/Dockerfile b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/Dockerfile
new file mode 100644
index 0000000000..57588ae3e0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard-realtime mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# realtime client (eai-standard/2.3), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /realtime/rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/docker-compose.yaml
new file mode 100644
index 0000000000..150108fc1f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/docker-compose.yaml
@@ -0,0 +1,71 @@
+# Standard-realtime mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: python /srv/rcb_realtime.py
+ restart: on-failure:6 # a resume continues the episode, paused
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_TASK_INFO: /srv/task.json
+ PYTHONPATH: /opt/abc-tools/realtime:/srv:/opt/abc:/opt/abc-tools
+ RCB_SLOWDOWN: "${RCB_SLOWDOWN:-1}" # S = 1: the world runs at 1/S of real speed
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-10}" # 10 resets (the mode's default); 0: one episode
+ RCB_GL: "${RCB_GL:-auto}" # auto: EGL on the GPU when it works, else OSMesa
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..6ea331e3cd
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard-realtime",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-conveyor-pick-i00-standard-realtime",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/sim/Dockerfile
new file mode 100644
index 0000000000..cfcf3aee36
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/sim/Dockerfile
@@ -0,0 +1,9 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's realtime adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared realtime layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /realtime/rcb_realtime.py \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/sim/instance.npz
new file mode 100644
index 0000000000..5f2802c496
Binary files /dev/null and b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/sim/task.json b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/sim/task.json
new file mode 100644
index 0000000000..4a64f9f2af
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Pick the three objects off the moving belt and put them in the bin. Success: all three objects' centres are inside the bin's interior (between its walls, below its rim) at the same time. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/instruction.md b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/instruction.md
new file mode 100644
index 0000000000..655894d0c5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/instruction.md
@@ -0,0 +1,96 @@
+# ABC Sim · conveyor pick -- STANDARD-REALTIME MODE (robot as a service; time does not stop)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open, you reach it only through a client, and like the real world it does not wait for you: once an
+episode is running, the robot and the scene move while you think. You act only through the robot's joint targets.
+**Task:** Pick the three objects off the moving belt and put them in the bin. Success: all three objects' centres are inside the bin's interior (between its walls, below its rim) at the same time. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+A conveyor belt runs across the table in front of the arms, along y, between two rails; it carries three objects (canned food, bagged food, boxed drink) towards the left (+y) at about 9 cm/s. A bin stands right behind the belt (on its far side). The objects keep moving with the belt until they are lifted off it.
+
+**Slowdown: S = 1.** The world runs at 1/S of real speed: one control step (0.034 s of robot time) every S x 0.034 s of
+wall-clock time (real time). `spec()["timing"]["slowdown"]` states it.
+
+## Rules (real-world rules)
+- **Time does not stop.** An episode starts paused, on the frozen starting state, with the robot holding its starting
+ pose. Its clock starts at your first `submit` (or `get_obs(seconds=s)`) and from then on the simulator runs at 29.4 Hz
+ of robot time (S = 1), one control step every 0.034 s of wall-clock time, whether or not you send anything, until the
+ episode ends. Between your commands it executes what you planned, then holds the last targets you sent; nothing
+ pauses for you, not your thinking, not your tool calls.
+- **You are far too slow to steer it turn by turn.** One turn of yours (a model response, a tool call) takes seconds.
+ Drive the robot with a program: a controller of your own (Python in your container, with numpy and the client) that
+ plans or streams the targets, started in the background (`nohup python /app/output/gen.py > /app/output/run.log 2>&1 &`)
+ or in the foreground if it ends with the episode. Use your turns to start episodes, read what happened, and improve
+ the program.
+- **Episodes and resets.** An episode ends on success, when your time is up, or on a simulator error. You
+ have **10 resets** (`spec()["budget"]["reset"]`, which is authoritative: if it says 0, there is no reset and the one
+ episode is the run). `r.reset()` puts the robot and the scene back on the same frozen starting state and starts a new
+ episode, paused until your next `submit`, either abandoning the running episode or after one has ended. Once an
+ episode has ended, `submit` raises `EpisodeOver` (its message gives `resets_left`) until you reset. **Only the last
+ episode is graded**: an episode you reset away is never graded, a success ends the run at once (no reset after it),
+ and when your time is up the episode then running is the one graded. The wall clock is the run's and never restarts;
+ `meta["episode"]` and `meta["resets_left"]` count the episodes.
+- **No privileged state, no score.** You see what the cameras see (RGB, and depth on request) and the robot's own
+ proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object poses, no
+ success check: the service judges the episode and only tells you that it ended and why (`meta["done"]`,
+ `meta["reason"]`: `"success"`, `"error"` after a simulator error, else `"failed"`). `spec()` gives the robot's own
+ facts: the action layout and limits, the joints, each camera's intrinsics and mounting.
+- There is nothing to hand in: the service records every control step it ran and grades the last episode as it ran
+ (nothing is replayed). Keep the controller that drives the robot at `/app/output/gen.py` for the record: save it early
+ and keep it current.
+- Do not stop early: while the episode runs, or a reset is left, the run can still pass.
+
+## Time and streaming
+- `submit` answers at once, with the robot as it is now: the rows you sent have not run yet. They become the plan from
+ control step `at` (an episode step number; by default the next step), replacing whatever was planned from `at` on and
+ keeping what is planned before it. When the plan runs out, the last targets are held. `res.meta["control_steps"]` is
+ the number of steps run so far in this episode (so the next step has that number), `res.meta["proprio"]["now"]` the
+ proprioception now, `res.meta["plan_end_step"]` where the plan now ends.
+- Open loop: plan a whole movement at once (`dt` a multiple of 0.034 s; a chunk covers at most 10 s), from step `at = 0`
+ for the episode's start: `r.submit("joint_position", rows, dt=0.034, interpolate="hold", at=0, cameras=[])` starts the
+ clock and runs exactly those rows from the first step; `at` may be up to `spec()["timing"]["max_ahead_steps"]` steps
+ ahead.
+- Closed loop: send one row per control step, `r.submit("joint_position", a[None], cameras=[])`, computed from the
+ proprioception or images the previous call returned. `cameras=[]` skips the images (the fastest call).
+- Latency: a reading is a few milliseconds old when it reaches you, and a row takes effect at the next control step at
+ the earliest. A row whose step has already run when the request arrives is dropped (`res.meta["late_steps"]` counts
+ them); the rest of its chunk applies from the next step.
+- `get_obs()` reads the robot now; `get_obs(seconds=s)` (at most 30) waits while s seconds of robot time run and returns
+ what the cameras saw meanwhile (the robot keeps executing its plan). `spec()["timing"]` states all this; `r.status()`
+ shows `running` and `lag_s`.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.3`, standard-realtime mode)
+| call | endpoint | what it does |
+|---|---|---|
+| `r = Robot()` | | connects (`http://sim:8000`, then `http://localhost:8000`) and waits until the scene is ready |
+| `r.spec()` | `GET /spec` | the robot's facts: the action layout (`action_types["joint_position"]["layout"]`), `control_dt` (0.034 s), `timing`, the cameras, `proprio_layout`, `budget` |
+| `r.status()` | `GET /status` | `calls`, `rows`, `control_steps`, `done`, `reason`, `elapsed_s`, `running`, `planned_steps`, `lag_s`, and `episode`, `resets_left`, `control_steps_total` |
+| `r.submit("joint_position", A, dt=0.034, interpolate="linear", at=None, cameras=None)` | `POST /submit` | plans `A`, rows of 14 targets `dt` seconds apart (a chunk covers at most 10 s), from step `at`; answers at once; the first one starts the episode's clock |
+| `r.get_obs(cameras=None, seconds=0, include_depth=False, video="frames")` | `POST /observe` | the robot now, or what the cameras saw over the next `seconds` |
+| `r.reset(cameras=None, include_depth=False)` | `POST /reset` | a new episode from the frozen starting state, paused (at most 10 in all); returns the start's frames |
+
+The answers are binary (RCB1) and come back decoded: `res.meta` (the counters, `done`, `reason`, `proprio["now"]`),
+`res.last[camera]` (the last frame), `res.frames` or `res.video` (what the cameras saw during a watch), `res.proprio`
+(proprioception rows). A malformed request raises `ValueError` and changes nothing. Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480,
+default `top`), rendered on the service's GPU in a few milliseconds each; `cameras=None` means every camera, so name the
+ones you need. Each proprioception row has, in `spec()["proprio_layout"]` order: `q_<entry>` (the 14 action coordinates
+measured), `qd_<entry>`, the two gripper openings (m), each arm's tool centre point (x y z, `wxyz`), `effort_<entry>`.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec()["action_types"]["joint_position"]["layout"]` order; rows `dt` apart,
+`interpolate="linear"` (default: a straight line from the targets in force) or `"hold"`; the realtime client sends them
+as float64.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/solution/oracle.npy b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/solution/oracle.npy
new file mode 100644
index 0000000000..9f01edd0a9
Binary files /dev/null and b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/solution/oracle_plan.py b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/solution/oracle_plan.py
new file mode 100644
index 0000000000..a0dd153800
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/solution/oracle_plan.py
@@ -0,0 +1,29 @@
+"""Standard-realtime reference solution: the privileged twin's reference rows (solution/oracle.npy, one row of 14
+joint-position targets per control step) planned into the episode at the control steps where they ran in the privileged
+replay: chunks of at most 200 rows, `submit(..., at=<its first step>)`, each sent ahead of time (well inside
+max_ahead_steps of the clock). The first chunk, at step 0, starts the clock; the rows then run at the same control steps
+as in the privileged replay, so the episode is the privileged reference's."""
+import os
+import time
+
+import numpy as np
+
+from rcb_client import EpisodeOver, Robot
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt, ahead = float(spec["control_dt"]), int(spec["timing"]["max_ahead_steps"])
+chunks = [(i, min(i + 200, len(A))) for i in range(0, len(A), 200)]
+try:
+ for i, j in chunks:
+ while i and r.status()["control_steps"] < i - ahead // 2: # well inside max_ahead_steps
+ time.sleep(0.02)
+ res = r.submit("joint_position", A[i:j], dt=dt, interpolate="hold", at=i, cameras=[])
+ print(f"planned rows {i}..{j} at step {i}; now step {res.meta['control_steps']}, late {res.meta.get('late_steps')}",
+ flush=True)
+ while not r.status()["done"]:
+ time.sleep(0.1)
+except EpisodeOver:
+ pass
+print(r.status())
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/solution/solve.sh b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/solution/solve.sh
new file mode 100755
index 0000000000..5daa4348a0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/solution/solve.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+# Reference solution (standard-realtime): plan the privileged twin's reference rows into the episode from step 0.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_plan.py /app/output/gen.py
+python /solution/oracle_plan.py
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/task.toml b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/task.toml
new file mode 100644
index 0000000000..e2a219b30f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/task.toml
@@ -0,0 +1,99 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/trajectory_live.f64", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/replay.last.png", service = "sim" }, { source = "/data/ticks.f64", service = "sim" }, { source = "/data/calls.jsonl", service = "sim" }, { source = "/data/submitted.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/crash.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-conveyor-pick-i00-standard-realtime"
+description = "ABC Sim conveyor pick (two I2RT YAM arms, MuJoCo): Pick the three objects off the moving belt and put them in the bin. The robot as a service on a clock that does not stop (eai-standard/2.3, S = 1); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "conveyor_pick", "standard-realtime"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "conveyor_pick"
+mode = "standard-realtime"
+dynamics = "dynamic" # the conveyor belt moves the objects
+slowdown = 1 # standard-realtime: the world runs at 1/S of real speed (docs/protocol/README.md §4b); RCB_SLOWDOWN's default
+protocol = "eai-standard/2.3"
+oracle = "full"
+expert_time_estimate_hours = 6.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+# Then the episode ends: SIGUSR1 to the service (re-sent every 30 s), which writes the live verdict;
+# the hook waits for it until 300 s and for the video (rendered from the trajectory) until 870 s.
+[[verifier.collect]]
+service = "sim"
+command = "t0=$(date +%s); while [ ! -f /data/server.pid ] && [ $(( $(date +%s) - t0 )) -lt 120 ]; do sleep 2; done; i=0; while [ $(( $(date +%s) - t0 )) -lt 300 ] && ! grep -q '\"finalized\": true' /data/final.json 2>/dev/null; do [ $((i % 15)) -eq 0 ] && kill -USR1 $(cat /data/server.pid 2>/dev/null) 2>/dev/null; i=$((i + 1)); sleep 2; done; while [ $(( $(date +%s) - t0 )) -lt 870 ] && grep -q '\"video_pending\": true' /data/final.json 2>/dev/null; do sleep 2; done; cat /data/final.json"
+timeout_sec = 900
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/tests/Dockerfile b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/tests/rcb_limits.json
new file mode 100644
index 0000000000..6ea331e3cd
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard-realtime",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-conveyor-pick-i00-standard-realtime",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/tests/test.sh b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard-realtime/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/DIGEST
new file mode 100644
index 0000000000..9856976fae
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:c2f7e3e2b7af965b8f1778885dc0ad0d46e3ea3c94663f322c664be5deb5ec52
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/README.md b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/README.md
new file mode 100644
index 0000000000..d74df19370
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-conveyor-pick-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-conveyor-pick-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `conveyor_pick` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `conveyor_pick` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Pick the three objects off the moving belt and put them in the bin. Success: all three objects' centres are inside the bin's interior (between its walls, below its rim) at the same time. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+A conveyor belt runs across the table in front of the arms, along y, between two rails; it carries three objects (canned food, bagged food, boxed drink) towards the left (+y) at about 9 cm/s. A bin stands right behind the belt (on its far side). The objects keep moving with the belt until they are lifted off it. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: hard. The scene does not wait: the belt carries the objects past the arms, so each grasp has to be timed on a moving object, and the objects are of different shapes and sizes. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 274 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `73fd8e08bd4000ee`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `conveyor_pick` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..59150e3377
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-conveyor-pick-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..5f2802c496
Binary files /dev/null and b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..4a64f9f2af
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Pick the three objects off the moving belt and put them in the bin. Success: all three objects' centres are inside the bin's interior (between its walls, below its rim) at the same time. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/instruction.md
new file mode 100644
index 0000000000..b886469c7f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · conveyor pick -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Pick the three objects off the moving belt and put them in the bin. Success: all three objects' centres are inside the bin's interior (between its walls, below its rim) at the same time. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+A conveyor belt runs across the table in front of the arms, along y, between two rails; it carries three objects (canned food, bagged food, boxed drink) towards the left (+y) at about 9 cm/s. A bin stands right behind the belt (on its far side). The objects keep moving with the belt until they are lifted off it.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..9f01edd0a9
Binary files /dev/null and b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/task.toml b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/task.toml
new file mode 100644
index 0000000000..1d3a648ba0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-conveyor-pick-i00-standard"
+description = "ABC Sim conveyor pick (two I2RT YAM arms, MuJoCo): Pick the three objects off the moving belt and put them in the bin. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "conveyor_pick", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "conveyor_pick"
+mode = "standard"
+dynamics = "dynamic" # the conveyor belt moves the objects
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 6.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..59150e3377
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-conveyor-pick-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-conveyor-pick-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-count-four-i00-privileged/DIGEST
new file mode 100644
index 0000000000..2d42e29e0d
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:019d68c1d9ce6342aa56f1ce72309e2d56d1a2d3c8a332329d8008c5c49d0dfc
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-privileged/README.md b/tasks/abc-sim/abc-sim-count-four-i00-privileged/README.md
new file mode 100644
index 0000000000..e779e4f0c7
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-count-four-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-count-four-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `count_four` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `count_four_into_opaque_box` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Follow the directive **"put exactly 4 objects in the box"**. Success: the box holds exactly 4 objects (of any kind). An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twelve small objects -- cubes, spheres, cylinders and triangular prisms in six colours (red, orange, yellow, green, blue, purple), small and large -- lie on the table next to an opaque box. The box's lid has a slot covered by a light spring-hinged flap: objects go in through the slot. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: hard. Grounding a counting directive in what the cameras show, and dropping small objects through a narrow slot covered by a flap into a box whose contents can no longer be seen. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 671 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `c8a0c7b3eb8622b4`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `count_four_into_opaque_box` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-count-four-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-count-four-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-count-four-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..21a3cc705f
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-four-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-count-four-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..53271e9692
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-count-four-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-count-four-i00-privileged/instruction.md
new file mode 100644
index 0000000000..cc964bb556
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · count into a box: exactly 4 -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Follow the directive **"put exactly 4 objects in the box"**. Success: the box holds exactly 4 objects (of any kind). An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twelve small objects -- cubes, spheres, cylinders and triangular prisms in six colours (red, orange, yellow, green, blue, purple), small and large -- lie on the table next to an opaque box. The box's lid has a slot covered by a light spring-hinged flap: objects go in through the slot. The task's directive, as the scene states it: "put exactly 4 objects in the box".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the objects are `count_obj_01` ... `count_obj_12` (colour, shape and size of each: `s.state()['randomization']['objects']`). Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-count-four-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..c83517f664
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-four-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-count-four-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-count-four-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-count-four-i00-privileged/task.toml
new file mode 100644
index 0000000000..8df5ac05e7
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-count-four-i00-privileged"
+description = "ABC Sim count into a box: exactly 4 (two I2RT YAM arms, MuJoCo): Follow the directive 'put exactly 4 objects in the box'. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "count_four", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "count_four"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 4.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-count-four-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-count-four-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-count-four-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..21a3cc705f
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-four-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-count-four-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..53271e9692
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-count-four-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-count-four-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-count-four-i00-standard/DIGEST
new file mode 100644
index 0000000000..71007e077e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:bde87eafcefdcdd6659aae83e8aca3a2468a34c04f77520e45a58af819875ed9
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-standard/README.md b/tasks/abc-sim/abc-sim-count-four-i00-standard/README.md
new file mode 100644
index 0000000000..f90a0dcec8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-count-four-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-count-four-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `count_four` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `count_four_into_opaque_box` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Follow the directive **"put exactly 4 objects in the box"**. Success: the box holds exactly 4 objects (of any kind). An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twelve small objects -- cubes, spheres, cylinders and triangular prisms in six colours (red, orange, yellow, green, blue, purple), small and large -- lie on the table next to an opaque box. The box's lid has a slot covered by a light spring-hinged flap: objects go in through the slot. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: hard. Grounding a counting directive in what the cameras show, and dropping small objects through a narrow slot covered by a flap into a box whose contents can no longer be seen. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 671 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `c8a0c7b3eb8622b4`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `count_four_into_opaque_box` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..6bff329ad0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-count-four-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..21a3cc705f
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..3cc6309c7b
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Follow the directive **\"put exactly 4 objects in the box\"**. Success: the box holds exactly 4 objects (of any kind). An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-count-four-i00-standard/instruction.md
new file mode 100644
index 0000000000..ba229fdedf
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · count into a box: exactly 4 -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Follow the directive **"put exactly 4 objects in the box"**. Success: the box holds exactly 4 objects (of any kind). An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twelve small objects -- cubes, spheres, cylinders and triangular prisms in six colours (red, orange, yellow, green, blue, purple), small and large -- lie on the table next to an opaque box. The box's lid has a slot covered by a light spring-hinged flap: objects go in through the slot.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-count-four-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..c83517f664
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-four-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-count-four-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-count-four-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-standard/task.toml b/tasks/abc-sim/abc-sim-count-four-i00-standard/task.toml
new file mode 100644
index 0000000000..99a3f3a64b
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-count-four-i00-standard"
+description = "ABC Sim count into a box: exactly 4 (two I2RT YAM arms, MuJoCo): Follow the directive 'put exactly 4 objects in the box'. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "count_four", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "count_four"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 6.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-count-four-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-count-four-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..6bff329ad0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-count-four-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-count-four-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-count-four-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-four-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-count-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-count-i00-privileged/DIGEST
new file mode 100644
index 0000000000..5d5c084843
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:0a33f84d4ad465762bb31f070785f4f84b76a3dd7b3fd8e3eb4917fd7386cbef
diff --git a/tasks/abc-sim/abc-sim-count-i00-privileged/README.md b/tasks/abc-sim/abc-sim-count-i00-privileged/README.md
new file mode 100644
index 0000000000..9d112daa07
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-count-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-count-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `count` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `count_into_opaque_box` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Follow the directive **"put all yellow triangles in the box"**. Success: the box holds every yellow triangular prism on the table, and nothing else. An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twelve small objects -- cubes, spheres, cylinders and triangular prisms in six colours (red, orange, yellow, green, blue, purple), small and large -- lie on the table next to an opaque box. The box's lid has a slot covered by a light spring-hinged flap: objects go in through the slot. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: medium. Grounding a counting directive in what the cameras show, and dropping small objects through a narrow slot covered by a flap into a box whose contents can no longer be seen. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 277 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `080ddb7334cfb5d4`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `count_into_opaque_box` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-count-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-count-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-count-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-count-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-count-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-count-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..1fd2b73117
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-count-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-count-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..5c64a12a26
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-count-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-count-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-count-i00-privileged/instruction.md
new file mode 100644
index 0000000000..4e6b581381
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · count into a box: a colour and a shape -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Follow the directive **"put all yellow triangles in the box"**. Success: the box holds every yellow triangular prism on the table, and nothing else. An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twelve small objects -- cubes, spheres, cylinders and triangular prisms in six colours (red, orange, yellow, green, blue, purple), small and large -- lie on the table next to an opaque box. The box's lid has a slot covered by a light spring-hinged flap: objects go in through the slot. The task's directive, as the scene states it: "put all yellow triangles in the box".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the objects are `count_obj_01` ... `count_obj_12` (colour, shape and size of each: `s.state()['randomization']['objects']`). Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-count-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-count-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..732e5f0106
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-count-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-count-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-count-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-count-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-count-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-count-i00-privileged/task.toml
new file mode 100644
index 0000000000..941bddf995
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-count-i00-privileged"
+description = "ABC Sim count into a box: a colour and a shape (two I2RT YAM arms, MuJoCo): Follow the directive 'put all yellow triangles in the box'. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "count", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "count"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 3.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-count-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-count-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-count-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-count-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-count-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-count-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..1fd2b73117
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-count-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-count-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..5c64a12a26
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-count-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-count-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-count-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-count-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-count-i00-standard/DIGEST
new file mode 100644
index 0000000000..58af439b78
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:572c16c0d79bcfa87e9a218059ae34f559dfc4195141c1c38487bf4a6eed932a
diff --git a/tasks/abc-sim/abc-sim-count-i00-standard/README.md b/tasks/abc-sim/abc-sim-count-i00-standard/README.md
new file mode 100644
index 0000000000..9bef44ae8e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-count-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-count-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `count` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `count_into_opaque_box` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Follow the directive **"put all yellow triangles in the box"**. Success: the box holds every yellow triangular prism on the table, and nothing else. An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twelve small objects -- cubes, spheres, cylinders and triangular prisms in six colours (red, orange, yellow, green, blue, purple), small and large -- lie on the table next to an opaque box. The box's lid has a slot covered by a light spring-hinged flap: objects go in through the slot. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: medium. Grounding a counting directive in what the cameras show, and dropping small objects through a narrow slot covered by a flap into a box whose contents can no longer be seen. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 277 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `080ddb7334cfb5d4`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `count_into_opaque_box` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-count-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-count-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-count-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-count-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-count-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-count-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-count-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-count-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..f1641db608
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-count-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-count-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-count-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-count-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-count-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-count-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-count-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..1fd2b73117
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-count-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-count-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..aa97123bbd
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Follow the directive **\"put all yellow triangles in the box\"**. Success: the box holds every yellow triangular prism on the table, and nothing else. An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-count-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-count-i00-standard/instruction.md
new file mode 100644
index 0000000000..e8070d71c6
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · count into a box: a colour and a shape -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Follow the directive **"put all yellow triangles in the box"**. Success: the box holds every yellow triangular prism on the table, and nothing else. An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twelve small objects -- cubes, spheres, cylinders and triangular prisms in six colours (red, orange, yellow, green, blue, purple), small and large -- lie on the table next to an opaque box. The box's lid has a slot covered by a light spring-hinged flap: objects go in through the slot.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-count-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-count-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..732e5f0106
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-count-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-count-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-count-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-count-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-count-i00-standard/task.toml b/tasks/abc-sim/abc-sim-count-i00-standard/task.toml
new file mode 100644
index 0000000000..c018242790
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-count-i00-standard"
+description = "ABC Sim count into a box: a colour and a shape (two I2RT YAM arms, MuJoCo): Follow the directive 'put all yellow triangles in the box'. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "count", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "count"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 4.5
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-count-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-count-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-count-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-count-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..f1641db608
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-count-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-count-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-count-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-count-one-i00-privileged/DIGEST
new file mode 100644
index 0000000000..2bf6e8ff17
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:f2fdd191981096d4d2062f5d9ed61979573c0e11392f16b11cfc384edbb48869
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-privileged/README.md b/tasks/abc-sim/abc-sim-count-one-i00-privileged/README.md
new file mode 100644
index 0000000000..08ae161b84
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-count-one-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-count-one-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `count_one` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `count_one_into_opaque_box` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Follow the directive **"put exactly 1 red object in the box"**. Success: the box holds exactly one red object, and no object of another colour. An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twelve small objects -- cubes, spheres, cylinders and triangular prisms in six colours (red, orange, yellow, green, blue, purple), small and large -- lie on the table next to an opaque box. The box's lid has a slot covered by a light spring-hinged flap: objects go in through the slot. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: medium. Grounding a counting directive in what the cameras show, and dropping small objects through a narrow slot covered by a flap into a box whose contents can no longer be seen. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 264 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `39fcd07ad171ba75`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `count_one_into_opaque_box` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-count-one-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-count-one-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-count-one-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..2810610909
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-one-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-count-one-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..41fee01651
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-count-one-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-count-one-i00-privileged/instruction.md
new file mode 100644
index 0000000000..b7f7ad45e4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · count into a box: exactly 1 -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Follow the directive **"put exactly 1 red object in the box"**. Success: the box holds exactly one red object, and no object of another colour. An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twelve small objects -- cubes, spheres, cylinders and triangular prisms in six colours (red, orange, yellow, green, blue, purple), small and large -- lie on the table next to an opaque box. The box's lid has a slot covered by a light spring-hinged flap: objects go in through the slot. The task's directive, as the scene states it: "put exactly 1 red object in the box".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the objects are `count_obj_01` ... `count_obj_12` (colour, shape and size of each: `s.state()['randomization']['objects']`). Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-count-one-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..1b7a1d00a9
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-one-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-count-one-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-count-one-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-count-one-i00-privileged/task.toml
new file mode 100644
index 0000000000..c63f3e4211
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-count-one-i00-privileged"
+description = "ABC Sim count into a box: exactly 1 (two I2RT YAM arms, MuJoCo): Follow the directive 'put exactly 1 red object in the box'. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "count_one", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "count_one"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 3.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-count-one-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-count-one-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-count-one-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..2810610909
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-one-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-count-one-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..41fee01651
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-count-one-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-count-one-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-count-one-i00-standard/DIGEST
new file mode 100644
index 0000000000..680a2df1fe
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:725ec3a2462f4a9b73e30523c5c3a67799e4c0ea74d5387e777c2322fe13249e
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-standard/README.md b/tasks/abc-sim/abc-sim-count-one-i00-standard/README.md
new file mode 100644
index 0000000000..8034e8ead8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-count-one-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-count-one-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `count_one` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `count_one_into_opaque_box` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Follow the directive **"put exactly 1 red object in the box"**. Success: the box holds exactly one red object, and no object of another colour. An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twelve small objects -- cubes, spheres, cylinders and triangular prisms in six colours (red, orange, yellow, green, blue, purple), small and large -- lie on the table next to an opaque box. The box's lid has a slot covered by a light spring-hinged flap: objects go in through the slot. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: medium. Grounding a counting directive in what the cameras show, and dropping small objects through a narrow slot covered by a flap into a box whose contents can no longer be seen. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 264 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `39fcd07ad171ba75`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `count_one_into_opaque_box` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..6a09b3613f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-count-one-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..2810610909
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..da1bbf44df
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Follow the directive **\"put exactly 1 red object in the box\"**. Success: the box holds exactly one red object, and no object of another colour. An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-count-one-i00-standard/instruction.md
new file mode 100644
index 0000000000..8a76fb98d5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · count into a box: exactly 1 -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Follow the directive **"put exactly 1 red object in the box"**. Success: the box holds exactly one red object, and no object of another colour. An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twelve small objects -- cubes, spheres, cylinders and triangular prisms in six colours (red, orange, yellow, green, blue, purple), small and large -- lie on the table next to an opaque box. The box's lid has a slot covered by a light spring-hinged flap: objects go in through the slot.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-count-one-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..1b7a1d00a9
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-one-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-count-one-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-count-one-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-standard/task.toml b/tasks/abc-sim/abc-sim-count-one-i00-standard/task.toml
new file mode 100644
index 0000000000..62c09ebbea
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-count-one-i00-standard"
+description = "ABC Sim count into a box: exactly 1 (two I2RT YAM arms, MuJoCo): Follow the directive 'put exactly 1 red object in the box'. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "count_one", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "count_one"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 4.5
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-count-one-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-count-one-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..6a09b3613f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-count-one-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-count-one-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-count-one-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-one-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-count-three-i00-privileged/DIGEST
new file mode 100644
index 0000000000..e8835271f7
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:959a86bf13b4438f307a3c7ce443621c8888ab845664d1ba09e65aa1af8c138c
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-privileged/README.md b/tasks/abc-sim/abc-sim-count-three-i00-privileged/README.md
new file mode 100644
index 0000000000..5111a18f8c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-count-three-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-count-three-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `count_three` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `count_three_into_opaque_box` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Follow the directive **"put exactly 3 objects in the box"**. Success: the box holds exactly 3 objects (of any kind). An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twelve small objects -- cubes, spheres, cylinders and triangular prisms in six colours (red, orange, yellow, green, blue, purple), small and large -- lie on the table next to an opaque box. The box's lid has a slot covered by a light spring-hinged flap: objects go in through the slot. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: hard. Grounding a counting directive in what the cameras show, and dropping small objects through a narrow slot covered by a flap into a box whose contents can no longer be seen. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 538 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `4a649f7e73ba4df1`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `count_three_into_opaque_box` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-count-three-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-count-three-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-count-three-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..121d0286df
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-three-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-count-three-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..ced6e4b810
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-count-three-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-count-three-i00-privileged/instruction.md
new file mode 100644
index 0000000000..3f0cc85d56
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · count into a box: exactly 3 -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Follow the directive **"put exactly 3 objects in the box"**. Success: the box holds exactly 3 objects (of any kind). An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twelve small objects -- cubes, spheres, cylinders and triangular prisms in six colours (red, orange, yellow, green, blue, purple), small and large -- lie on the table next to an opaque box. The box's lid has a slot covered by a light spring-hinged flap: objects go in through the slot. The task's directive, as the scene states it: "put exactly 3 objects in the box".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the objects are `count_obj_01` ... `count_obj_12` (colour, shape and size of each: `s.state()['randomization']['objects']`). Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-count-three-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..eb219afe56
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-three-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-count-three-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-count-three-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-count-three-i00-privileged/task.toml
new file mode 100644
index 0000000000..444b7cb31f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-count-three-i00-privileged"
+description = "ABC Sim count into a box: exactly 3 (two I2RT YAM arms, MuJoCo): Follow the directive 'put exactly 3 objects in the box'. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "count_three", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "count_three"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 4.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-count-three-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-count-three-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-count-three-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..121d0286df
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-three-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-count-three-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..ced6e4b810
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-count-three-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-count-three-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-count-three-i00-standard/DIGEST
new file mode 100644
index 0000000000..7d07fe2ec7
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:fc54c3aeec5be4ade494b03dd67ec8321241ec1a4d3bd102e7d2e0bb768cabef
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-standard/README.md b/tasks/abc-sim/abc-sim-count-three-i00-standard/README.md
new file mode 100644
index 0000000000..964aefe8fd
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-count-three-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-count-three-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `count_three` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `count_three_into_opaque_box` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Follow the directive **"put exactly 3 objects in the box"**. Success: the box holds exactly 3 objects (of any kind). An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twelve small objects -- cubes, spheres, cylinders and triangular prisms in six colours (red, orange, yellow, green, blue, purple), small and large -- lie on the table next to an opaque box. The box's lid has a slot covered by a light spring-hinged flap: objects go in through the slot. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: hard. Grounding a counting directive in what the cameras show, and dropping small objects through a narrow slot covered by a flap into a box whose contents can no longer be seen. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 538 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `4a649f7e73ba4df1`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `count_three_into_opaque_box` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..9851bb5002
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-count-three-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..121d0286df
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..736804d45a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Follow the directive **\"put exactly 3 objects in the box\"**. Success: the box holds exactly 3 objects (of any kind). An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-count-three-i00-standard/instruction.md
new file mode 100644
index 0000000000..2401396617
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · count into a box: exactly 3 -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Follow the directive **"put exactly 3 objects in the box"**. Success: the box holds exactly 3 objects (of any kind). An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twelve small objects -- cubes, spheres, cylinders and triangular prisms in six colours (red, orange, yellow, green, blue, purple), small and large -- lie on the table next to an opaque box. The box's lid has a slot covered by a light spring-hinged flap: objects go in through the slot.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-count-three-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..eb219afe56
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-three-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-count-three-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-count-three-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-standard/task.toml b/tasks/abc-sim/abc-sim-count-three-i00-standard/task.toml
new file mode 100644
index 0000000000..21298073ff
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-count-three-i00-standard"
+description = "ABC Sim count into a box: exactly 3 (two I2RT YAM arms, MuJoCo): Follow the directive 'put exactly 3 objects in the box'. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "count_three", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "count_three"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 6.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-count-three-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-count-three-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..9851bb5002
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-count-three-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-count-three-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-count-three-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-three-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-count-two-i00-privileged/DIGEST
new file mode 100644
index 0000000000..86f809cc6f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:5847f323906265b202c128c60364b5cfc4d08cc79ccbd08b0b2b9a4b4d68a4a5
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-privileged/README.md b/tasks/abc-sim/abc-sim-count-two-i00-privileged/README.md
new file mode 100644
index 0000000000..de99f671d2
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-count-two-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-count-two-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `count_two` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `count_two_into_opaque_box` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Follow the directive **"put exactly 2 objects in the box"**. Success: the box holds exactly 2 objects (of any kind). An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twelve small objects -- cubes, spheres, cylinders and triangular prisms in six colours (red, orange, yellow, green, blue, purple), small and large -- lie on the table next to an opaque box. The box's lid has a slot covered by a light spring-hinged flap: objects go in through the slot. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: medium. Grounding a counting directive in what the cameras show, and dropping small objects through a narrow slot covered by a flap into a box whose contents can no longer be seen. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 291 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `5099066e29874d64`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `count_two_into_opaque_box` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-count-two-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-count-two-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-count-two-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..a3734f9b34
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-two-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-count-two-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..e60ef186ec
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-count-two-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-count-two-i00-privileged/instruction.md
new file mode 100644
index 0000000000..b977fdf58d
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · count into a box: exactly 2 -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Follow the directive **"put exactly 2 objects in the box"**. Success: the box holds exactly 2 objects (of any kind). An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twelve small objects -- cubes, spheres, cylinders and triangular prisms in six colours (red, orange, yellow, green, blue, purple), small and large -- lie on the table next to an opaque box. The box's lid has a slot covered by a light spring-hinged flap: objects go in through the slot. The task's directive, as the scene states it: "put exactly 2 objects in the box".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the objects are `count_obj_01` ... `count_obj_12` (colour, shape and size of each: `s.state()['randomization']['objects']`). Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-count-two-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..65cbabaf8a
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-two-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-count-two-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-count-two-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-count-two-i00-privileged/task.toml
new file mode 100644
index 0000000000..b2d195dfe2
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-count-two-i00-privileged"
+description = "ABC Sim count into a box: exactly 2 (two I2RT YAM arms, MuJoCo): Follow the directive 'put exactly 2 objects in the box'. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "count_two", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "count_two"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 3.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-count-two-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-count-two-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-count-two-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..a3734f9b34
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-two-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-count-two-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..e60ef186ec
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-count-two-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-count-two-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-count-two-i00-standard/DIGEST
new file mode 100644
index 0000000000..67573210a4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:670944025cfdc31f76a10b96f81bb7c0935312ef7ecc19805d45ff25c2733a71
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-standard/README.md b/tasks/abc-sim/abc-sim-count-two-i00-standard/README.md
new file mode 100644
index 0000000000..724d678b91
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-count-two-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-count-two-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `count_two` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `count_two_into_opaque_box` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Follow the directive **"put exactly 2 objects in the box"**. Success: the box holds exactly 2 objects (of any kind). An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twelve small objects -- cubes, spheres, cylinders and triangular prisms in six colours (red, orange, yellow, green, blue, purple), small and large -- lie on the table next to an opaque box. The box's lid has a slot covered by a light spring-hinged flap: objects go in through the slot. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: medium. Grounding a counting directive in what the cameras show, and dropping small objects through a narrow slot covered by a flap into a box whose contents can no longer be seen. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 291 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `5099066e29874d64`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `count_two_into_opaque_box` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..a9e87bea38
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-count-two-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..a3734f9b34
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..9fe4381c7f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Follow the directive **\"put exactly 2 objects in the box\"**. Success: the box holds exactly 2 objects (of any kind). An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-count-two-i00-standard/instruction.md
new file mode 100644
index 0000000000..71c915047d
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · count into a box: exactly 2 -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Follow the directive **"put exactly 2 objects in the box"**. Success: the box holds exactly 2 objects (of any kind). An object is in the box when its centre is inside the box's interior (between its walls, below the lid); the count is read anew at every step, so taking an object out again, or dropping in one too many, undoes it. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twelve small objects -- cubes, spheres, cylinders and triangular prisms in six colours (red, orange, yellow, green, blue, purple), small and large -- lie on the table next to an opaque box. The box's lid has a slot covered by a light spring-hinged flap: objects go in through the slot.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-count-two-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..65cbabaf8a
Binary files /dev/null and b/tasks/abc-sim/abc-sim-count-two-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-count-two-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-count-two-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-standard/task.toml b/tasks/abc-sim/abc-sim-count-two-i00-standard/task.toml
new file mode 100644
index 0000000000..743aa612b8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-count-two-i00-standard"
+description = "ABC Sim count into a box: exactly 2 (two I2RT YAM arms, MuJoCo): Follow the directive 'put exactly 2 objects in the box'. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "count_two", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "count_two"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 4.5
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-count-two-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-count-two-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..a9e87bea38
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-count-two-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-count-two-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-count-two-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-count-two-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/DIGEST
new file mode 100644
index 0000000000..733d41f573
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:e9c1964154e97ae470e44f59f360e5a012ee6a50e5294e9b41d2011664133284
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/README.md b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/README.md
new file mode 100644
index 0000000000..8d9fab2dec
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-dish-rack-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-dish-rack-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `dish_rack` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `load_plates_into_dish_rack` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Load the plate into the dish rack, standing on edge. Success: every plate stands on edge in the rack: its face within 33 deg of vertical, touching the rack, touching neither gripper (released), and within the rack's footprint (with a 0.05 m margin). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+1 plate lies flat on the table next to a dish rack (both loose objects). The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: medium. A plate lying flat has to be lifted (an edge grasp or a slide to the table edge), turned upright and slotted between the rack's tines. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 375 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `f008c6c643f75ca1`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `load_plates_into_dish_rack` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..12a197a27d
Binary files /dev/null and b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..205c8a557f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-dish-rack-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/instruction.md
new file mode 100644
index 0000000000..dea7c11dfb
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · load the dish rack -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Load the plate into the dish rack, standing on edge. Success: every plate stands on edge in the rack: its face within 33 deg of vertical, touching the rack, touching neither gripper (released), and within the rack's footprint (with a 0.05 m margin). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+1 plate lies flat on the table next to a dish rack (both loose objects). The task's directive, as the scene states it: "load plates into tabletop dish rack".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the plates' and the rack's bodies are in `s.objects()`. Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..c45d769986
Binary files /dev/null and b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/task.toml
new file mode 100644
index 0000000000..12529a19b6
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-dish-rack-i00-privileged"
+description = "ABC Sim load the dish rack (two I2RT YAM arms, MuJoCo): Load the plate into the dish rack, standing on edge. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "dish_rack", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "dish_rack"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 3.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..12a197a27d
Binary files /dev/null and b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..205c8a557f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-dish-rack-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/DIGEST
new file mode 100644
index 0000000000..ae7471c185
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:1811cf50fe862febb11a222d516e167e8dae8b34f482d490986d79bea7aac94a
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-standard/README.md b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/README.md
new file mode 100644
index 0000000000..cad38d0b7e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-dish-rack-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-dish-rack-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `dish_rack` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `load_plates_into_dish_rack` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Load the plate into the dish rack, standing on edge. Success: every plate stands on edge in the rack: its face within 33 deg of vertical, touching the rack, touching neither gripper (released), and within the rack's footprint (with a 0.05 m margin). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+1 plate lies flat on the table next to a dish rack (both loose objects). The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: medium. A plate lying flat has to be lifted (an edge grasp or a slide to the table edge), turned upright and slotted between the rack's tines. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 375 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `f008c6c643f75ca1`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `load_plates_into_dish_rack` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..78a4eee355
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-dish-rack-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..12a197a27d
Binary files /dev/null and b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..db05185fc7
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Load the plate into the dish rack, standing on edge. Success: every plate stands on edge in the rack: its face within 33 deg of vertical, touching the rack, touching neither gripper (released), and within the rack's footprint (with a 0.05 m margin). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/instruction.md
new file mode 100644
index 0000000000..fe01475ff7
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · load the dish rack -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Load the plate into the dish rack, standing on edge. Success: every plate stands on edge in the rack: its face within 33 deg of vertical, touching the rack, touching neither gripper (released), and within the rack's footprint (with a 0.05 m margin). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+1 plate lies flat on the table next to a dish rack (both loose objects).
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..c45d769986
Binary files /dev/null and b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-standard/task.toml b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/task.toml
new file mode 100644
index 0000000000..a71d8037a6
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-dish-rack-i00-standard"
+description = "ABC Sim load the dish rack (two I2RT YAM arms, MuJoCo): Load the plate into the dish rack, standing on edge. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "dish_rack", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "dish_rack"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 4.5
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..78a4eee355
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-dish-rack-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-dish-rack-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-dish-rack-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/DIGEST
new file mode 100644
index 0000000000..0ad38230c5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:ed24390b3ffec4d6faee7671c7aa6a8fd97e0ae63512793647ff0a0209defbd1
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/README.md b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/README.md
new file mode 100644
index 0000000000..5cd454e674
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-drawer-search-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-drawer-search-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `drawer_search` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `multi_drawer_search` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Find the measuring cup, then the dish brush and put each in the bin, in that order. Each target counts when its centre is inside the bin (within 0.056 m x 0.052 m of the bin's centre along the bin's horizontal axes and at most 0.26 m above its floor) while it is the current target: first the measuring cup, then the dish brush. Success: every target has counted (a counted target may leave the bin again). Distractors in the bin do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+A stack of three closed drawers stands on the table; kitchen tools are hidden in its drawers (some drawers hold more than one, one is empty). A small bin stands on the table on the right. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: hard. Search with memory: opening drawers to see what is inside, remembering where each object was, and retrieving the targets in order with a drawer pulled open. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 432 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `c2f19b21de544dd2`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `multi_drawer_search` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..9a0fa563e3
Binary files /dev/null and b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..23543333f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-drawer-search-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/instruction.md
new file mode 100644
index 0000000000..d513863786
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · multi-drawer search -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Find the measuring cup, then the dish brush and put each in the bin, in that order. Each target counts when its centre is inside the bin (within 0.056 m x 0.052 m of the bin's centre along the bin's horizontal axes and at most 0.26 m above its floor) while it is the current target: first the measuring cup, then the dish brush. Success: every target has counted (a counted target may leave the bin again). Distractors in the bin do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+A stack of three closed drawers stands on the table; kitchen tools are hidden in its drawers (some drawers hold more than one, one is empty). A small bin stands on the table on the right. The task's directive, as the scene states it: "find the measuring cup".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the hidden objects are `drawer_search_distractor_NN` (labels, drawers and the target sequence: `s.state()['randomization']`); objects parked far below the table are unused. Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..c1e17f6d74
Binary files /dev/null and b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/task.toml
new file mode 100644
index 0000000000..22aa07d514
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-drawer-search-i00-privileged"
+description = "ABC Sim multi-drawer search (two I2RT YAM arms, MuJoCo): Find the measuring cup, then the dish brush and put each in the bin, in that order. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "drawer_search", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "drawer_search"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 4.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..9a0fa563e3
Binary files /dev/null and b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..23543333f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-drawer-search-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/DIGEST
new file mode 100644
index 0000000000..aa035d999a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:be1cdedd18db79f3ebce5a4f9b2fc4d62ebec59f810bb732c33ce1c054f9df2d
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-standard/README.md b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/README.md
new file mode 100644
index 0000000000..a5e757b551
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-drawer-search-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-drawer-search-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `drawer_search` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `multi_drawer_search` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Find the measuring cup, then the dish brush and put each in the bin, in that order. Each target counts when its centre is inside the bin (within 0.056 m x 0.052 m of the bin's centre along the bin's horizontal axes and at most 0.26 m above its floor) while it is the current target: first the measuring cup, then the dish brush. Success: every target has counted (a counted target may leave the bin again). Distractors in the bin do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+A stack of three closed drawers stands on the table; kitchen tools are hidden in its drawers (some drawers hold more than one, one is empty). A small bin stands on the table on the right. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: hard. Search with memory: opening drawers to see what is inside, remembering where each object was, and retrieving the targets in order with a drawer pulled open. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 432 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `c2f19b21de544dd2`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `multi_drawer_search` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..24383ee984
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-drawer-search-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..9a0fa563e3
Binary files /dev/null and b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..95461cfea3
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Find the measuring cup, then the dish brush and put each in the bin, in that order. Each target counts when its centre is inside the bin (within 0.056 m x 0.052 m of the bin's centre along the bin's horizontal axes and at most 0.26 m above its floor) while it is the current target: first the measuring cup, then the dish brush. Success: every target has counted (a counted target may leave the bin again). Distractors in the bin do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/instruction.md
new file mode 100644
index 0000000000..721a5a19b6
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · multi-drawer search -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Find the measuring cup, then the dish brush and put each in the bin, in that order. Each target counts when its centre is inside the bin (within 0.056 m x 0.052 m of the bin's centre along the bin's horizontal axes and at most 0.26 m above its floor) while it is the current target: first the measuring cup, then the dish brush. Success: every target has counted (a counted target may leave the bin again). Distractors in the bin do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+A stack of three closed drawers stands on the table; kitchen tools are hidden in its drawers (some drawers hold more than one, one is empty). A small bin stands on the table on the right.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..c1e17f6d74
Binary files /dev/null and b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-standard/task.toml b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/task.toml
new file mode 100644
index 0000000000..39b651b80a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-drawer-search-i00-standard"
+description = "ABC Sim multi-drawer search (two I2RT YAM arms, MuJoCo): Find the measuring cup, then the dish brush and put each in the bin, in that order. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "drawer_search", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "drawer_search"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 6.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..24383ee984
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-drawer-search-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-drawer-search-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-drawer-search-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/DIGEST
new file mode 100644
index 0000000000..ed80ca0a1b
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:4554fbbc8b7df10406d05ed10ec8fba3b748f90f03c4a17ef59941135a0ec25c
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/README.md b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/README.md
new file mode 100644
index 0000000000..03ce10b195
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-grab-clutter-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-grab-clutter-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `grab_clutter` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `grab_specific_object_from_clutter` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Follow the directive **"grab the ketchup and place it in the box"**. Success: the named object's centre is inside the box: within 0.06 m x 0.055 m of the box's centre along the box's own horizontal axes and at most 0.29 m above the box's floor (it may still be held). Other objects in the box do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Many household objects crowd the table; a box (a loose object, turned at some angle) stands near one side. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: medium. Finding one named object among many similar household items and extracting it from clutter without a clear approach, then placing it in a turned box. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 226 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `a2e0c4bffcd832d7`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `grab_specific_object_from_clutter` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..2dc58e40d5
Binary files /dev/null and b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..ac21124235
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-grab-clutter-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/instruction.md
new file mode 100644
index 0000000000..26921aadca
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · grab from clutter -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Follow the directive **"grab the ketchup and place it in the box"**. Success: the named object's centre is inside the box: within 0.06 m x 0.055 m of the box's centre along the box's own horizontal axes and at most 0.29 m above the box's floor (it may still be held). Other objects in the box do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Many household objects crowd the table; a box (a loose object, turned at some angle) stands near one side. The task's directive, as the scene states it: "grab the ketchup and place it in the box".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the objects are `clutter_obj_NN` (labels and which one is the target: `s.state()['randomization']['objects']`). Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..8ce8931842
Binary files /dev/null and b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/task.toml
new file mode 100644
index 0000000000..298be6c525
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-grab-clutter-i00-privileged"
+description = "ABC Sim grab from clutter (two I2RT YAM arms, MuJoCo): Follow the directive 'grab the ketchup and place it in the box'. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "grab_clutter", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "grab_clutter"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 2.5
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..2dc58e40d5
Binary files /dev/null and b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..ac21124235
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-grab-clutter-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/DIGEST
new file mode 100644
index 0000000000..1702b6571a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:dce93faa9801ccbecd8bd413318ac838b9083a0239eddced06c61c58d1504b10
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/README.md b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/README.md
new file mode 100644
index 0000000000..ec67ce2be7
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-grab-clutter-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-grab-clutter-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `grab_clutter` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `grab_specific_object_from_clutter` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Follow the directive **"grab the ketchup and place it in the box"**. Success: the named object's centre is inside the box: within 0.06 m x 0.055 m of the box's centre along the box's own horizontal axes and at most 0.29 m above the box's floor (it may still be held). Other objects in the box do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Many household objects crowd the table; a box (a loose object, turned at some angle) stands near one side. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: medium. Finding one named object among many similar household items and extracting it from clutter without a clear approach, then placing it in a turned box. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 226 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `a2e0c4bffcd832d7`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `grab_specific_object_from_clutter` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..4494a2508f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-grab-clutter-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..2dc58e40d5
Binary files /dev/null and b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..bae39115b6
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Follow the directive **\"grab the ketchup and place it in the box\"**. Success: the named object's centre is inside the box: within 0.06 m x 0.055 m of the box's centre along the box's own horizontal axes and at most 0.29 m above the box's floor (it may still be held). Other objects in the box do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/instruction.md
new file mode 100644
index 0000000000..c6b44d5f53
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · grab from clutter -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Follow the directive **"grab the ketchup and place it in the box"**. Success: the named object's centre is inside the box: within 0.06 m x 0.055 m of the box's centre along the box's own horizontal axes and at most 0.29 m above the box's floor (it may still be held). Other objects in the box do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Many household objects crowd the table; a box (a loose object, turned at some angle) stands near one side.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..8ce8931842
Binary files /dev/null and b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/task.toml b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/task.toml
new file mode 100644
index 0000000000..c297820cc7
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-grab-clutter-i00-standard"
+description = "ABC Sim grab from clutter (two I2RT YAM arms, MuJoCo): Follow the directive 'grab the ketchup and place it in the box'. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "grab_clutter", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "grab_clutter"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 3.8
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..4494a2508f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-grab-clutter-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-grab-clutter-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/DIGEST
new file mode 100644
index 0000000000..7845f15172
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:06d1ea784b53160bcff3006455c13f3c7dd090380eb28e275c6d2c46fa2533a3
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/README.md b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/README.md
new file mode 100644
index 0000000000..a1d9d7ca26
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-hang-mug-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-hang-mug-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `hang_mug` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `hang_mug_on_mug_rack` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Hang the mug on the mug tree. Success: the mug's centre is within 0.115 m horizontally of the tree's axis and between the tree's base and 0.05 m above its top, and the mug touches neither the table nor either gripper (it hangs from the tree, released). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+A mug stands on the table near a mug tree (a stand with pegs). The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: medium. Threading a mug's handle onto a peg: a precise insertion with little clearance, from a grasp that must leave the handle free. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 314 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `f971caba9bc2c81c`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `hang_mug_on_mug_rack` held 30 control steps (hang mug: plus no contact with the table or a gripper) |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..73ad222aa2
Binary files /dev/null and b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..0a8375b1af
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-hang-mug-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/instruction.md
new file mode 100644
index 0000000000..f07c8c2319
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · hang a mug -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Hang the mug on the mug tree. Success: the mug's centre is within 0.115 m horizontally of the tree's axis and between the tree's base and 0.05 m above its top, and the mug touches neither the table nor either gripper (it hangs from the tree, released). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+A mug stands on the table near a mug tree (a stand with pegs). The task's directive, as the scene states it: "hang mug on mug rack".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the mug is `mug_1`, the tree `mug_tree`. Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..a893b105d0
Binary files /dev/null and b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/task.toml
new file mode 100644
index 0000000000..6be55e2a5a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-hang-mug-i00-privileged"
+description = "ABC Sim hang a mug (two I2RT YAM arms, MuJoCo): Hang the mug on the mug tree. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "hang_mug", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "hang_mug"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 3.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..73ad222aa2
Binary files /dev/null and b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..0a8375b1af
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-hang-mug-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/DIGEST
new file mode 100644
index 0000000000..f9ef1da550
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:0beb60f6c75487d734f3de4584031b84ef521e46195633923a1c27ead7e4c211
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-standard/README.md b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/README.md
new file mode 100644
index 0000000000..3b920d73d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-hang-mug-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-hang-mug-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `hang_mug` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `hang_mug_on_mug_rack` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Hang the mug on the mug tree. Success: the mug's centre is within 0.115 m horizontally of the tree's axis and between the tree's base and 0.05 m above its top, and the mug touches neither the table nor either gripper (it hangs from the tree, released). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+A mug stands on the table near a mug tree (a stand with pegs). The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: medium. Threading a mug's handle onto a peg: a precise insertion with little clearance, from a grasp that must leave the handle free. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 314 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `f971caba9bc2c81c`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `hang_mug_on_mug_rack` held 30 control steps (hang mug: plus no contact with the table or a gripper) |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..cf9bb56ec1
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-hang-mug-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..73ad222aa2
Binary files /dev/null and b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..f831d9947a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Hang the mug on the mug tree. Success: the mug's centre is within 0.115 m horizontally of the tree's axis and between the tree's base and 0.05 m above its top, and the mug touches neither the table nor either gripper (it hangs from the tree, released). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/instruction.md
new file mode 100644
index 0000000000..017e77ef87
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · hang a mug -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Hang the mug on the mug tree. Success: the mug's centre is within 0.115 m horizontally of the tree's axis and between the tree's base and 0.05 m above its top, and the mug touches neither the table nor either gripper (it hangs from the tree, released). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+A mug stands on the table near a mug tree (a stand with pegs).
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..a893b105d0
Binary files /dev/null and b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-standard/task.toml b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/task.toml
new file mode 100644
index 0000000000..8c166caf21
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-hang-mug-i00-standard"
+description = "ABC Sim hang a mug (two I2RT YAM arms, MuJoCo): Hang the mug on the mug tree. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "hang_mug", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "hang_mug"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 4.5
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..cf9bb56ec1
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-hang-mug-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-hang-mug-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-hang-mug-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/DIGEST
new file mode 100644
index 0000000000..39a0adf96a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:1cb3d86e0c6d748a988f62e3316a0bd78a5542be07102b175341e81172d1429e
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/README.md b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/README.md
new file mode 100644
index 0000000000..b96bcd951b
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-inhand-transfer-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-inhand-transfer-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `inhand_transfer` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `inhand_transfer_item_to_other_side` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Hand the cream cheese stick over to the other side: pick it up with the right arm, pass it to the other gripper and put it down on the left (+y) half. Success: the cream cheese stick's centre is at least 0.10 m past the middle line between the two arms, on the left arm's side, no more than 0.10 m above the table top, and over the table (the hand-over itself is not checked). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+A cream cheese stick lies on the right (-y) half of the table, on its arm's side. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: medium. A hand-over between two grippers in mid-air, with the object's pose in the grasp known only from the cameras (standard modes). The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 374 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `2fee35e343f1e9d5`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `inhand_transfer_item_to_other_side` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..16db9d871a
Binary files /dev/null and b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..48ebf7856a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-inhand-transfer-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/instruction.md
new file mode 100644
index 0000000000..92d4905da2
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · in-hand transfer -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Hand the cream cheese stick over to the other side: pick it up with the right arm, pass it to the other gripper and put it down on the left (+y) half. Success: the cream cheese stick's centre is at least 0.10 m past the middle line between the two arms, on the left arm's side, no more than 0.10 m above the table top, and over the table (the hand-over itself is not checked). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+A cream cheese stick lies on the right (-y) half of the table, on its arm's side. The task's directive, as the scene states it: "inhand transfer the item to other side".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the object is the scene's one free body (`s.objects()`). Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..bdb7a52e7f
Binary files /dev/null and b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/task.toml
new file mode 100644
index 0000000000..5b86181a88
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-inhand-transfer-i00-privileged"
+description = "ABC Sim in-hand transfer (two I2RT YAM arms, MuJoCo): Hand the cream cheese stick over to the other side: pick it up with the right arm, pass it to the other gripper and put it down on the left (+y) half. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "inhand_transfer", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "inhand_transfer"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 2.5
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..16db9d871a
Binary files /dev/null and b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..48ebf7856a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-inhand-transfer-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/DIGEST
new file mode 100644
index 0000000000..9386b50390
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:cbd15bcfa6660f684e8c03b9191e371b8d23aeced45459c546c15f6c0295047c
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/README.md b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/README.md
new file mode 100644
index 0000000000..42e42f80b9
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-inhand-transfer-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-inhand-transfer-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `inhand_transfer` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `inhand_transfer_item_to_other_side` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Hand the cream cheese stick over to the other side: pick it up with the right arm, pass it to the other gripper and put it down on the left (+y) half. Success: the cream cheese stick's centre is at least 0.10 m past the middle line between the two arms, on the left arm's side, no more than 0.10 m above the table top, and over the table (the hand-over itself is not checked). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+A cream cheese stick lies on the right (-y) half of the table, on its arm's side. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: medium. A hand-over between two grippers in mid-air, with the object's pose in the grasp known only from the cameras (standard modes). The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 374 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `2fee35e343f1e9d5`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `inhand_transfer_item_to_other_side` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..5f5ea0afa7
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-inhand-transfer-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..16db9d871a
Binary files /dev/null and b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..80f652bde5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Hand the cream cheese stick over to the other side: pick it up with the right arm, pass it to the other gripper and put it down on the left (+y) half. Success: the cream cheese stick's centre is at least 0.10 m past the middle line between the two arms, on the left arm's side, no more than 0.10 m above the table top, and over the table (the hand-over itself is not checked). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/instruction.md
new file mode 100644
index 0000000000..627a1ad9e7
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · in-hand transfer -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Hand the cream cheese stick over to the other side: pick it up with the right arm, pass it to the other gripper and put it down on the left (+y) half. Success: the cream cheese stick's centre is at least 0.10 m past the middle line between the two arms, on the left arm's side, no more than 0.10 m above the table top, and over the table (the hand-over itself is not checked). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+A cream cheese stick lies on the right (-y) half of the table, on its arm's side.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..bdb7a52e7f
Binary files /dev/null and b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/task.toml b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/task.toml
new file mode 100644
index 0000000000..d1f73c44d9
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-inhand-transfer-i00-standard"
+description = "ABC Sim in-hand transfer (two I2RT YAM arms, MuJoCo): Hand the cream cheese stick over to the other side: pick it up with the right arm, pass it to the other gripper and put it down on the left (+y) half. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "inhand_transfer", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "inhand_transfer"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 3.8
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..5f5ea0afa7
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-inhand-transfer-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-inhand-transfer-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-lego-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-lego-i00-privileged/DIGEST
new file mode 100644
index 0000000000..4ed3943b06
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:b417ee811e827764356e3433b00d52be246103c914c463fda4c6e9080b8c7d97
diff --git a/tasks/abc-sim/abc-sim-lego-i00-privileged/README.md b/tasks/abc-sim/abc-sim-lego-i00-privileged/README.md
new file mode 100644
index 0000000000..47f1b023f1
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-lego-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-lego-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `lego` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `sort_lego_blocks` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Sort the blocks into the bins of their colours. Success: every block is in the bin of its colour and no block is in another colour's bin, at the same time; a block is in a bin when its centre is inside the bin's interior region. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+12 LEGO-style blocks -- 6 red, 3 yellow, 3 blue -- lie on the table with three bins, one per colour. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: hard. Long horizon: 12 small blocks, each a separate grasp, sorted by colour into three bins whose places are shuffled. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 2205 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `2ebc48bf64974f98`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `sort_lego_blocks` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-lego-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-lego-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-lego-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-lego-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-lego-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-lego-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..c94ccf33d1
Binary files /dev/null and b/tasks/abc-sim/abc-sim-lego-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-lego-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-lego-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..058eea3ea0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-lego-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-lego-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-lego-i00-privileged/instruction.md
new file mode 100644
index 0000000000..07774db702
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · sort LEGO blocks -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Sort the blocks into the bins of their colours. Success: every block is in the bin of its colour and no block is in another colour's bin, at the same time; a block is in a bin when its centre is inside the bin's interior region. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+12 LEGO-style blocks -- 6 red, 3 yellow, 3 blue -- lie on the table with three bins, one per colour. The task's directive, as the scene states it: "sort the red, yellow, and blue lego blocks into their matching bins".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the blocks in play: `s.state()['randomization']['active_object_joints']`. Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-lego-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-lego-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..ccce396114
Binary files /dev/null and b/tasks/abc-sim/abc-sim-lego-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-lego-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-lego-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-lego-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-lego-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-lego-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-lego-i00-privileged/task.toml
new file mode 100644
index 0000000000..a26b5fdba4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-lego-i00-privileged"
+description = "ABC Sim sort LEGO blocks (two I2RT YAM arms, MuJoCo): Sort the blocks into the bins of their colours. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "lego", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "lego"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 6.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-lego-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-lego-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-lego-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-lego-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-lego-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-lego-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..c94ccf33d1
Binary files /dev/null and b/tasks/abc-sim/abc-sim-lego-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-lego-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-lego-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..058eea3ea0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-lego-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-lego-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-lego-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-lego-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-lego-i00-standard/DIGEST
new file mode 100644
index 0000000000..09f40ec5f4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:b4e1ba8e23ad484af71fa1741604d2afc106089bf98b1ac85006fcf90415e28c
diff --git a/tasks/abc-sim/abc-sim-lego-i00-standard/README.md b/tasks/abc-sim/abc-sim-lego-i00-standard/README.md
new file mode 100644
index 0000000000..a40a89d3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-lego-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-lego-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `lego` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `sort_lego_blocks` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Sort the blocks into the bins of their colours. Success: every block is in the bin of its colour and no block is in another colour's bin, at the same time; a block is in a bin when its centre is inside the bin's interior region. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+12 LEGO-style blocks -- 6 red, 3 yellow, 3 blue -- lie on the table with three bins, one per colour. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: hard. Long horizon: 12 small blocks, each a separate grasp, sorted by colour into three bins whose places are shuffled. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 2205 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `2ebc48bf64974f98`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `sort_lego_blocks` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-lego-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-lego-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-lego-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-lego-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-lego-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-lego-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-lego-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-lego-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..80ab52e904
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-lego-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-lego-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-lego-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-lego-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-lego-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-lego-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-lego-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..c94ccf33d1
Binary files /dev/null and b/tasks/abc-sim/abc-sim-lego-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-lego-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-lego-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..cfb6fe5606
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Sort the blocks into the bins of their colours. Success: every block is in the bin of its colour and no block is in another colour's bin, at the same time; a block is in a bin when its centre is inside the bin's interior region. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-lego-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-lego-i00-standard/instruction.md
new file mode 100644
index 0000000000..de6ddb7a77
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · sort LEGO blocks -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Sort the blocks into the bins of their colours. Success: every block is in the bin of its colour and no block is in another colour's bin, at the same time; a block is in a bin when its centre is inside the bin's interior region. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+12 LEGO-style blocks -- 6 red, 3 yellow, 3 blue -- lie on the table with three bins, one per colour.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-lego-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-lego-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..ccce396114
Binary files /dev/null and b/tasks/abc-sim/abc-sim-lego-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-lego-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-lego-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-lego-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-lego-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-lego-i00-standard/task.toml b/tasks/abc-sim/abc-sim-lego-i00-standard/task.toml
new file mode 100644
index 0000000000..e0c9e6da98
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-lego-i00-standard"
+description = "ABC Sim sort LEGO blocks (two I2RT YAM arms, MuJoCo): Sort the blocks into the bins of their colours. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "lego", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "lego"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 9.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-lego-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-lego-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-lego-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-lego-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..80ab52e904
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-lego-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-lego-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-lego-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-lego-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/DIGEST
new file mode 100644
index 0000000000..df96d6e41e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:b48b5bd984a3c3c712542f9a4ef45611b7a0a3bc26395638693e9e8c52332db7
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/README.md b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/README.md
new file mode 100644
index 0000000000..e1ecce908c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-nuts-bolts-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-nuts-bolts-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `nuts_bolts` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `sort_nuts_and_bolts` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Sort the parts: the nuts into the teal bin and the bolts into the orange bin. Success: every nut is in one bin and every bolt in the other, at the same time (the rule also accepts the bins swapped); a part is in a bin when its centre is inside the bin's interior region (between its walls, from just above its floor to below its rim). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+9 nuts and 10 bolts lie on the table with two bins, a teal one and an orange one (loose objects, turned at some angle). The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: hard. Long horizon: 19 small parts, each a separate grasp (nuts are flat rings, bolts thin cylinders), placed into two bins. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 2872 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `36a10f65fd90f73b`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `sort_nuts_and_bolts` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..040148b456
Binary files /dev/null and b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..c16e1a31a5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-nuts-bolts-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/instruction.md
new file mode 100644
index 0000000000..35312cc579
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · sort nuts and bolts -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Sort the parts: the nuts into the teal bin and the bolts into the orange bin. Success: every nut is in one bin and every bolt in the other, at the same time (the rule also accepts the bins swapped); a part is in a bin when its centre is inside the bin's interior region (between its walls, from just above its floor to below its rim). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+9 nuts and 10 bolts lie on the table with two bins, a teal one and an orange one (loose objects, turned at some angle). The task's directive, as the scene states it: "sort the nuts and bolts into their matching bins".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the parts in play: `s.state()['randomization']['active_object_joints']`. Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..27e936499a
Binary files /dev/null and b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/task.toml
new file mode 100644
index 0000000000..67dc4e88b8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-nuts-bolts-i00-privileged"
+description = "ABC Sim sort nuts and bolts (two I2RT YAM arms, MuJoCo): Sort the parts: the nuts into the teal bin and the bolts into the orange bin. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "nuts_bolts", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "nuts_bolts"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 8.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..040148b456
Binary files /dev/null and b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..c16e1a31a5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-nuts-bolts-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/DIGEST
new file mode 100644
index 0000000000..14aa142b95
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:51e4f60d3e1424c96980e86848d3517028edb6d8c8724ae36be3fc7a2918c671
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/README.md b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/README.md
new file mode 100644
index 0000000000..6342701b74
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-nuts-bolts-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-nuts-bolts-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `nuts_bolts` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `sort_nuts_and_bolts` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Sort the parts: the nuts into the teal bin and the bolts into the orange bin. Success: every nut is in one bin and every bolt in the other, at the same time (the rule also accepts the bins swapped); a part is in a bin when its centre is inside the bin's interior region (between its walls, from just above its floor to below its rim). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+9 nuts and 10 bolts lie on the table with two bins, a teal one and an orange one (loose objects, turned at some angle). The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: hard. Long horizon: 19 small parts, each a separate grasp (nuts are flat rings, bolts thin cylinders), placed into two bins. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 2872 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `36a10f65fd90f73b`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `sort_nuts_and_bolts` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..25c8bab144
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-nuts-bolts-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..040148b456
Binary files /dev/null and b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..0894cc42c2
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Sort the parts: the nuts into the teal bin and the bolts into the orange bin. Success: every nut is in one bin and every bolt in the other, at the same time (the rule also accepts the bins swapped); a part is in a bin when its centre is inside the bin's interior region (between its walls, from just above its floor to below its rim). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/instruction.md
new file mode 100644
index 0000000000..8b9dd51f38
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · sort nuts and bolts -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Sort the parts: the nuts into the teal bin and the bolts into the orange bin. Success: every nut is in one bin and every bolt in the other, at the same time (the rule also accepts the bins swapped); a part is in a bin when its centre is inside the bin's interior region (between its walls, from just above its floor to below its rim). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+9 nuts and 10 bolts lie on the table with two bins, a teal one and an orange one (loose objects, turned at some angle).
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..27e936499a
Binary files /dev/null and b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/task.toml b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/task.toml
new file mode 100644
index 0000000000..c71d232d00
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-nuts-bolts-i00-standard"
+description = "ABC Sim sort nuts and bolts (two I2RT YAM arms, MuJoCo): Sort the parts: the nuts into the teal bin and the bolts into the orange bin. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "nuts_bolts", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "nuts_bolts"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 12.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..25c8bab144
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-nuts-bolts-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-nuts-bolts-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-pouring-i00-privileged/DIGEST
new file mode 100644
index 0000000000..60ccaecbea
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:0305923ccd14b24196010762d2471bde26888b34e252b0da8d772b4e933e034d
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-privileged/README.md b/tasks/abc-sim/abc-sim-pouring-i00-privileged/README.md
new file mode 100644
index 0000000000..44fb03d0af
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-pouring-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-pouring-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `pouring` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `pouring` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Pour the beads from the mug into the cup. Success: at least 9 of the 10 beads are inside the cup (each bead's centre within 1.05 x the cup's inner wall radius of its axis and between its bottom and its rim) while the cup stands upright (tilted at most 60 deg). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Ten small beads lie in a mug on the table; an empty cup stands nearby. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: medium. Grasping the mug by its body or handle and controlling a pour (tilt angle and rate) so that loose beads land in a small cup. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 307 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `b54e0a7dafa2a18d`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `pouring` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-pouring-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-pouring-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-pouring-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..b6f031ad37
Binary files /dev/null and b/tasks/abc-sim/abc-sim-pouring-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-pouring-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..f6f55e22be
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-pouring-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-pouring-i00-privileged/instruction.md
new file mode 100644
index 0000000000..f15f8ab23c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · pouring beads -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Pour the beads from the mug into the cup. Success: at least 9 of the 10 beads are inside the cup (each bead's centre within 1.05 x the cup's inner wall radius of its axis and between its bottom and its rim) while the cup stands upright (tilted at most 60 deg). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Ten small beads lie in a mug on the table; an empty cup stands nearby. The task's directive, as the scene states it: "pour from one container into another".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the beads are `bead_N`, the source mug `mug_1`, the cup `cup_1`. Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-pouring-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..bae267d3ff
Binary files /dev/null and b/tasks/abc-sim/abc-sim-pouring-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-pouring-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-pouring-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-pouring-i00-privileged/task.toml
new file mode 100644
index 0000000000..2dfb0543e4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-pouring-i00-privileged"
+description = "ABC Sim pouring beads (two I2RT YAM arms, MuJoCo): Pour the beads from the mug into the cup. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "pouring", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "pouring"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 2.5
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-pouring-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-pouring-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-pouring-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..b6f031ad37
Binary files /dev/null and b/tasks/abc-sim/abc-sim-pouring-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-pouring-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..f6f55e22be
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-pouring-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-pouring-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-pouring-i00-standard/DIGEST
new file mode 100644
index 0000000000..80f7b7dd19
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:4aecdcb6dfccb324c11974a68168b3300c583fa55e92705118fc2e51d7fe8538
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-standard/README.md b/tasks/abc-sim/abc-sim-pouring-i00-standard/README.md
new file mode 100644
index 0000000000..538b0b1253
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-pouring-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-pouring-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `pouring` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `pouring` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Pour the beads from the mug into the cup. Success: at least 9 of the 10 beads are inside the cup (each bead's centre within 1.05 x the cup's inner wall radius of its axis and between its bottom and its rim) while the cup stands upright (tilted at most 60 deg). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Ten small beads lie in a mug on the table; an empty cup stands nearby. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: medium. Grasping the mug by its body or handle and controlling a pour (tilt angle and rate) so that loose beads land in a small cup. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 307 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `b54e0a7dafa2a18d`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `pouring` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..ac4a9a56a0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-pouring-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..b6f031ad37
Binary files /dev/null and b/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..0c2b304631
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Pour the beads from the mug into the cup. Success: at least 9 of the 10 beads are inside the cup (each bead's centre within 1.05 x the cup's inner wall radius of its axis and between its bottom and its rim) while the cup stands upright (tilted at most 60 deg). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-pouring-i00-standard/instruction.md
new file mode 100644
index 0000000000..cb25be21c1
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · pouring beads -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Pour the beads from the mug into the cup. Success: at least 9 of the 10 beads are inside the cup (each bead's centre within 1.05 x the cup's inner wall radius of its axis and between its bottom and its rim) while the cup stands upright (tilted at most 60 deg). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Ten small beads lie in a mug on the table; an empty cup stands nearby.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-pouring-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..bae267d3ff
Binary files /dev/null and b/tasks/abc-sim/abc-sim-pouring-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-pouring-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-pouring-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-standard/task.toml b/tasks/abc-sim/abc-sim-pouring-i00-standard/task.toml
new file mode 100644
index 0000000000..b240b3b8d3
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-pouring-i00-standard"
+description = "ABC Sim pouring beads (two I2RT YAM arms, MuJoCo): Pour the beads from the mug into the cup. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "pouring", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "pouring"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 3.8
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-pouring-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-pouring-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..ac4a9a56a0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-pouring-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-pouring-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-pouring-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-pouring-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/DIGEST
new file mode 100644
index 0000000000..9774b5339e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:1d7aaddf7e5328fa4465db8e08c1a68094e5a4d7d09a11b4f89292899a5e8274
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/README.md b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/README.md
new file mode 100644
index 0000000000..99019b61f6
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-put-bottles-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-put-bottles-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `put_bottles` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `put_plastic_bottles_in_bin` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Put the 2 plastic bottles into the bin. Success: all 2 bottles are inside the bin at the same time: each bottle's centre of mass within the bin's inner radius of its axis (the bin widens towards the top), not below its floor, and at most about one bottle length above its rim (a bottle may still be held). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+2 plastic bottles stand or lie on the table next to a tub-shaped bin (a loose object). The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: medium. Grasping and placing light bottles of different shapes into a bin that can slide or tip; the bottles roll when they are knocked. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 476 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `9caab7a4776d5af8`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `put_plastic_bottles_in_bin` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..41b879cd52
Binary files /dev/null and b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..87420a506a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-put-bottles-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/instruction.md
new file mode 100644
index 0000000000..898537b81e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · put bottles in the bin -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Put the 2 plastic bottles into the bin. Success: all 2 bottles are inside the bin at the same time: each bottle's centre of mass within the bin's inner radius of its axis (the bin widens towards the top), not below its floor, and at most about one bottle length above its rim (a bottle may still be held). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+2 plastic bottles stand or lie on the table next to a tub-shaped bin (a loose object). The task's directive, as the scene states it: "put the plastic bottles in the bin".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the bottles' bodies start with `bottle_`; the bin is its own free body. Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..cabb435729
Binary files /dev/null and b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/task.toml
new file mode 100644
index 0000000000..4f588339be
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-put-bottles-i00-privileged"
+description = "ABC Sim put bottles in the bin (two I2RT YAM arms, MuJoCo): Put the 2 plastic bottles into the bin. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "put_bottles", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "put_bottles"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 2.5
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..41b879cd52
Binary files /dev/null and b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..87420a506a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-put-bottles-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/DIGEST
new file mode 100644
index 0000000000..d7a2211e6f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:57bcd98eff4b2e4f799a7422824176518d523b2a4cb9904d32c74b069228f2cf
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-standard/README.md b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/README.md
new file mode 100644
index 0000000000..c742a434fd
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-put-bottles-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-put-bottles-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `put_bottles` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `put_plastic_bottles_in_bin` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Put the 2 plastic bottles into the bin. Success: all 2 bottles are inside the bin at the same time: each bottle's centre of mass within the bin's inner radius of its axis (the bin widens towards the top), not below its floor, and at most about one bottle length above its rim (a bottle may still be held). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+2 plastic bottles stand or lie on the table next to a tub-shaped bin (a loose object). The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: medium. Grasping and placing light bottles of different shapes into a bin that can slide or tip; the bottles roll when they are knocked. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 476 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `9caab7a4776d5af8`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `put_plastic_bottles_in_bin` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..39baec8371
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-put-bottles-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..41b879cd52
Binary files /dev/null and b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..769c952cb2
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Put the 2 plastic bottles into the bin. Success: all 2 bottles are inside the bin at the same time: each bottle's centre of mass within the bin's inner radius of its axis (the bin widens towards the top), not below its floor, and at most about one bottle length above its rim (a bottle may still be held). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/instruction.md
new file mode 100644
index 0000000000..b2babcc3b6
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · put bottles in the bin -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Put the 2 plastic bottles into the bin. Success: all 2 bottles are inside the bin at the same time: each bottle's centre of mass within the bin's inner radius of its axis (the bin widens towards the top), not below its floor, and at most about one bottle length above its rim (a bottle may still be held). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+2 plastic bottles stand or lie on the table next to a tub-shaped bin (a loose object).
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..cabb435729
Binary files /dev/null and b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-standard/task.toml b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/task.toml
new file mode 100644
index 0000000000..38c46030f0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-put-bottles-i00-standard"
+description = "ABC Sim put bottles in the bin (two I2RT YAM arms, MuJoCo): Put the 2 plastic bottles into the bin. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "put_bottles", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "put_bottles"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 3.8
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..39baec8371
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-put-bottles-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-put-bottles-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-bottles-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/DIGEST
new file mode 100644
index 0000000000..0e4170f23b
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:10621ca990eed44dfd270ab4e8ee3dfe22e8449200591cb28dcebfa8489e4663
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-privileged/README.md b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/README.md
new file mode 100644
index 0000000000..b02233d833
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-put-relative-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-put-relative-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `put_relative` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `put_relative` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Follow the directive **"put the soap dispenser to the right of the boxed food"**. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). Success: measured from the boxed food's centre (wherever it is at that moment), the soap dispenser's centre lies 0.06-0.30 m to the right of it (along that direction) and within 0.08 m of that line sideways, and no more than 0.03 m higher than where the soap dispenser started (so it is set down, not held up). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+A few household objects stand on the table. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: medium. Grounding a spatial directive (which object, which reference, which direction as the arms face the table) in camera images, then one grasp and a placement. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 237 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `f99f99ccb4ee5da8`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `put_relative` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..019685a4ab
Binary files /dev/null and b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..1cc89bee08
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-put-relative-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/instruction.md
new file mode 100644
index 0000000000..19cc625eee
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · put relative -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Follow the directive **"put the soap dispenser to the right of the boxed food"**. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). Success: measured from the boxed food's centre (wherever it is at that moment), the soap dispenser's centre lies 0.06-0.30 m to the right of it (along that direction) and within 0.08 m of that line sideways, and no more than 0.03 m higher than where the soap dispenser started (so it is set down, not held up). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+A few household objects stand on the table. The task's directive, as the scene states it: "put the soap dispenser to the right of the boxed food".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the objects are `relative_obj_01` ... (labels: `s.state()['randomization']['objects']`). Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..59ffdecab7
Binary files /dev/null and b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/task.toml
new file mode 100644
index 0000000000..b0fb9a5411
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-put-relative-i00-privileged"
+description = "ABC Sim put relative (two I2RT YAM arms, MuJoCo): Follow the directive 'put the soap dispenser to the right of the boxed food'. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "put_relative", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "put_relative"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 2.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..019685a4ab
Binary files /dev/null and b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..1cc89bee08
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-put-relative-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-put-relative-i00-standard/DIGEST
new file mode 100644
index 0000000000..888dfe80f9
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:b1bb381f0ac0803e16baf3fa6bd363e8717411bf435fd5ad5e49b7e86b392b17
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-standard/README.md b/tasks/abc-sim/abc-sim-put-relative-i00-standard/README.md
new file mode 100644
index 0000000000..9b7591538d
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-put-relative-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-put-relative-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `put_relative` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `put_relative` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Follow the directive **"put the soap dispenser to the right of the boxed food"**. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). Success: measured from the boxed food's centre (wherever it is at that moment), the soap dispenser's centre lies 0.06-0.30 m to the right of it (along that direction) and within 0.08 m of that line sideways, and no more than 0.03 m higher than where the soap dispenser started (so it is set down, not held up). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+A few household objects stand on the table. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: medium. Grounding a spatial directive (which object, which reference, which direction as the arms face the table) in camera images, then one grasp and a placement. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 237 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `f99f99ccb4ee5da8`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `put_relative` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..0419efc2ec
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-put-relative-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..019685a4ab
Binary files /dev/null and b/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..787b3b4522
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Follow the directive **\"put the soap dispenser to the right of the boxed food\"**. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). Success: measured from the boxed food's centre (wherever it is at that moment), the soap dispenser's centre lies 0.06-0.30 m to the right of it (along that direction) and within 0.08 m of that line sideways, and no more than 0.03 m higher than where the soap dispenser started (so it is set down, not held up). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-put-relative-i00-standard/instruction.md
new file mode 100644
index 0000000000..d28ff95d48
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · put relative -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Follow the directive **"put the soap dispenser to the right of the boxed food"**. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). Success: measured from the boxed food's centre (wherever it is at that moment), the soap dispenser's centre lies 0.06-0.30 m to the right of it (along that direction) and within 0.08 m of that line sideways, and no more than 0.03 m higher than where the soap dispenser started (so it is set down, not held up). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+A few household objects stand on the table.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-put-relative-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..59ffdecab7
Binary files /dev/null and b/tasks/abc-sim/abc-sim-put-relative-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-put-relative-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-put-relative-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-standard/task.toml b/tasks/abc-sim/abc-sim-put-relative-i00-standard/task.toml
new file mode 100644
index 0000000000..9cb0fa2e84
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-put-relative-i00-standard"
+description = "ABC Sim put relative (two I2RT YAM arms, MuJoCo): Follow the directive 'put the soap dispenser to the right of the boxed food'. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "put_relative", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "put_relative"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 3.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-put-relative-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-put-relative-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..0419efc2ec
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-put-relative-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-put-relative-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-put-relative-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-put-relative-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/DIGEST
new file mode 100644
index 0000000000..c4a914cba7
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:89fb00f7d8626514cf305061a4c734177d3c84868b6f4961440c1b242132f0d8
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/README.md b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/README.md
new file mode 100644
index 0000000000..dffb1becc3
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-spell-abc-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-spell-abc-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `spell_abc` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `spell_abc` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Spell **ABC**: put the blocks A, B, C in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of ABC, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: hard. Long-horizon pick and place: 3 blocks found among 26 by their printed letters (the letters are only visible from above and from the side), grasped from a cluttered layout and placed in a tight row, each within a few centimetres, on a table both arms share. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 507 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `2a83e3a237ac1ddd`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `spell_abc` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..3a63cee365
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..c1c91bee17
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-abc-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/instruction.md
new file mode 100644
index 0000000000..81821647b3
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · spell abc -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Spell **ABC**: put the blocks A, B, C in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of ABC, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The task's directive, as the scene states it: "spell abc".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the letter blocks are `block_A` ... `block_Z`. Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..0e9a89e880
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/task.toml
new file mode 100644
index 0000000000..cd5da03dee
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-spell-abc-i00-privileged"
+description = "ABC Sim spell abc (two I2RT YAM arms, MuJoCo): Spell ABC: put the blocks A, B, C in a row on the table, in this order, reading from left to right as the arms face the table. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "spell_abc", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "spell_abc"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 4.5
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..3a63cee365
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..c1c91bee17
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-abc-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/DIGEST
new file mode 100644
index 0000000000..f108f2a09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:bd986f8587fea9e19d583e8934a6278e680dd28581fabf7620966a1fe266ca9e
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-standard/README.md b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/README.md
new file mode 100644
index 0000000000..0ba47f8a46
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-spell-abc-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-spell-abc-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `spell_abc` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `spell_abc` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Spell **ABC**: put the blocks A, B, C in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of ABC, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: hard. Long-horizon pick and place: 3 blocks found among 26 by their printed letters (the letters are only visible from above and from the side), grasped from a cluttered layout and placed in a tight row, each within a few centimetres, on a table both arms share. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 507 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `2a83e3a237ac1ddd`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `spell_abc` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..7c3c02215e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-abc-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..3a63cee365
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..8f339976eb
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Spell **ABC**: put the blocks A, B, C in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of ABC, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/instruction.md
new file mode 100644
index 0000000000..0750f856b6
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · spell abc -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Spell **ABC**: put the blocks A, B, C in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of ABC, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..0e9a89e880
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-standard/task.toml b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/task.toml
new file mode 100644
index 0000000000..c3480068fa
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-spell-abc-i00-standard"
+description = "ABC Sim spell abc (two I2RT YAM arms, MuJoCo): Spell ABC: put the blocks A, B, C in a row on the table, in this order, reading from left to right as the arms face the table. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "spell_abc", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "spell_abc"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 6.8
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..7c3c02215e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-abc-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-abc-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-abc-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/DIGEST
new file mode 100644
index 0000000000..ffcd79022c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:308a70f89b20cceee81a7c6fde6b370efebf8291f925880e648b7155666b4d71
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/README.md b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/README.md
new file mode 100644
index 0000000000..2cb0ffb4cf
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-spell-agi-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-spell-agi-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `spell_agi` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `spell_agi` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Spell **AGI**: put the blocks A, G, I in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of AGI, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: hard. Long-horizon pick and place: 3 blocks found among 26 by their printed letters (the letters are only visible from above and from the side), grasped from a cluttered layout and placed in a tight row, each within a few centimetres, on a table both arms share. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 581 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `6cc75a0bd3f48db4`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `spell_agi` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..ccbbbf76f5
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..41b412727d
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-agi-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/instruction.md
new file mode 100644
index 0000000000..2cbae6b7ad
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · spell agi -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Spell **AGI**: put the blocks A, G, I in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of AGI, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The task's directive, as the scene states it: "spell agi".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the letter blocks are `block_A` ... `block_Z`. Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..8d427ada9e
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/task.toml
new file mode 100644
index 0000000000..a16dfca21d
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-spell-agi-i00-privileged"
+description = "ABC Sim spell agi (two I2RT YAM arms, MuJoCo): Spell AGI: put the blocks A, G, I in a row on the table, in this order, reading from left to right as the arms face the table. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "spell_agi", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "spell_agi"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 4.5
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..ccbbbf76f5
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..41b412727d
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-agi-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/DIGEST
new file mode 100644
index 0000000000..5756a1abd6
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:310a95f2acda2b9ddbf9398806080dbd72fde77f103f665676cfaaf9e1936f0e
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-standard/README.md b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/README.md
new file mode 100644
index 0000000000..98b3d6fd15
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-spell-agi-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-spell-agi-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `spell_agi` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `spell_agi` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Spell **AGI**: put the blocks A, G, I in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of AGI, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: hard. Long-horizon pick and place: 3 blocks found among 26 by their printed letters (the letters are only visible from above and from the side), grasped from a cluttered layout and placed in a tight row, each within a few centimetres, on a table both arms share. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 581 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `6cc75a0bd3f48db4`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `spell_agi` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..0d7160dccc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-agi-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..ccbbbf76f5
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..88728e9045
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Spell **AGI**: put the blocks A, G, I in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of AGI, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/instruction.md
new file mode 100644
index 0000000000..b3e45abc72
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · spell agi -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Spell **AGI**: put the blocks A, G, I in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of AGI, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..8d427ada9e
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-standard/task.toml b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/task.toml
new file mode 100644
index 0000000000..ef508cfefe
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-spell-agi-i00-standard"
+description = "ABC Sim spell agi (two I2RT YAM arms, MuJoCo): Spell AGI: put the blocks A, G, I in a row on the table, in this order, reading from left to right as the arms face the table. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "spell_agi", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "spell_agi"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 6.8
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..0d7160dccc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-agi-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-agi-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-agi-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/DIGEST
new file mode 100644
index 0000000000..7c1b934f36
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:f255827bcefe488a668bf2f9c0a7cee192d4a9eaf74a2219da67e43d476b4430
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/README.md b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/README.md
new file mode 100644
index 0000000000..de93eb5aaf
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-spell-bair-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-spell-bair-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `spell_bair` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `spell_bair` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Spell **BAIR**: put the blocks B, A, I, R in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of BAIR, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: hard. Long-horizon pick and place: 4 blocks found among 26 by their printed letters (the letters are only visible from above and from the side), grasped from a cluttered layout and placed in a tight row, each within a few centimetres, on a table both arms share. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+A hand-built trajectory (scripted inverse kinematics on the grasp frame, top-down grasps, place checks and re-placing) on the layout `reset(seed=243)` of upstream's `spell_bair` randomizer, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 1360 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene upstream's randomizer draws at `reset(seed=243)` (spell_bair has no published demonstration); the model-side state its randomizer sets outside the XML written into the scene; state hash `62be37b797ce4431`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `spell_bair` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+upstream's randomizer and a scripted trajectory; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..c6494e230f
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..73c4bb7c74
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-bair-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/instruction.md
new file mode 100644
index 0000000000..f0f6f3685c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · spell bair -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Spell **BAIR**: put the blocks B, A, I, R in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of BAIR, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The task's directive, as the scene states it: "spell bair".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the letter blocks are `block_A` ... `block_Z`. Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..e6c2604866
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/task.toml
new file mode 100644
index 0000000000..db4a95c9ff
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-spell-bair-i00-privileged"
+description = "ABC Sim spell bair (two I2RT YAM arms, MuJoCo): Spell BAIR: put the blocks B, A, I, R in a row on the table, in this order, reading from left to right as the arms face the table. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "spell_bair", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "spell_bair"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 5.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..c6494e230f
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..73c4bb7c74
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-bair-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/DIGEST
new file mode 100644
index 0000000000..b52a06d043
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:2f41d9199d3ffa608bcfb3de1920c1d91ca3d58e85b8fee67ee7973f28c4bec6
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-standard/README.md b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/README.md
new file mode 100644
index 0000000000..7a1822dcd4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-spell-bair-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-spell-bair-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `spell_bair` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `spell_bair` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Spell **BAIR**: put the blocks B, A, I, R in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of BAIR, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: hard. Long-horizon pick and place: 4 blocks found among 26 by their printed letters (the letters are only visible from above and from the side), grasped from a cluttered layout and placed in a tight row, each within a few centimetres, on a table both arms share. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (a hand-built trajectory (scripted inverse kinematics on the grasp frame, top-down grasps, place checks and re-placing) on the layout `reset(seed=243)` of upstream's `spell_bair` randomizer): `solution/oracle.npy`, 1360 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene upstream's randomizer draws at `reset(seed=243)` (spell_bair has no published demonstration); the model-side state its randomizer sets outside the XML written into the scene; state hash `62be37b797ce4431`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `spell_bair` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+upstream's randomizer and a scripted trajectory; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..a935d51dbc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-bair-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..c6494e230f
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..d57ca6224c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Spell **BAIR**: put the blocks B, A, I, R in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of BAIR, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/instruction.md
new file mode 100644
index 0000000000..e609caaaa4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · spell bair -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Spell **BAIR**: put the blocks B, A, I, R in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of BAIR, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..e6c2604866
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-standard/task.toml b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/task.toml
new file mode 100644
index 0000000000..1dc042ffbb
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-spell-bair-i00-standard"
+description = "ABC Sim spell bair (two I2RT YAM arms, MuJoCo): Spell BAIR: put the blocks B, A, I, R in a row on the table, in this order, reading from left to right as the arms face the table. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "spell_bair", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "spell_bair"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 7.5
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..a935d51dbc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-bair-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-bair-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-bair-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/DIGEST
new file mode 100644
index 0000000000..ef607844e1
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:41ef488673a20c04676d205b8bd1f18cf3c91bdf9ebea92c8f1343c2b62bf91b
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/README.md b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/README.md
new file mode 100644
index 0000000000..aa3e0cc23e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-spell-cat-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-spell-cat-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `spell_cat` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `spell_cat` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Spell **CAT**: put the blocks C, A, T in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of CAT, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: hard. Long-horizon pick and place: 3 blocks found among 26 by their printed letters (the letters are only visible from above and from the side), grasped from a cluttered layout and placed in a tight row, each within a few centimetres, on a table both arms share. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 909 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `8e921bf2a751b52d`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `spell_cat` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..036a1e6d26
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..f31d9c47b8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-cat-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/instruction.md
new file mode 100644
index 0000000000..add96c8701
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · spell cat -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Spell **CAT**: put the blocks C, A, T in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of CAT, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The task's directive, as the scene states it: "spell cat".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the letter blocks are `block_A` ... `block_Z`. Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..cad5845939
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/task.toml
new file mode 100644
index 0000000000..2dfdf4cdf6
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-spell-cat-i00-privileged"
+description = "ABC Sim spell cat (two I2RT YAM arms, MuJoCo): Spell CAT: put the blocks C, A, T in a row on the table, in this order, reading from left to right as the arms face the table. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "spell_cat", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "spell_cat"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 4.5
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..036a1e6d26
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..f31d9c47b8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-cat-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/DIGEST
new file mode 100644
index 0000000000..23dd67306a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:a2f2aed438b09106759ca77709552f1f6c0d4501a24279996843dec5adf30576
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-standard/README.md b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/README.md
new file mode 100644
index 0000000000..02b277c7f9
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-spell-cat-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-spell-cat-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `spell_cat` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `spell_cat` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Spell **CAT**: put the blocks C, A, T in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of CAT, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: hard. Long-horizon pick and place: 3 blocks found among 26 by their printed letters (the letters are only visible from above and from the side), grasped from a cluttered layout and placed in a tight row, each within a few centimetres, on a table both arms share. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 909 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `8e921bf2a751b52d`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `spell_cat` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..47fdee89e4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-cat-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..036a1e6d26
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..2c975392a3
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Spell **CAT**: put the blocks C, A, T in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of CAT, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/instruction.md
new file mode 100644
index 0000000000..030216b188
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · spell cat -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Spell **CAT**: put the blocks C, A, T in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of CAT, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..cad5845939
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-standard/task.toml b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/task.toml
new file mode 100644
index 0000000000..80c45bbadc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-spell-cat-i00-standard"
+description = "ABC Sim spell cat (two I2RT YAM arms, MuJoCo): Spell CAT: put the blocks C, A, T in a row on the table, in this order, reading from left to right as the arms face the table. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "spell_cat", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "spell_cat"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 6.8
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..47fdee89e4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-cat-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-cat-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-cat-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/DIGEST
new file mode 100644
index 0000000000..5654a2882e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:0815fde6ed5372dbf993b12a5018fafbdf9a570cd027df19d9b2770d0efdc98f
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/README.md b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/README.md
new file mode 100644
index 0000000000..d194a73a9c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-spell-dog-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-spell-dog-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `spell_dog` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `spell_dog` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Spell **DOG**: put the blocks D, O, G in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of DOG, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: hard. Long-horizon pick and place: 3 blocks found among 26 by their printed letters (the letters are only visible from above and from the side), grasped from a cluttered layout and placed in a tight row, each within a few centimetres, on a table both arms share. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 580 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `3913975861559c17`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `spell_dog` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..cd83c3df36
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..01e6aa064b
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-dog-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/instruction.md
new file mode 100644
index 0000000000..baab79a9f3
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · spell dog -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Spell **DOG**: put the blocks D, O, G in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of DOG, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The task's directive, as the scene states it: "spell dog".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the letter blocks are `block_A` ... `block_Z`. Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..6d33b48096
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/task.toml
new file mode 100644
index 0000000000..635988a3f0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-spell-dog-i00-privileged"
+description = "ABC Sim spell dog (two I2RT YAM arms, MuJoCo): Spell DOG: put the blocks D, O, G in a row on the table, in this order, reading from left to right as the arms face the table. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "spell_dog", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "spell_dog"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 4.5
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..cd83c3df36
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..01e6aa064b
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-dog-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/DIGEST
new file mode 100644
index 0000000000..84b586f0be
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:7275208634f5b33397d1cb6fe52ac15b751af004cab8bfc7bed34ec269004421
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-standard/README.md b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/README.md
new file mode 100644
index 0000000000..81f18d0940
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-spell-dog-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-spell-dog-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `spell_dog` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `spell_dog` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Spell **DOG**: put the blocks D, O, G in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of DOG, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: hard. Long-horizon pick and place: 3 blocks found among 26 by their printed letters (the letters are only visible from above and from the side), grasped from a cluttered layout and placed in a tight row, each within a few centimetres, on a table both arms share. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 580 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `3913975861559c17`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `spell_dog` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..a58c9a0a5e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-dog-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..cd83c3df36
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..1de4b315b8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Spell **DOG**: put the blocks D, O, G in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of DOG, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/instruction.md
new file mode 100644
index 0000000000..67d18f2495
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · spell dog -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Spell **DOG**: put the blocks D, O, G in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of DOG, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..6d33b48096
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-standard/task.toml b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/task.toml
new file mode 100644
index 0000000000..facbdcd3a1
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-spell-dog-i00-standard"
+description = "ABC Sim spell dog (two I2RT YAM arms, MuJoCo): Spell DOG: put the blocks D, O, G in a row on the table, in this order, reading from left to right as the arms face the table. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "spell_dog", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "spell_dog"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 6.8
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..a58c9a0a5e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-dog-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-dog-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-dog-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/DIGEST
new file mode 100644
index 0000000000..b3bfc88a9d
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:2bb1c965f539cce62fde401467c75d082a7b1776719e980b312136f8053a4fa2
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/README.md b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/README.md
new file mode 100644
index 0000000000..9a0a220b71
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-spell-fish-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-spell-fish-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `spell_fish` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `spell_fish` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Spell **FISH**: put the blocks F, I, S, H in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of FISH, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: hard. Long-horizon pick and place: 4 blocks found among 26 by their printed letters (the letters are only visible from above and from the side), grasped from a cluttered layout and placed in a tight row, each within a few centimetres, on a table both arms share. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 675 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `288971f6896c9bfd`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `spell_fish` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..dadb80caa4
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..316f2db0a4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-fish-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/instruction.md
new file mode 100644
index 0000000000..c2a9ec36b4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · spell fish -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Spell **FISH**: put the blocks F, I, S, H in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of FISH, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The task's directive, as the scene states it: "spell fish".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the letter blocks are `block_A` ... `block_Z`. Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..1470b884ff
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/task.toml
new file mode 100644
index 0000000000..3bd5812912
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-spell-fish-i00-privileged"
+description = "ABC Sim spell fish (two I2RT YAM arms, MuJoCo): Spell FISH: put the blocks F, I, S, H in a row on the table, in this order, reading from left to right as the arms face the table. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "spell_fish", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "spell_fish"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 5.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..dadb80caa4
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..316f2db0a4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-fish-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/DIGEST
new file mode 100644
index 0000000000..d5b608b714
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:a6e2e24871b0b8734249f72f13d7a47d4edfbab80a19a71ce7037d7c59304633
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-standard/README.md b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/README.md
new file mode 100644
index 0000000000..56d11374e3
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-spell-fish-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-spell-fish-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `spell_fish` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `spell_fish` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Spell **FISH**: put the blocks F, I, S, H in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of FISH, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: hard. Long-horizon pick and place: 4 blocks found among 26 by their printed letters (the letters are only visible from above and from the side), grasped from a cluttered layout and placed in a tight row, each within a few centimetres, on a table both arms share. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 675 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `288971f6896c9bfd`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `spell_fish` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..6bbcf0e6e6
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-fish-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..dadb80caa4
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..8f0dcd9670
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Spell **FISH**: put the blocks F, I, S, H in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of FISH, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/instruction.md
new file mode 100644
index 0000000000..0b1a3d5f61
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · spell fish -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Spell **FISH**: put the blocks F, I, S, H in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of FISH, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..1470b884ff
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-standard/task.toml b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/task.toml
new file mode 100644
index 0000000000..de02320175
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-spell-fish-i00-standard"
+description = "ABC Sim spell fish (two I2RT YAM arms, MuJoCo): Spell FISH: put the blocks F, I, S, H in a row on the table, in this order, reading from left to right as the arms face the table. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "spell_fish", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "spell_fish"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 7.5
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..6bbcf0e6e6
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-fish-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-fish-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-fish-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/DIGEST
new file mode 100644
index 0000000000..b613aeb9bb
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:316a66b1c0ecf757d229a31cbb42d6e9926bd4d149e8d3a531ed5c12aedc5416
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/README.md b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/README.md
new file mode 100644
index 0000000000..1e8da4d831
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-spell-xdof-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-spell-xdof-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `spell_xdof` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `spell_xdof` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Spell **XDOF**: put the blocks X, D, O, F in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of XDOF, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: hard. Long-horizon pick and place: 4 blocks found among 26 by their printed letters (the letters are only visible from above and from the side), grasped from a cluttered layout and placed in a tight row, each within a few centimetres, on a table both arms share. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 719 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `2566d3e2b18fb048`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `spell_xdof` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..1a76e665df
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..8451f2b163
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-xdof-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/instruction.md
new file mode 100644
index 0000000000..c46c110c90
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · spell xdof -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Spell **XDOF**: put the blocks X, D, O, F in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of XDOF, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The task's directive, as the scene states it: "spell xdof".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the letter blocks are `block_A` ... `block_Z`. Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..4897c8bf60
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/task.toml
new file mode 100644
index 0000000000..560f9eb0c3
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-spell-xdof-i00-privileged"
+description = "ABC Sim spell xdof (two I2RT YAM arms, MuJoCo): Spell XDOF: put the blocks X, D, O, F in a row on the table, in this order, reading from left to right as the arms face the table. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "spell_xdof", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "spell_xdof"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 5.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..1a76e665df
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..8451f2b163
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-xdof-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/DIGEST
new file mode 100644
index 0000000000..fa87a05e97
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:292e365da8c43ab83050dd9195206748ba917e128f7f3cf5392231378b0e5a3b
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/README.md b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/README.md
new file mode 100644
index 0000000000..a69ebad5ef
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-spell-xdof-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-spell-xdof-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `spell_xdof` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `spell_xdof` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Spell **XDOF**: put the blocks X, D, O, F in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of XDOF, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: hard. Long-horizon pick and place: 4 blocks found among 26 by their printed letters (the letters are only visible from above and from the side), grasped from a cluttered layout and placed in a tight row, each within a few centimetres, on a table both arms share. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 719 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `2566d3e2b18fb048`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `spell_xdof` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..9a8e70da14
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-xdof-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..1a76e665df
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..f8e49e7727
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Spell **XDOF**: put the blocks X, D, O, F in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of XDOF, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/instruction.md
new file mode 100644
index 0000000000..dd62ffa54e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · spell xdof -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Spell **XDOF**: put the blocks X, D, O, F in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of XDOF, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..4897c8bf60
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/task.toml b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/task.toml
new file mode 100644
index 0000000000..86a143e092
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-spell-xdof-i00-standard"
+description = "ABC Sim spell xdof (two I2RT YAM arms, MuJoCo): Spell XDOF: put the blocks X, D, O, F in a row on the table, in this order, reading from left to right as the arms face the table. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "spell_xdof", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "spell_xdof"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 7.5
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..9a8e70da14
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-xdof-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-xdof-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/DIGEST
new file mode 100644
index 0000000000..ee99977ceb
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:8d60548d4689884d8dd2645c19a7027cf87838ef6c9667c5b621332752bf8b3c
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/README.md b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/README.md
new file mode 100644
index 0000000000..c0e171f8b5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-spell-yam-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-spell-yam-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `spell_yam` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `spell_yam` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Spell **YAM**: put the blocks Y, A, M in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of YAM, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: hard. Long-horizon pick and place: 3 blocks found among 26 by their printed letters (the letters are only visible from above and from the side), grasped from a cluttered layout and placed in a tight row, each within a few centimetres, on a table both arms share. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 581 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `f9108c924a91c829`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `spell_yam` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..157f8e553c
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..13714b6287
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-yam-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/instruction.md
new file mode 100644
index 0000000000..ff6727c019
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · spell yam -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Spell **YAM**: put the blocks Y, A, M in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of YAM, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The task's directive, as the scene states it: "spell yam".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the letter blocks are `block_A` ... `block_Z`. Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..d78bb69780
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/task.toml
new file mode 100644
index 0000000000..79fe780866
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-spell-yam-i00-privileged"
+description = "ABC Sim spell yam (two I2RT YAM arms, MuJoCo): Spell YAM: put the blocks Y, A, M in a row on the table, in this order, reading from left to right as the arms face the table. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "spell_yam", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "spell_yam"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 4.5
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..157f8e553c
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..13714b6287
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-yam-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/DIGEST
new file mode 100644
index 0000000000..b38e1184f7
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:a81989bc87cc71044a770c65e74a27326400162f234d9ca38cf6daff3963bf16
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-standard/README.md b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/README.md
new file mode 100644
index 0000000000..4cf500d88c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-spell-yam-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-spell-yam-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `spell_yam` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `spell_yam` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Spell **YAM**: put the blocks Y, A, M in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of YAM, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: hard. Long-horizon pick and place: 3 blocks found among 26 by their printed letters (the letters are only visible from above and from the side), grasped from a cluttered layout and placed in a tight row, each within a few centimetres, on a table both arms share. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 581 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `f9108c924a91c829`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `spell_yam` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..55f3c495cd
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-yam-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..157f8e553c
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..d917f3fd60
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Spell **YAM**: put the blocks Y, A, M in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of YAM, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/instruction.md
new file mode 100644
index 0000000000..da2a3eeaf5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · spell yam -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Spell **YAM**: put the blocks Y, A, M in a row on the table, in this order, reading from left to right as the arms face the table. Success: for every pair of consecutive letters of YAM, the next block's centre is 0.015-0.06 m to the right (-y) of the previous one's and within 0.03 m of it front to back; every block of the word rests on the table (its centre within 0.02 m of the height of a block lying on the table: not stacked, not held up) with a letter face up or down (the axis through its two letter faces within 32 deg of vertical; the letter's rotation within the face is not checked). The other blocks do not matter. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Twenty-six wooden letter blocks (A to Z, 3 cm cubes; each letter is printed on two opposite faces) lie on the table, letter face up.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..d78bb69780
Binary files /dev/null and b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-standard/task.toml b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/task.toml
new file mode 100644
index 0000000000..11124ac62b
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-spell-yam-i00-standard"
+description = "ABC Sim spell yam (two I2RT YAM arms, MuJoCo): Spell YAM: put the blocks Y, A, M in a row on the table, in this order, reading from left to right as the arms face the table. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "spell_yam", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "spell_yam"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 6.8
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..55f3c495cd
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-spell-yam-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-spell-yam-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-spell-yam-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-sweep-i00-privileged/DIGEST
new file mode 100644
index 0000000000..66cfd66ffd
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:ad7098445b7af22b508821e404b54833037a66417d8b8704ef5a308b0c79a3df
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-privileged/README.md b/tasks/abc-sim/abc-sim-sweep-i00-privileged/README.md
new file mode 100644
index 0000000000..f2f765244a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-sweep-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-sweep-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `sweep` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `sweep_away_paper_scraps_from_table` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Get the paper scraps into the trash can: sweep them into the dustpan with the brush and empty it into the can, or any other way. Success: all 2 scraps are inside the trash can at the same time (each scrap's centre within the can's inner radius of its axis and between its floor and its rim). Pushing scraps off the table does not count. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+2 crumpled paper scraps lie on the table, with a brush, a dustpan and a trash can (all loose objects). The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: hard. Tool use with two hands: brush and dustpan, light scraps that slide and roll, and an emptying motion into a can. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 1288 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `acdf58bdd8888ca2`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `sweep_away_paper_scraps_from_table` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-sweep-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-sweep-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-sweep-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..1cc9d653a8
Binary files /dev/null and b/tasks/abc-sim/abc-sim-sweep-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-sweep-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..964c23bf0a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-sweep-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-sweep-i00-privileged/instruction.md
new file mode 100644
index 0000000000..ff5f9cfe75
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · sweep paper scraps -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Get the paper scraps into the trash can: sweep them into the dustpan with the brush and empty it into the can, or any other way. Success: all 2 scraps are inside the trash can at the same time (each scrap's centre within the can's inner radius of its axis and between its floor and its rim). Pushing scraps off the table does not count. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+2 crumpled paper scraps lie on the table, with a brush, a dustpan and a trash can (all loose objects). The task's directive, as the scene states it: "sweep away paper scraps from the table".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the scraps in play are `trash_1` ... (`s.state()['randomization']['trash_joints']`); the others are parked away from the table and unused. Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-sweep-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..47153d6336
Binary files /dev/null and b/tasks/abc-sim/abc-sim-sweep-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-sweep-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-sweep-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-sweep-i00-privileged/task.toml
new file mode 100644
index 0000000000..6b94da5bb7
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-sweep-i00-privileged"
+description = "ABC Sim sweep paper scraps (two I2RT YAM arms, MuJoCo): Get the paper scraps into the trash can: sweep them into the dustpan with the brush and empty it into the can, or any other way. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "sweep", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "sweep"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 4.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-sweep-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-sweep-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-sweep-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..1cc9d653a8
Binary files /dev/null and b/tasks/abc-sim/abc-sim-sweep-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-sweep-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..964c23bf0a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-sweep-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-sweep-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-sweep-i00-standard/DIGEST
new file mode 100644
index 0000000000..bc81c7a0b3
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:2a250abbc3967dde7672553d6c1768f3c367728fd5a52681942bef9b7561d1e9
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-standard/README.md b/tasks/abc-sim/abc-sim-sweep-i00-standard/README.md
new file mode 100644
index 0000000000..b48491d144
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-sweep-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-sweep-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `sweep` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `sweep_away_paper_scraps_from_table` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Get the paper scraps into the trash can: sweep them into the dustpan with the brush and empty it into the can, or any other way. Success: all 2 scraps are inside the trash can at the same time (each scrap's centre within the can's inner radius of its axis and between its floor and its rim). Pushing scraps off the table does not count. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+2 crumpled paper scraps lie on the table, with a brush, a dustpan and a trash can (all loose objects). The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: hard. Tool use with two hands: brush and dustpan, light scraps that slide and roll, and an emptying motion into a can. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 1288 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `acdf58bdd8888ca2`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `sweep_away_paper_scraps_from_table` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..c7752a35af
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-sweep-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..1cc9d653a8
Binary files /dev/null and b/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..adc3be150b
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Get the paper scraps into the trash can: sweep them into the dustpan with the brush and empty it into the can, or any other way. Success: all 2 scraps are inside the trash can at the same time (each scrap's centre within the can's inner radius of its axis and between its floor and its rim). Pushing scraps off the table does not count. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-sweep-i00-standard/instruction.md
new file mode 100644
index 0000000000..91ecb131ea
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · sweep paper scraps -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Get the paper scraps into the trash can: sweep them into the dustpan with the brush and empty it into the can, or any other way. Success: all 2 scraps are inside the trash can at the same time (each scrap's centre within the can's inner radius of its axis and between its floor and its rim). Pushing scraps off the table does not count. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+2 crumpled paper scraps lie on the table, with a brush, a dustpan and a trash can (all loose objects).
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-sweep-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..47153d6336
Binary files /dev/null and b/tasks/abc-sim/abc-sim-sweep-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-sweep-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-sweep-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-standard/task.toml b/tasks/abc-sim/abc-sim-sweep-i00-standard/task.toml
new file mode 100644
index 0000000000..05663e4a39
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-sweep-i00-standard"
+description = "ABC Sim sweep paper scraps (two I2RT YAM arms, MuJoCo): Get the paper scraps into the trash can: sweep them into the dustpan with the brush and empty it into the can, or any other way. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "sweep", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "sweep"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 6.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-sweep-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-sweep-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..c7752a35af
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-sweep-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-sweep-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-sweep-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-sweep-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/DIGEST
new file mode 100644
index 0000000000..0426bdb185
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:9e954d37acfdcb003d9945519599df2ab7ac77d7d6aa36379c2728ae56bddb7b
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/README.md b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/README.md
new file mode 100644
index 0000000000..dd7936d6b3
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-throw-bottles-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-throw-bottles-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `throw_bottles` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `throw_plastic_bottles_in_bin` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Get all four plastic bottles into the bin -- throw them in or put them in. Success: all 4 bottles are inside the bin at the same time: each bottle's centre of mass within the bin's inner wall radius of the bin's axis, not below the bin's floor, and at most about one bottle length (~0.11 m) above its rim (a bottle may still be held). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Four empty plastic bottles lie on the table; a round bin stands on the table (it is a loose object, not fixed). The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: medium. Four grasps of light, rolling bottles and a throw or a careful drop into a bin that is itself free to tip or slide; bimanual workspace sharing. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 563 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `aadad7bdb8c02a78`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `throw_plastic_bottles_in_bin` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..293cf640c2
Binary files /dev/null and b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..4da920da47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-throw-bottles-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/instruction.md
new file mode 100644
index 0000000000..d364770787
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · throw bottles in the bin -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Get all four plastic bottles into the bin -- throw them in or put them in. Success: all 4 bottles are inside the bin at the same time: each bottle's centre of mass within the bin's inner wall radius of the bin's axis, not below the bin's floor, and at most about one bottle length (~0.11 m) above its rim (a bottle may still be held). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Four empty plastic bottles lie on the table; a round bin stands on the table (it is a loose object, not fixed). The task's directive, as the scene states it: "throw plastic bottles in bin".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the bottles are `bottle_1` ... `bottle_4`, the bin is `bin_container`. Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..281269a697
Binary files /dev/null and b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/task.toml
new file mode 100644
index 0000000000..01580bdfb0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-throw-bottles-i00-privileged"
+description = "ABC Sim throw bottles in the bin (two I2RT YAM arms, MuJoCo): Get all four plastic bottles into the bin -- throw them in or put them in. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "throw_bottles", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "throw_bottles"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 3.0
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..293cf640c2
Binary files /dev/null and b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..4da920da47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-throw-bottles-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/DIGEST
new file mode 100644
index 0000000000..07766e3122
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:ef000491bab8b97c0687881a4e01ca3d18b2ce0d92a99f528d15f5a1bc75dc5a
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/README.md b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/README.md
new file mode 100644
index 0000000000..d6279b0433
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-throw-bottles-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-throw-bottles-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `throw_bottles` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `throw_plastic_bottles_in_bin` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Get all four plastic bottles into the bin -- throw them in or put them in. Success: all 4 bottles are inside the bin at the same time: each bottle's centre of mass within the bin's inner wall radius of the bin's axis, not below the bin's floor, and at most about one bottle length (~0.11 m) above its rim (a bottle may still be held). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+Four empty plastic bottles lie on the table; a round bin stands on the table (it is a loose object, not fixed). The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: medium. Four grasps of light, rolling bottles and a throw or a careful drop into a bin that is itself free to tip or slide; bimanual workspace sharing. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 563 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `aadad7bdb8c02a78`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `throw_plastic_bottles_in_bin` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..24fa32675e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-throw-bottles-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..293cf640c2
Binary files /dev/null and b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..3834ba7d65
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Get all four plastic bottles into the bin -- throw them in or put them in. Success: all 4 bottles are inside the bin at the same time: each bottle's centre of mass within the bin's inner wall radius of the bin's axis, not below the bin's floor, and at most about one bottle length (~0.11 m) above its rim (a bottle may still be held). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/instruction.md
new file mode 100644
index 0000000000..2cb16db2de
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · throw bottles in the bin -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Get all four plastic bottles into the bin -- throw them in or put them in. Success: all 4 bottles are inside the bin at the same time: each bottle's centre of mass within the bin's inner wall radius of the bin's axis, not below the bin's floor, and at most about one bottle length (~0.11 m) above its rim (a bottle may still be held). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+Four empty plastic bottles lie on the table; a round bin stands on the table (it is a loose object, not fixed).
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..281269a697
Binary files /dev/null and b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/task.toml b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/task.toml
new file mode 100644
index 0000000000..95496369e3
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-throw-bottles-i00-standard"
+description = "ABC Sim throw bottles in the bin (two I2RT YAM arms, MuJoCo): Get all four plastic bottles into the bin -- throw them in or put them in. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "throw_bottles", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "throw_bottles"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 4.5
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..24fa32675e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-throw-bottles-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-throw-bottles-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/DIGEST b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/DIGEST
new file mode 100644
index 0000000000..696545750e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/DIGEST
@@ -0,0 +1 @@
+sha256:bee554599ef187678777453bb91f52376cd469a2838c928ded57d3d670bece6a
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/README.md b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/README.md
new file mode 100644
index 0000000000..835987224a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/README.md
@@ -0,0 +1,53 @@
+# abc-sim-turn-mug-i00-privileged
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | privileged |
+| Twin | `abc-sim-turn-mug-i00-standard` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `turn_mug` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `turn_mug_right_side_up` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Turn every mug right side up. Success: every mug stands upright (its axis within 18 deg of vertical, opening up) with its centre no more than 0.03 m higher than where it started (set back down). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+2 mugs stand upside down on a tray on the table. The deliverable is one replayable trajectory (`/app/output/trajectory.npz`, `(T, 14)`, one row per 0.034 s control step).
+
+## Difficulty
+First-pass rating: medium. Re-grasping: a mug standing upside down has to be lifted, turned over (in one hand, by a hand-over, or by pivoting it) and set down upright. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: `solution/oracle.npy`, 561 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by `solution/solve.sh`.
+
+## Verification
+`/opt/abc-tools/grade.py` in a separate sandbox without network: two replays of `/app/output/trajectory.npz`, each in a fresh process (side by side), from the verifier's own copy of the instance (`tests/instance.npz`; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (`deterministic`). `nop`: no trajectory, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 5 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), every container of the trial: 5 GiB GPU memory, 12 GiB memory, 512 processes, 10 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 12 GiB memory. Limits measured: GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `daf231053bf05830`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `turn_mug_right_side_up` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/environment/Dockerfile b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/environment/Dockerfile
new file mode 100644
index 0000000000..e006f99b30
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/environment/Dockerfile
@@ -0,0 +1,6 @@
+# ABC Sim task (privileged): abc_sim on MuJoCo 3.6.0 (images/abc-sim/: the simulator, the scenes' assets and the
+# benchmark's tooling at /opt/abc-tools), and the task's frozen instance. Cameras render over EGL on the GPU.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz /app/instance.npz
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/environment/docker-compose.yaml
new file mode 100644
index 0000000000..67fe14db1e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/environment/docker-compose.yaml
@@ -0,0 +1,41 @@
+# The robot's cameras render over EGL on an NVIDIA GPU (physics on the CPU).
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/environment/instance.npz b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/environment/instance.npz
new file mode 100644
index 0000000000..9818d59ae9
Binary files /dev/null and b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/environment/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..13dd490f01
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/environment/rcb_monitor/limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-turn-mug-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/instruction.md b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/instruction.md
new file mode 100644
index 0000000000..67b6642bdf
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/instruction.md
@@ -0,0 +1,63 @@
+# ABC Sim · turn a mug right side up -- frozen instance
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- via Python (ABC Sim, `abc_sim` on MuJoCo 3.6.0).
+**Task:** Turn every mug right side up. Success: every mug stands upright (its axis within 18 deg of vertical, opening up) with its centre no more than 0.03 m higher than where it started (set back down). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+2 mugs stand upside down on a tray on the table. The task's directive, as the scene states it: "turn mug right side up".
+
+This is a *fixed scene instance*: the start state, the objects and the goal never change between resets. You may reset
+and retry as many times as you want. Your deliverable is **one replayable trajectory**, not a general policy.
+
+## Deliverable
+Write the final trajectory to `/app/output/trajectory.npz` with `Session.save_trajectory(...)` (below): `(T, 14)` rows,
+one per control step, at most 20,000 rows. It is replayed open-loop from the same initial state in two fresh processes and
+scored 1 if both episodes end in success in the same state, else 0. Also leave the script that produced it at
+`/app/output/gen.py`.
+
+Save a trajectory as soon as you have one that works, improve it while time remains, and do not stop early.
+
+## Tooling (already installed; run `python` from any directory)
+```python
+from rcb_abc import Session
+s = Session(instance="/app/instance.npz") # a few seconds
+s.prompt # the directive
+s.reset() # back to the frozen initial state (unlimited)
+s.state() # privileged: robot joints, tool frames, every free body's pose, the task's
+ # evaluator and runtime state, the scene's randomization record
+s.objects() # every free body: [x, y, z, qw, qx, qy, qz] in the world frame
+s.robot_q(); s.hold_action() # the 14 action coordinates now (holding them keeps the robot still)
+s.model, s.data, s.env # MuJoCo model / data and the abc_sim env: read them; only the rows you record are replayed
+s.step(a) # one control step (14 numbers); False once the episode is over
+s.status() # {'success', 'done', 'reason', 'steps', 'success_run', 'state_sha', 'info', ...}
+snap = s.snapshot(); s.restore(snap) # save / restore a mid-episode state exactly (search, planning)
+s.record_start(); ...; actions = s.record_stop() # (T, 14) rows, one per control step
+s.replay(actions) # resets, replays open-loop until the episode ends, returns status -> self-check
+s.save_trajectory(actions, "/app/output/trajectory.npz")
+s.render_frame("top"); s.render_depth("top"); s.camera_info("top") # RGB (480, 640, 3), z-depth (m), calibration
+s.render_video(actions, "/app/output/check.mp4")
+s.kinematics({"op": "fk", "q": q14}); s.kinematics({"op": "ik", "targets": {"left_tcp": [x, y, z, qw, qx, qy, qz]}})
+```
+Bodies: the mugs are `mug_1` .... Tool frames: `left_tcp` / `right_tcp` (each arm's tool centre point) and `left_grasp` /
+`right_grasp` (the point between the finger pads); `s.kinematics` solves IK for them with each arm's own six joints.
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side`. There are no motion primitives: every skill is yours to build from joint targets.
+
+CLI equivalent of the grader:
+`python /opt/abc-tools/rcb_abc.py replay --instance /app/instance.npz --traj /app/output/trajectory.npz --repeat 2`
+
+## Conventions
+- World frame: the table's; x forward (away from the arms' bases), y to the left as the arms face the table, z up;
+ metres, radians, quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them).
+- Action: 14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz).
+- There is no step budget: your wall-clock time is the limit. An episode ends at success;
+ `s.step` then refuses further rows until `s.reset()`. Rendering runs on the GPU (EGL) when one is available.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for the whole trial, all its processes together (every simulator you start included): at most **5 GiB of GPU memory**, **12 GiB of memory**, **512 processes** and **10 GiB** of new files under `/app`, `/tmp` and `/root`. GPU memory counts what a process reserves (JAX, for example, reserves most of the card unless told not to). These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. When enforcement is on and GPU memory goes above 1.5 times its limit, the monitor also kills the process holding the most of it at once, to protect the machine; that alone does not fail the trial. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in `/app/output/` at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/solution/oracle.npy b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/solution/oracle.npy
new file mode 100644
index 0000000000..ac1e825502
Binary files /dev/null and b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/solution/oracle_replay.py b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/solution/oracle_replay.py
new file mode 100644
index 0000000000..3a8acefd47
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/solution/oracle_replay.py
@@ -0,0 +1,15 @@
+"""Oracle (privileged): replay the reference rows in the tooling, check them, and save them as the deliverable."""
+
+import json
+import os
+
+import numpy as np
+from rcb_abc import Session
+
+rows = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy"))
+s = Session(instance="/app/instance.npz")
+r = s.replay(rows)
+s.save_trajectory(rows, "/app/output/trajectory.npz", meta={"source": "reference trajectory (solution/oracle.npy)"})
+print(json.dumps(r))
+if not r["success"]:
+ raise SystemExit("the reference trajectory does not succeed from the frozen instance")
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/solution/solve.sh b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/solution/solve.sh
new file mode 100755
index 0000000000..ea061ce3da
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/solution/solve.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Oracle (privileged): replay the reference trajectory frozen at generation time (solution/oracle.npy), check it and save
+# it as the deliverable.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_replay.py /app/output/gen.py
+python /solution/oracle_replay.py
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/task.toml b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/task.toml
new file mode 100644
index 0000000000..45dbbbd222
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/task.toml
@@ -0,0 +1,89 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-turn-mug-i00-privileged"
+description = "ABC Sim turn a mug right side up (two I2RT YAM arms, MuJoCo): Turn every mug right side up. Frozen scene instance; one replayable trajectory, graded by two fresh-process replays."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "turn_mug", "privileged"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "turn_mug"
+mode = "privileged"
+dynamics = "static"
+oracle = "full"
+expert_time_estimate_hours = 2.5
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 5.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the agent's container 1.9 GB (one Session replaying chess, no rendering), the verifier 3.9 GB (chess: two replays side by side, then the filmed one); a Session rendering three cameras 2.4 GB and 0.9 GiB of GPU memory (the spike, 2026-10-20); CPU 2.6-3.1 cores at peak"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "trial"
+max_gpu_memory_gb = 5.0
+max_memory_gb = 12.0
+max_processes = 512
+max_disk_gb = 10.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 12.0
+measured = "GPU: max(1.5 x 0.9, 0.9 + 4) GiB (a rendering Session 0.9 GiB); memory: several Sessions at once (2.4 GB each while rendering; the oracle trials' agent container 1.9 GB) under the 16 GiB cap by the monitor's margin; processes 512 and disk 10 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 16.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 6000.0 # two side-by-side replays of at most 20,000 rows (2400 s each at the slowest scene)
+ # and the filmed one; a reference replays in 1-100 s
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+[verifier.environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 8192
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 16384
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/tests/Dockerfile b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/tests/Dockerfile
new file mode 100644
index 0000000000..9213fbb9d0
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/tests/Dockerfile
@@ -0,0 +1,10 @@
+# Separate verifier sandbox: the same image with the verifier's own copy of the frozen instance (the grader is the
+# image's /opt/abc-tools/grade.py). Nothing the agent did in its container reaches this one: Harbor uploads only the
+# declared artifacts.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY instance.npz test.sh /tests/
+RUN chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifier
+WORKDIR /tests
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/tests/docker-compose.yaml b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/tests/docker-compose.yaml
new file mode 100644
index 0000000000..a36c0a5d3a
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/tests/docker-compose.yaml
@@ -0,0 +1,10 @@
+# The filmed replay renders over EGL on the GPU (the verdict's replays need none).
+services:
+ main:
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/tests/instance.npz b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/tests/instance.npz
new file mode 100644
index 0000000000..9818d59ae9
Binary files /dev/null and b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/tests/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/tests/rcb_limits.json
new file mode 100644
index 0000000000..13dd490f01
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/tests/rcb_limits.json
@@ -0,0 +1,34 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 16.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": true,
+ "max_disk_gb": 10.0,
+ "max_gpu_memory_gb": 5.0,
+ "max_memory_gb": 12.0,
+ "max_processes": 512,
+ "mode": "privileged",
+ "scope": "trial",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-turn-mug-i00-privileged",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 12.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/tests/test.sh b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/tests/test.sh
new file mode 100755
index 0000000000..b3113ba1fc
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-privileged/tests/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Verifier: replay /app/output/trajectory.npz from the frozen instance (the tests/ copy) in two fresh processes (the
+# verdict), then a third that renders replay.mp4. Writes /logs/verifier/reward.txt (1/0) and reward.json (numbers only).
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /opt/abc-tools/grade.py --instance /tests/instance.npz --traj /app/output/trajectory.npz \
+ 2> /logs/verifier/grade.log
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-standard/DIGEST b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/DIGEST
new file mode 100644
index 0000000000..b7b84ced4e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/DIGEST
@@ -0,0 +1 @@
+sha256:d9b68d499c38dc9b9c87ca8a90c9105c598c2d5eca98ad68891cad920960433f
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-standard/README.md b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/README.md
new file mode 100644
index 0000000000..fa23dc07e9
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/README.md
@@ -0,0 +1,53 @@
+# abc-sim-turn-mug-i00-standard
+
+| | |
+|---|---|
+| Benchmark | ABC Sim |
+| Mode | standard (`eai-standard/2.2`) |
+| Twin | `abc-sim-turn-mug-i00-privileged` |
+| Simulator / robot | `mujoco` / `i2rt-yam-bimanual` |
+| Family / instance | `turn_mug` |
+| Oracle | `full` |
+| Agent time budget | 3600 s; tokens: protocol default (PROTOCOL §5) |
+| Base image | `ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0` |
+
+## Task
+ABC Sim `turn_mug_right_side_up` (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Turn every mug right side up. Success: every mug stands upright (its axis within 18 deg of vertical, opening up) with its centre no more than 0.03 m higher than where it started (set back down). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+2 mugs stand upside down on a tray on the table. The robot is a service; the episode it runs is graded.
+
+## Difficulty
+First-pass rating: medium. Re-grasping: a mug standing upside down has to be lifted, turned over (in one hand, by a hand-over, or by pivoting it) and set down upright. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.
+
+## Reference solution
+The privileged twin's reference (the commanded actions of one of upstream's validation demonstrations of this task): `solution/oracle.npy`, 561 rows, streamed as `joint_position` chunks through the client (`solution/oracle_stream.py`); the service executes exactly those rows and ends at the same state as the privileged replay.
+
+## Verification
+The live episode's verdict (PROTOCOL H.4): the sim sidecar judges the episode it ran by the task's rule (the 1.02 s hold included) and the collect hook (`/opt/abc-tools/standard/finalize.sh`) writes it to `final.json`; the verifier (the shared `v2_1/grade.py`) transcribes it. Nothing is replayed to grade it; the video is rendered from the trajectory afterwards. `nop`: the episode times out, reward 0.
+
+## Compute resources
+Minimum allocation for one trial (docs/protocol/README.md §2.9; `[metadata.resources]` in `task.toml`). The agent phase counts every container of the trial at once (the agent's, and in standard modes the simulator sidecar); the verifier phase runs after it.
+
+| | Agent phase | Verifier |
+|---|---|---|
+| CPU cores | 2 | 2 |
+| Memory | 4 GB | 4 GB |
+| GPU memory | 1.5 GB | 1.5 GB |
+
+- GPU: required, any NVIDIA GPU; recommended: any NVIDIA GPU with EGL (RTX 4090 / L4).
+- Measured: oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)
+- Limits in the agent phase (docs/protocol/README.md §2.10; `[metadata.resources.limits]`, shown to the agent in `instruction.md`; always measured and reported, and exceeding one fails the trial only when the run sets `RCB_LIMITS_ENFORCE=1`), the agent's container: no GPU, 8 GiB memory, 512 processes, 20 GiB of new files under `/app`, `/tmp`, `/root`; 60 s within 120 s. Expected peak of the whole trial: 5 GiB GPU memory, 16 GiB memory. Limits measured: the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults.
+
+## Details
+| | |
+|---|---|
+| Upstream | ABC Sim, `abc_sim` of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0 |
+| Instance | the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash `daf231053bf05830`, checked on every load |
+| Actions | 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms) |
+| Success | the upstream evaluator `turn_mug_right_side_up` held 30 control steps |
+
+### Provenance
+The frozen instance (`instance.npz`) and the reference solution (`solution/oracle.npy`) were made at generation time from
+an upstream validation demonstration; see `tasks/abc-sim/README.md`.
+
+### Change Log
+- 2026-10-21: first version.
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/Dockerfile b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/Dockerfile
new file mode 100644
index 0000000000..aeedb601f5
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/Dockerfile
@@ -0,0 +1,9 @@
+# Standard mode: the agent container has NO simulator and no ABC Sim code, only Python and the
+# client (eai-standard/2.2), on the shared pinned client base with the shared pins.
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY client-requirements.txt /tmp/client-requirements.txt
+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /rcb1.py /rcb_client.py /opt/tools/
+ENV PYTHONPATH=/opt/tools
+RUN mkdir -p /app/output
+WORKDIR /app
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/client-requirements.txt b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/client-requirements.txt
new file mode 100644
index 0000000000..8aa73a968f
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/client-requirements.txt
@@ -0,0 +1,11 @@
+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of
+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on
+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.
+certifi==2026.7.22
+charset-normalizer==3.5.2
+idna==3.20
+numpy==2.5.3
+pillow==12.3.0
+requests==2.34.2
+scipy==1.18.1
+urllib3==2.8.0
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/docker-compose.yaml b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/docker-compose.yaml
new file mode 100644
index 0000000000..408c03e09c
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/docker-compose.yaml
@@ -0,0 +1,70 @@
+# Standard mode: the simulator runs in the `sim` sidecar (the agent cannot open it); the agent only reaches
+# port 8000. No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace. The sidecar
+# renders the cameras over EGL on an NVIDIA GPU (physics on the CPU). Crash recovery: the service exits non-zero when it
+# crashes, compose restarts the container (same /data) and the service resumes the same episode from its journal.
+services:
+ main:
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor
+ depends_on: [sim]
+ sim:
+ cpus: 4 # rcb-monitor
+ mem_limit: 10240m # rcb-monitor
+ pids_limit: 8192 # rcb-monitor
+ volumes: # rcb-monitor
+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor
+ build: # environment/sim/Dockerfile: the base image, sim/ at /srv, the shared layer's files
+ context: sim
+ dockerfile: Dockerfile
+ working_dir: /tmp
+ command: sh /srv/run.sh
+ restart: on-failure:6 # N >= 3; a resume continues the episode
+ environment:
+ RCB_INSTANCE: /srv/instance.npz
+ RCB_DATA: /data
+ RCB_WALL_CLOCK_S: "3600"
+ RCB_STARTUP_TIMEOUT_S: "300" # the scene builds in 1-5 s
+ RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
+ NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
+ RCB_SERVER: /opt/abc-tools/standard/server.py
+ PYTHONPATH: /srv:/opt/abc:/opt/abc-tools
+ RCB_RESET_BUDGET: "${RCB_RESET_BUDGET:-0}" # standard: one episode (the mode's default)
+ RCB_COLLECT_BUDGET_S: "1800" # the collect hook's timeout_sec: finalize.sh fits the video in
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # >>> rcb_monitor (resource limits monitor, docs/protocol/README.md §2.10; generated by images/monitor/rcb_monitor/inject.py)
+ rcb_monitor:
+ image: ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85
+ pid: host # sees every container's processes (and NVML's host PIDs); the agent never sees it
+ cgroup: host # reads each container's own cgroup (memory, OOM kills, caps)
+ network_mode: none
+ cap_add: [SYS_PTRACE] # reads /proc of processes running as other users
+ cpus: 0.5
+ mem_limit: 256m
+ pids_limit: 64
+ restart: on-failure:3
+ working_dir: /var/rcb-monitor
+ volumes:
+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
+ - rcb_limits:/run/rcb-limits
+ - rcb_observe:/run/rcb-observe
+ environment:
+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0} # 1: stop the agent at a confirmed violation, and fail the trial
+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
+ # <<< rcb_monitor
+volumes: # rcb-monitor
+ rcb_limits: # rcb-monitor
+ rcb_observe: # rcb-monitor
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/rcb_monitor/limits.json b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/rcb_monitor/limits.json
new file mode 100644
index 0000000000..6be09cd281
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/rcb_monitor/limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-turn-mug-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/sim/.dockerignore b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/sim/.dockerignore
new file mode 100644
index 0000000000..e22e196276
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/sim/.dockerignore
@@ -0,0 +1,3 @@
+# the build's own files, not part of /srv
+Dockerfile
+.dockerignore
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/sim/Dockerfile b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/sim/Dockerfile
new file mode 100644
index 0000000000..d9220baae4
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/sim/Dockerfile
@@ -0,0 +1,10 @@
+# The `sim` sidecar's image (environment/docker-compose.yaml builds it): the base image (the simulator and the
+# benchmark's 2.2 adapter at /opt/abc-tools), this directory at /srv (the frozen instance and the task's text), and
+# the shared 2.2 layer from the pinned files-only image. .dockerignore keeps the build's own two files out of /srv.
+FROM ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0
+COPY . /srv/
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-sim-files-0.1.1@sha256:d9a4e130a67056d0fb47594562ac303b2f000c5f48fbe5ec235593bef0f3543f \
+ /rcb1.py \
+ /rcb_limited.py \
+ /run.sh \
+ /srv/
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/sim/instance.npz b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/sim/instance.npz
new file mode 100644
index 0000000000..9818d59ae9
Binary files /dev/null and b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/sim/instance.npz differ
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/sim/task.json b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/sim/task.json
new file mode 100644
index 0000000000..bbe54ab564
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/environment/sim/task.json
@@ -0,0 +1,8 @@
+{
+ "task_text": "Turn every mug right side up. Success: every mug stands upright (its axis within 18 deg of vertical, opening up) with its centre no more than 0.03 m higher than where it started (set back down). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.",
+ "default_cameras": [
+ "top",
+ "left",
+ "right"
+ ]
+}
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-standard/instruction.md b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/instruction.md
new file mode 100644
index 0000000000..6f27e6c1e6
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/instruction.md
@@ -0,0 +1,67 @@
+# ABC Sim · turn a mug right side up -- STANDARD MODE (robot as a service, eai-standard/2.2)
+
+You control a bimanual robot -- two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y) -- **as if it were real**: the simulator (ABC Sim on MuJoCo 3.6.0) runs in a
+service you cannot open. You get one client and one episode, and you act only through the robot's joint targets.
+**Task:** Turn every mug right side up. Success: every mug stands upright (its axis within 18 deg of vertical, opening up) with its centre no more than 0.03 m higher than where it started (set back down). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success.
+
+2 mugs stand upside down on a tray on the table.
+
+## Rules
+- **One episode.** It starts when the service comes up and ends on success,
+ when your time is up, or on a simulator error. There is no reset (`spec["budget"]["reset"]` is 0): the one episode is
+ the run. Once it has ended, `submit` raises `EpisodeOver`.
+- **No privileged state.** You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
+ the robot's own proprioception: joint positions, velocities and efforts, gripper openings, tool-frame poses. No object
+ poses, no success check: `meta["done"]` / `meta["reason"]` tell you when the episode is over and why.
+- Steps are unlimited; your only budget is the time limit (`## Time limit`; `meta["time_left_s"]` is the service's count
+ of it). Simulated time only advances with your commands (and `get_obs(seconds=...)`, which holds the last command),
+ so the scene waits while you think. Do not stop early: while the episode runs, the run can still pass.
+- Nothing to hand in: the service records your episode and grades it. Leave your script at `/app/output/gen.py`.
+- **If the service crashes**, a call fails with a connection error: it restarts and resumes the SAME episode in the
+ state after the last call it completed. `r.wait_ready()` waits for it; then check `r.status()`.
+- **Nothing is put into your context automatically.** Images and videos come back as arrays/bytes in a Python object.
+
+## Client (`/opt/tools/rcb_client.py`, protocol `eai-standard/2.2`)
+```python
+from rcb_client import Robot
+r = Robot() # connects (waits while the service starts)
+spec = r.spec() # action layout and limits, cameras (+ intrinsics, mounting), proprio layout, kinematics
+obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: top, left, right)
+obs = r.get_obs(cameras=["top"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
+obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, gripper openings, tcp poses, efforts
+obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
+res = r.submit("joint_position", rows, dt=0.034) # rows: (T, 14) targets, one row per control step
+res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"]; res.video[cam]; res.last[cam]; res.proprio
+obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
+r.fk(q14); r.ik({"left_tcp": [x, y, z, qw, qx, qy, qz]}) # the robot's kinematic model (no physics)
+r.status() # calls, control steps, done, reason, elapsed time
+```
+Cameras: `top` (above and behind the arms, looking down at the table), `left` and `right` (wrist cameras on the arms), `overhead`, `left_side`, `right_side` (640x480; default `top`, `left`, `right`); `spec["cameras"]` gives each camera's mounting (static,
+or on an arm link: the wrist cameras move with the arm, so use the pose returned with each frame) and intrinsics, and
+every response carries each frame's pose. Rendering runs on the service's GPU (a few milliseconds a frame): ask only for
+the cameras you need; `video="none"` makes a chunk fastest. One call returns at most 1000 images (cameras x frames at
+`video_fps`, default 10; depth for every frame counts again; `spec["max_frames_per_call"]`): a larger request is refused
+with a 400 before anything runs. Proprioception (`spec["proprio_groups"]`): `joint_pos` (`q_<entry>`, the 14 action
+coordinates measured), `joint_vel` (`qd_<entry>`), `gripper_opening` (m), `tcp_pose` (each arm's tool centre point,
+world frame, `wxyz`), `joint_effort` (`effort_<entry>`). `/kinematics` (`r.fk`, `r.ik`) gives the tool frames `left_tcp`,
+`right_tcp`, `left_grasp`, `right_grasp` and the arm links for any joint positions, and solves IK for the tool frames.
+
+### Action type `joint_position` (14)
+14 numbers per control step: `[left_joint1..6, left_gripper, right_joint1..6, right_gripper]` -- each arm's six joint position targets (rad) and its gripper opening (0 = closed, 1 = open, each finger 0.0475 m from closed; up to 1.042). The joints and grippers are position servos that track the targets (MuJoCo position actuators with damping and force limits); a target outside a joint's range is clamped to it, and the simulator rounds every command to float32. One control step = 17 physics steps of 2 ms = 0.034 s (29.4 Hz). Columns in `spec["action_types"]["joint_position"]["layout"]` order. Rows are `dt` apart (a whole multiple
+of the 0.034 s control period, at most 0.5 s; a chunk covers at most 10 s), `interpolate="linear"` (default, from the
+previous targets) or `"hold"`; the client sends them as float32. There is no step budget.
+
+### World frame
+The table's: x forward (away from the arms' bases), y to the left as the arms face the table, z up; metres, radians,
+quaternions `wxyz`. Directions are as the arms face the table: left = +y, right = -y, behind = +x (farther from the arms), in front = -x (nearer to them). No positions of the scene are given; the arms' base poses are in `spec["robot_spec"]["base"]`.
+
+## External material
+You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
+
+## Resource limits
+Limits for your agent environment, your own container only (the simulator in the `sim` service is the benchmark's and does not count): at most **8 GiB of memory**, **512 processes** and **20 GiB** of new files under `/app`, `/tmp` and `/root`; your container has no GPU. These limits may be enforced (from protocol v1.2 on): when enforcement is on, exceeding one for 60 s within any 2 minutes, or a process killed for lack of memory, ends the trial as a failure (reward 0), whatever the deliverable. A monitor outside your container measures every few seconds; the current values are in `/run/rcb-limits/usage.json`. CPU is capped at 4 cores for your container; the cap only slows you down.
+
+## Time limit
+You have 3600 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
+
+This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's `time_left_s` counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is `time_left_s` minus the time you spent before that request. Plan by it. Your session started when you received this task. `/run/rcb-limits/usage.json`, rewritten every few seconds, gives the time left on this limit (`time_left_s`) and its end (`deadline_utc`), counted from a little before your session started, so it never gives you more time than you have: read it (or run `date`) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it (for example Codex's `yield_time_ms`) even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (`## External material` above).
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-standard/solution/oracle.npy b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/solution/oracle.npy
new file mode 100644
index 0000000000..ac1e825502
Binary files /dev/null and b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/solution/oracle.npy differ
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-standard/solution/oracle_stream.py b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/solution/oracle_stream.py
new file mode 100644
index 0000000000..d909ab264e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/solution/oracle_stream.py
@@ -0,0 +1,44 @@
+"""Oracle (standard mode): streams the reference rows (solution/oracle.npy, one row of 14 joint-position targets per
+control step, float32 values) as `joint_position` chunks through the client, the same interface an agent has. Uses no
+privileged information at run time; the service's recorded trajectory is then exactly the privileged reference. If the
+service crashes it resumes the same episode (spec["on_service_error"]): the oracle waits until it answers again and goes
+on from the control step it reports."""
+
+import os
+import sys
+import time
+
+import numpy as np
+import requests
+
+sys.path.insert(0, "/opt/tools")
+from rcb_client import EpisodeOver, Robot # noqa: E402
+
+A = np.load(os.path.join(os.path.dirname(os.path.abspath(__file__)), "oracle.npy")).astype(np.float64)
+r = Robot()
+spec = r.spec()
+dt = 1.0 / float(spec["control_hz"])
+per_chunk = max(1, int(spec.get("max_chunk_s", 10) / dt + 1e-9))
+print("spec:", spec["protocol"], "rows:", len(A), flush=True)
+t0, i = time.time(), 0
+while i < len(A):
+ chunk = A[i : i + per_chunk]
+ try:
+ res = r.submit("joint_position", chunk, dt=dt, interpolate="hold", video="none", note=f"oracle rows {i}+")
+ except EpisodeOver as e:
+ print("episode over:", e)
+ break
+ except requests.exceptions.RequestException as e: # the service crashed: it restarts and resumes the same episode
+ print("service unreachable:", repr(e)[:200], "- waiting for it to resume", flush=True)
+ st = r.wait_ready()
+ n = int(st["control_steps"])
+ if not i <= n <= i + len(chunk):
+ raise SystemExit(f"resumed at control step {n}: outside the chunk in flight (rows {i}..{i + len(chunk)})")
+ i = n
+ continue
+ n = int(res.meta["control_steps"])
+ print(f"rows {i}..{n}: done={res.meta['done']} reason={res.meta['reason']}", flush=True)
+ if res.meta["done"] or n <= i:
+ break
+ i = n
+print("status:", r.status(), "wall %.0fs" % (time.time() - t0))
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-standard/solution/solve.sh b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/solution/solve.sh
new file mode 100755
index 0000000000..201a69a3a8
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/solution/solve.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Oracle (standard mode): streams the reference trajectory's rows (solution/oracle.npy, one row of 14 joint-position
+# targets per control step) as `joint_position` chunks through the client. Uses no privileged information at run time
+# (only the pre-recorded rows); the service's recorded trajectory is then exactly the privileged reference.
+set -e
+mkdir -p /app/output
+cp /solution/oracle_stream.py /app/output/gen.py
+python /solution/oracle_stream.py
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-standard/task.toml b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/task.toml
new file mode 100644
index 0000000000..16a99348aa
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/task.toml
@@ -0,0 +1,96 @@
+schema_version = "1.3"
+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" }, { source = "/data/final.json", service = "sim" }, { source = "/data/episode.jsonl", service = "sim" }, { source = "/data/trajectory.npz", service = "sim" }, { source = "/data/replay.mp4", service = "sim" }, { source = "/data/server.log", service = "sim" }, { source = "/data/journal.f64", service = "sim" }, { source = "/data/startups.jsonl", service = "sim" }, { source = "/data/video.log", service = "sim" }, "/app/output/"]
+
+[task]
+name = "embodied-first-exam/abc-sim-turn-mug-i00-standard"
+description = "ABC Sim turn a mug right side up (two I2RT YAM arms, MuJoCo): Turn every mug right side up. The robot as a service (eai-standard/2.2); graded by the live episode."
+authors = [{ name = "Changhe Chen" }]
+keywords = ["robotics", "abc-sim", "mujoco", "yam", "bimanual", "turn_mug", "standard"]
+
+[metadata]
+author_name = "Changhe Chen"
+task_type = "trajectory"
+simulator = "mujoco" # ABC Sim (abc_sim, amazon-far/abc @ d0832d1) on MuJoCo 3.6.0
+robot = "i2rt-yam-bimanual"
+family = "turn_mug"
+mode = "standard"
+dynamics = "static"
+protocol = "eai-standard/2.2"
+oracle = "full"
+expert_time_estimate_hours = 3.8
+
+[metadata.resources]
+# minimum compute to run this task (docs/protocol/README.md §2.9)
+min_cpus = 2.0
+min_memory_gb = 4.0
+min_gpu_memory_gb = 1.5
+gpu_required = true
+gpu_class = "any"
+recommended_gpu = "any NVIDIA GPU with EGL (RTX 4090 / L4)"
+verifier_min_cpus = 2.0
+verifier_min_memory_gb = 4.0
+verifier_min_gpu_memory_gb = 1.5
+measured = "oracle trials of all 60 directories, RTX 4090 workstation, 2026-10-21 (docker stats every 3 s; the rcb_monitor's NVML samples): the sim sidecar 2.1 GB and 0.83 GiB of GPU memory (standard, chess; realtime 0.8 GB and 0.72 GiB), the agent's container (the client) 0.03 GB; the collect hook renders the video inside the sidecar (EGL)"
+
+[metadata.resources.limits]
+# agent-phase limits in GiB (docs/protocol/README.md §2.10); scope: trial = every container, agent = the agent's container;
+# enforced from protocol v1.2 when RCB_LIMITS_ENFORCE=1 (a violation fails the trial), otherwise recorded only
+scope = "agent"
+max_gpu_memory_gb = 0.0
+max_memory_gb = 8.0
+max_processes = 512
+max_disk_gb = 20.0
+disk_paths = ["/app", "/tmp", "/root"]
+disk_exclude = []
+sustain_sec = 60.0
+window_sec = 120.0
+trial_max_gpu_memory_gb = 5.0
+trial_max_memory_gb = 16.0
+measured = "the agent's container holds Python and the client only (0.03 GB in the oracle trials, no GPU); the whole trial adds the sim sidecar (2.1 GB and 0.83 GiB of GPU memory at most in the oracle trials, 2026-10-21) under its 10 GiB cap; processes 512 and disk 20 GiB: design defaults"
+
+[metadata.resources.caps]
+# docker caps per compose service, applied from protocol v1.2 (docs/protocol/README.md §2.10)
+main = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+sim = { cpus = 4.0, memory_gb = 10.0, pids = 8192 }
+
+[metadata.seeds]
+# the instances this task may run from (docs/protocol/README.md §2.13): the default, the ones a runner may draw
+# from (a list, { from = A, to = B } or "any"), and the ones the reference solution under solution/ is for
+default = 0
+allowed = [0]
+oracle = [0]
+
+[verifier]
+timeout_sec = 600.0
+environment_mode = "separate"
+network_mode = "no-network"
+
+# Resource limits (docs/protocol/README.md §2.10): seal the monitor's record first, before any other sidecar ends the episode.
+[[verifier.collect]]
+service = "rcb_monitor"
+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"
+timeout_sec = 120
+
+# The agent's time is up: stop whatever it left running in its container.
+[[verifier.collect]]
+service = "main"
+command = "kill -9 -1 2>/dev/null; exit 0"
+timeout_sec = 30
+
+[[verifier.collect]]
+service = "sim"
+command = "sh /opt/abc-tools/standard/finalize.sh" # end + dump + exit the service, the live verdict into final.json, then the video
+timeout_sec = 1800
+
+[agent]
+timeout_sec = 3600.0
+network_mode = "allowlist" # model APIs and package registries (scripts/set_agent_egress.py); PROTOCOL §2.11
+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]
+
+[environment]
+build_timeout_sec = 1800.0
+cpus = 4
+memory_mb = 10240
+
+[verifier.env]
+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-standard/tests/Dockerfile b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/tests/Dockerfile
new file mode 100644
index 0000000000..7426d4c396
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/tests/Dockerfile
@@ -0,0 +1,8 @@
+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).
+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f
+COPY test.sh /tests/test.sh
+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.2.0@sha256:f8ebfef83b723e4a1cc2ab7b7aa5bc1edbcefcc09d44b0506c070460854be064 /v2_1/grade.py /tests/grade.py
+RUN chmod +x /tests/test.sh
+# resource limits: the verifier step (from the monitor image) and its copy of the limits (docs/protocol/README.md §2.10) # rcb-monitor
+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.3.0@sha256:53154417782408df8309194971b08b18c3682d2b337e2e3b2eb4c88fe025ab85 /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py
+COPY rcb_limits.json /tests/rcb_limits.json
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-standard/tests/rcb_limits.json b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/tests/rcb_limits.json
new file mode 100644
index 0000000000..6be09cd281
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/tests/rcb_limits.json
@@ -0,0 +1,39 @@
+{
+ "agent_timeout_sec": 3600,
+ "caps": {
+ "main": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ },
+ "sim": {
+ "cpus": 4.0,
+ "memory_gb": 10.0,
+ "pids": 8192
+ }
+ },
+ "disk_exclude": [],
+ "disk_paths": [
+ "/app",
+ "/tmp",
+ "/root"
+ ],
+ "disk_tick_sec": 60,
+ "format": "rcb-limits/1",
+ "gpu": false,
+ "max_disk_gb": 20.0,
+ "max_gpu_memory_gb": 0.0,
+ "max_memory_gb": 8.0,
+ "max_processes": 512,
+ "mode": "standard",
+ "scope": "agent",
+ "scope_services": [
+ "main"
+ ],
+ "sustain_sec": 60.0,
+ "task": "abc-sim-turn-mug-i00-standard",
+ "tick_sec": 5,
+ "trial_max_gpu_memory_gb": 5.0,
+ "trial_max_memory_gb": 16.0,
+ "window_sec": 120.0
+}
diff --git a/tasks/abc-sim/abc-sim-turn-mug-i00-standard/tests/test.sh b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/tests/test.sh
new file mode 100755
index 0000000000..aa32cadb9e
--- /dev/null
+++ b/tasks/abc-sim/abc-sim-turn-mug-i00-standard/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.
+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent
+# left there (a planted reward, a symlink) can count. rm never follows symlinks.
+rm -rf /logs/verifier/*
+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resource limits, after the grader (docs/protocol/README.md §2.10)
+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # the agent's files are untrusted input: no link out of /app/output, no FIFO or device (docs/protocol/README.md §2.6)
+mkdir -p /logs/verifier
+python /tests/grade.py 2> /logs/verifier/grade.log