diff --git a/packages/flow/docs/HARNESS2.md b/packages/flow/docs/HARNESS2.md index 2ae5c9f8c..63dace023 100644 --- a/packages/flow/docs/HARNESS2.md +++ b/packages/flow/docs/HARNESS2.md @@ -94,6 +94,41 @@ end with Harness²'s recursion code: `k` base rollouts, one mode (`seq` or `agg`), selection by reward or by Harness²'s model selector, and the read-back of the chosen run. +## Trace export + +Meta-Harness ([arXiv:2603.28052](https://arxiv.org/abs/2603.28052)) gives +its proposer a filesystem with every earlier candidate's harness, full +execution traces and scores. In its ablation, full traces beat summaries, +56.7 to 38.7. `openadapt_flow.integrations.harness2.traces` writes that +filesystem for GUI work. `run_task` writes one for every task under +`/traces`. + +``` +traces/INDEX.md one line per trace, best reward first +traces/index.jsonl the same, one JSON object per trace +traces/candidates/