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 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
This commit is contained in:
Defame1297andClaude Opus 5.5 committed 2026-11-22 16:08:54 +00:00
1 parent 884a5ab55b
commit 6862a1541b
2 files changed
+18 -3

No files matched your search

+7
View File
@@ -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. the pointer the next stage starts from, and open questions. The next stage reads it first.
_Avoid_: summary, status update _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**: **Odd job**:
A one-off operator action that is not the effect of a merge, such as an ad-hoc playbook run. It 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, reaches the operator directly on the human's instruction, skipping planner, implementer and reviewer,
@@ -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. - 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. - 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. After the first push the implement-stage lead opens a draft PR (Gitea `WIP:` title prefix, which
- Agents never duplicate deterministic checks: pre-commit hooks gate commits, CI (on branch push and blocks merge) and QA judges that PR's CI checks; when QA passes, the lead removes `WIP:`, and that
PR) runs tests, lint, Molecule and plan/diff output; QA, reviewer and operator add only judgement. 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. - 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 - 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. apply gate; the operator verifies and opens revert PRs, never reverting on its own.