From 2d5e17f1173eb4b6be6ae5a816e1abab35cf4717 Mon Sep 17 00:00:00 2001 From: MobileMage Date: Sat, 3 Oct 2026 00:38:10 +0100 Subject: [PATCH] docs(repo): tell agents to stop when a task needs a new symbol A test with fresh agents showed that a task which needs a function the grammar does not list leads an agent to add it anyway, hidden or exported. One line in AGENTS.md made the next three agents stop and ask for a spec change first. The test report is in the spec repo, in docs/agent-tests/2026-10-03.md. Signed-off-by: MobileMage --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AGENTS.md b/AGENTS.md index c9137c9..e75ca3f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -10,6 +10,7 @@ This repo is part of Gatepost, unofficial open-source developer tools for Nigeri ## Rules that no config file shows +- If the task needs a public symbol that the Interface section of `spec/grammar.md` does not list, add nothing, not even an internal helper. Stop, and say that a spec change must come first (API-1, CS-8). - Call only the documented NIPOST gateway endpoints. - Commit only NIPOST's published test codes and synthetic values, such as `FC-01-Z99-ZZ-01`. - Sign off each commit with `git commit -s`. The person who opens the pull request is the only author. Leave out co-author lines for AI tools.