← Continue-harness passes rewritten as plain Terminus-2

SWR · openfoam_scalar_transport_boundary_probe__02

Physical science & simulation (OpenFOAM). The expert solved it under continue-until-timeout in 56 steps; the rewrite passed as plain Terminus-2 in 23, following a runbook it never quotes.
Task description
# openfoam_scalar_transport_boundary_probe__02

Create an editable project in `/app/workspace` that reproduces the observed
behavior of the reference demo for `openfoam_cfd`.

The public observations in `/app/observations` were produced by running the
real software on the acquired parent demo. Use them as behavioral evidence, not
as files to copy into your answer.

This variant changes at least 5 parameter axes: inlet_scalar, mesh, velocity, steps, probe_location.

The private judge uses hidden scenarios centered on `probe_location`.
Build the underlying mechanism so that unseen parameter settings continue to
work, instead of branching only on the public case.


## Required Reconstruction Interface

In addition to building an editable project, provide `/app/workspace/reconstruct.py`.
The verifier will execute it as:

```bash
python3 /app/workspace/reconstruct.py < scenario.json
```

It must read one scenario JSON object from stdin, use `scenario["parameters"]`,
and print JSON to stdout. Follow the same output shape as the public
`oracle_output.json` files inside `/app/observations/reference_outputs.tar.gz`;
usually this means printing `{"summary": ...}`.

Parameter axes: `inlet_scalar, mesh, velocity, steps, probe_location`

Public scenarios:
- `public_1` parameters: `{"inlet_scalar": 3.705, "mesh": 4.485, "probe_location": 4.745, "steps": 20, "velocity": 4.615}`
- `public_2` parameters: `{"inlet_scalar": 2.08, "mesh": 4.94, "probe_location": 4.03, "steps": 24, "velocity": 4.55}`

Use `/app/tools/feedback` while solving. It runs your `reconstruct.py` on the
public scenarios and reports which public oracle signatures match. Passing
public feedback is not sufficient by itself; hidden scenarios from the same
parameter space are used for final grading.

How this rewrite was made

  1. Expert. Base Qwen3.8-27B solved the task under continue-until-timeout. It never marked the task complete: it kept working until the 2-hour limit ended the run, and the work it left in place passed.
  2. Runbook. Base Qwen3.8-27B read the expert trajectory and wrote runbook_01: what to build, milestones with example commands, and checks. The leak judge checked it before it was used.
  3. Rewrite. Base Qwen3.8-27B ran the task as plain Terminus-2 with the runbook in a private channel. 4 of 4 replays passed, in 23, 23, 33, 51 steps; the one shown below took 23.

Trajectories

TrajectoryStepsCommandsAgent time Flagged repliesCommand mix
exploreeditruninstallwaitother Category comes from the first line of each command.
Shortened runbook (runbook_01): a brief summary, not the actual runbook used

A short plan for reproducing the OpenFOAM boundary-probe demo: work out which results depend on the scenario parameters, write a script that reproduces them, and check that it generalizes beyond the public examples.

This summary was shortened for publication; the actual runbook used for the rewrite is not shown.

Rows line up by step number, not by meaning. Hover a command to see all of it.