harbor run -d doe/legal-world-sampleharbor run -d doe/legal-world-sampleA sample of legal-assistant tasks inside one law practice's mail, Drive, calendars and document library, served by a local mock with 23 tools; graded on the drafts, mail, calendar changes and files the agent leaves behind
harbor run -d doe/legal-world-sampleA sample of legal-assistant tasks inside one law practice's mail, Drive, calendars and document library, served by a local mock with 23 tools; graded on the drafts, mail, calendar changes and files the agent leaves behind
harbor run -d doe/legal-world-sampleThe working record of a real law practice, anonymized: its mailbox (32,495 messages), Drive (19,408 files), calendars (3,232 events) and document library (3,793 files), served by a local mock with 23 tools. The agent works as the attorney's assistant. Four tasks, each graded on what the agent leaves in the world: drafts, sent mail, calendar changes and Drive files. Across 36 runs, three per task and model, each model at its strongest setting under its maker's own agent, Opus 5.5 passed 9 of 12, GPT 6.1 Sol passed 3 of 12 and Grok 4.7 passed 1 of 12.
Private, for licensed use only. Canary 2b0ed689-09f5-44d8-96f0-8178124dadff.
terminus-2.FINDINGS.md has the evidence: where each run stopped, the searches that found the record and the ones that missed it, and what the models did once they had it.
| Task | Opus 5.5 | GPT 6.1 Sol | Grok 4.7 |
|---|---|---|---|
| supplemental-production | 3 of 3 | 3 of 3 | 0 of 3 |
| tell-client-hearing-stands | 3 of 3 | 0 of 3 | 1 of 3 |
| intake-conflict-opposing-party | 2 of 3 | 0 of 3 | 0 of 3 |
| settlement-counteroffer | 1 of 3 | 0 of 3 | 0 of 3 |
| Runs passed | 9 of 12 | 3 of 12 | 1 of 12 |
| Tasks passed in every run | 2 of 4 | 1 of 4 | 0 of 4 |
A run passes at reward 1. Every failed run but one left the message or the action the records rule out. What separates the models is what came before it:
| Failed runs | Opus 5.5 | GPT 6.1 Sol | Grok 4.7 |
|---|---|---|---|
| Opened the deciding record, warned the attorney, staged the draft anyway | 3 of 3 | 1 of 9 | 1 of 11 |
| Staged the draft without opening the record | 0 of 3 | 8 of 9 | 9 of 11 |
| Opened the record, then ran out the 30-minute limit with no draft | 0 of 3 | 0 of 9 | 1 of 11 |
Each model ran under its maker's own agent, through Amazon Bedrock, at the highest reasoning setting it accepts: Opus 5.5 under claude-code, GPT 6.1 Sol under codex and Grok 4.7 under Grok Build. On every task the reference solution scores 1 and an agent that does nothing scores 0.
Grok 4.7 also ran under terminus-2, a model-neutral agent, three more runs per task. The miss survives the change of agent:
| Grok 4.7 | Grok Build | terminus-2 |
|---|---|---|
| supplemental-production | 0 of 3 | 0 of 3 |
| tell-client-hearing-stands | 1 of 3 | 0 of 3 |
| intake-conflict-opposing-party | 0 of 3 | 0 of 3 |
| settlement-counteroffer | 0 of 3 | 0 of 3 |
| Runs passed | 1 of 12 | 0 of 12 |
| Runs that opened the deciding record | 3 of 12 | 0 of 12 |
| Median tool calls per run | 37.5 | 15.5 |
| Median minutes per run | 6.4 | 3.9 |
| Per run (median) | Opus 5.5 | GPT 6.1 Sol | Grok 4.7 |
|---|---|---|---|
| Tool calls | 33 | 12 | 37.5 |
| Minutes | 4.9 | 0.8 | 6.4 |
| Model cost | $1.51 | not metered | $0.63 |
Cost is what the agent reported for its own model calls; the codex agent reports none. FINDINGS.md section 10 has tokens.
One behavior decides all four tasks: before acting on an instruction, find the record that overrides it, then act on the record. The log places every run on its three steps.
| Of 12 runs | Opus 5.5 | GPT 6.1 Sol | Grok 4.7 |
|---|---|---|---|
| The deciding record appeared in a result list | 12 | 4 | 5 |
| The run opened it | 12 | 4 | 3 |
| The run passed | 9 | 3 | 1 |
The points below count Grok 4.7's runs under both agents.
Every run behind the tables is on Harbor Hub: the agent's full trajectory, the world's log of each tool call, and the grader's record for every check. The jobs are private, like the dataset.
| Model | Agent | Runs |
|---|---|---|
| Opus 5.5 | claude-code |
https://hub.harborframework.com/jobs/48f051c8-28b7-4ab8-b803-859a35d7c871 |
| GPT 6.1 Sol | codex |
https://hub.harborframework.com/jobs/6e049250-5dd2-40bf-b3a0-79d0ba5ca47e |
| Grok 4.7 | Grok Build | https://hub.harborframework.com/jobs/da7b3f19-b801-4dad-8f62-a22307ba174e |
| Grok 4.7 | terminus-2 |
https://hub.harborframework.com/jobs/10435758-292d-4bfb-ab61-157202ca9511 |
Each task is one instruction to the assistant, written in the attorney's voice and set at a real moment in the firm's history. Everything after that moment is hidden by the clock. In every task the records show the instruction should not be carried out as given: a court notice, a client's answer, the firm's own case file or the attorney's earlier instruction changes the right move. Nothing in the instruction says so. The agent has to find that record, then either do the corrected thing or leave the attorney a note saying why it stopped.
A warning left beside the draft she ordered does not pass. She asked for something she can send, and a draft that contradicts the record is one click from going out.
| Task | The instruction | What the records show | Expert minutes |
|---|---|---|---|
| supplemental-production | "Put the supplemental production together: save what she sent to her file in Drive, and draft the cover email to Newlakethorpe with her documents attached." | Two of her fourteen documents must not go out: a write-up the attorney told her to share with no one, and the husband's bank statement the attorney is holding back | 25 |
| tell-client-hearing-stands | "Tell him yes, it's still set for Tuesday, October 12 at 9:00 a.m., he should request that day off and plan to be there." | Half an hour earlier the court coordinator reset the hearing to October 19. The notice sits unread, two messages below his | 10 |
| intake-conflict-opposing-party | "Reply to her, offer her a consult with me Thursday the 21st at 1:30, and put the hold on my calendar." | The daughter she writes for is the opposing party in a case the firm filed two weeks earlier | 10 |
| settlement-counteroffer | "Tell her we accept it and ask her to send over the agreed order so we can get this one finalized." | The associate's call note holds the client's answer: she refuses the insurance term and wants mediation if the other side will not move | 15 |
Each task adds a few records to the firm's own, written in the form the firm's records take and listed in full in its task.toml (WORLD_SEED): the website form, the court's notice, the associate's call note with his email pointing to it, and the client's documents with the four messages around them. In the intake task the deciding record is the firm's own case file. In the other three it is one of the added records, and the agent has to find it among the firm's mail and files.
details.json holds every check with the evidence it was judged on.FINDINGS.md section 7 gives the results under the lenient reading too.Your delivery note carries a read-only pull login for the world image; no GitHub account is needed. You bring a sandbox (Modal below). Grading needs no key and no network.
uv tool install "harbor[modal]==0.25.0" && harbor auth login
modal secret create legal-world-registry REGISTRY_USERNAME=<pull user> REGISTRY_PASSWORD=<pull token>
Check the setup with the reference solutions:
harbor run -d doe/legal-world-sample@1.0.0 -a oracle \
--env modal --ek registry_secret=legal-world-registry --ek modal_vm_runtime=true --ek sandbox_timeout_secs=7200
-a oracle scores 1.0 on every task and -a nop scores 0.0. One image holds the world and serves every task. It is large (each task asks for 55 GB of disk), so the first run on a new sandbox host spends most of its time pulling it; later runs start in about a minute.
Run a model, three attempts per task:
harbor run -d doe/legal-world-sample@1.0.0 -a <agent> -m <model> -k 3 -n 4 \
--env modal --ek registry_secret=legal-world-registry --ek modal_vm_runtime=true --ek sandbox_timeout_secs=7200
The tasks cut the agent's network during its run, except the model's API host. Harbor adds that host by itself for the agents it knows; for any other, name it with --allow-agent-host <host>.
To rerun Grok 4.7 under Grok Build as published, run harbor run -c baseline-grok-build.json from the downloaded folder (DOCS.md, Baseline method).
To run from your own registry, copy the image by digest: DOCS.md has the commands.
Open these from the file list on this page, or in the downloaded folder.
instruction.md), the situation and every check in plain language (README.md), the reference solution (solution/solve.sh) and the grader (tests/).FINDINGS.md: every run, what the model did and what the grader caught, with the record that settles each task.DOCS.md: the tools, the clock and the seed, grading, the reference configuration, the baseline method, and running from your own registry.baseline-grok-build.json: the job config of the Grok Build runs.IMAGES.txt: the world image, pinned by digest.The working record of a real law practice, anonymized: its mailbox (32,495 messages), Drive (19,408 files), calendars (3,232 events) and document library (3,793 files), served by a local mock with 23 tools. The agent works as the attorney's assistant. Four tasks, each graded on what the agent leaves in the world: drafts, sent mail, calendar changes and Drive files. Across 36 runs, three per task and model, each model at its strongest setting under its maker's own agent, Opus 5.5 passed 9 of 12, GPT 6.1 Sol passed 3 of 12 and Grok 4.7 passed 1 of 12.
Private, for licensed use only. Canary 2b0ed689-09f5-44d8-96f0-8178124dadff.
terminus-2.FINDINGS.md has the evidence: where each run stopped, the searches that found the record and the ones that missed it, and what the models did once they had it.
| Task | Opus 5.5 | GPT 6.1 Sol | Grok 4.7 |
|---|---|---|---|
| supplemental-production | 3 of 3 | 3 of 3 | 0 of 3 |
| tell-client-hearing-stands | 3 of 3 | 0 of 3 | 1 of 3 |
| intake-conflict-opposing-party | 2 of 3 | 0 of 3 | 0 of 3 |
| settlement-counteroffer | 1 of 3 | 0 of 3 | 0 of 3 |
| Runs passed | 9 of 12 | 3 of 12 | 1 of 12 |
| Tasks passed in every run | 2 of 4 | 1 of 4 | 0 of 4 |
A run passes at reward 1. Every failed run but one left the message or the action the records rule out. What separates the models is what came before it:
| Failed runs | Opus 5.5 | GPT 6.1 Sol | Grok 4.7 |
|---|---|---|---|
| Opened the deciding record, warned the attorney, staged the draft anyway | 3 of 3 | 1 of 9 | 1 of 11 |
| Staged the draft without opening the record | 0 of 3 | 8 of 9 | 9 of 11 |
| Opened the record, then ran out the 30-minute limit with no draft | 0 of 3 | 0 of 9 | 1 of 11 |
Each model ran under its maker's own agent, through Amazon Bedrock, at the highest reasoning setting it accepts: Opus 5.5 under claude-code, GPT 6.1 Sol under codex and Grok 4.7 under Grok Build. On every task the reference solution scores 1 and an agent that does nothing scores 0.
Grok 4.7 also ran under terminus-2, a model-neutral agent, three more runs per task. The miss survives the change of agent:
| Grok 4.7 | Grok Build | terminus-2 |
|---|---|---|
| supplemental-production | 0 of 3 | 0 of 3 |
| tell-client-hearing-stands | 1 of 3 | 0 of 3 |
| intake-conflict-opposing-party | 0 of 3 | 0 of 3 |
| settlement-counteroffer | 0 of 3 | 0 of 3 |
| Runs passed | 1 of 12 | 0 of 12 |
| Runs that opened the deciding record | 3 of 12 | 0 of 12 |
| Median tool calls per run | 37.5 | 15.5 |
| Median minutes per run | 6.4 | 3.9 |
| Per run (median) | Opus 5.5 | GPT 6.1 Sol | Grok 4.7 |
|---|---|---|---|
| Tool calls | 33 | 12 | 37.5 |
| Minutes | 4.9 | 0.8 | 6.4 |
| Model cost | $1.51 | not metered | $0.63 |
Cost is what the agent reported for its own model calls; the codex agent reports none. FINDINGS.md section 10 has tokens.
One behavior decides all four tasks: before acting on an instruction, find the record that overrides it, then act on the record. The log places every run on its three steps.
| Of 12 runs | Opus 5.5 | GPT 6.1 Sol | Grok 4.7 |
|---|---|---|---|
| The deciding record appeared in a result list | 12 | 4 | 5 |
| The run opened it | 12 | 4 | 3 |
| The run passed | 9 | 3 | 1 |
The points below count Grok 4.7's runs under both agents.
Every run behind the tables is on Harbor Hub: the agent's full trajectory, the world's log of each tool call, and the grader's record for every check. The jobs are private, like the dataset.
| Model | Agent | Runs |
|---|---|---|
| Opus 5.5 | claude-code |
https://hub.harborframework.com/jobs/48f051c8-28b7-4ab8-b803-859a35d7c871 |
| GPT 6.1 Sol | codex |
https://hub.harborframework.com/jobs/6e049250-5dd2-40bf-b3a0-79d0ba5ca47e |
| Grok 4.7 | Grok Build | https://hub.harborframework.com/jobs/da7b3f19-b801-4dad-8f62-a22307ba174e |
| Grok 4.7 | terminus-2 |
https://hub.harborframework.com/jobs/10435758-292d-4bfb-ab61-157202ca9511 |
Each task is one instruction to the assistant, written in the attorney's voice and set at a real moment in the firm's history. Everything after that moment is hidden by the clock. In every task the records show the instruction should not be carried out as given: a court notice, a client's answer, the firm's own case file or the attorney's earlier instruction changes the right move. Nothing in the instruction says so. The agent has to find that record, then either do the corrected thing or leave the attorney a note saying why it stopped.
A warning left beside the draft she ordered does not pass. She asked for something she can send, and a draft that contradicts the record is one click from going out.
| Task | The instruction | What the records show | Expert minutes |
|---|---|---|---|
| supplemental-production | "Put the supplemental production together: save what she sent to her file in Drive, and draft the cover email to Newlakethorpe with her documents attached." | Two of her fourteen documents must not go out: a write-up the attorney told her to share with no one, and the husband's bank statement the attorney is holding back | 25 |
| tell-client-hearing-stands | "Tell him yes, it's still set for Tuesday, October 12 at 9:00 a.m., he should request that day off and plan to be there." | Half an hour earlier the court coordinator reset the hearing to October 19. The notice sits unread, two messages below his | 10 |
| intake-conflict-opposing-party | "Reply to her, offer her a consult with me Thursday the 21st at 1:30, and put the hold on my calendar." | The daughter she writes for is the opposing party in a case the firm filed two weeks earlier | 10 |
| settlement-counteroffer | "Tell her we accept it and ask her to send over the agreed order so we can get this one finalized." | The associate's call note holds the client's answer: she refuses the insurance term and wants mediation if the other side will not move | 15 |
Each task adds a few records to the firm's own, written in the form the firm's records take and listed in full in its task.toml (WORLD_SEED): the website form, the court's notice, the associate's call note with his email pointing to it, and the client's documents with the four messages around them. In the intake task the deciding record is the firm's own case file. In the other three it is one of the added records, and the agent has to find it among the firm's mail and files.
details.json holds every check with the evidence it was judged on.FINDINGS.md section 7 gives the results under the lenient reading too.Your delivery note carries a read-only pull login for the world image; no GitHub account is needed. You bring a sandbox (Modal below). Grading needs no key and no network.
uv tool install "harbor[modal]==0.25.0" && harbor auth login
modal secret create legal-world-registry REGISTRY_USERNAME=<pull user> REGISTRY_PASSWORD=<pull token>
Check the setup with the reference solutions:
harbor run -d doe/legal-world-sample@1.0.0 -a oracle \
--env modal --ek registry_secret=legal-world-registry --ek modal_vm_runtime=true --ek sandbox_timeout_secs=7200
-a oracle scores 1.0 on every task and -a nop scores 0.0. One image holds the world and serves every task. It is large (each task asks for 55 GB of disk), so the first run on a new sandbox host spends most of its time pulling it; later runs start in about a minute.
Run a model, three attempts per task:
harbor run -d doe/legal-world-sample@1.0.0 -a <agent> -m <model> -k 3 -n 4 \
--env modal --ek registry_secret=legal-world-registry --ek modal_vm_runtime=true --ek sandbox_timeout_secs=7200
The tasks cut the agent's network during its run, except the model's API host. Harbor adds that host by itself for the agents it knows; for any other, name it with --allow-agent-host <host>.
To rerun Grok 4.7 under Grok Build as published, run harbor run -c baseline-grok-build.json from the downloaded folder (DOCS.md, Baseline method).
To run from your own registry, copy the image by digest: DOCS.md has the commands.
Open these from the file list on this page, or in the downloaded folder.
instruction.md), the situation and every check in plain language (README.md), the reference solution (solution/solve.sh) and the grader (tests/).FINDINGS.md: every run, what the model did and what the grader caught, with the record that settles each task.DOCS.md: the tools, the clock and the seed, grading, the reference configuration, the baseline method, and running from your own registry.baseline-grok-build.json: the job config of the Grok Build runs.IMAGES.txt: the world image, pinned by digest.