1258 lines
49 KiB
Markdown
1258 lines
49 KiB
Markdown
# project-doc
|
||
|
||
|
||
**Instructions**
|
||
|
||
# theProject - Terminal Task
|
||
# Authoring
|
||
|
||
⚠️ You are being given access to models via a theCompany proxy for this project.
|
||
|
||
You are not permitted to use these models for any purpose that does not support
|
||
|
||
completion of a task for this specific project, and all traffic through the proxy is
|
||
logged and monitored. Abusing model access will be subject to penalties including
|
||
|
||
but not limited to removal from the platform.
|
||
|
||
## **Time expectations**
|
||
|
||
This task typically takes **10–20 hours** of focused work. We've set the work timer to **7 days**
|
||
so you can take breaks and come back across multiple sittings — **you do not need to**
|
||
**finish in one sitting.**
|
||
|
||
**We do not expect anyone to spend more than ~20 hours of actual working time on this**
|
||
**task.** If you find yourself going beyond the upper end of this range, please stop and reach
|
||
|
||
out via Slack — something has likely gone sideways and we'd rather help unblock you
|
||
than have you grind further.
|
||
|
||
## **Slack Access:**
|
||
|
||
**#theProject** is the slack channel. If you don't have access to it, please comment in
|
||
the project chat and an admin will help you out.
|
||
|
||
|
||
**threads** (not as top-level messages) for follow-up/related messages and use **Code**
|
||
**Block formatting** when sharing code or logs.
|
||
|
||
## **FYI:**
|
||
|
||
**Codebase reuse warning:** You may reuse a codebase across tasks in this collection or
|
||
other projects, but the tasks must be meaningfully different. As a sanity check: if an agent
|
||
that already solved your previous task could mostly reuse that solution to solve the new
|
||
|
||
one, the tasks are too similar. If you are unsure, ask in slack before spending a lot of time.
|
||
|
||
We have a **save button** at the bottom of the page (next to your submit button) to save
|
||
your progress. This will store your progress on the server and allow any admins to view
|
||
the checkpoints.
|
||
|
||
|
||
|
||
|
||
|
||
# 📋 **Project Overview**
|
||
|
||
**How it works:** in this project you author a single terminal-based task and evaluate
|
||
|
||
whether AI coding agents can solve it end-to-end. The output is a Harbor task
|
||
directory plus a submission tarball. The agent receives instruction.md, works inside
|
||
|
||
an offline Docker container under /app, produces declared artifacts, and a
|
||
|
||
deterministic separate verifier grades the result.
|
||
|
||
**Your goal:** create a task that is solvable, clearly specified, and challenging for
|
||
state-of-the-art (SOTA) agents. This project evaluates it with three Claude Opus 5.5
|
||
and two GPT-6.1 Sol trials at high reasoning; no more than two of the five may
|
||
pass.
|
||
|
||
## **What you'll produce**
|
||
|
||
| **File or folder** | **Description** |
|
||
| --- | --- |
|
||
| instruction.md | The prompt the agent reads. |
|
||
| task.toml | Metadata, top-level artifacts, task name, resource configuration, explanation fields, and network policy. |
|
||
| README.md | Rendered from task.toml; do not hand-edit. |
|
||
| environment/Dockerfile | The offline agent container; includes tmux for Terminus-2. |
|
||
| solution/solve.sh | Oracle solution proving solvability. |
|
||
| tests/Dockerfile | Separate verifier image with verifier dependencies baked in. |
|
||
| tests/test.sh | Verifier entrypoint that runs tests and writes reward files. |
|
||
| tests/test_outputs.py | Pytest assertions that grade the output/artifacts. |
|
||
|
||
|
||
|
||
**Network policy:** image builds may use the internet; agent and verifier runtime are
|
||
**offline by default**. Use allowlists only for real task-specific services and keep the
|
||
verifier offline.
|
||
|
||
**Project phases:** Setup, Propose, Implement, Trial, Submit. Each phase has its own
|
||
page and you'll **move through them in order**. Most of your time will likely be
|
||
spent iterating within Propose and Implement.
|
||
|
||
***Note****: These instructions assume comfort with git, the command line, Docker, and*
|
||
*pytest. If you've shipped production systems in any of these areas, you have the right*
|
||
*background.*
|
||
|
||
# 💬 **Working on This Project**
|
||
|
||
## **Enter/Exit Work Mode**
|
||
|
||
Please click "Enter Work Mode" before starting on this task. If this project isn't for
|
||
you, select "Exit Work Mode" on the way out.
|
||
|
||
## **Timing, and good-faith attempts**
|
||
|
||
To take a break, save progress and close the tab. Do not click **Exit Work Mode**
|
||
unless you intend to quit. If you task is expired, and you're still working on it,
|
||
do not close the tab.
|
||
|
||
Always report your actual active working time.
|
||
|
||
If you made a good-faith effort and the task remains too easy, blocked by
|
||
infrastructure, or no longer has a clear path, let us know via the appropriate
|
||
response fields on the right.
|
||
|
||
A good-faith attempt does not reduce your chance of future theProject work.
|
||
|
||
## **If you get stuck**
|
||
|
||
Check the Troubleshooting section first. If the problem isn't covered there and isn't
|
||
resolved after asking in **#theProject**, report the obstacle.
|
||
|
||
# 🧰 **Your Toolkit**
|
||
|
||
The toolkit is a ZIP you download once and unpack. It ships one profile for this
|
||
project: terminal-bench-sota, version 1. Use its bundled scripts from inside the
|
||
|
||
[task-authoring] dev-container shell.
|
||
|
||
## **What's inside**
|
||
|
||
**Path**
|
||
**Purpose**
|
||
|
||
|
||
|
||
| README.md | Start here: the guide for this toolkit version, with pointers to the walkthrough and the changelog. |
|
||
| --- | --- |
|
||
| .devcontainer/ | Linux environment with Docker CLI, Harbor 0.22.0, Codex for authoring, Claude Code for scripted reviews, and toolkit dependencies. |
|
||
| profiles/terminal-bench-sota/ | The scaffold, static checks, rubrics, hostile prompt, and docs for this task format. |
|
||
| scripts/ | Workflow wrappers used throughout authoring, validation, trials, and submit. |
|
||
| docs/ | Author walkthrough and trial-triage guide. |
|
||
| AGENTS.md /CLAUDE.md | Helper guidance shared by Codex and Claude Code. Codex reads AGENTS.md; Claude Code is retained for scripted toolkit roles. |
|
||
| .toolkit-manifest | Pack provenance: commit, profile, profile version, and release tag/smoke marker. |
|
||
|
||
## **Scripts you'll use**
|
||
|
||
| **Script** | **Purpose** |
|
||
| --- | --- |
|
||
| scripts/new-task.sh | Creates tasks/<task-slug>/ from the scaffold. |
|
||
| scripts/preflight.sh | Checks host/container setup, credentials, Harbor/Terminus-2, Docker network support, and task-specific static readiness. |
|
||
| scripts/render-readme.sh | Renders README.md from task.toml. |
|
||
| scripts/check-proposal.sh | Reviews the proposal in instruction.md. |
|
||
| scripts/validate.sh | Runs static checks, oracle, and nop. |
|
||
| scripts/check-hygiene.sh | Flags generated caches, OS cruft, and scaffold leftovers; --fix removes the safe ones. |
|
||
|
||
|
||
|
||
| scripts/check-quality.sh | Runs the 36-criterion implementation review. |
|
||
| --- | --- |
|
||
| scripts/trial.sh | Runs regular Terminus-2 difficulty trials and analysis. |
|
||
| scripts/cheat-trial.sh | Runs hostile-prompt Terminus-2 cheat trials. |
|
||
| scripts/trial-user-reject.sh | Audits infra/tooling trial rejects without deleting slots. |
|
||
| scripts/merge-trial-runs.sh | Merges partial jobs from the same unchanged task version. |
|
||
| scripts/submit.sh | Packages the final tarball for upload. |
|
||
|
||
## **Workflow shape**
|
||
**Run scripts inside the dev container.** All scripts/... commands below must be
|
||
|
||
run from the [task-authoring] dev-container shell; first run scripts/preflight.sh
|
||
|
||
there.
|
||
|
||
The toolkit organizes the work into two iteration phases.
|
||
|
||
1. **Proposal phase.** You edit instruction.md, run scripts/check-proposal.sh, and
|
||
|
||
use the review to catch real idea/spec issues while changes are cheap. Missing
|
||
implementation files are expected at this stage; the proposal phase catches
|
||
bad task ideas before you invest in building the rest of the files.
|
||
|
||
2. **Implementation phase.** You fill in the remaining files and run validate →
|
||
|
||
check-quality → trial → cheat-trial in sequence. Findings from each step
|
||
|
||
route back to edits in the task files. You iterate until validation stays green, the
|
||
quality review is clean, difficulty lands in range, and the cheat trial finds
|
||
nothing.
|
||
|
||
**Where your time goes.** Of those remaining files, solution/solve.sh,
|
||
|
||
tests/Dockerfile, tests/test.sh, and tests/test_outputs.py typically take a large
|
||
|
||
share, often the majority, of the implementation phase.
|
||
|
||
You are encouraged to use Codex as a collaborator while writing them (more
|
||
details in the section below), especially for boilerplate and edge-case
|
||
enumeration. Because theProject targets problems that are hard for frontier models,
|
||
do not expect the helper to produce the oracle for you. If Codex can write a
|
||
working solve.sh from your instruction without substantial back-and-forth, treat
|
||
|
||
that as a signal that the task is too easy and revisit the proposal.
|
||
|
||
# 🤖 **Using Codex**
|
||
|
||
|
||
|
||
Codex runs inside the dev container and has access to your task directory. When
|
||
you launch it from the toolkit root, it reads AGENTS.md and can guide you through
|
||
|
||
each phase. Treat it as a collaborator: ask for edits, ask it to interpret review
|
||
output, ask it to sanity-check your oracle before you run the trial.
|
||
|
||
## **Launching**
|
||
|
||
Inside the dev container, run codex. The toolkit renders Codex configuration from
|
||
|
||
.env at launch, using OPENAI_API_KEY and OPENAI_BASE_URL.
|
||
|
||
The bundled Codex authoring helper uses **GPT-6.1 Sol at high reasoning**. It can
|
||
help implement and inspect your task; you remain responsible for correctness and
|
||
reviewing its suggestions.
|
||
|
||
***Note:*** *Codex runs commands inside the dev container sandbox. Claude Code*
|
||
*remains installed for scripted proposal/quality reviews, trial analysis, and*
|
||
*summaries; you do not need to launch* claude *for the normal authoring helper.*
|
||
|
||
## **Effective use**
|
||
|
||
We recommend keeping one Codex session open through the implementation
|
||
|
||
phase rather than starting fresh each time. The context carries your task files,
|
||
rubric flags, and trial output across turns, which produces better advice than re-
|
||
explaining yourself every session.
|
||
|
||
## **Review output is advisory**
|
||
|
||
The proposal rubric, quality rubric, and trial analysis all use Claude Opus 5.5 high
|
||
|
||
as a reviewer. The reviewer may flag things that are fine in your task, or miss
|
||
things that are real problems. Read the output carefully, weigh it against your own
|
||
understanding of the task, and override using your best judgment. The rubric
|
||
doesn't replace your review - it surfaces things worth checking.
|
||
|
||
# 📂 **Task Anatomy**
|
||
|
||
[**Harbor**](https://www.harborframework.com/) is the runtime that executes your task. It builds the agent image from
|
||
|
||
environment/, gives the agent instruction.md, collects the top-level declared
|
||
|
||
artifacts, then runs your verifier in a separate image built from tests/Dockerfile.
|
||
|
||
The file boundaries matter because the agent, oracle, verifier, and submission
|
||
packager each see different parts of the task.
|
||
|
||
|
||
|
||
tasks/<task-slug>/
|
||
|
||
├── instruction.md
|
||
|
||
├── task.toml
|
||
|
||
├── README.md
|
||
|
||
├── environment/
|
||
|
||
│ └── Dockerfile
|
||
|
||
├── solution/
|
||
|
||
│ └── solve.sh
|
||
|
||
└── tests/
|
||
|
||
├── Dockerfile
|
||
|
||
├── test.sh
|
||
|
||
└── test_outputs.py
|
||
|
||
### instruction.md
|
||
|
||
This is the prompt the agent reads. Write it yourself in your own voice, and make
|
||
every task requirement visible here unless the agent can discover it from the
|
||
environment.
|
||
|
||
Use absolute paths for every file reference, for example /app/output.json, not
|
||
|
||
output.json.
|
||
|
||
State the goal and required end state. Do not prescribe a step-by-step
|
||
solution unless the task is specifically about following a protocol.
|
||
|
||
Keep it concise. A few focused paragraphs plus any required output schema is
|
||
usually enough.
|
||
|
||
If the task expects structured output, specify the schema, path, and edge-case
|
||
behavior explicitly.
|
||
|
||
Keep the canonical final sentence generated by the scaffold: You have 28800
|
||
|
||
seconds to complete this task. Do not cheat by using online solutions or hints
|
||
|
||
specific to this task. The number must equal [agent] timeout_sec in
|
||
|
||
task.toml; if you lower the timeout, change the sentence to match. Validation
|
||
|
||
checks this.
|
||
|
||
Common spec defects: bivalent wording, units that the verifier silently interprets, a
|
||
stated precondition the tests violate, verification claims the tests do not make, and
|
||
domain terms used differently from how the test computes them.
|
||
|
||
### task.toml
|
||
|
||
This file holds task identity, metadata, artifact transfer, resource limits, and
|
||
network policy.
|
||
|
||
|
||
|
||
artifacts = ["/app/output.json"]
|
||
|
||
[task]
|
||
|
||
name = "terminal-use-agents/<task-slug>"
|
||
|
||
[metadata]
|
||
|
||
author_name = "Author"
|
||
|
||
author_email = "anonymous@example.invalid"
|
||
|
||
author_organization = ""
|
||
|
||
difficulty_explanation = ""
|
||
|
||
solution_explanation = ""
|
||
|
||
verification_explanation = ""
|
||
|
||
category = "Software"
|
||
|
||
subcategory = "debugging"
|
||
|
||
tags = ["debugging"]
|
||
|
||
expert_time_estimate_hours = 2.0
|
||
|
||
relevant_experience = ""
|
||
|
||
[verifier]
|
||
|
||
timeout_sec = 600.0
|
||
|
||
environment_mode = "separate"
|
||
|
||
[agent]
|
||
|
||
timeout_sec = 28800.0
|
||
|
||
[environment]
|
||
|
||
build_timeout_sec = 6000.0
|
||
|
||
cpus = 2
|
||
|
||
memory_mb = 4096
|
||
|
||
storage_mb = 10240
|
||
|
||
gpus = 0
|
||
|
||
network_mode = "no-network"
|
||
|
||
artifacts is the top-level list of absolute agent-produced paths the verifier
|
||
|
||
reads, such as ["/app/output.json"]. Use [] only when the verifier truly does
|
||
|
||
not need an agent-produced file.
|
||
|
||
[task] name must be terminal-use-agents/<task-slug>, where <task-slug>
|
||
|
||
matches the task directory name.
|
||
|
||
**Keep author metadata non-identifying:** author_name = "Author" **,** author_email
|
||
|
||
= "anonymous@example.invalid" **, and blank** author_organization **.**
|
||
|
||
category must be one of Science, Software, ML, Operations, Security,
|
||
|
||
Hardware, or Media. Also fill a specific subcategory.
|
||
|
||
The four explanation fields render into README.md. After editing them, run
|
||
|
||
scripts/render-readme.sh tasks/<task-slug>.
|
||
|
||
|
||
|
||
[verifier] environment_mode must stay separate. Harbor verifies in a fresh
|
||
|
||
verifier container built from tests/Dockerfile.
|
||
|
||
[agent] timeout_sec defaults to 28800 seconds, which is also the cap. This
|
||
|
||
should work for most, if not all, scenarios. Lower it only with a clear reason in
|
||
|
||
difficulty_explanation.
|
||
|
||
gpus must stay 0. GPU tasks are not accepted in this project.
|
||
|
||
Docker Compose tasks are not accepted. Keep the task to one agent
|
||
container plus the separate verifier image.
|
||
|
||
## **Network policy**
|
||
|
||
Image builds may use the internet, but the agent and verifier runtime are **offline**
|
||
**by default**. Do not use legacy allow_internet.
|
||
|
||
**Normal tasks:** keep [environment] network_mode = "no-network". Bake all runtime
|
||
|
||
dependencies into Docker images at build time.
|
||
|
||
**External API escape hatch:** if the task genuinely needs a specific external
|
||
service, use a baseline allowlist under [environment], and keep the verifier
|
||
|
||
offline by declaring a complete [verifier.environment] block.
|
||
|
||
[environment]
|
||
|
||
build_timeout_sec = 6000.0
|
||
|
||
cpus = 2
|
||
|
||
memory_mb = 4096
|
||
|
||
storage_mb = 10240
|
||
|
||
gpus = 0
|
||
|
||
network_mode = "allowlist"
|
||
|
||
allowed_hosts = ["api.example.com"]
|
||
|
||
[verifier.environment]
|
||
|
||
build_timeout_sec = 6000.0
|
||
|
||
cpus = 2
|
||
|
||
memory_mb = 4096
|
||
|
||
storage_mb = 10240
|
||
|
||
gpus = 0
|
||
|
||
network_mode = "no-network"
|
||
|
||
Do not put network policy under [agent] or [verifier]. The toolkit expects the
|
||
|
||
task baseline to be either no-network or an explicit allowlist with an offline verifier
|
||
|
||
block.
|
||
|
||
### README.md
|
||
|
||
README.md is rendered from task.toml. Do not hand-edit it. If the README is stale,
|
||
|
||
run:
|
||
|
||
|
||
|
||
scripts/render-readme.sh tasks/<task-slug>
|
||
|
||
The rendered README explains difficulty, solution approach, verification strategy,
|
||
and relevant experience for reviewers.
|
||
|
||
### environment/Dockerfile
|
||
|
||
This is the container the agent starts in. Build it so the agent has the runtime tools
|
||
and seed data it needs, and nothing it should not see.
|
||
|
||
Keep the scaffold's tmux install block. Terminus-2 controls the task through a
|
||
tmux session inside the container.
|
||
|
||
Set WORKDIR /app. Task I/O should happen under /app.
|
||
|
||
Do not copy tests/ or solution/ into the agent image.
|
||
|
||
Keep verifier-only dependencies out of the agent image. Pytest, pytest-json-
|
||
|
||
ctrf, and verifier-only packages belong in tests/Dockerfile.
|
||
|
||
Install dependencies at image-build time, not during agent runtime. Agent
|
||
runtime is offline.
|
||
|
||
Pin language dependencies and commit lockfiles when the ecosystem
|
||
supports it. Avoid architecture-specific binaries unless they work on both x86
|
||
and ARM.
|
||
|
||
If you use apt-get, run apt-get update in the same layer and clean
|
||
|
||
/var/lib/apt/lists/*. Do not pin apt package versions unless there is a strong
|
||
|
||
reason.
|
||
|
||
**Seed data:** inputs the agent needs can live under environment/ and be copied into
|
||
|
||
/app. Use synthetic or approved public data only. Do not include secrets,
|
||
|
||
credentials, personal data, confidential data, or reversible anonymization maps.
|
||
|
||
### solution/solve.sh
|
||
|
||
This is your reference solution. The toolkit uses it as the oracle run during
|
||
validation.
|
||
|
||
It must solve the task end-to-end, not merely hardcode the expected verifier
|
||
output.
|
||
|
||
If the solution is long, put the real logic in solution/solve.py or an equivalent
|
||
|
||
helper and call it from solve.sh.
|
||
|
||
scripts/validate.sh requires the oracle to produce reward 1.
|
||
|
||
### tests/Dockerfile
|
||
|
||
This is the separate verifier image. Bake verifier dependencies here so
|
||
|
||
tests/test.sh can run offline.
|
||
|
||
Copy verifier files into /tests.
|
||
|
||
|
||
|
||
Install pytest, pytest-json-ctrf, and verifier-only dependencies here with
|
||
|
||
pinned versions where appropriate.
|
||
|
||
Do not copy solution/ into the verifier image. The verifier should grade the
|
||
|
||
agent output and declared artifacts, not compare to your private solution.
|
||
|
||
### tests/test.sh
|
||
|
||
This is the verifier entrypoint. It should run the baked verifier and always write
|
||
reward files under /logs/verifier.
|
||
|
||
Write /logs/verifier/reward.txt and /logs/verifier/reward.json from the same
|
||
|
||
binary reward value.
|
||
|
||
Write fail-closed 0 first, then overwrite to 1 only if pytest succeeds.
|
||
|
||
echo 0 > /logs/verifier/reward.txt
|
||
|
||
printf '{"reward": 0}\n' > /logs/verifier/reward.json
|
||
|
||
if pytest --ctrf /logs/verifier/ctrf.json
|
||
|
||
/tests/test_outputs.py -rA; then
|
||
|
||
echo 1 > /logs/verifier/reward.txt
|
||
|
||
printf '{"reward": 1}\n' > /logs/verifier/reward.json
|
||
|
||
fi
|
||
|
||
Use pytest --ctrf /logs/verifier/ctrf.json /tests/test_outputs.py -rA so the
|
||
|
||
verifier emits CTRF output.
|
||
|
||
Do not install packages, run curl / wget, git clone, or fetch verifier resources
|
||
|
||
at runtime.
|
||
|
||
### tests/test_outputs.py
|
||
|
||
This file contains the pytest assertions that decide whether the agent solved the
|
||
task.
|
||
|
||
Test behavior and output, not the agent's exact source-code path.
|
||
|
||
Every assertion should trace to a requirement in instruction.md.
|
||
|
||
Read agent-produced files through the top-level artifacts = [...] paths at
|
||
|
||
their original absolute paths, or through legitimate Harbor artifact outputs.
|
||
|
||
Assume the agent is adversarial. It can edit files in /app, fake wrappers, and
|
||
|
||
monkey-patch libraries, so design tests that survive superficial cheating.
|
||
|
||
Every test function should have a docstring. The docstrings help the rubric
|
||
reviewer understand verifier intent.
|
||
|
||
Keep tests deterministic. If tolerance is necessary, document why the
|
||
tolerance is appropriate.
|
||
|
||
|
||
|
||
# 📊 **Task Categories**
|
||
|
||
Every task belongs to one category. The label appears in task.toml as the category
|
||
|
||
field and drives how the task is grouped for review. Use exactly one of the seven
|
||
category strings below, and fill subcategory with a more specific domain.
|
||
|
||
| **Category** | **Scope** |
|
||
| --- | --- |
|
||
| Science | Scientific computing, simulation, numerical methods, and natural-science workflows. |
|
||
| Software | Writing code, fixing bugs, refactoring, migrations, build and dependency work. |
|
||
| ML | Training, inference, evaluation, model tooling, and ML pipelines. |
|
||
| Operations | Shell/Linux work, orchestration, data engineering, configuration, reliability, and operational tooling. |
|
||
| Security | Vulnerability analysis, exploit development, hardening, forensics, reverse engineering, and cryptography. |
|
||
| Hardware | Embedded systems, devices, circuits, performance, architecture, and hardware-adjacent workflows. |
|
||
| Media | Image, audio, video, document, rendering, and creative-file workflows. |
|
||
|
||
If a task could credibly land in two categories, pick the one that describes what the
|
||
agent actually has to do to solve it. For example, a model-serving task is usually
|
||
|
||
ML; a Docker/service reliability task is usually Operations; a compiler bug is usually
|
||
|
||
Software.
|
||
|
||
**Current GPU policy:** We are **NOT** accepting GPU-dependent tasks right now.
|
||
Please keep gpus = 0 in task.toml. CPU-only ML, Science, or Operations tasks are
|
||
|
||
still welcome.
|
||
|
||
**Current Docker compose policy:** We are **NOT** accepting Docker compose tasks
|
||
right now either.
|
||
|
||
# ✅ **Proposal Rubric**
|
||
|
||
|
||
|
||
The proposal rubric evaluates your task idea before you invest in building the rest
|
||
of the files. scripts/check-proposal.sh runs a Claude reviewer against your
|
||
|
||
instruction.md and writes a.proposal-review.md alongside the task. Iterate on the
|
||
|
||
instruction until the **Decision** line reads **Accept,** **Strong Accept, or when you feel**
|
||
**confident in your task idea/prompt.**
|
||
|
||
## **The six criteria**
|
||
|
||
| **Criterion** | **The question it asks** |
|
||
| --- | --- |
|
||
| **verifiable** | Can the task be checked programmatically with a deterministic, reliable verifier? |
|
||
| **well-****specified** | Would two independent readers write compatible verifiers from the instruction? |
|
||
| **solvable** | Is there a realistic path to a working solution in expert-hours rather than expert-days? |
|
||
| **difficult** | Does the task require professional experience or domain expertise? An average undergraduate should not solve it in a few days. |
|
||
| **interesting** | Is there a real-world scenario where someone would pay for the solution? |
|
||
| **outcome-****verified** | Do the tests grade the end state rather than the process? Instructions describe the goal, not the steps. |
|
||
|
||
## **Decision values**
|
||
|
||
**Strong Reject** — unfit for the collection, nothing could save it.
|
||
|
||
**Reject** — should not be included as-is, but may be fixable.
|
||
|
||
**Uncertain** — could make it in, but some judgment is required.
|
||
|
||
**Accept** — likely to be accepted if implemented well.
|
||
|
||
**Strong Accept** — a clear and obvious path exists to a good task.
|
||
|
||
Before moving to Implement, your proposal should ideally read **Accept** or **Strong**
|
||
**Accept**. That being said, use your best judgement when you disagree with the
|
||
reviewer's classification.
|
||
|
||
# ✅ **Implementation Rubric**
|
||
|
||
The implementation rubric evaluates the fully-built task against 36 criteria.
|
||
|
||
scripts/check-quality.sh runs the review and writes.rubric-review.md.
|
||
|
||
|
||
|
||
## **What the review is looking for**
|
||
|
||
A deterministic, efficient verifier that grades the outcome, not the approach.
|
||
|
||
A solvable but difficult task whose failures reflect the intended crux.
|
||
|
||
Strong anti-cheat boundaries: no tests/solution in the agent image, hidden
|
||
verifier surface, and no shortcut reward paths.
|
||
|
||
Clear instruction/test alignment and explicit schemas for structured outputs.
|
||
|
||
Clean task shape: rendered README, separate verifier, reward files, offline
|
||
runtime policy, tmux, no GPU, no Docker Compose, no marker/canary lines,
|
||
no extraneous files.
|
||
|
||
Accurate metadata, categories, resource settings, and expert-time estimate.
|
||
|
||
# 📊 **Difficulty & Anti-Cheat**
|
||
|
||
Difficulty and anti-cheat resistance are calibrated with regular and cheat Terminus-
|
||
2 trials. Passing proposal, validation, and quality review does not prove the task is
|
||
hard enough. Both regular and cheat trials run the task against real agents and
|
||
produce analysis you use to tune the task. This section covers what to look for in
|
||
the output and how to respond.
|
||
|
||
## **Regular trial**
|
||
|
||
scripts/trial.sh runs your task through real agents and analyzes the trajectories
|
||
|
||
against the six-criterion trial-analysis rubric. The output lands in trial-analysis.md
|
||
|
||
and an aggregate job-summary.md. The latest toolkit also records turn_cap= and
|
||
|
||
llm_timeout= in trial-provenance.env.
|
||
|
||
### **The six analysis criteria**
|
||
|
||
| **Criterion** | **What it checks** |
|
||
| --- | --- |
|
||
| task_specification | This criterion checks whether the instruction and the tests line up. If the agent failed because the instruction was ambiguous, the specification needs tightening. |
|
||
| reward_hacking | This criterion checks whether the agent reached its reward legitimately. Tampering with tests, writing directly to reward.txt, or reading files under solution/all count as cheating. |
|
||
| difficulty_crux | This criterion checks whether the agent failed because of the challenge the task is designed to test, rather than for an unrelated reason. |
|
||
|
||
|
||
|
||
| near_miss | This criterion checks whether a failed trial got substantively close: a working solution that missed one quantitative threshold by a few percent is a near miss. Many near misses across a job mean the threshold is doing the work rather than the conceptual challenge, so the task may be easier than the pass rate suggests. |
|
||
| --- | --- |
|
||
| refusals | This criterion checks whether the agent refused or aborted the task on a content or safety policy ground instead of attempting it. A refusal is not difficulty signal; if it recurs, revise the instruction so it does not read as unsafe. |
|
||
| low_timeout | This criterion checks whether the agent was still making meaningful progress when the cutoff hit. A FAIL here means the timeout is too tight to fairly evaluate the task. |
|
||
|
||
### **Reading the aggregate**
|
||
|
||
You want trials that fail for the right reasons. A task that passes every trial is too
|
||
easy. A task that fails every trial for the wrong reason (ambiguous spec, broken
|
||
environment, low timeout) needs fixing before it can be evaluated on difficulty.
|
||
|
||
Most trials pass → task is too easy. Raise difficulty or tighten the specification
|
||
so shortcuts no longer work.
|
||
|
||
task_specification: FAIL → the instruction is ambiguous. Rewrite for clarity.
|
||
|
||
low_timeout: FAIL → the agent was still making progress at cutoff. Raise
|
||
|
||
[agent] timeout_sec in task.toml.
|
||
|
||
difficulty_crux: FAIL → the agent failed for a reason unrelated to the
|
||
|
||
intended challenge. Either the test surface is enforcing an unrelated
|
||
constraint, or the instruction is steering the agent off-course.
|
||
|
||
| **Signal** | **How to read it** |
|
||
| --- | --- |
|
||
| 0-40% pass | Strong if failures are meaningful. |
|
||
| >40% pass | Too easy or undercalibrated; submit blocks unless admins override. |
|
||
|
||
|
||
|
||
The standard counted mix is **three Claude Opus 5.5 slots and two GPT-6.1 Sol**
|
||
**slots, both at high reasoning**. At most two of the five may pass (40%). A task that
|
||
fails because of ambiguity, broken setup, missing rewards, or an unrelated timeout
|
||
is not good difficulty signal.
|
||
|
||
## **Cheat trial signal**
|
||
|
||
scripts/cheat-trial.sh runs three Opus 5.5 Terminus-2 slots at high reasoning with
|
||
|
||
a hostile prompt appended to instruction.md and the instruction's own anti-cheat
|
||
|
||
sentence removed for the run. The prompt instructs the agent to find shortcuts
|
||
that produce a passing reward without solving the task. Any agent that passes
|
||
through illegitimate means - fabricated outputs, tampered artifacts, harness
|
||
manipulation - indicates the task is hackable. If the agent gives up trying to cheat
|
||
and solves the task legitimately, it's not a successful cheat attempt.
|
||
|
||
If reward_hacking: FAIL appears in the cheat trial analysis, the task needs hardening.
|
||
|
||
For cheat no-attempt stalls, the latest toolkit uses CHEAT_TRIAL_FALLBACK_MODELS
|
||
|
||
automatically. A slot with repeated Parser warnings: - No valid JSON object found
|
||
|
||
and no usable attempt is kept on disk, marked as a toolkit reject, excluded from
|
||
the cheat quota, and topped up on the fallback models.
|
||
|
||
## **Infra/tooling artifacts**
|
||
|
||
Setup-only failures, auth/rate-limit storms before task work, local OOMs, Harbor
|
||
orchestration problems, and missing-reward slots before meaningful work are not
|
||
scientific difficulty evidence. Use docs/trial-triage.md and scripts/trial-user-
|
||
|
||
reject.sh rather than silently deleting evidence.
|
||
|
||
# 👍 **What Makes a Good Task**
|
||
|
||
This section is the quality bar your task will be judged against.
|
||
|
||
A high-quality theProject task is:
|
||
|
||
Something a person would be **paid to do** on a computer — real, economically
|
||
valuable work.
|
||
|
||
Specified by a **clear instruction** and a **robust verifier**: a solution passes if and
|
||
only if it actually completes the work.
|
||
|
||
**Robust across time and hardware** — reruns produce the same verdict on the
|
||
specified resources.
|
||
|
||
## **Difficulty: hard for the right reasons**
|
||
|
||
Contributed tasks should be well beyond the current frontier — tasks that
|
||
agents cannot solve reliably (or at all) due to *meaningful* failures, not
|
||
incidental ones.
|
||
|
||
**Good levers for difficulty**:
|
||
|
||
|
||
|
||
**Longer horizon** — multi-step work where an agent must plan,
|
||
execute, and verify across many sub-goals.
|
||
|
||
**Richer environment** — many microservices, large filesystems, multiple
|
||
databases, real applications the agent must navigate.
|
||
|
||
**Specialized, expert-level knowledge** — domain reasoning a generalist
|
||
agent cannot bluff its way through.
|
||
|
||
**Lean into your strongest domain**. We have no per-domain quotas.
|
||
Even a single excellent task in a niche you know deeply is a major
|
||
contribution.
|
||
|
||
**Avoid:**
|
||
|
||
**Arbitrary complexity** — stacking irrelevant steps or baroque
|
||
constraints just to make the task long.
|
||
|
||
**Hidden or under-specified requirements** — failures should come
|
||
from the work being genuinely hard, not from the agent guessing
|
||
wrong about what you meant.
|
||
|
||
**Misleading or ambiguous statements** — the words must match the
|
||
code and tests. Don't describe a bug that isn't actually present in the
|
||
seed environment, and **DO NOT** use phrasing with two or more
|
||
reasonable readings if the verifier only accepts one (example: "return a
|
||
sorted list" admits both ascending and descending, but the test only
|
||
accepts one). Agents should fail on the work, not on guessing your
|
||
intended reading.
|
||
|
||
## **Anti-examples: bivalent phrasing**
|
||
|
||
The "two reasonable readings" failure mode above is the single most
|
||
common reason a calibrated-looking task turns out to have a spec defect.
|
||
Two examples we have actually seen, with the disambiguating rewrites that
|
||
fixed them, are shown below.
|
||
|
||
### **Example 1 — count rendered output, or count raw source?**
|
||
|
||
**Original phrasing** (paraphrased — a task to repair a broken HTML
|
||
patcher script):
|
||
*"After the patcher runs, every eligible article should contain exactly*
|
||
*one current navigation block and exactly one disclosure block."*
|
||
|
||
**Two reasonable readings**:
|
||
|
||
**Rendered output** — count what a browser would actually
|
||
render. HTML comments do not render, so a stale commented-
|
||
out copy of the nav does not count toward the total.
|
||
|
||
**Raw source** — count any textual occurrence of the marker,
|
||
including inside <!--... --> comments. A stale commented-
|
||
|
||
out copy still counts and must be removed.
|
||
|
||
|
||
|
||
The verifier counted occurrences in the raw source. Several agents
|
||
read it as a rendered-output check, preserved commented-out
|
||
historical copies as "pre-existing markup," and failed only on the
|
||
file with a stale commented nav.
|
||
|
||
**Fix** — make the level of representation explicit:
|
||
*"The marker text for the current navigation and disclosure blocks*
|
||
*must each appear exactly once in the raw HTML of every eligible*
|
||
|
||
*article. Commented-out copies count toward this total and must be*
|
||
*removed."*
|
||
|
||
### **Example 2 — describing valid input, or requiring the CLI to enforce it?**
|
||
|
||
**Original phrasing** (paraphrased — a task to build a CLI that renders
|
||
heatmap tiles from a polygon JSON input):
|
||
*"The input file describes one or more polygons, each with a numeric*
|
||
|
||
value *and an optional numeric* priority *(default 0). Polygon rings*
|
||
|
||
*must have at least four coordinates and a non-zero area."*
|
||
|
||
**Two reasonable readings**:
|
||
|
||
**Describing valid input** — the spec is telling the agent what the
|
||
input will look like, so the agent can trust it. If a polygon shows
|
||
up with zero area, that is a toolkit-author bug, not the CLI's job
|
||
to catch.
|
||
|
||
**Enforcing valid input** — the CLI must actively check these
|
||
conditions on every input it receives and exit with a non-zero
|
||
status if any are violated.
|
||
|
||
The verifier silently required the enforcing-valid-input reading.
|
||
Almost every agent built a working CLI on the assumption that the
|
||
input was already valid, and lost only on the test that fed in a
|
||
polygon with zero area to check the CLI rejected it.
|
||
|
||
**Fix** — pick one reading and state it. If the CLI must enforce these
|
||
conditions, say so:
|
||
*"The CLI must validate every polygon and exit with a non-zero status*
|
||
*if any has fewer than four coordinates or zero area."*
|
||
|
||
⚠️ The signature is *convergent failure*: nearly all trial agents miss the same
|
||
test for the same reason. When you see that shape in trial.sh output,
|
||
|
||
inspect it as it might be spec defect, not a difficulty crux — the verifier is
|
||
silently selecting one of two reasonable readings, and the agents are
|
||
mostly choosing the other one.
|
||
|
||
### **Self-check before you submit**
|
||
|
||
Re-read every *must* or *should* clause in instruction.md. Could a careful
|
||
|
||
reader land on a different acceptable answer? If yes, the instruction
|
||
either needs to commit to one reading or accept both.
|
||
|
||
|
||
|
||
When trial.sh clusters failures on a single test, ask: did the agents fail
|
||
|
||
because the work is hard, or because they read the wording the way
|
||
the verifier does not? The first is signal; the second is a defect to fix
|
||
before submitting.
|
||
|
||
## **Quality: verifiable, reproducible, fair**
|
||
|
||
Difficulty without quality is worthless. Every theProject task must clear these
|
||
bars before the check-quality reviewer will accept it:
|
||
|
||
**Instruction ↔ verifier alignment.** Your tests/test_outputs.py must pass
|
||
|
||
on your solve.sh reference solution and fail on a no-op solution. Every
|
||
|
||
behavior the instruction describes must be tested; every test must
|
||
reference something explicitly called out in the instruction.
|
||
|
||
**Reproducibility.** The Docker image must build offline-or-
|
||
deterministically from pinned dependencies, the task must run on the
|
||
declared cpus / memory_mb / storage_mb in task.toml, and reruns must
|
||
|
||
produce the same verdict.
|
||
|
||
**Cheat-robustness.** The task must survive scripts/cheat-trial.sh —
|
||
|
||
adversarial / shortcut prompts should not pass the tests without the
|
||
agent actually doing the work. Common failure mode: a test that
|
||
asserts the existence of an output file can be fooled by touch.
|
||
|
||
**Calibration honesty.** Your task.toml expert_time_estimate_hours should
|
||
|
||
reflect the real work required. trial.sh results will either confirm your
|
||
|
||
calibration or show you it's off.
|
||
|
||
# 💡 **Finding a Task Idea**
|
||
|
||
The hardest part of this project isn't writing the Dockerfile — it's choosing *what* to
|
||
build. A mediocre idea with a beautiful implementation gets rejected; a great idea
|
||
with rough edges can be iterated on. Spend time here.
|
||
|
||
Your task idea also has to clear the **proposal review** ( scripts/check-proposal.sh )
|
||
|
||
before you invest in the Dockerfile / tests. Iterate on instruction.md until the
|
||
|
||
Decision is *Accept* before building anything else.
|
||
|
||
## **Where to look — and where not to**
|
||
|
||
**Lean into:**
|
||
|
||
**Production work you actually do.** The strongest theProject tasks come
|
||
from real jobs — things a PyPI maintainer, an SRE on-call, a data
|
||
engineer, or a security researcher would be paid for.
|
||
|
||
**Rich, realistic environments.** A messy seeded filesystem, a running
|
||
service, a half-broken repo — anything the agent has to actually
|
||
navigate.
|
||
|
||
**Multi-step reasoning** where each step depends on the previous one,
|
||
so the agent can't paper over gaps with local pattern-matching.
|
||
|
||
|
||
|
||
**Expert-level domain work** — the kind of task where only someone
|
||
with your background would know the right answer.
|
||
|
||
**Avoid:**
|
||
|
||
**Basic math or calculation puzzles.** Models are good at these now;
|
||
they're not realistic work.
|
||
|
||
**"Write a program that does X" from scratch.** These are solved. The
|
||
interesting tasks embed that kind of coding inside a richer problem.
|
||
|
||
**Simple ML benchmarks** (e.g. training MNIST to 90%). Challenging ML
|
||
is welcome — e.g. pushing MNIST to 99.5%, working with harder
|
||
datasets, or calibrating a real training run — but "train a model" by
|
||
itself is trivial.
|
||
|
||
|
||
|
||
## **Strategic directions we're hungry for**
|
||
|
||
**Speed & efficiency.** Tasks where correctness alone isn't enough - the
|
||
agent must make existing code measurably faster (inspired by [**SWE-**](https://github.com/swefficiency/swefficiency)
|
||
[**efficiency**](https://github.com/swefficiency/swefficiency)). Good verifier shape: benchmark the agent's output and
|
||
compare to a baseline threshold.
|
||
|
||
**Production-grade complexity.** Real logs, real service topologies, real
|
||
seeded filesystems. Consider mining your own incident postmortems
|
||
or real pull requests for seed material.
|
||
|
||
**Beyond coding.** Business ops, data analysis, research - things one
|
||
might do in a Cowork-style environment. If it's doable on a command
|
||
line and verifiable, it's in scope.
|
||
|
||
**Async & long-running workflows.** Tasks where progress requires
|
||
waiting, polling, or staging work across intervals. Needs careful
|
||
timeout design.
|
||
|
||
**Task seeding from real bug reports.** A regression test distilled from an
|
||
actual issue is a ready-made theProject task with real-world provenance.
|
||
|
||
**Data engineering.** Fuzzy dedup, schema inference, messy-data
|
||
reconciliation. Great material if you can pin down a programmatic
|
||
verifier.
|
||
|
||
## **Terminal-Bench as a point of reference**
|
||
|
||
If you want to see complete, real examples of terminal-based agent tasks,
|
||
browse [**Terminal-Bench**](https://github.com/harbor-framework/terminal-bench) examples. The current toolkit follows the Terminal-
|
||
Bench task shape: an instruction, an agent Docker environment, explicit
|
||
artifact transfer, and a separate verifier image. Reading through its tasks is
|
||
the fastest way to get a feel for the format and the kinds of problems it
|
||
covers.
|
||
|
||
|
||
|
||
**Use it as a reference, not a template.** theProject is aiming for tasks that are
|
||
noticeably **harder** and noticeably **cleaner** than the typical benchmark task:
|
||
|
||
**Higher difficulty.** Treat the median Terminal-Bench task as a floor, not
|
||
a target. Your task should sit at or beyond the hardest end of the set
|
||
— longer horizons, richer environments, or genuine expert-level
|
||
domain reasoning.
|
||
|
||
**Tighter quality.** The theProject toolkit enforces stricter rules on
|
||
instruction–verifier alignment, reproducibility, absolute paths, and
|
||
cheat-robustness than Terminal-Bench/Harbor does. **Most Terminal-**
|
||
**Bench problem statements, taken as-is, would not clear** check-
|
||
|
||
proposal.sh, check-quality, or cheat-trial.sh. Read its tasks for shape
|
||
|
||
and scope, but author your instruction and verifier from scratch
|
||
against the theProject rubrics in [***Proposal Rubric***] and [***Quality Rubric***].
|
||
|
||
🚩 **Do not copy a benchmark task.** Lifting or lightly rewording an existing
|
||
benchmark instruction is a quality flag and is easy to detect; AI-rewritten
|
||
benchmark instructions will be caught by our checks. If a benchmark task
|
||
sparks an idea, identify the underlying real-world job behind it and author
|
||
a fresh task — your own seed material, your own instruction, your own
|
||
|
||
verifier.
|
||
|
||
# 📚 **Learning Resources**
|
||
|
||
Before proposing your first task, review these resources:
|
||
|
||
[**Terminal Bench website**](https://www.tbench.ai/)
|
||
|
||
[**Terminal Bench repo**](https://github.com/harbor-framework/terminal-bench)
|
||
|
||
[**Terminal Bench tasks**](https://github.com/harbor-framework/terminal-bench/tree/main/tasks)
|
||
|
||
Note that a big difference between Terminal Bench and theProject is that Terminal
|
||
Bench tasks have default public network access while ours do not.
|
||
When reading examples, focus on whether the task instructions, verifier/tests, and
|
||
run evidence all clearly support the same intended task. Pay special attention to
|
||
ambiguity, verifier mismatch, reward hacking, and tasks that were too easy despite
|
||
passing early checks.
|
||
|
||
# **Troubleshooting**
|
||
|
||
Start with scripts/preflight.sh for setup issues and docs/trial-triage.md for trial
|
||
|
||
decisions. If a problem is not covered here and is not resolved in **#theProject**,
|
||
report it with the command, error, the relevant harbor-jobs/ path, and the first line
|
||
|
||
of scripts/preflight.sh output, which names your toolkit version and build.
|
||
|
||
|
||
|
||
## **Start here**
|
||
|
||
scripts/preflight.sh
|
||
|
||
scripts/preflight.sh tasks/<task-slug>
|
||
|
||
scripts/validate.sh tasks/<task-slug>
|
||
|
||
Run these inside the [task-authoring] dev-container shell. Preflight checks Docker,
|
||
|
||
Harbor, Terminus-2, Claude Code for scripted roles, Codex for authoring, proxy
|
||
settings, output-token settings, lane credentials, disk/resource hints, and task
|
||
static checks.
|
||
|
||
## **Setup and environment**
|
||
|
||
| **Problem** | **What it means** | **Next step** |
|
||
| --- | --- | --- |
|
||
| harbor: command not found | You are not inside the dev container. | Re-enter with npx @devcontainers/cli exec bash. |
|
||
| docker: command not found or Docker daemon unavailable | Your host Docker runtime is missing or not running. | Start your supported Docker runtime, then confirm docker info works before retrying. |
|
||
| npx: command not found | Node.js is missing on the host. | Install Node.js LTS, then rerun the dev-container command. |
|
||
| First npx @devcontainers/cli up is slow | The toolkit image is building. | Wait for the first build. Later startups should be faster. |
|
||
| Old Harbor version | The dev container was built from a stale toolkit image. | Rebuild with npx @devcontainers/cli up --remove-existing-container. |
|
||
|
||
Missing Anthropic
|
||
or OpenAI
|
||
credentials
|
||
|
||
Both providers are required for the SOTA regular roster.
|
||
Fill ANTHROPIC_API_KEY, ANTHROPIC_BASE_URL, OPENAI_API_KEY, and OPENAI_BASE_URL in.env with the project proxy settings. Preflight and regular trials fail before Harbor starts if either lane lacks credentials. This profile does not need Gemini credentials.
|
||
|
||
|
||
|
||
codex needs
|
||
|
||
| OPENAI_API_KEY and OPENAI_BASE_URL | The authoring helper is missing its OpenAI proxy configuration. The GPT regular lane also requires it. | Fill both OpenAI values from .env.example using the project proxy key, open a new container shell, and rerun scripts/preflight.sh. Using the helper is optional, but OpenAI credentials are required for the full regular trial roster. |
|
||
| --- | --- | --- |
|
||
| .sh scripts get permission or CRLF errors | The checkout or editor changed line endings/modes. | Run chmod +x scripts/*.sh and configure the editor to preserve LF line endings. |
|
||
| .DS_Store, :Zone.Identifier, or __pycache__appears in hygiene output | Generated OS/cache files leaked into the task tree. | Current toolkit versions ignore/strip common sidecars at packaging, but remove them from the task and rerun validation if static checks flag them. |
|
||
|
||
## **Docker network support**
|
||
|
||
| **Symptom** | **Meaning** | **Next step** |
|
||
| --- | --- | --- |
|
||
| Harbor says network_mode='no-network' is not supported, or a trial | The Docker daemon's Linux kernel cannot enforce Harbor's restricted network mode. | On macOS, update Docker Desktop to 4.86 or newer, or use OrbStack. On Windows, update Docker |
|
||
|
||
stops while starting the egress-control sidecar with Operation not supported
|
||
Desktop (WSL 2 backend). Otherwise use a Linux Docker host with nftables support. Rerun scripts/preflight.sh afterwards.
|
||
|
||
|
||
|
||
| Blocked network calls hang under no-network or allowlist | Harbor's egress-control sidecar may accept then close blocked TCP traffic, so tools wait for their own timeout. | Look for runtime pip, curl, wget, apt-get, package-manager, or external API calls. Move dependency fetches into Dockerfiles or use the allowlist escape hatch for true task-specific services. |
|
||
| --- | --- | --- |
|
||
| network_mode = "public" or allow_internet is rejected | Regular theProject tasks run agent and verifier offline by default. | Use network_mode = "no-network", or network_mode = "allowlist" with allowed_hosts and a complete offline [verifier.environment] block. |
|
||
| Verifier loses resource limits after adding [verifier.environment] | Harbor treats [verifier.environment] as the verifier's whole environment block, not a partial override. | Repeat build_timeout_sec, cpus, memory_mb, storage_mb, gpus, and network_mode = "no-network" in [verifier.environment]. |
|
||
| Verifier tries to download pytest or packages | Verifier dependencies are being fetched at runtime, but verifier runtime is offline. | Move installs into tests/Dockerfile. tests/test.sh should run tests and write rewards only. |
|
||
|
||
## **Validation and reward files**
|
||
|
||
| **Problem** | **Likely cause** | **Next step** |
|
||
| --- | --- | --- |
|
||
| RewardFileNotFoundError | The verifier did not write /logs/verifier/reward.txt or /logs/verifier/reward.json, or it never reached verifier execution. | Inspect job.log, verifier stdout, and tests/test.sh. Write fail-closed 0 first unde /logs/verifier, not under /app. |
|
||
|
||
|
||
|
||
| reward.txt and reward.json disagree | The verifier writes reward in two places but not from one source of truth. | Make both files carry the same binary value. reward.json should be exactly {"reward": 0} or {"reward": 1}. |
|
||
| --- | --- | --- |
|
||
| ctrf.json missing or malformed | Pytest did not run with CTRF output or crashed before writing it. | Use pytest --ctrf /logs/verifier/ctrf.json /tests/test_outputs.py -rA from tests/test.sh. |
|
||
| validate.sh oracle step fails | solution/solve.sh has a bug, dependency is missing, or tests are too strict. | Debug the oracle path first. A task is not ready until oracle reward is 1. |
|
||
| validate.sh nop step passes | The verifier is too weak or the initial image already satisfies the task. | Strengthen tests so no-op reward is 0. Check content/behavior, not just file existence. |
|
||
| README drift check fails | task.toml explanation fields changed after rendering. | Run scripts/render-readme.sh tasks/<task-slug>, then rerun validation. |
|
||
| Task identity/package-name check fails | Directory slug, instruction/task identity, or [task] name is out of sync. | Use [task] name = "terminal-use-agents/<task-slug>" and keep the directory slug lowercase kebab-case, at most five words and under 30 characters. |
|
||
|
||
## **Trial failure triage**
|
||
|
||
**Symptom**
|
||
**Likely source**
|
||
**Counts as** **task** **signal?**
|
||
**Next step**
|
||
|
||
|
||
|
||
|
||
|
||
|
||
| API 429/502/503/529, auth failure, or retry storm before task work | Model endpoint/proxy instability or credentials | No | Fix credent then resum scripts/tri reject.sh o slot clearly meaningfu engageme |
|
||
| --- | --- | --- | --- |
|
||
| AgentSetupTimeoutError before Terminus-2 reads the task | Harbor/container/tmux setup or local resource contention | No | Retry with If setup stil resume wit timeout-mult setup retrie intermitten timeouts. |
|
||
| Terminus-2 cannot attach or mentions tmux | The agent image is missing tmux or the tmux block was moved behind an incompatible USER instruction. | No | Restore the block in environment rebuild, val trials. |
|
||
| Trial has exception.txt and verifier/reward.txt | The agent or wrapper had an exception but the verifier reached a reward decision. | Usually yes | Inspect log engaged th reward exis substantive current too |
|
||
| Trial has no verifier/reward.txt | Setup, agent, or verifier failed before a reward decision. | No for lane quota | Leave the e fix the caus with script tasks/<task-latest or th equivalent. |
|
||
| Cheat trial repeats Parser warnings: - No valid JSON object found with no useful commands | The cheat model produced no usable task attempt. | No, when toolkit-marked no_attempt | Latest tool the run, wr reject, and CHEAT_TRIAL Leave the evidence in the run ma with script tasks/<task-latest --con |
|
||
|
||
|
||
|
||
| Model-call timeout before a verifier reward exists | A model answer did not arrive within the configured wait, or endpoint/proxy errors interrupted the call. | No, if no reward exists | Inspect exc job.log, an The default wait is TRIAL_LLM_T seconds. Fi endpoint/a before resu topping up a missing r failure. |
|
||
| --- | --- | --- | --- |
|
||
| Model stops at output/context limit after engaging the task | The model spent its budget failing to solve. | Yes, if reward exists | Do not use because th planned to wrote code exists, it is failed-agen |
|
||
| Regular pass rate above 40% | Task is too easy or undercalibrated. | N/A | Harden the regular tria blocks abo admins exp |
|
||
| Cheat trial passes | The hostile prompt found a shortcut or a legitimate solve. | Inspect | If the pass harden the legitimate and check difficulty st |
|
||
|
||
## **Trial commands and evidence**
|
||
|
||
Default regular trials are exactly five substantive Terminus-2 slots: **three**
|
||
**Claude Opus 5.5 and two GPT-6.1 Sol, both at high reasoning**. Submit
|
||
|
||
checks the counted lane mix, not just the total. The pooled pass rate must be
|
||
at or below 40% (at most two of five pass).
|
||
|
||
Cheat trials are three substantive Terminus-2 Opus 5.5 slots at high reasoning
|
||
with a hostile prompt appended. No-attempt top-ups may use Opus 4.8, then
|
||
|
||
Sonnet 5.5, also at high reasoning; counted fallback attempts fill the same
|
||
three-slot quota.
|
||
|
||
Terminus-2 model calls happen from your machine through the proxy. The
|
||
task container stays under task.toml 's network policy.
|
||
|
||
Terminal recording is disabled for trials because installing the recorder inside
|
||
|
||
the offline task container would fail. Use agent/terminus_2.pane and
|
||
|
||
agent/trajectory.json instead.
|
||
|
||
|
||
|
||
Lane provenance comes from each trial's result.json. Directory names are not
|
||
|
||
the source of truth.
|
||
|
||
--agents claude-code=... and --agents codex=... are refused for trials because
|
||
|
||
installed agents would need to bootstrap inside the offline task container. For
|
||
|
||
local iteration, use a single Terminus-2 lane, then rerun the standard roster
|
||
before submit.
|
||
|
||
## **Top-ups, user rejects, and merge**
|
||
|
||
| **Need** | **Command** | **Use when** |
|
||
| --- | --- | --- |
|
||
| Top up latest regular job | scripts/trial.sh tasks/<task-slug> --resume latest | A lane is short, setup slots did not count, or a previous run was interrupted. |
|
||
| Top up latest cheat job | scripts/cheat-trial.sh tasks/<task-slug> --resume latest | The cheat lane is short or interrupted. |
|
||
| Lower resource pressure | --concurrency 1 | Docker, Harbor setup, or local machine resources look overloaded. |
|
||
| User-reject a slot | scripts/trial-user-reject.sh tasks/<task-slug> --trial <trial-id-or-dir> --reason "brief infra/tooling reason" | Clear infra/tooling artifact before meaningful task work, such as endpoint auth/rate-limit storm, pre-task setup failure, OOM, or wrapper failure. Do not reject genuine agent attempts. |
|
||
| Analyze without launching more trials | scripts/trial.sh tasks/<task-slug> --resume latest --analyze-only | You changed reject manifests or merged partial jobs and need refreshed analysis. |
|
||
| Merge partial jobs | scripts/merge-trial-runs.sh tasks/<task-slug> --kind regular | Signal is split across multiple partial jobs from the same unchanged task version. Do not merge across task versions. |
|
||
|
||
|