From 897fb8e2d82a8a963166401e64dc1f538e2dca57 Mon Sep 17 00:00:00 2001 From: jochen Date: Fri, 27 Nov 2026 03:21:50 +0100 Subject: [PATCH] mesh-developer: the test budget is per module, counted before a test is added Twice on 2026-11-26/27 a developer added top-level tests to the indexer, which is over its budget: the definition said the repository, and asked no count. --- .claude/agents/mesh-developer.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.claude/agents/mesh-developer.md b/.claude/agents/mesh-developer.md index 95c831b9..e23fd37b 100644 --- a/.claude/agents/mesh-developer.md +++ b/.claude/agents/mesh-developer.md @@ -36,8 +36,9 @@ A fact the build map got wrong (a file moved, a function renamed) you say to the one that uses a contract, type, verb or package another subtask adds starts from that subtask's commit. Commit per subtask, its label in the subject and a line `Builds: design NN M §n, …` in the body, locally only: never push, never open a pull request, never call a verb that writes on the mesh (reads are fine). Never ssh, never a shell helper for the mesh. Tests: every change carries a test that fails without it (check it); -rows or subtests in existing tests where the repository is over the test budget the instructions set; no real -sleeping. Run `go vet ./...`, `go vet -tags integration ./...` and `go test ./...` in every touched module as +rows or subtests in existing tests where the module is at or over the test budget the instructions set (per module: +count its top-level `func Test`, untagged and integration apart, before adding one, and say both counts in the +report); no real sleeping. Run `go vet ./...`, `go vet -tags integration ./...` and `go test ./...` in every touched module as the running checker places siblings (playbook 07). Once per head you report, not per commit, also run the integration tests of every package you touched, and of every package of the same module that imports one, against an embedded bus (`go test -tags integration -count=1` on those packages); where the importers are many, run the tests of them that