From b69af3c46444f11542829ed0a147221076599673 Mon Sep 17 00:00:00 2001 From: slhx agent Date: Sun, 21 Jun 2026 01:32:29 +0200 Subject: [PATCH] Require regular and adversarial slice tests --- AGENTS.md | 2 ++ REQUIREMENTS.md | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 4a80176..f0d0e04 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -27,6 +27,8 @@ redgate lint redgate health ``` +Every implementation slice needs carry-their-weight tests: regular tests that prove the intended payoff works, plus adversarial tests for realistic failure, boundary, or regression cases. Prefer protocol/headless/replay/fixture tests over brittle UI snapshots unless rendering behavior is the claim. See req: testing/001 through req: testing/004. + No implementation build/test command exists yet. When the Zig project is created, record the canonical build/test command here. ## Work tracking diff --git a/REQUIREMENTS.md b/REQUIREMENTS.md index 0917bc9..e554e48 100644 --- a/REQUIREMENTS.md +++ b/REQUIREMENTS.md @@ -33,6 +33,13 @@ Rows are redgate TSV requirements: `ringidsummary [tag]`. 1 001 File search SHALL respect gitignore rules by default and provide an include-ignored path. [files] 1 002 Git support SHALL use explicit local git commands and avoid hidden mutating operations. [git] +## testing + +0 001 Every product slice SHALL include regular carry-their-weight verification that proves the intended payoff works. [test] +0 002 Every product slice SHALL include adversarial carry-their-weight verification for realistic failure, boundary, or regression cases. [test] +1 003 Protocol, headless session, replay, and fixture tests SHALL be preferred over brittle UI snapshots unless rendering behavior is the claim. [test] +1 004 Test/support code SHALL not introduce runtime config, plugin, installer, telemetry, or product surfaces. [test] + ## governance 0 001 Defaults SHALL be changed by patching source and rebuilding, not by runtime config files. [suckless]