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.
This commit is contained in:
sam committed 2026-09-02 21:40:57 +10:00
1 parent b147a288ae
commit 025a87ebd8
1 file changed
+6 -6
+6 -6
View File
@@ -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.