agentleFS
cboonecboone/agent-harness-plugins/tests/AGENTS.md

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/.

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
  1. Very specific:

    Use the write-scrut-tests skill when changing snapshot tests.

    line 5
  2. Very specific:

    Run make test-scrut from the repository root and observe its final result before reporting success.

    line 8

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Test instructions

scrut/ exercises plugin helpers and repository tooling. Executable stubs live in fixtures/; JSON inputs live in data/.

  • Use the write-scrut-tests skill 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-scrut from 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 on ubuntu-latest. When one outgrows the half, cut its runtime or split it into two documents, as validate-plugins-catalog.md and validate-plugins-skills.md are. 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 as bin/validate-plugins, free of per-item process starts.
  • Locally, make test-scrut runs documents one after another and scrut gives each a 15-minute total timeout. timeout in execution with 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.