What problem does it solve?
Evolving a harness against a repo's natural test suite produces incomparable fitness scores when tests are flaky, slow, or change between commits. This Skill scaffolds a fixed JSON bench suite from a repo's test corpus and verifies suite well-formedness, so evolution runs are scored against a stable, deterministic corpus.
Core Features & Use Cases
- Bench suite creation:
bench create <repo> derives a suite of {input, expectedOutput, weight} tasks from the repo's existing test cases, written to .metaharness/bench/suite.json by default.
- Suite verification:
bench verify <suite.json> checks that every task is well-formed, exiting 1 on malformed suites — ideal for CI checks on PRs that touch the suite.
- Graceful degradation: when
@metaharness/darwin is absent, emits a {degraded: true} payload and exits 0 instead of failing.
- Use Case: Fork a harness to a new domain, copy and edit the bench suite to retarget evaluation, then run
harness-evolve --bench suite.json so champion fitness stays comparable to the parent fork.
Quick Start
Create a bench suite from my repository's test corpus and verify that the generated suite.json is well-formed.