Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Harness² loop

Cowboy uses Propose → Probe → Compose → Select → Reflect as the vocabulary for improving its soft harness. This is a method around the existing eval platform, not a second benchmark runner. Harbor remains the only trial runner.

The five stages

StageCowboy meaningCurrent automation
ProposeAuthor bounded, data-only harness variants as ordinary experiment arms.The experiment schema, content digest, approval card, and Git review freeze the proposal.
ProbeRun the baseline and candidates against the same Harbor task suite.The approval-gated eval operation schedules, runs, and records the trials.
ComposeForm a new candidate from sanitized trajectory and deliverable evidence.External and reviewed; the eval runner does not rewrite its experiment or deployment.
SelectCompare frozen candidates with the baseline and permit an explicit abstention.External and reviewed; reports provide evidence but never silently declare a winner.
ReflectRecord evidence-backed lessons and prepare the next reviewed Git change.External and reviewed; there is no automatic production promotion.

An eval report’s statistical aggregation supports review, but it does not turn that review into an automatic Compose, Select, or Reflect action. Likewise, attempts.stage records where a Harbor trial ended; it is unrelated to these five method stages.

Marking a Probe

Schema-v2 experiments may include an optional harness_loop block:

{
  "harness_loop": {
    "cycle": "terse-prompt-1",
    "stage": "probe",
    "baseline_arm": "shipped",
    "candidate_arms": ["terse", "tool-guidance"]
  }
}

The block is descriptive, content-addressed metadata. Validation requires:

  • exactly the four fields shown above;
  • a short lowercase cycle slug;
  • stage to be probe, because that is the outer-loop stage Harbor executes;
  • one existing baseline arm and at least one unique existing candidate arm;
  • every experiment arm to be classified exactly once as baseline or candidate.

The approval card shows the cycle and arm roles. Omitting the block preserves the behavior of existing schema-v2 benchmarks.

The metadata does not choose a winner, grant authority, or execute another stage. In particular, abstention is a selection action—not a fake arm or a zero-cost trial—so it does not appear in candidate_arms.

Candidate boundary

The block classifies arm roles only. It does not certify that a candidate has a typed soft-harness profile; ordinary arm validation still decides what can run. Until a typed candidate compiler exists, the following restrictions are an explicit author-and-reviewer convention rather than a validator guarantee.

A near-term soft candidate should lower to fields ordinary arms already support:

  • prompt or configuration overlays through files;
  • allowlisted string launch-map settings through launch;
  • a fixed combination of those data-only changes.

A cross-revision arm remains an existing revision comparison, not a soft candidate. Authors and reviewers must reject soft candidates carrying shell commands, executable plugins, URLs, host paths, secrets, arbitrary environment variables, task or verifier edits, Nix authority, bridge policy, sandbox policy, or network policy. Existing arm and controller validation remains authoritative for execution safety; the narrower soft-candidate convention is not yet inferred from candidate_arms.

Evidence separation

Harbor’s verifier result—not an agent claim—determines trial success. The current archive and runtime provide execution-role separation, but they do not prove independently owned verifier provenance or author blindness. Do not claim stronger separation than that.

cowboy-eval report and cowboy-eval analyze contain verifier-derived scores. Those scored documents may inform a human selection review, but must not be fed back to a pre-selection proposer or composer that is meant to remain blind to hidden tests, answer keys, verifier source, or grader verdicts. Any future automation must materialize explicit score-free views for those roles.

Keep proposer, trial agent, composer, selector, and verifier contexts separate. A later stage receives only its declared, frozen evidence—not ambient access to the experiment tree or another role’s hidden inputs.

Selection and promotion

Selection considers exactly:

  1. the baseline;
  2. each declared candidate; and
  3. abstain.

Selecting the baseline means retaining the known deployment. Abstaining means the evidence is insufficient; it is not a failed trial. Missing, invalid, or infrastructure-dominated evidence should favor abstention rather than automatic promotion.

A selection produces a recommendation and evidence bundle only. Promotion is a separate, human-reviewed Git change that re-expresses the selected data in canonical configuration. The eval account has no reason to mutate the running experiment, deployed configuration, repository, approval policy, or its own runner.

Future orchestration

If more of the loop is automated later, each generative boundary must stop and materialize canonical artifacts before proceeding:

  1. run proposal work through Harbor;
  2. save typed candidates without applying them;
  3. content-address and approve a new baseline-plus-candidates experiment;
  4. run its Probe through the existing eval operation;
  5. select from baseline, candidates, and abstention using frozen evidence;
  6. emit a recommendation for human Git review.

No approved run recursively extends its own schedule or changes its own arm. Model-mediated proposal or selection remains a Harbor job, with a fresh approval boundary where authority or paid work changes.