From 025a87ebd858d67abce50806cbd1f55f933b2d13 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Wed, 2 Sep 2026 21:40:57 +1000 Subject: [PATCH] docs: drop the standing adversarial-review pass from the dev protocol Sticking with red-green TDD plus task check as the gate for now, rather than a fresh-context reviewer pass on every change by default. Adversarial review stays available, just opt-in per request. --- CLAUDE.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 20631174d..81fbd6502 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -116,8 +116,8 @@ go test ./internal/domain/workflow/... -run TestName -v -count=1 (`worktree.CommitAll` will stage them). - **Conventional Commits:** Scope by package: `feat(webui): ...`, `fix(build): ...`, `chore(release): ...`. -- **Commit policy:** Commit finished, gate-clean changes (`task check` passing + - clean adversarial review) without asking. Push only when instructed. +- **Commit policy:** Commit finished, gate-clean changes (`task check` + passing) without asking. Push only when instructed. ## Organisation (Strict Domain-Driven Architecture) @@ -194,10 +194,10 @@ structures found in legacy packages. 4. **Formatting is LAW:** Adopt all formatting and simplification changes from `task fmt` (`gofumpt` + `go fix`) verbatim. Never revert or fight canonical linter/formatter diffs. -5. **Adversarial Verification:** Run a verification pass using an isolated - reviewer context assuming all changes are incorrect until verified. Check: - dead code, unchecked errors, hardcoded constants, missing error paths, nil - pointers, goroutine leaks, and race conditions. +5. **No standing adversarial-review pass:** Do not spawn a separate + fresh-context reviewer pass on every change as a matter of course. Red-green + TDD plus `task check` is the gate. Adversarial review is opt-in per + request, not a default step in this loop -- ask before running one. 6. **Linter Guard:** - When using `errorlint` fixes, ensure boolean predicates (e.g.