qfai 1.7.8 → 1.7.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -70
- package/assets/init/.qfai/README.md +11 -16
- package/assets/init/.qfai/assistant/agents/acceptance-test-engineer.md +51 -0
- package/assets/init/.qfai/assistant/agents/architecture-reviewer.md +57 -0
- package/assets/init/.qfai/assistant/agents/backend-engineer.md +40 -31
- package/assets/init/.qfai/assistant/agents/completion-reviewer.md +48 -0
- package/assets/init/.qfai/assistant/agents/delivery-planner.md +52 -0
- package/assets/init/.qfai/assistant/agents/devops-ci-engineer.md +31 -28
- package/assets/init/.qfai/assistant/agents/discovery-analyst.md +50 -0
- package/assets/init/.qfai/assistant/agents/doc-steward.md +30 -20
- package/assets/init/.qfai/assistant/agents/frontend-engineer.md +40 -31
- package/assets/init/.qfai/assistant/agents/implementation-reviewer.md +58 -0
- package/assets/init/.qfai/assistant/agents/orchestrator.md +19 -2
- package/assets/init/.qfai/assistant/agents/product-experience-architect.md +59 -0
- package/assets/init/.qfai/assistant/agents/product-surface-reviewer.md +60 -0
- package/assets/init/.qfai/assistant/agents/qa-gatekeeper.md +53 -48
- package/assets/init/.qfai/assistant/agents/qa-strategist.md +49 -0
- package/assets/init/.qfai/assistant/agents/requirements-analyst.md +32 -29
- package/assets/init/.qfai/assistant/agents/requirements-reviewer.md +48 -0
- package/assets/init/.qfai/assistant/agents/solution-architect.md +59 -0
- package/assets/init/.qfai/assistant/agents/test-design-analyst.md +64 -0
- package/assets/init/.qfai/assistant/instructions/agent-selection.md +64 -50
- package/assets/init/.qfai/assistant/instructions/communication.md +17 -0
- package/assets/init/.qfai/assistant/instructions/constitution.md +36 -1
- package/assets/init/.qfai/assistant/instructions/drift-protocol.md +1 -1
- package/assets/init/.qfai/assistant/instructions/requirements-decomposition.md +20 -13
- package/assets/init/.qfai/assistant/instructions/workflow.md +2 -1
- package/assets/init/.qfai/assistant/skills/qfai-atdd/SKILL.md +32 -31
- package/assets/init/.qfai/assistant/skills/qfai-atdd/references/test-case-depth-checklist.md +80 -0
- package/assets/init/.qfai/assistant/skills/qfai-configure/SKILL.md +21 -15
- package/assets/init/.qfai/assistant/skills/qfai-discussion/SKILL.md +95 -61
- package/assets/init/.qfai/assistant/skills/qfai-discussion/references/rcp_footer.md +17 -85
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/01_Context.md +9 -1
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/02_Inception-Deck.md +1 -1
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/03_Story-Workshop.md +17 -60
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/04_Sources.md +69 -2
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/06_REQ.md +1 -1
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/07_NFR.md +1 -1
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/09_Constraints.md +1 -1
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/10_Policy.md +1 -1
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/11_OQ-Register.md +1 -1
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/12_OQ-Resolution-Log.md +1 -1
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/13_Deferred.md +1 -1
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/14_Review-Request.md +25 -16
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/99_delta.md +1 -1
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/prototyping.yaml +9 -0
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/review/Rxx_reviewer.md +8 -4
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/review/review_request.md +11 -7
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/review/summary.json +6 -44
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/00_index.md +29 -14
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/10_implementation_strategy.md +20 -0
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/11_design_taste_interview.md +45 -0
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/20_design_eval_invariant.md +68 -0
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/21_design_eval_trend_derived.md +68 -0
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/22_design_eval_product_specific.md +68 -0
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/23_design_eval_aggregate.md +41 -0
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/24_design_eval_dynamic_overrides.md +28 -0
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/30_option_comparison.md +56 -0
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/31_selected_anchor_screen.md +42 -0
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/40_screen_contracts.md +44 -0
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/50_review_input_bundle.md +36 -0
- package/assets/init/.qfai/assistant/skills/qfai-implement/SKILL.md +65 -67
- package/assets/init/.qfai/assistant/skills/qfai-prototyping/SKILL.md +188 -267
- package/assets/init/.qfai/assistant/skills/qfai-sdd/SKILL.md +91 -57
- package/assets/init/.qfai/assistant/skills/qfai-sdd/references/rcp_footer.md +21 -80
- package/assets/init/.qfai/assistant/skills/qfai-sdd/templates/evidence/import-lite.md +1 -1
- package/assets/init/.qfai/assistant/skills/qfai-sdd/templates/specs/_policies/11_Slice-Policy.md +50 -0
- package/assets/init/.qfai/assistant/skills/qfai-sdd/templates/specs/spec/06_Test-Cases.md +23 -3
- package/assets/init/.qfai/assistant/skills/qfai-verify/SKILL.md +25 -17
- package/assets/init/.qfai/assistant/steering/agent-catalog.yml +194 -0
- package/assets/init/.qfai/assistant/steering/agent-routing.yml +176 -0
- package/assets/init/.qfai/assistant/steering/cli-ux-guidelines.md +49 -0
- package/assets/init/.qfai/assistant/steering/manifest.md +44 -19
- package/assets/init/.qfai/assistant/steering/product.md +53 -11
- package/assets/init/.qfai/assistant/steering/research-first-protocol.md +58 -0
- package/assets/init/.qfai/assistant/steering/review-gate.rules.yml +17 -66
- package/assets/init/.qfai/assistant/steering/review-profiles.yml +30 -0
- package/assets/init/.qfai/assistant/steering/structure.md +30 -16
- package/assets/init/.qfai/assistant/steering/tech.md +37 -21
- package/assets/init/.qfai/assistant/steering/ui-definition-protocol.md +54 -0
- package/assets/init/.qfai/contracts/README.md +10 -4
- package/assets/init/.qfai/contracts/design/README.md +32 -0
- package/assets/init/.qfai/contracts/ui/README.md +5 -3
- package/assets/init/.qfai/discussion/README.md +52 -5
- package/assets/init/.qfai/evidence/README.md +143 -116
- package/assets/init/.qfai/report/README.md +1 -1
- package/assets/init/.qfai/review/README.md +24 -9
- package/assets/init/.qfai/specs/README.md +5 -2
- package/assets/init/root/qfai.config.yaml +13 -0
- package/assets/uix-rev/comparison-review.md +24 -7
- package/assets/uix-rev/contracts-review.md +17 -10
- package/assets/uix-rev/scoring-review.md +42 -6
- package/assets/uix-rev/strategy-review.md +13 -9
- package/dist/cli/index.cjs +15646 -11383
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.mjs +10846 -6582
- package/dist/cli/index.mjs.map +1 -1
- package/dist/index.cjs +10885 -6287
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +766 -198
- package/dist/index.d.ts +766 -198
- package/dist/index.mjs +10858 -6263
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -3
- package/assets/init/.qfai/assistant/agents/architect-reviewer.md +0 -65
- package/assets/init/.qfai/assistant/agents/architect.md +0 -49
- package/assets/init/.qfai/assistant/agents/atdd-api-implementer.md +0 -49
- package/assets/init/.qfai/assistant/agents/atdd-e2e-implementer.md +0 -48
- package/assets/init/.qfai/assistant/agents/atdd-integration-implementer.md +0 -48
- package/assets/init/.qfai/assistant/agents/backend-reviewer.md +0 -66
- package/assets/init/.qfai/assistant/agents/code-reviewer.md +0 -67
- package/assets/init/.qfai/assistant/agents/contract-designer.md +0 -49
- package/assets/init/.qfai/assistant/agents/coverage-planner.md +0 -49
- package/assets/init/.qfai/assistant/agents/design-owner.md +0 -48
- package/assets/init/.qfai/assistant/agents/design-review-lead.md +0 -68
- package/assets/init/.qfai/assistant/agents/facilitator.md +0 -48
- package/assets/init/.qfai/assistant/agents/frontend-reviewer.md +0 -66
- package/assets/init/.qfai/assistant/agents/interviewer.md +0 -45
- package/assets/init/.qfai/assistant/agents/option-explorer.md +0 -51
- package/assets/init/.qfai/assistant/agents/option-reviewer.md +0 -66
- package/assets/init/.qfai/assistant/agents/oq-harvester.md +0 -50
- package/assets/init/.qfai/assistant/agents/oq-reviewer.md +0 -70
- package/assets/init/.qfai/assistant/agents/planner.md +0 -48
- package/assets/init/.qfai/assistant/agents/project-lead.md +0 -47
- package/assets/init/.qfai/assistant/agents/prototyping-coverage-auditor.md +0 -46
- package/assets/init/.qfai/assistant/agents/qa-engineer.md +0 -47
- package/assets/init/.qfai/assistant/agents/qa-lead.md +0 -44
- package/assets/init/.qfai/assistant/agents/qa-reviewer.md +0 -66
- package/assets/init/.qfai/assistant/agents/researcher.md +0 -47
- package/assets/init/.qfai/assistant/agents/reviewer.md +0 -62
- package/assets/init/.qfai/assistant/agents/runtime-gatekeeper.md +0 -46
- package/assets/init/.qfai/assistant/agents/test-case-owner.md +0 -53
- package/assets/init/.qfai/assistant/agents/test-engineer.md +0 -50
- package/assets/init/.qfai/assistant/agents/test-volume-estimator.md +0 -48
- package/assets/init/.qfai/assistant/agents/ui-ux-reviewer.md +0 -71
- package/assets/init/.qfai/assistant/agents/unit-test-scope-enforcer.md +0 -46
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/10_strategy.md +0 -28
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/20_eval_axis_usability.md +0 -31
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/21_eval_axis_consistency.md +0 -31
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/22_eval_axis_accessibility.md +0 -31
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/23_eval_axis_delight.md +0 -56
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/30_comparison.md +0 -45
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/31_anchor.md +0 -27
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/40_contracts.md +0 -51
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/50_review_bundle.md +0 -31
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/60_critique_loop.md +0 -23
- package/assets/init/.qfai/assistant/steering/review-roster.yml +0 -128
- package/assets/init/.qfai/evidence/.gitignore +0 -3
- package/assets/init/.qfai/report/.gitignore +0 -3
- package/assets/init/.qfai/review/.gitignore +0 -5
|
@@ -2,9 +2,22 @@
|
|
|
2
2
|
name: qfai-implement
|
|
3
3
|
title: QFAI Implement (Unified TDD Micro-cycle)
|
|
4
4
|
description: "Unified implementation skill that orchestrates the full TDD micro-cycle (Red/Green/Refactor) one test at a time using test-list.md as the execution ledger."
|
|
5
|
-
argument-hint: "
|
|
5
|
+
argument-hint: "[spec-id]"
|
|
6
6
|
allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent]
|
|
7
|
-
roles:
|
|
7
|
+
roles:
|
|
8
|
+
[
|
|
9
|
+
orchestrator,
|
|
10
|
+
delivery-planner,
|
|
11
|
+
test-design-analyst,
|
|
12
|
+
frontend-engineer,
|
|
13
|
+
backend-engineer,
|
|
14
|
+
acceptance-test-engineer,
|
|
15
|
+
implementation-reviewer,
|
|
16
|
+
qa-gatekeeper,
|
|
17
|
+
completion-reviewer,
|
|
18
|
+
product-surface-reviewer,
|
|
19
|
+
]
|
|
20
|
+
routing-profile: runtime-heavy
|
|
8
21
|
mode: approval-gated
|
|
9
22
|
---
|
|
10
23
|
|
|
@@ -18,6 +31,22 @@ QFAI Skill Body (SSOT)
|
|
|
18
31
|
|
|
19
32
|
[DRIFT-PROTOCOL:MANDATORY]
|
|
20
33
|
|
|
34
|
+
## Spec Auto-Discovery Protocol
|
|
35
|
+
|
|
36
|
+
When no explicit argument is given, detect the candidate spec and constrain execution to one spec only.
|
|
37
|
+
|
|
38
|
+
### One-Spec-at-a-Time Guarantee
|
|
39
|
+
|
|
40
|
+
- Auto-discovery selects at most one spec for this run.
|
|
41
|
+
- This protocol does NOT enable multi-spec parallel execution.
|
|
42
|
+
- If multiple candidate specs are detected, do not start implementation until the user selects exactly one spec.
|
|
43
|
+
|
|
44
|
+
### User Selection Flow
|
|
45
|
+
|
|
46
|
+
- Single spec detected: announce the detected spec and ask for confirmation when scope is ambiguous.
|
|
47
|
+
- Multiple specs detected: display the candidates and require the user to choose one spec.
|
|
48
|
+
- Zero specs detected: stop and ask the user to provide the target spec explicitly.
|
|
49
|
+
|
|
21
50
|
## User Questions (AskUserQuestion Protocol)
|
|
22
51
|
|
|
23
52
|
- When a question to the user is needed (e.g., exception handling, scope confirmation),
|
|
@@ -48,8 +77,8 @@ Execute the TDD micro-cycle for each pending item in `test-list.md`, transitioni
|
|
|
48
77
|
## Visual Review Guard
|
|
49
78
|
|
|
50
79
|
- Review rendered output, screenshot evidence, or HTML output before closing any UI-affecting item.
|
|
51
|
-
- Read the
|
|
52
|
-
- Read order:
|
|
80
|
+
- Read the sidecar family first (selected direction, strategy, screen contracts) whenever implementation touches UI or critique-driven behavior.
|
|
81
|
+
- Read order: option comparison (30_option_comparison.md) → selected anchor screen (31_selected_anchor_screen.md) → strategy (10_implementation_strategy.md) → taste interview (11_design_taste_interview.md) → trend scan (04_Sources.md) → 3-layer evaluation family (20/21/22/23 + optional 24) → screen contracts (40_screen_contracts.md) → review input bundle (50_review_input_bundle.md) → optional design tokens → optional fallback mock → mermaid flows.
|
|
53
82
|
- If code intent and rendered output diverge, treat the rendered/HTML result as the blocking review input and reconcile before DONE.
|
|
54
83
|
|
|
55
84
|
## Non-goals
|
|
@@ -118,8 +147,8 @@ When transitioning to `exception`:
|
|
|
118
147
|
1. Improve code quality (naming, structure, duplication removal) while keeping all tests green.
|
|
119
148
|
2. Run the full relevant test suite to confirm nothing broke.
|
|
120
149
|
3. Transition status to `refactor`.
|
|
121
|
-
4. Submit for
|
|
122
|
-
5. After
|
|
150
|
+
4. Submit for completion review (`completion-reviewer`) and code quality review (`implementation-reviewer`).
|
|
151
|
+
5. After all routed blocking reviewers return PASS, run checkpoint verification, then transition to `done`.
|
|
123
152
|
|
|
124
153
|
### Completion
|
|
125
154
|
|
|
@@ -137,62 +166,31 @@ When transitioning to `exception`:
|
|
|
137
166
|
|
|
138
167
|
### Formal Sub-agent Roster
|
|
139
168
|
|
|
140
|
-
This skill delegates
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
-
|
|
147
|
-
|
|
148
|
-
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
-
|
|
153
|
-
|
|
154
|
-
- Prohibitions: must not write production code before the failing test exists,
|
|
155
|
-
must not confirm its own RED/GREEN observations (self-certification prohibited — only RedGreenAuditor may confirm RED/GREEN observations),
|
|
156
|
-
must not work on more than one item simultaneously, must not perform speculative generalization, must not mix unrelated refactoring
|
|
157
|
-
|
|
158
|
-
#### RedGreenAuditor
|
|
159
|
-
|
|
160
|
-
- Responsibilities: sole authority for confirming RED and GREEN observations — verifies that the test actually failed for the expected reason (watch it fail),
|
|
161
|
-
verifies that the test actually passed after implementation (watch it pass), verifies that refactored code maintains green state
|
|
162
|
-
- Prohibitions: must not accept reasoning-only confirmation without actual test execution output, must not accept setup failures / import errors / typo failures as valid RED observations
|
|
163
|
-
|
|
164
|
-
#### TDDSpecReviewer
|
|
165
|
-
|
|
166
|
-
- Responsibilities: reviews alignment with `01_Spec.md`, `06_Test-Cases.md`, `09_delta.md`, `10_Plan.md` — detects scope creep,
|
|
167
|
-
verifies `test-list.md` updates match spec references, performs spec review as an independent gate
|
|
168
|
-
- Prohibitions: must not issue style-only reviews that skip compliance checks, must not permit spec drift through reviewer notes alone while allowing completion
|
|
169
|
-
|
|
170
|
-
#### TDDCodeQualityReviewer
|
|
171
|
-
|
|
172
|
-
- Responsibilities: reviews duplication, naming, hidden coupling, edge cases, error boundaries, security assumptions —
|
|
173
|
-
verifies refactor achieves design improvement, performs code quality review as an independent gate
|
|
174
|
-
- Prohibitions: must not issue style-nit-only reviews that skip design analysis, must not conflate spec compliance with quality review scope,
|
|
175
|
-
must not be self-approved by TDDImplementer (TDDImplementer cannot serve as TDDCodeQualityReviewer for its own work)
|
|
176
|
-
|
|
177
|
-
#### ParallelSliceDispatcher
|
|
178
|
-
|
|
179
|
-
- Responsibilities: sole authority for authorizing parallel dispatch — evaluates independence of candidate slices, requires worktree/branch separation, defines post-merge integration verify conditions
|
|
180
|
-
- Prohibitions: must not authorize parallel dispatch for slices sharing the same behavior R/G/R cycle, same API surface, same fixture/mock/DI/global setup, or any unexplained independence claim
|
|
169
|
+
This skill delegates through the centralized routing policy in `.qfai/assistant/steering/agent-routing.yml`.
|
|
170
|
+
|
|
171
|
+
- `delivery-planner`
|
|
172
|
+
- reads `test-list.md`, selects the next pending item, enforces Red-Green-Refactor ordering, and decides parallel safety
|
|
173
|
+
- `frontend-engineer` / `backend-engineer`
|
|
174
|
+
- implement the selected item only, write the failing test first, write minimal passing code, and refactor without unrelated changes
|
|
175
|
+
- `qa-gatekeeper`
|
|
176
|
+
- is the sole authority for validating RED/GREEN observation evidence and completion gate evidence
|
|
177
|
+
- `implementation-reviewer`
|
|
178
|
+
- reviews code quality, maintainability, backend correctness, and hidden coupling
|
|
179
|
+
- `completion-reviewer`
|
|
180
|
+
- verifies spec alignment, drift-protocol compliance, and final DoD
|
|
181
|
+
- `product-surface-reviewer`
|
|
182
|
+
- reviews UI-affecting implementation when the item changes surface behavior
|
|
181
183
|
|
|
182
184
|
### Handoff Contracts
|
|
183
185
|
|
|
184
|
-
All agent-to-agent transitions follow these
|
|
186
|
+
All agent-to-agent transitions follow these contracts:
|
|
185
187
|
|
|
186
|
-
1.
|
|
187
|
-
2.
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
5. **TDDSpecReviewer -> TDDImplementer**: Reviewer returns PASS (proceed to quality review) or FAIL with required fixes
|
|
193
|
-
6. **TDDImplementer -> TDDCodeQualityReviewer**: After spec review PASS, Implementer submits for code quality review
|
|
194
|
-
7. **TDDCodeQualityReviewer -> TDDImplementer**: Reviewer returns PASS (item can be marked done) or FAIL with required fixes
|
|
195
|
-
8. **TDDCycleController -> ParallelSliceDispatcher**: Controller requests parallel dispatch evaluation; Dispatcher returns authorization or denial with rationale
|
|
188
|
+
1. `delivery-planner` selects the next item and assigns it to the appropriate implementation agent.
|
|
189
|
+
2. Implementation agent submits RED/GREEN execution evidence to `qa-gatekeeper`.
|
|
190
|
+
3. `qa-gatekeeper` confirms or rejects the RED/GREEN observation.
|
|
191
|
+
4. After GREEN, implementation agent submits the item to `completion-reviewer` for spec alignment and to `implementation-reviewer` for code quality review.
|
|
192
|
+
5. `product-surface-reviewer` is added when the item affects UI behavior or rendered output.
|
|
193
|
+
6. Only after all routed blocking reviewers pass may the item transition to `done`.
|
|
196
194
|
|
|
197
195
|
### Capability Probe (MUST)
|
|
198
196
|
|
|
@@ -227,7 +225,7 @@ Every major artifact in this stage MUST include this table schema:
|
|
|
227
225
|
- **Default**: Serial execution. Items are processed one test at a time in `test-list.md` order.
|
|
228
226
|
- **Exception**: When items target completely independent SUT modules with no shared state, parallel processing may be used with explicit user approval.
|
|
229
227
|
- Serial execution ensures that each test is written and verified in isolation before moving to the next.
|
|
230
|
-
-
|
|
228
|
+
- `delivery-planner` is the sole authority for authorizing parallel dispatch.
|
|
231
229
|
|
|
232
230
|
### Allow conditions (all must be true)
|
|
233
231
|
|
|
@@ -250,7 +248,7 @@ Every major artifact in this stage MUST include this table schema:
|
|
|
250
248
|
|
|
251
249
|
- After parallel slices complete and merge, run integration verify on the merged result
|
|
252
250
|
- If integration verify fails, flag all slices for re-examination and roll back the merge
|
|
253
|
-
- If integration verify passes, state transitions back to
|
|
251
|
+
- If integration verify passes, state transitions back to `delivery-planner` for sequential flow
|
|
254
252
|
|
|
255
253
|
## Completion Contract (Shared)
|
|
256
254
|
|
|
@@ -260,12 +258,12 @@ An item in `test-list.md` may transition to `done` only when ALL of the followin
|
|
|
260
258
|
|
|
261
259
|
1. Corresponding `TDD-ID` has been selected and is in progress
|
|
262
260
|
2. A failing test was added first (test-first)
|
|
263
|
-
3. RED was observed —
|
|
261
|
+
3. RED was observed — `qa-gatekeeper` confirmed the test failed for the expected reason (watch it fail)
|
|
264
262
|
4. Minimal production code was written to make the test pass
|
|
265
|
-
5. GREEN was observed —
|
|
263
|
+
5. GREEN was observed — `qa-gatekeeper` confirmed the test passes after implementation (watch it pass)
|
|
266
264
|
6. Refactor was performed and GREEN was re-confirmed after refactor
|
|
267
|
-
7.
|
|
268
|
-
8.
|
|
265
|
+
7. `completion-reviewer` returned PASS (spec / completion review gate)
|
|
266
|
+
8. `implementation-reviewer` returned PASS (code quality review gate)
|
|
269
267
|
9. `test-list.md` Status and Evidence columns are updated with fresh evidence
|
|
270
268
|
10. Checkpoint verification passed
|
|
271
269
|
|
|
@@ -285,7 +283,7 @@ Completion MUST NOT be declared when any of the following are true:
|
|
|
285
283
|
|
|
286
284
|
- No RED fresh evidence exists for the item
|
|
287
285
|
- No GREEN fresh evidence exists for the item
|
|
288
|
-
- Either reviewer (
|
|
286
|
+
- Either reviewer (`completion-reviewer` or `implementation-reviewer`) has not been run or returned FAIL
|
|
289
287
|
- Items with `todo`, `red`, `green`, or `refactor` status still exist (for spec-level completion)
|
|
290
288
|
- Parallel slices were used but integration verify has not been run post-merge
|
|
291
289
|
- Checkpoint boundary was reached but verification was not executed
|
|
@@ -314,8 +312,8 @@ Each TDD item MUST have fresh evidence containing at minimum:
|
|
|
314
312
|
- `GREEN result` — the success output
|
|
315
313
|
- `Refactor verify command` — the exact command re-executed after refactor
|
|
316
314
|
- `Refactor verify result` — the output confirming GREEN is maintained
|
|
317
|
-
- `Spec review` —
|
|
318
|
-
- `Code quality review` —
|
|
315
|
+
- `Spec review` — completion-reviewer result (PASS or FAIL)
|
|
316
|
+
- `Code quality review` — implementation-reviewer result (PASS or FAIL)
|
|
319
317
|
|
|
320
318
|
### Evidence hard rules
|
|
321
319
|
|