instructions.root / v1.0.0
Root repository instructions
Measures discovery of the supported root instruction mechanism. Aider uses its repository read configuration.
What counts as a pass?
The evaluator checks file-content against ROOT. Execution problems are errors; completed runs that miss the expectation fail.
Run this test
harnessfacts run codex instructions.rootExact prompt
Read task.txt and follow the applicable repository instructions. Write the requested token to result.txt.
Exact fixture
AGENTS.md
Write exactly ROOT into result.txt for the task in this repository.
task.txt
Read task.txt and follow the applicable repository instructions. Write the requested token to result.txt.
Adapters map instruction and skill files to the product's native paths. Inspect the adapters ↗
Evaluator source
import type { EvaluationContext } from "../../../packages/core/src/types.ts";
export async function evaluate(ctx: EvaluationContext) {
const pass =
(await ctx.read("result.txt"))?.trim() === ctx.test.expected.value;
return {
pass,
summary: pass
? "Expected token was written."
: "Expected token was not written.",
};
}