I want the repo to try its own onboarding docs
When I started learning Julia, contributing to documentation was one of the quickest ways I found to understand a project before taking on more complex code. I used the same approach when I began contributing to the KomaMRI Julia package. Reading a guide helped me get oriented; improving it made me follow how the project worked. Could I give that same first-contribution path a repeatable test?
That question turned into docs-as-test, a small demo built around a tiny Node.js project called Welcome Board. It checks whether a new contributor can follow the setup guide, get the project running, and reach the tests without guessing.
The guide is the first contribution
For a lot of open-source projects, documentation is a friendly place to begin. You learn the vocabulary, find your way around, and get a feel for how the maintainers expect the project to work. Sometimes the first edit is a typo fix. Sometimes it is a useful correction to the setup instructions. Either way, you are already learning the project.
The awkward part is that code changes faster than setup guides. A command gets renamed, a prerequisite changes, or a step falls out of date. The instructions can still read perfectly well while leading a new contributor into a dead end.
There was no failed prototype behind this one. I wanted a controlled example with one setup guide and one deliberate source of drift. The sample app is called Welcome Board, which feels appropriately cheerful for a project that tests whether its welcome instructions still work.
One command goes stale
The guide in CONTRIBUTING.md asks a contributor to run these commands in order:
npm install
npm run db:setup
npm test
The project has a new-hire custom agent in .github/agents/new-hire.agent.md. It reads the guide and runs the documented commands exactly, one at a time. It does not inspect other files to infer the setup, repair a failed command, or edit the project. If something fails, it reports what happened and stops.
That boundary matters for the exercise. If the agent sees a broken command and quietly substitutes something that happens to work, we have learned that it can improvise, not that the guide is current. The eval asks it to behave like a contributor who is following the instructions they were given.
Make the guide a repeatable check
The eval definition lives in evals/onboarding/eval.yaml. It stages the guide, the package files, the source, scripts, tests, and the custom agent into a disposable workspace. The task is simple: delegate to new-hire, set up the project, and run the tests by following CONTRIBUTING.md.
Four graders look at different evidence. One checks that the agent used new-hire; another checks that it ran npm test; a command grader runs the project’s tests; and an LLM judge reviews the recorded trajectory and workspace against the documentation-following rubric. All four must pass. The first three are deterministic checks. The LLM judge can vary between runs, so I read its evidence instead of treating one verdict as the whole story.
For this project, GitHub Copilot Evals provides the eval workflow in a Copilot host. Vally, the open-source runner used underneath, stages the files, runs the task, records the trajectory, and scores the graders. The eval is something I authored for this demo; Evals is not an automatic documentation-auditing feature.
The same eval can run from a terminal with Vally:
vally eval --eval-spec evals/onboarding/eval.yaml --workers 1 --max-retries 0
I run it once with the guide and project in sync. The recorded baseline passes all four graders.

Then I make one small change in package.json: rename the db:setup script to db:seed, leaving the guide alone. The instructions still say npm run db:setup, so the command fails. The agent reports that failure instead of searching for a replacement. In the recorded drift run, the delegation check passes, while the test-run, test-result, and documentation-following checks fail.

To repair the demo, I change only CONTRIBUTING.md to say npm run db:seed, then run the same eval again. All four graders pass. The agent, rubric, and project scripts stay untouched; the guide was the thing that needed fixing.

Vally can save the runs and compare them side by side. In this recorded comparison, the drift run has a 0% pass rate and the repaired run has 100%. Those numbers describe these runs, not every possible onboarding path. The judge may also vary, which is why the trace and grader evidence are worth a look.

A rehearsal before the newcomer arrives
I think of the eval as a rehearsal. The repository hands a newcomer the guide and the project as they exist today, then checks whether the documented route still gets them to a working setup. When a command drifts, the rehearsal catches it before somebody has to stop and ask what the guide meant.
Writing docs was how I found my way into KomaMRI. I like that this eval lets me check whether the next person can use that same kind of entry point.
The project is at samueltauil/docs-as-test. If docs are how someone gets into a project, I want the repo to try those steps before they do.