Merge pull request 'docs(adr): draft PR for qa and acceptance checks in ADR-0031' (#196) from docs/adr-0031-draft-pr-qa into main
Reviewed-on: #196
This commit was merged in pull request #196.
This commit is contained in:
commit
f69fc15d7a
2 files changed
+18
-3
No files matched your search
@@ -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,
|
||||
|
||||
@@ -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.
|
||||
Reference in new issue
Block a user