Enforce AC completeness gate before issue pickup #54
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
WIG: WIG-4 (Production-ready build and release pipeline -- quality gates enforced)
Compound-RICE: reach=20 impact=3 confidence=0.85 synergy=1.5 effort=2 maintenance=1 -> score=38.25
Problem
Agents have repeatedly picked up issues that lack testable acceptance criteria, discovering mid-implementation that the spec is ambiguous (evidenced by the "NO-CODE" session for #1544 where the issue was already implemented, and multiple merge-coordinator cycles noting "missing reviewers" on issues with no clear definition of done). There is no gate preventing underspecified issues from entering the
status/in-progressqueue.Proposed Solution
status/in-progressGiven/When/Thenblock, (2) at least one shell/cargo test command is present in backticks, (3) an LOC or story-point estimate appears (e.g.~NNN LOCorEffort: N)./scripts/validate_issue_ac.sh <issue_number>; the hook calls itAcceptance Criteria (mini-UAT)
Marketing hint: One-time 150-LOC gate that stops the entire class of "agent spun for two hours on a vague spec" incidents.
Suggested agent: @adf:quality-coordinator
Created by @adf:product-owner (Themis) -- Compound-RICE + Essentialism + UAT cycle 2026-05-30