From 6862a1541b39a1ccc7261965c8deb76d69112801 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sun, 22 Nov 2026 16:08:54 +0000 Subject: [PATCH] docs(adr): draft PR for qa and acceptance checks in ADR-0031 QA now judges a draft (WIP:) PR's CI checks instead of a pushed branch, since most repos run CI on PRs only; removing WIP: hands off to review. The test author always writes acceptance checks. Adds the Acceptance check term to the glossary. Refs: #173 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN --- GLOSSARY.md | 7 +++++++ ...arty-delivery-team-replaces-mattpocock-chain.md | 14 +++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/GLOSSARY.md b/GLOSSARY.md index 8daba1d..6847279 100644 --- a/GLOSSARY.md +++ b/GLOSSARY.md @@ -139,6 +139,13 @@ The fixed-shape tracker comment that ends every **Stage** — decisions, rejecte the pointer the next stage starts from, and open questions. The next stage reads it first. _Avoid_: summary, status update +**Acceptance check**: +What the test author writes before any implementation, from a ticket's acceptance criteria: a +failing test where a test can express the criterion, otherwise a post-merge assertion about the +applied state with the reason no test applies. The operator verifies the assertions; the reviewer +judges the reasons. +_Avoid_: test case, verification step + **Odd job**: A one-off operator action that is not the effect of a merge, such as an ad-hoc playbook run. It reaches the operator directly on the human's instruction, skipping planner, implementer and reviewer, diff --git a/docs/adr/0031-first-party-delivery-team-replaces-mattpocock-chain.md b/docs/adr/0031-first-party-delivery-team-replaces-mattpocock-chain.md index b7d2490..390e294 100644 --- a/docs/adr/0031-first-party-delivery-team-replaces-mattpocock-chain.md +++ b/docs/adr/0031-first-party-delivery-team-replaces-mattpocock-chain.md @@ -24,9 +24,17 @@ approved) are human-set tracker state. `mattpocock`'s thinking tools (`wayfinder - We own the chain's maintenance from now on; upstream improvements arrive only by deliberate porting. - Only the implement stage has a team: test author → implementer (tests read-only) → QA, sequential. - QA runs on the pushed branch before the PR opens; review runs on the PR. -- Agents never duplicate deterministic checks: pre-commit hooks gate commits, CI (on branch push and - PR) runs tests, lint, Molecule and plan/diff output; QA, reviewer and operator add only judgement. + After the first push the implement-stage lead opens a draft PR (Gitea `WIP:` title prefix, which + blocks merge) and QA judges that PR's CI checks; when QA passes, the lead removes `WIP:`, and that + hand-off starts the review stage. Most repos run CI on PRs, not branch pushes, so the draft PR keeps + QA before review without changing any consuming repo's workflows. +- The test author always writes **Acceptance checks**: failing tests where a test applies, otherwise + post-merge assertions with a stated reason, which the operator verifies and the reviewer judges. +- Agents never duplicate deterministic checks: pre-commit hooks gate commits, CI (on the PR) runs + tests, lint, Molecule and plan/diff output; QA, reviewer and operator add only judgement. +- *Amended 2026-11-22 (holocron#173): QA ran on the pushed branch before the PR opened, and CI was + required on branch push as well as PR; both moved to the draft PR, and acceptance checks were + added.* - Claude Code and Copilot CLI are the tested targets; other runtimes are best effort. - Infra applies happen by merge (GitOps for Flux, Ansible and OpenTofu alike), so the PR gate is the apply gate; the operator verifies and opens revert PRs, never reverting on its own.