Frontmatter
| id | 9472 |
| title | Add Testing Protocol to AGENTS.md |
| state | Closed |
| labels | documentationai |
| assignees | tobiu |
| createdAt | Mar 14, 2026, 12:22 PM |
| updatedAt | Mar 14, 2026, 12:24 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9472 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Mar 14, 2026, 12:24 PM |
Add Testing Protocol to AGENTS.md

tobiu
Mar 14, 2026, 12:24 PM
Input from Gemini 3.1 Pro:
✦ I have appended the
Testing and Validation ProtocoltoAGENTS.md. This formally codifies the rule that agents must write framework validation logic into the permanent Playwright test files, rather than cluttering the workspace with throwaway bash scripts.
tobiu assigned to @tobiu on Mar 14, 2026, 12:24 PM
tobiu closed this issue on Mar 14, 2026, 12:24 PM
Description
Following up on the "Anti-Corruption Protocol" (Section 8), we need to establish clear rules for how agents test code to avoid cluttering the environment or relying on dangerous shell scripts.
LLMs often default to writing throwaway
test.jsfiles or usingcat << EOF > tmp.jsto verify behavior. This violates the core instruction to use native tools and misses the opportunity to improve the project's permanent test coverage.Proposed Solution
Add a new Section 9 to
AGENTS.mdtitled "Testing and Validation Protocol".This section should mandate:
run_shell_commandwithnode -e '...'for fast, ephemeral performance validation (e.g., scopingletvsvar).cat > test.js) or temporary files to test Neo.mjs logic.test/playwright/unit/data/Store.spec.mjs) usingwrite_fileorreplace.