Surfaces the GEPA (genetic-evolution prompt-adaptation) library exports
from @metaharness/darwin/gepa. Unlike the other skills in this plugin
there is no CLI binary behind this — the script dynamic-imports the library
(local resolution first, versioned cache install as fallback) and calls the
subprocess-safe subset.
When to use
- Adopting an evolved policy:
--op rendershows the actual system
prompt a genome compiles to — read THAT, not the raw JSON, before
wiring a genome into a harness.
- Auditing a promotion:
--op genomeloads + validates the shipped
cand-6 genome (first holdout-confirmed cheap-tier promotion; provenance
ships in the package) or any genome file you point at.
- CI gate on genome edits:
--op validate --alert-on-invalidexits 1
on structural errors.
- Debugging a bad run:
--op analyze --transcript run.jsonclassifies
failure modes (GEPA's failure-class taxonomy) from a transcript array.
What is deliberately NOT here
gepaOptimize — the optimization loop takes an in-process
evaluate(candidate) callback ("bring your own evaluator") that cannot
cross a subprocess boundary. Two supported paths instead:
- Library consumers:
import { gepaOptimize, loadCand6Genome } from '@metaharness/darwin/gepa' - Sandbox-scored evolution:
harness-evolve(darwin CLIevolve),
which pairs GEPA with its own sandbox evaluators.