agent-harness-plugins / tests
AGENTS.md2 starsChanged 59 days agoMITView on GitHub
scrut/ exercises plugin helpers and repository tooling. Executable stubs live in fixtures/; JSON inputs live in data/.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bin/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- plugins/AGENTS.mdAGENTS.md
- bin/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
- plugins/CLAUDE.mdCLAUDE.md
- tests/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- check-versionsSkill
- code-reviewSkill
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 5
Use the write-scrut-tests skill when changing snapshot tests.
- Very specific: line 8
Run make test-scrut from the repository root and observe its final result before reporting success.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Test instructions
scrut/ exercises plugin helpers and repository tooling. Executable stubs live in fixtures/; JSON inputs live in data/.
- Use the
write-scrut-testsskill when changing snapshot tests. - Register helper paths in both
../Makefile(SCRUT_ENV) and../.github/workflows/ci.yml(scrut-env). A local-only registration leaves CI testing a different environment. - Preserve checks that the three worktree helpers are identical across their two shipping plugins.
- Run
make test-scrutfrom the repository root and observe its final result before reporting success.
Runtime budget
- CI runs each document under
tests/scrut/as its own job, listed from the tree, so the suite takes as long as its slowest document. Each job stops at 10 minutes, and every document should finish within half of that onubuntu-latest. When one outgrows the half, cut its runtime or split it into two documents, asvalidate-plugins-catalog.mdandvalidate-plugins-skills.mdare. Do not raise the ceiling. - Time one document with
time make test-scrut SCRUT_TEST_DIR=tests/scrut/NAME.md; scrut's own summary reports no duration. A case that needs a repository or a fixture tree pays for every process it starts, so where cases do not mutate the tree, prefer one prepared fixture per document to one per case, and keep tooling the suite runs repeatedly, such asbin/validate-plugins, free of per-item process starts. - Locally,
make test-scrutruns documents one after another and scrut gives each a 15-minute total timeout.timeout in executionwith no stdout or stderr means a document ran out of that budget, not that an assertion failed; the named case is only where execution happened to be, and the rest of the document is skipped. Split or speed up the document. In CI the 10-minute job timeout stops a slow document first, so an overrun shows as a cancelled job instead.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

