Telemetry: every finished run appends one JSONL line to <state>/telemetry.jsonl (task, profile, hx --version, status, reason, attempts, turns, tokens, seconds). Appends use a leading newline so a line cut short by a crash cannot swallow the next record; report skips unreadable lines and says how many.
orch report [FILE]: per profile and hx version: runs, done, success rate, needs-human, failed, requeued, tokens per run, tokens per done run, median seconds, retries. Requeued runs are shown but excluded from rate and cost (never attempted to completion).
orch eval A B: per case done/finished and tokens per run for both files, a total and a verdict. Exit 1 and REGRESSION when B's success rate is below A's; B better or equal exits 0.
orch bench DIR --profile NAME [--repeat N] [--case C] [--out FILE]: runs the cases of DIR (each: task.md, files/, gate.sh, optional solution/) in a fresh git repo per run through the profile's hx/allowlist/retry/budget, with the case's own gate instead of the profile gate; nothing is published.
eval/: 4 cases (off-by-one fix, add a function, README typo, cross-file rename). orch bench eval --check needs no agent: every gate must fail untouched and pass with solution/; it is part of tests/all.sh, so a broken case cannot silently corrupt a comparison.
README replaces the placeholder.
Verification: sh tests/all.sh exit 0 (fmt, clippy -D warnings, 19 unit tests, e2e, spike check, case-set check, real-hx e2e). New e2e: telemetry contents, report table, crash-truncated line, bench of the shipped cases with a fake hx that solves everything (8 runs, exit 0) and one that skips rename-symbol (exit 1), orch eval regression at -25 pp with exit 1 and the reverse direction exit 0, broken solution caught by --check. Real hx: telemetry carries the real hx --version. Flake loop 6/6 idle, 5/5 under 6 CPU hogs.
Not verified: a real model solving the eval cases (no hx login on this box); the cases are small by design and say nothing about hard tasks. Skipped: significance testing (with --repeat 1 one flip is a 25 pp swing, use --repeat for real comparisons), cost in money (token counts only).
Closes #7
- Telemetry: every finished run appends one JSONL line to `<state>/telemetry.jsonl` (task, profile, `hx --version`, status, reason, attempts, turns, tokens, seconds). Appends use a leading newline so a line cut short by a crash cannot swallow the next record; `report` skips unreadable lines and says how many.
- `orch report [FILE]`: per profile and hx version: runs, done, success rate, needs-human, failed, requeued, tokens per run, tokens per done run, median seconds, retries. Requeued runs are shown but excluded from rate and cost (never attempted to completion).
- `orch eval A B`: per case done/finished and tokens per run for both files, a total and a verdict. Exit 1 and `REGRESSION` when B's success rate is below A's; B better or equal exits 0.
- `orch bench DIR --profile NAME [--repeat N] [--case C] [--out FILE]`: runs the cases of DIR (each: `task.md`, `files/`, `gate.sh`, optional `solution/`) in a fresh git repo per run through the profile's hx/allowlist/retry/budget, with the case's own gate instead of the profile gate; nothing is published.
- `eval/`: 4 cases (off-by-one fix, add a function, README typo, cross-file rename). `orch bench eval --check` needs no agent: every gate must fail untouched and pass with `solution/`; it is part of `tests/all.sh`, so a broken case cannot silently corrupt a comparison.
- README replaces the placeholder.
Verification: `sh tests/all.sh` exit 0 (fmt, clippy -D warnings, 19 unit tests, e2e, spike check, case-set check, real-hx e2e). New e2e: telemetry contents, report table, crash-truncated line, bench of the shipped cases with a fake hx that solves everything (8 runs, exit 0) and one that skips `rename-symbol` (exit 1), `orch eval` regression at -25 pp with exit 1 and the reverse direction exit 0, broken solution caught by `--check`. Real hx: telemetry carries the real `hx --version`. Flake loop 6/6 idle, 5/5 under 6 CPU hogs.
Not verified: a real model solving the eval cases (no hx login on this box); the cases are small by design and say nothing about hard tasks. Skipped: significance testing (with `--repeat 1` one flip is a 25 pp swing, use `--repeat` for real comparisons), cost in money (token counts only).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #7
<state>/telemetry.jsonl(task, profile,hx --version, status, reason, attempts, turns, tokens, seconds). Appends use a leading newline so a line cut short by a crash cannot swallow the next record;reportskips unreadable lines and says how many.orch report [FILE]: per profile and hx version: runs, done, success rate, needs-human, failed, requeued, tokens per run, tokens per done run, median seconds, retries. Requeued runs are shown but excluded from rate and cost (never attempted to completion).orch eval A B: per case done/finished and tokens per run for both files, a total and a verdict. Exit 1 andREGRESSIONwhen B's success rate is below A's; B better or equal exits 0.orch bench DIR --profile NAME [--repeat N] [--case C] [--out FILE]: runs the cases of DIR (each:task.md,files/,gate.sh, optionalsolution/) in a fresh git repo per run through the profile's hx/allowlist/retry/budget, with the case's own gate instead of the profile gate; nothing is published.eval/: 4 cases (off-by-one fix, add a function, README typo, cross-file rename).orch bench eval --checkneeds no agent: every gate must fail untouched and pass withsolution/; it is part oftests/all.sh, so a broken case cannot silently corrupt a comparison.Verification:
sh tests/all.shexit 0 (fmt, clippy -D warnings, 19 unit tests, e2e, spike check, case-set check, real-hx e2e). New e2e: telemetry contents, report table, crash-truncated line, bench of the shipped cases with a fake hx that solves everything (8 runs, exit 0) and one that skipsrename-symbol(exit 1),orch evalregression at -25 pp with exit 1 and the reverse direction exit 0, broken solution caught by--check. Real hx: telemetry carries the realhx --version. Flake loop 6/6 idle, 5/5 under 6 CPU hogs.Not verified: a real model solving the eval cases (no hx login on this box); the cases are small by design and say nothing about hard tasks. Skipped: significance testing (with
--repeat 1one flip is a 25 pp swing, use--repeatfor real comparisons), cost in money (token counts only).