flow-next · PR review lens

QA as an optional pipeline stage — lean, agentic, evidence-aware

/flow-next:qa graduates from a user-invoked skill into an opt-in, config-gated pilot stage that runs one live-app pass at all-tasks-done, before make-pr. It augments — never replaces — CI/staging/manual QA.
plan → plan-review → work → [ qa ] → make-pr
3 / 3tasks done
9 / 9R-IDs covered
23files · +977 / −104
1config default (net-new flowctl)
offdefault · zero-overhead when unused

90-second read

R-ID → evidence

R-IDCriterionTaskCommit
R1Config gate pipeline.qa (default off) inserts qa at all-done.2116603e
R1bIdempotent — classify qa only when no fresh qa_verdict receipt (id + head_sha).2116603e
R2Lean+agentic — no new flowctl subcommand/engine (one config default), no artifact.18c945e9
R3Reverses "QA never a stage" only under the gate; other five stay forbidden.2116603e
R4Evidence-aware — subtract only mapped+deterministic AC; runtime/UI always live.18c945e9
R5SHIP needs captured live evidence; work narration never counts.18c945e9
R6Augmenting, local-dev scope; BLOCKED/NA advance; not a CI/staging/manual replacement.2116603e
R7Verdict surfaced not loop-blocked — routes on qa_outcome; NEEDS_WORK → draft PR.2116603e
R8Receipts only at hand-off — existing qa_verdict gains additive fields, no new artifact.18c945e9
R9Autonomy-safe + full doc sweep (4 repos) + Codex mirror.33540744

9/9 covered — no uncovered acceptance criteria.

Churn map · by review intent

FileIntentChurn
skills/flow-next-qa/workflow.mdEvidence-aware subtraction + autonomous-mode + receipt writer — read first
+124/−30
skills/flow-next-pilot/workflow.mdThe qa stage: classify / idempotence / dispatch / verify
+84/−1
skills/flow-next-make-pr/workflow.mdNew ## Live QA section reads the receipt into the PR body
+68/−2
scripts/flowctl.py (×2 copies)The one flowctl touchpipeline.qa config default
+14
tests/test_pipeline_qa_config.py NEW + test_qa_receipt.pyRegression: gate default, routing, receipt fields
+321
codex/skills/…Codex mirror (sync-codex.sh)
regen
docs/ralph.md, docs/README.md, README.md, CHANGELOG.md, docs/flowctl.mdPipeline docs + ## Unreleased entry
+17

Where to look

Risk register

Generated by /flow-next:make-pr from fn-72-qa-as-an-optional-pipeline-stage-spec against origin/main · 2026-06-27 · regenerable; the markdown PR body is the record.