Skip to content

Run measured research

Use research when progress has to be judged by experiments, such as speeding up a parser without changing its output. A research area can combine ordinary supporting tasks with hypothesis tasks. For a single factual question that does not need an ongoing experiment record, use investigate instead.

Once the area and research policy are ready, start or resume a run in chat:

Use zdev to run serial research in area parsing within its brief
for 20 work attempts.
Use zdev to resume the existing research run in area parsing.

A research run requires an open area with a brief and a configured research policy naming the metric, direction, evaluator, measured baseline, correctness checks, permitted changes, and attempt limits. To inspect what is recorded:

Use zdev to inspect the research settings for area parsing and explain which
measurements and correctness checks a run will use.

Inspecting or recording settings and hypothesis evidence never runs the evaluator; supplied baseline samples must come from real measurements. See the research guide for setup and execution, and the research record contract for the required fields.

With the brief and policy in place, authorize a run explicitly as shown above. Within that scope and budget, the coordinator proposes hypotheses and supporting tasks, builds candidates, runs measurements, and saves lessons from each attempt. Keeping an improving candidate requires both passing the measurement policy and passing independent acceptance review; rejected candidates restore their owned changes while keeping candidate refs and recorded lessons for later sessions.

The default allowance is 20 work attempts, which covers preparation, measurements, rework, and review (not 20 finished experiments). You can also set a time limit, command limit, or target value. Unlike an ordinary loop, a research run can propose more scoped work when its queue empties.

The final report lists accepted commits, experimental verdicts, remaining allowance, and the stop reason. Hitting the budget ends the run without claiming the overall optimization goal is complete.

After an interruption, ask to resume the existing run. Recovery keeps the original limits and consumed allowance, and resolves any unfinished measurements before starting new work.

Codex and Claude Code support both serial runs and explicit rolling parallel research runs with separate worker and measurement limits; check research support for exact harness details and stop rules. See one local hypothesis for the single-experiment lifecycle, and use recover for interrupted ordinary tasks.