# name :: shell command :: expected substring in output (optional; exit code must be 0)
AGENTS.md is in the project root :: head -1 AGENTS.md :: Stockroom
The tests pass :: python3 -m unittest discover -s tests 2>&1 | tail -1 :: OK
The rename command works :: cp data/seed.json .check.json && python3 -m stockroom --db .check.json rename tape masking-tape >/dev/null && python3 -m stockroom --db .check.json list; rm -f .check.json :: masking-tape
Rule: every function has a docstring :: python3 "$LAB_TOOL" docstrings stockroom :: all documented
Rule: the README lists the command :: grep -c "rename" README.md ::
Rule: a unit test covers the change :: grep -rl "rename" tests | head -1 :: tests/
Rule: the seed data is unchanged :: git diff --quiet HEAD -- data/seed.json && echo same :: same
Rule: nothing is committed :: git log --oneline | wc -l | tr -d ' ' :: 1
