Skip to content

defineHarness

defineHarness(def): HarnessDef

Defined in: tools/lab/src/grammar/harness.ts:28

Declares the engine and plugin set every scenario runs against. One per project, in lab/harness.ts.

Scenarios share a harness so they run against the same plugins as the real game. A scenario that declared its own would drift from the game and prove nothing about it.

HarnessDef

HarnessDef

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/tools/lab.md.