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.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”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.