qfai 1.8.9 → 1.9.0
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 +57 -26
- package/assets/init/.qfai/assistant/agents/acceptance-test-engineer.md +3 -3
- package/assets/init/.qfai/assistant/agents/architecture-reviewer.md +4 -4
- package/assets/init/.qfai/assistant/agents/backend-engineer.md +3 -3
- package/assets/init/.qfai/assistant/agents/completion-reviewer.md +4 -4
- package/assets/init/.qfai/assistant/agents/delivery-planner.md +2 -2
- package/assets/init/.qfai/assistant/agents/devops-ci-engineer.md +2 -2
- package/assets/init/.qfai/assistant/agents/discovery-analyst.md +2 -2
- package/assets/init/.qfai/assistant/agents/doc-steward.md +2 -2
- package/assets/init/.qfai/assistant/agents/frontend-engineer.md +2 -2
- package/assets/init/.qfai/assistant/agents/implementation-reviewer.md +4 -4
- package/assets/init/.qfai/assistant/agents/orchestrator.md +3 -3
- package/assets/init/.qfai/assistant/agents/product-experience-architect.md +2 -2
- package/assets/init/.qfai/assistant/agents/product-surface-reviewer.md +4 -4
- package/assets/init/.qfai/assistant/agents/qa-gatekeeper.md +4 -4
- package/assets/init/.qfai/assistant/agents/qa-strategist.md +3 -3
- package/assets/init/.qfai/assistant/agents/requirements-analyst.md +2 -2
- package/assets/init/.qfai/assistant/agents/requirements-reviewer.md +4 -4
- package/assets/init/.qfai/assistant/agents/solution-architect.md +2 -2
- package/assets/init/.qfai/assistant/agents/test-design-analyst.md +3 -3
- package/assets/init/.qfai/assistant/{steering → catalog}/manifest.md +3 -3
- package/assets/init/.qfai/assistant/{steering → catalog}/review-gate.rules.yml +4 -4
- package/assets/init/.qfai/assistant/{instructions → constitution}/constitution.md +2 -2
- package/assets/init/.qfai/assistant/{instructions → constitution}/shared-skill-operating-baseline.md +4 -4
- package/assets/init/.qfai/assistant/{instructions → constitution}/workflow.md +6 -6
- package/assets/init/.qfai/assistant/manifest/agent-catalog.yml +2161 -0
- package/assets/init/.qfai/assistant/{steering → manifest}/agent-routing.yml +5 -3
- package/assets/init/.qfai/assistant/skills/qfai-atdd/SKILL.md +18 -12
- package/assets/init/.qfai/assistant/skills/qfai-configure/SKILL.md +30 -25
- package/assets/init/.qfai/assistant/skills/qfai-discussion/SKILL.md +9 -3
- package/assets/init/.qfai/assistant/skills/qfai-discussion/references/discussion-artifact-rules.md +1 -1
- package/assets/init/.qfai/assistant/skills/qfai-discussion/references/rcp_footer.md +1 -1
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/14_Review-Request.md +1 -1
- package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/review/review_request.md +1 -1
- package/assets/init/.qfai/assistant/skills/qfai-implement/SKILL.md +12 -6
- package/assets/init/.qfai/assistant/skills/qfai-prototyping/SKILL.md +91 -19
- package/assets/init/.qfai/assistant/skills/qfai-sdd/SKILL.md +21 -12
- package/assets/init/.qfai/assistant/skills/qfai-sdd/references/rcp_footer.md +1 -1
- package/assets/init/.qfai/assistant/skills/qfai-sdd/references/review-cycle-playbook.md +2 -2
- package/assets/init/.qfai/assistant/skills/qfai-verify/SKILL.md +31 -25
- package/assets/init/root/.github/workflows/qfai-validate.yml +50 -6
- package/dist/cli/index.cjs +2670 -728
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.mjs +2713 -771
- package/dist/cli/index.mjs.map +1 -1
- package/dist/index.cjs +1025 -101
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1044 -120
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/assets/init/.qfai/assistant/steering/agent-catalog.yml +0 -194
- /package/assets/init/.qfai/assistant/{steering → catalog}/cli-ux-guidelines.md +0 -0
- /package/assets/init/.qfai/assistant/{steering → catalog}/product.md +0 -0
- /package/assets/init/.qfai/assistant/{manifest → catalog}/spec_required_files.json +0 -0
- /package/assets/init/.qfai/assistant/{steering → catalog}/structure.md +0 -0
- /package/assets/init/.qfai/assistant/{steering → catalog}/tech.md +0 -0
- /package/assets/init/.qfai/assistant/{steering → catalog}/test-layers.md +0 -0
- /package/assets/init/.qfai/assistant/{steering → catalog}/ui-definition-protocol.md +0 -0
- /package/assets/init/.qfai/assistant/{instructions → constitution}/agent-selection.md +0 -0
- /package/assets/init/.qfai/assistant/{instructions → constitution}/change-classification.md +0 -0
- /package/assets/init/.qfai/assistant/{instructions → constitution}/communication.md +0 -0
- /package/assets/init/.qfai/assistant/{instructions → constitution}/drift-protocol.md +0 -0
- /package/assets/init/.qfai/assistant/{instructions → constitution}/quality.md +0 -0
- /package/assets/init/.qfai/assistant/{instructions → constitution}/requirements-decomposition.md +0 -0
- /package/assets/init/.qfai/assistant/{steering → constitution}/research-first-protocol.md +0 -0
- /package/assets/init/.qfai/assistant/{instructions → constitution}/shared-skill-delegation-baseline.md +0 -0
- /package/assets/init/.qfai/assistant/{instructions → constitution}/thinking.md +0 -0
- /package/assets/init/.qfai/assistant/{steering → manifest}/review-profiles.yml +0 -0
- /package/assets/init/.qfai/assistant/{instructions → process}/migrations/v1.4.27-atdd-alignment.md +0 -0
package/README.md
CHANGED
|
@@ -18,11 +18,19 @@ The agent reads the repository, produces the required artifacts, and iterates un
|
|
|
18
18
|
## Release status
|
|
19
19
|
|
|
20
20
|
- Release posture: runtime truthfulness is enforced.
|
|
21
|
-
- Prototyping is UI-only and runs a
|
|
22
|
-
`qfai prototyping iterate --cycle <n
|
|
23
|
-
|
|
21
|
+
- Prototyping is UI-only and runs a multi-spec evolution loop driven by
|
|
22
|
+
`qfai prototyping iterate --cycle <n>`. The skill resolves every
|
|
23
|
+
UI-bearing spec in one invocation, freezes that set at cycle 0, and
|
|
24
|
+
iterates `cycle 0..9` (max 10 cycles) with deterministic stop conditions
|
|
25
|
+
(exit codes 0 continue / 64 convergence / 65 max-iterations /
|
|
26
|
+
66 license-verify failure / 2 input or lock drift).
|
|
24
27
|
- Runtime observation is observed-only (no synthetic 200 / API / DB prototyping coverage).
|
|
25
|
-
- Per-iter evidence is
|
|
28
|
+
- Per-iter evidence is a single `<screen>.review.json` per declared spec ×
|
|
29
|
+
screen pair (4-axis ordinal verdicts, 6 `*Feel` short-prose impressions
|
|
30
|
+
bounded to 200 words each, `layoutAntiPatternsDetected[]`,
|
|
31
|
+
`designMdViolations[]`, and `pivotDirective`). Reviewer-emitted
|
|
32
|
+
`<screen>.review.json` is the only per-cycle artifact — no `screenshot.png`,
|
|
33
|
+
`index.html`, or `interaction.json`.
|
|
26
34
|
- Calibration SSOT is the calibration pack referenced by `calibrationRef.packPath`.
|
|
27
35
|
|
|
28
36
|
## Quick start
|
|
@@ -46,7 +54,7 @@ npx qfai report
|
|
|
46
54
|
|
|
47
55
|
- `npx qfai init`
|
|
48
56
|
- Creates the QFAI workspace under `.qfai/` (requirements/specs/contracts/report) and installs the AI assistant kit
|
|
49
|
-
(`assistant/` with
|
|
57
|
+
(`assistant/` with the 4-layer tree — `constitution/`, `manifest/`, `catalog/`, `process/` — plus `agents/` and `skills/`), plus `qfai.config.yaml`.
|
|
50
58
|
- `npx qfai validate`
|
|
51
59
|
- Validates specs/contracts/scenarios/traceability and review artifacts
|
|
52
60
|
(`.qfai/review/review-*/summary.json` + minimum schema), writes `.qfai/report/validate.json`,
|
|
@@ -66,8 +74,8 @@ npx qfai report
|
|
|
66
74
|
Use `npx qfai prototyping preflight --target-url <url>` for a focused
|
|
67
75
|
prototyping preflight before the skill starts; it surfaces blocking
|
|
68
76
|
`QFAI-DCON-*` design-contract issues alongside runtime assumptions and resolves a runnable Playwright CLI launcher.
|
|
69
|
-
Use `npx qfai prototyping iterate --cycle <n> --target-url <url>` to drive each cycle of the
|
|
70
|
-
evolution loop. Exit codes: 0 (continue), 64 (convergence), 65 (max-iterations), 2 (input
|
|
77
|
+
Use `npx qfai prototyping iterate --cycle <n> --target-url <url>` to drive each cycle of the multi-spec
|
|
78
|
+
evolution loop. Exit codes: 0 (continue), 64 (convergence), 65 (max-iterations), 66 (license-verify failure), 2 (input or lock drift).
|
|
71
79
|
Traceability refs inside prototyping evidence must use repo-root-relative concrete artifact refs
|
|
72
80
|
(for example `.qfai/specs/spec-0001/01_Spec.md#L3` or `.qfai/evidence/prototyping/iter-03/home.png`).
|
|
73
81
|
Absolute paths are invalid. The same strict ref grammar is enforced for top-level and leaf evidence-bearing fields, including
|
|
@@ -132,10 +140,19 @@ QFAI includes a small set of custom skills (stored under `.qfai/assistant/skills
|
|
|
132
140
|
in `.qfai/specs/_policies/03_Capabilities.md` before the row is accepted
|
|
133
141
|
(`QFAI-TRIAGE-006`). Every `01_Spec.md` declares a lifecycle
|
|
134
142
|
`Status: active | superseded | deprecated | removed` (`QFAI-STATUS-001..006`).
|
|
135
|
-
- **qfai-prototyping**:
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
`
|
|
143
|
+
- **qfai-prototyping**: Multi-spec parallel design evolution loop. Resolves
|
|
144
|
+
every UI-bearing spec in one invocation, freezes that set at cycle 0,
|
|
145
|
+
and iterates each `spec × screen` pair through up to 10 cycles
|
|
146
|
+
(`cycle 0..9`) of generate → capture → review with a 4-axis ordinal
|
|
147
|
+
rubric, 6 `*Feel` short-prose impressions (200-word bounded), explicit
|
|
148
|
+
layout anti-pattern detection (`lap-001..lap-008`), DESIGN.md token
|
|
149
|
+
violation detection, and explicit pivot permission. Stops
|
|
150
|
+
deterministically when every `spec × screen` pair satisfies the AND
|
|
151
|
+
convergence condition (all four ordinal axes `exceptional` AND
|
|
152
|
+
`layoutAntiPatternsDetected` empty AND `designMdViolations` empty)
|
|
153
|
+
(exit 64), when the 10-cycle budget is exhausted (exit 65), or when a
|
|
154
|
+
stock-photo source violates the cycle-0 frozen license catalog
|
|
155
|
+
(exit 66). Lock drift / input errors exit 2.
|
|
139
156
|
- **qfai-atdd**: Implement acceptance tests driven by specs/scenarios.
|
|
140
157
|
- **qfai-implement**: Unified TDD micro-cycle (Red/Green/Refactor) one test at a time using `test-list.md` as the execution ledger, including ledger status updates and exception closure.
|
|
141
158
|
- **qfai-verify**: Run full-scan local quality gates (`validate --fail-on error`, `report`, repo gates) and produce reviewer-approved evidence under `.qfai/evidence/`.
|
|
@@ -153,7 +170,7 @@ participant R as Repo (codebase)
|
|
|
153
170
|
|
|
154
171
|
U->>R: Create a repo (or open an existing one)
|
|
155
172
|
U->>R: Run npx qfai init
|
|
156
|
-
R-->>U: .qfai kit installed (skills
|
|
173
|
+
R-->>U: .qfai kit installed (4-layer assistant tree + skills + agents)
|
|
157
174
|
|
|
158
175
|
U->>AG: Run /qfai-configure
|
|
159
176
|
AG->>Q: Read .qfai/assistant/skills/qfai-configure/SKILL.md
|
|
@@ -201,10 +218,10 @@ Operational notes.
|
|
|
201
218
|
- Each custom skill must end with a completion message that enumerates all available next actions and clearly states what to do for each option.
|
|
202
219
|
- Except `qfai-discussion`, each skill must analyze the project context (architecture, tech stack, test framework, repo structure) before generating artifacts or code.
|
|
203
220
|
- Skills should delegate work to multiple role-based sub-agents (Planner, Architect, Contract Designer, QA, Code Reviewer, etc.) to emulate a real delivery flow.
|
|
204
|
-
- Change classification (Primary/Tags) is required in `09_delta.md` and recommended in PRs. See `.qfai/assistant/
|
|
221
|
+
- Change classification (Primary/Tags) is required in `09_delta.md` and recommended in PRs. See `.qfai/assistant/constitution/change-classification.md`.
|
|
205
222
|
- Verification planning is recorded in `09_delta.md` (`Verification -> Plan`) and validated in CI (`VFY-*` rules).
|
|
206
|
-
- Review gate policies (required/optional layers and reviewers) are defined in `.qfai/assistant/
|
|
207
|
-
- Agent taxonomy and invocation SSOT are defined in `.qfai/assistant/
|
|
223
|
+
- Review gate policies (required/optional layers and reviewers) are defined in `.qfai/assistant/catalog/review-gate.rules.yml`.
|
|
224
|
+
- Agent taxonomy and invocation SSOT are defined in `.qfai/assistant/manifest/agent-catalog.yml`, `.qfai/assistant/manifest/agent-routing.yml`, and `.qfai/assistant/manifest/review-profiles.yml`.
|
|
208
225
|
|
|
209
226
|
## Configuration
|
|
210
227
|
|
|
@@ -350,7 +367,6 @@ Typical customizations.
|
|
|
350
367
|
├── .qfai
|
|
351
368
|
│ ├── assistant
|
|
352
369
|
│ │ ├── agents
|
|
353
|
-
│ │ │ ├── README.md
|
|
354
370
|
│ │ │ ├── acceptance-test-engineer.md
|
|
355
371
|
│ │ │ ├── architecture-reviewer.md
|
|
356
372
|
│ │ │ ├── backend-engineer.md
|
|
@@ -358,6 +374,7 @@ Typical customizations.
|
|
|
358
374
|
│ │ │ ├── delivery-planner.md
|
|
359
375
|
│ │ │ ├── devops-ci-engineer.md
|
|
360
376
|
│ │ │ ├── discovery-analyst.md
|
|
377
|
+
│ │ │ ├── doc-steward.md
|
|
361
378
|
│ │ │ ├── frontend-engineer.md
|
|
362
379
|
│ │ │ ├── implementation-reviewer.md
|
|
363
380
|
│ │ │ ├── orchestrator.md
|
|
@@ -369,14 +386,26 @@ Typical customizations.
|
|
|
369
386
|
│ │ │ ├── requirements-reviewer.md
|
|
370
387
|
│ │ │ ├── solution-architect.md
|
|
371
388
|
│ │ │ └── test-design-analyst.md
|
|
372
|
-
│ │ ├──
|
|
373
|
-
│ │ │ ├── README.md
|
|
389
|
+
│ │ ├── constitution
|
|
374
390
|
│ │ │ ├── agent-selection.md
|
|
391
|
+
│ │ │ ├── change-classification.md
|
|
375
392
|
│ │ │ ├── communication.md
|
|
376
393
|
│ │ │ ├── constitution.md
|
|
394
|
+
│ │ │ ├── drift-protocol.md
|
|
377
395
|
│ │ │ ├── quality.md
|
|
396
|
+
│ │ │ ├── requirements-decomposition.md
|
|
397
|
+
│ │ │ ├── research-first-protocol.md
|
|
398
|
+
│ │ │ ├── shared-skill-delegation-baseline.md
|
|
399
|
+
│ │ │ ├── shared-skill-operating-baseline.md
|
|
378
400
|
│ │ │ ├── thinking.md
|
|
379
401
|
│ │ │ └── workflow.md
|
|
402
|
+
│ │ ├── manifest
|
|
403
|
+
│ │ │ ├── agent-catalog.yml
|
|
404
|
+
│ │ │ ├── agent-routing.yml
|
|
405
|
+
│ │ │ └── review-profiles.yml
|
|
406
|
+
│ │ ├── process
|
|
407
|
+
│ │ │ └── migrations
|
|
408
|
+
│ │ │ └── v<X.Y.Z>-<topic>.md
|
|
380
409
|
│ │ ├── skills
|
|
381
410
|
│ │ │ ├── qfai-configure
|
|
382
411
|
│ │ │ │ └── SKILL.md
|
|
@@ -396,14 +425,16 @@ Typical customizations.
|
|
|
396
425
|
│ │ │ │ └── SKILL.md
|
|
397
426
|
│ │ │ └── qfai-verify
|
|
398
427
|
│ │ │ └── SKILL.md
|
|
399
|
-
│ │
|
|
400
|
-
│ │
|
|
401
|
-
│ │
|
|
402
|
-
│ │
|
|
403
|
-
│ │
|
|
404
|
-
│ │
|
|
405
|
-
│ │
|
|
406
|
-
│ │
|
|
428
|
+
│ │ └── catalog
|
|
429
|
+
│ │ ├── cli-ux-guidelines.md
|
|
430
|
+
│ │ ├── manifest.md
|
|
431
|
+
│ │ ├── product.md
|
|
432
|
+
│ │ ├── review-gate.rules.yml
|
|
433
|
+
│ │ ├── spec_required_files.json
|
|
434
|
+
│ │ ├── structure.md
|
|
435
|
+
│ │ ├── tech.md
|
|
436
|
+
│ │ ├── test-layers.md
|
|
437
|
+
│ │ └── ui-definition-protocol.md
|
|
407
438
|
│ └── waivers.yml
|
|
408
439
|
└── qfai.config.yaml
|
|
409
440
|
```
|
|
@@ -19,9 +19,9 @@ tools: [Read, Write, Edit, Glob, Grep, Bash]
|
|
|
19
19
|
|
|
20
20
|
## Inputs you must read
|
|
21
21
|
|
|
22
|
-
- .qfai/assistant/
|
|
23
|
-
- .qfai/assistant/
|
|
24
|
-
- .qfai/assistant/
|
|
22
|
+
- .qfai/assistant/constitution/\*\*
|
|
23
|
+
- .qfai/assistant/{manifest,catalog}/\*\*
|
|
24
|
+
- .qfai/assistant/catalog/test-layers.md
|
|
25
25
|
- .qfai/specs/spec-\*/09_delta.md
|
|
26
26
|
- .qfai/specs/spec-\*/02_User-stories.md
|
|
27
27
|
- .qfai/specs/spec-\*/06_Test-Cases.md
|
|
@@ -21,10 +21,10 @@ tools: [Read, Glob, Grep, Bash]
|
|
|
21
21
|
|
|
22
22
|
## Inputs you must read
|
|
23
23
|
|
|
24
|
-
- .qfai/assistant/
|
|
25
|
-
- .qfai/assistant/
|
|
26
|
-
- .qfai/assistant/
|
|
27
|
-
- .qfai/assistant/
|
|
24
|
+
- .qfai/assistant/constitution/\*\*
|
|
25
|
+
- .qfai/assistant/constitution/drift-protocol.md
|
|
26
|
+
- .qfai/assistant/{manifest,catalog}/\*\*
|
|
27
|
+
- .qfai/assistant/catalog/test-layers.md
|
|
28
28
|
- .qfai/specs/spec-\*/09_delta.md
|
|
29
29
|
- .github/instructions/code-review.instructions.md
|
|
30
30
|
- .github/instructions/principles.instructions.md
|
|
@@ -21,9 +21,9 @@ tools: [Read, Write, Edit, Glob, Grep, Bash]
|
|
|
21
21
|
|
|
22
22
|
## Inputs you must read
|
|
23
23
|
|
|
24
|
-
- .qfai/assistant/
|
|
25
|
-
- .qfai/assistant/
|
|
26
|
-
- .qfai/assistant/
|
|
24
|
+
- .qfai/assistant/constitution/\*\*
|
|
25
|
+
- .qfai/assistant/{manifest,catalog}/\*\*
|
|
26
|
+
- .qfai/assistant/catalog/test-layers.md
|
|
27
27
|
- .qfai/specs/spec-\*/09_delta.md
|
|
28
28
|
- .qfai/specs/spec-\*/01_Spec.md
|
|
29
29
|
- .github/instructions/principles.instructions.md
|
|
@@ -18,10 +18,10 @@ tools: [Read, Glob, Grep, Bash]
|
|
|
18
18
|
|
|
19
19
|
## Inputs you must read
|
|
20
20
|
|
|
21
|
-
- .qfai/assistant/
|
|
22
|
-
- .qfai/assistant/
|
|
23
|
-
- .qfai/assistant/
|
|
24
|
-
- .qfai/assistant/
|
|
21
|
+
- .qfai/assistant/constitution/\*\*
|
|
22
|
+
- .qfai/assistant/constitution/drift-protocol.md
|
|
23
|
+
- .qfai/assistant/{manifest,catalog}/\*\*
|
|
24
|
+
- .qfai/assistant/catalog/test-layers.md
|
|
25
25
|
- .qfai/specs/spec-\*/09_delta.md
|
|
26
26
|
- Validation evidence and gate results
|
|
27
27
|
|
|
@@ -20,8 +20,8 @@ tools: [Read, Write, Edit, Glob, Grep, Bash]
|
|
|
20
20
|
|
|
21
21
|
## Inputs you must read
|
|
22
22
|
|
|
23
|
-
- .qfai/assistant/
|
|
24
|
-
- .qfai/assistant/
|
|
23
|
+
- .qfai/assistant/constitution/\*\*
|
|
24
|
+
- .qfai/assistant/{manifest,catalog}/\*\*
|
|
25
25
|
- .qfai/specs/spec-\*/09_delta.md
|
|
26
26
|
- .qfai/specs/spec-\*/01_Spec.md
|
|
27
27
|
- .qfai/discussion/discussion-\*/04_Sources.md
|
|
@@ -18,8 +18,8 @@ tools: [Read, Write, Edit, Glob, Grep, Bash]
|
|
|
18
18
|
|
|
19
19
|
## Inputs you must read
|
|
20
20
|
|
|
21
|
-
- .qfai/assistant/
|
|
22
|
-
- .qfai/assistant/
|
|
21
|
+
- .qfai/assistant/constitution/\*\*
|
|
22
|
+
- .qfai/assistant/{manifest,catalog}/\*\*
|
|
23
23
|
- .qfai/specs/spec-\*/09_delta.md
|
|
24
24
|
- package.json scripts, CI config, and runbooks
|
|
25
25
|
- Evidence summaries under `.qfai/evidence/`
|
|
@@ -19,8 +19,8 @@ tools: [Read, Write, Edit, Glob, Grep, Bash]
|
|
|
19
19
|
|
|
20
20
|
## Inputs you must read
|
|
21
21
|
|
|
22
|
-
- .qfai/assistant/
|
|
23
|
-
- .qfai/assistant/
|
|
22
|
+
- .qfai/assistant/constitution/\*\*
|
|
23
|
+
- .qfai/assistant/{manifest,catalog}/\*\*
|
|
24
24
|
- .qfai/specs/spec-\*/09_delta.md
|
|
25
25
|
- Existing discussion records under `.qfai/discussion/`
|
|
26
26
|
- .qfai/discussion/discussion-\*/04_Sources.md
|
|
@@ -18,8 +18,8 @@ tools: [Read, Write, Edit, Glob, Grep, Bash]
|
|
|
18
18
|
|
|
19
19
|
## Inputs you must read
|
|
20
20
|
|
|
21
|
-
- .qfai/assistant/
|
|
22
|
-
- .qfai/assistant/
|
|
21
|
+
- .qfai/assistant/constitution/\*\*
|
|
22
|
+
- .qfai/assistant/{manifest,catalog}/\*\*
|
|
23
23
|
- CHANGELOG.md
|
|
24
24
|
- README.md
|
|
25
25
|
- docs/\*\*
|
|
@@ -21,8 +21,8 @@ tools: [Read, Write, Edit, Glob, Grep, Bash]
|
|
|
21
21
|
|
|
22
22
|
## Inputs you must read
|
|
23
23
|
|
|
24
|
-
- .qfai/assistant/
|
|
25
|
-
- .qfai/assistant/
|
|
24
|
+
- .qfai/assistant/constitution/\*\*
|
|
25
|
+
- .qfai/assistant/{manifest,catalog}/\*\*
|
|
26
26
|
- .qfai/specs/spec-\*/09_delta.md
|
|
27
27
|
- .qfai/specs/spec-\*/01_Spec.md
|
|
28
28
|
- .github/instructions/principles.instructions.md
|
|
@@ -22,10 +22,10 @@ tools: [Read, Glob, Grep, Bash]
|
|
|
22
22
|
|
|
23
23
|
## Inputs you must read
|
|
24
24
|
|
|
25
|
-
- .qfai/assistant/
|
|
26
|
-
- .qfai/assistant/
|
|
27
|
-
- .qfai/assistant/
|
|
28
|
-
- .qfai/assistant/
|
|
25
|
+
- .qfai/assistant/constitution/\*\*
|
|
26
|
+
- .qfai/assistant/constitution/drift-protocol.md
|
|
27
|
+
- .qfai/assistant/{manifest,catalog}/\*\*
|
|
28
|
+
- .qfai/assistant/catalog/test-layers.md
|
|
29
29
|
- .qfai/specs/spec-\*/09_delta.md
|
|
30
30
|
- .github/instructions/code-review.instructions.md
|
|
31
31
|
- .github/instructions/principles.instructions.md
|
|
@@ -20,9 +20,9 @@ tools: [Read, Write, Edit, Glob, Grep, Bash]
|
|
|
20
20
|
|
|
21
21
|
## Inputs you must read
|
|
22
22
|
|
|
23
|
-
- .qfai/assistant/
|
|
24
|
-
- .qfai/assistant/
|
|
25
|
-
- .qfai/assistant/
|
|
23
|
+
- .qfai/assistant/constitution/\*\*
|
|
24
|
+
- .qfai/assistant/{manifest,catalog}/\*\*
|
|
25
|
+
- .qfai/assistant/catalog/test-layers.md (SSOT for hard coverage obligations)
|
|
26
26
|
- .qfai/specs/spec-\*/09_delta.md (Decision Records; check rejected)
|
|
27
27
|
- Prompt-specific artifacts (traceability, validation evidence, optional legacy scenario/ledger artifacts)
|
|
28
28
|
|
|
@@ -23,8 +23,8 @@ tools: [Read, Write, Edit, Glob, Grep, Bash]
|
|
|
23
23
|
|
|
24
24
|
## Inputs you must read
|
|
25
25
|
|
|
26
|
-
- .qfai/assistant/
|
|
27
|
-
- .qfai/assistant/
|
|
26
|
+
- .qfai/assistant/constitution/\*\*
|
|
27
|
+
- .qfai/assistant/{manifest,catalog}/\*\*
|
|
28
28
|
- .qfai/specs/spec-\*/09_delta.md
|
|
29
29
|
- .qfai/specs/spec-\*/01_Spec.md
|
|
30
30
|
- .github/instructions/principles.instructions.md
|
|
@@ -27,10 +27,10 @@ tools: [Read, Glob, Grep, Bash]
|
|
|
27
27
|
|
|
28
28
|
## Inputs you must read
|
|
29
29
|
|
|
30
|
-
- .qfai/assistant/
|
|
31
|
-
- .qfai/assistant/
|
|
32
|
-
- .qfai/assistant/
|
|
33
|
-
- .qfai/assistant/
|
|
30
|
+
- .qfai/assistant/constitution/\*\*
|
|
31
|
+
- .qfai/assistant/constitution/drift-protocol.md
|
|
32
|
+
- .qfai/assistant/{manifest,catalog}/\*\*
|
|
33
|
+
- .qfai/assistant/catalog/test-layers.md
|
|
34
34
|
- .qfai/specs/spec-\*/09_delta.md
|
|
35
35
|
- .github/instructions/code-review.instructions.md
|
|
36
36
|
- .github/instructions/principles.instructions.md
|
|
@@ -30,10 +30,10 @@ In addition to traceability-based coverage (US/TC/CON-API existence), verify the
|
|
|
30
30
|
|
|
31
31
|
## Inputs you must read
|
|
32
32
|
|
|
33
|
-
- .qfai/assistant/
|
|
34
|
-
- .qfai/assistant/
|
|
35
|
-
- .qfai/assistant/
|
|
36
|
-
- .qfai/assistant/
|
|
33
|
+
- .qfai/assistant/constitution/\*\*
|
|
34
|
+
- .qfai/assistant/constitution/drift-protocol.md
|
|
35
|
+
- .qfai/assistant/{manifest,catalog}/\*\*
|
|
36
|
+
- .qfai/assistant/catalog/test-layers.md
|
|
37
37
|
- .qfai/specs/spec-\*/09_delta.md
|
|
38
38
|
- `.qfai/report/validate.log`
|
|
39
39
|
- `.qfai/report/specs-coverage/spec-*.md`
|
|
@@ -18,9 +18,9 @@ tools: [Read, Write, Edit, Glob, Grep, Bash]
|
|
|
18
18
|
|
|
19
19
|
## Inputs you must read
|
|
20
20
|
|
|
21
|
-
- .qfai/assistant/
|
|
22
|
-
- .qfai/assistant/
|
|
23
|
-
- .qfai/assistant/
|
|
21
|
+
- .qfai/assistant/constitution/\*\*
|
|
22
|
+
- .qfai/assistant/{manifest,catalog}/\*\*
|
|
23
|
+
- .qfai/assistant/catalog/test-layers.md
|
|
24
24
|
- .qfai/specs/spec-\*/09_delta.md
|
|
25
25
|
- .qfai/specs/spec-\*/01_Spec.md
|
|
26
26
|
- QA evidence, coverage tooling outputs, and test plans
|
|
@@ -19,8 +19,8 @@ tools: [Read, Write, Edit, Glob, Grep, Bash]
|
|
|
19
19
|
|
|
20
20
|
## Inputs you must read
|
|
21
21
|
|
|
22
|
-
- .qfai/assistant/
|
|
23
|
-
- .qfai/assistant/
|
|
22
|
+
- .qfai/assistant/constitution/\*\*
|
|
23
|
+
- .qfai/assistant/{manifest,catalog}/\*\*
|
|
24
24
|
- .qfai/specs/spec-\*/09_delta.md
|
|
25
25
|
- .qfai/discussion/discussion-\*/04_Sources.md
|
|
26
26
|
- .qfai/discussion/discussion-\*/06_REQ.md
|
|
@@ -18,10 +18,10 @@ tools: [Read, Glob, Grep, Bash]
|
|
|
18
18
|
|
|
19
19
|
## Inputs you must read
|
|
20
20
|
|
|
21
|
-
- .qfai/assistant/
|
|
22
|
-
- .qfai/assistant/
|
|
23
|
-
- .qfai/assistant/
|
|
24
|
-
- .qfai/assistant/
|
|
21
|
+
- .qfai/assistant/constitution/\*\*
|
|
22
|
+
- .qfai/assistant/constitution/drift-protocol.md
|
|
23
|
+
- .qfai/assistant/{manifest,catalog}/\*\*
|
|
24
|
+
- .qfai/assistant/catalog/test-layers.md
|
|
25
25
|
- .qfai/specs/spec-\*/09_delta.md
|
|
26
26
|
- Requirement drafts, option tables, and OQ ledgers
|
|
27
27
|
|
|
@@ -22,8 +22,8 @@ tools: [Read, Write, Edit, Glob, Grep, Bash]
|
|
|
22
22
|
|
|
23
23
|
## Inputs you must read
|
|
24
24
|
|
|
25
|
-
- .qfai/assistant/
|
|
26
|
-
- .qfai/assistant/
|
|
25
|
+
- .qfai/assistant/constitution/\*\*
|
|
26
|
+
- .qfai/assistant/{manifest,catalog}/\*\*
|
|
27
27
|
- .qfai/specs/spec-\*/09_delta.md
|
|
28
28
|
- .qfai/specs/spec-\*/01_Spec.md
|
|
29
29
|
- .qfai/discussion/discussion-\*/04_Sources.md
|
|
@@ -30,9 +30,9 @@ When reviewing or producing test cases, apply the checklist in `.qfai/assistant/
|
|
|
30
30
|
|
|
31
31
|
## Inputs you must read
|
|
32
32
|
|
|
33
|
-
- .qfai/assistant/
|
|
34
|
-
- .qfai/assistant/
|
|
35
|
-
- .qfai/assistant/
|
|
33
|
+
- .qfai/assistant/constitution/\*\*
|
|
34
|
+
- .qfai/assistant/{manifest,catalog}/\*\*
|
|
35
|
+
- .qfai/assistant/catalog/test-layers.md
|
|
36
36
|
- .qfai/specs/spec-\*/09_delta.md
|
|
37
37
|
- .qfai/specs/spec-\*/03_Acceptance-Criteria.md
|
|
38
38
|
- .qfai/specs/spec-\*/04_Business-Rules.md
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
- Review / approval: <who approves what, gating policy>
|
|
32
32
|
- Evidence requirements: <what artifacts are required for closure>
|
|
33
33
|
- Update cadence: <how often this manifest is revisited>
|
|
34
|
-
- Evidence: `.qfai/assistant/
|
|
35
|
-
`.qfai/assistant/
|
|
36
|
-
`.qfai/assistant/
|
|
34
|
+
- Evidence: `.qfai/assistant/manifest/agent-catalog.yml`,
|
|
35
|
+
`.qfai/assistant/manifest/agent-routing.yml`,
|
|
36
|
+
`.qfai/assistant/manifest/review-profiles.yml`
|
|
37
37
|
|
|
38
38
|
## Evidence
|
|
39
39
|
|
|
@@ -28,9 +28,9 @@ optional:
|
|
|
28
28
|
- Delta
|
|
29
29
|
|
|
30
30
|
agent_routing:
|
|
31
|
-
catalog_ssot: .qfai/assistant/
|
|
32
|
-
routing_ssot: .qfai/assistant/
|
|
33
|
-
review_profiles_ssot: .qfai/assistant/
|
|
31
|
+
catalog_ssot: .qfai/assistant/manifest/agent-catalog.yml
|
|
32
|
+
routing_ssot: .qfai/assistant/manifest/agent-routing.yml
|
|
33
|
+
review_profiles_ssot: .qfai/assistant/manifest/review-profiles.yml
|
|
34
34
|
|
|
35
35
|
reviewers:
|
|
36
36
|
minimum: 1
|
|
@@ -60,7 +60,7 @@ quality_gates:
|
|
|
60
60
|
role: Implementation Reviewer
|
|
61
61
|
|
|
62
62
|
optional_review_modes:
|
|
63
|
-
review_profiles_ssot: .qfai/assistant/
|
|
63
|
+
review_profiles_ssot: .qfai/assistant/manifest/review-profiles.yml
|
|
64
64
|
supported:
|
|
65
65
|
- devils-advocate
|
|
66
66
|
- pattern-doubler
|
|
@@ -44,8 +44,8 @@ Do **not** guess file paths, existing commands, or project policies.
|
|
|
44
44
|
|
|
45
45
|
Before producing deliverables, read **project memory**:
|
|
46
46
|
|
|
47
|
-
1. `.qfai/assistant/
|
|
48
|
-
2. `.qfai/assistant/
|
|
47
|
+
1. `.qfai/assistant/constitution/*`
|
|
48
|
+
2. `.qfai/assistant/manifest/*` + `.qfai/assistant/catalog/*`
|
|
49
49
|
3. discussion pack in `.qfai/discussion/` (if present)
|
|
50
50
|
4. `.qfai/specs/spec-*/` (if relevant)
|
|
51
51
|
5. repository config (package.json, CI, scripts)
|
package/assets/init/.qfai/assistant/{instructions → constitution}/shared-skill-operating-baseline.md
RENAMED
|
@@ -22,10 +22,10 @@ Skill files should reference this baseline and only restate skill-specific addit
|
|
|
22
22
|
|
|
23
23
|
Refresh these files before or during the stage when facts are missing or stale:
|
|
24
24
|
|
|
25
|
-
- `.qfai/assistant/
|
|
26
|
-
- `.qfai/assistant/
|
|
27
|
-
- `.qfai/assistant/
|
|
28
|
-
- `.qfai/assistant/
|
|
25
|
+
- `.qfai/assistant/catalog/manifest.md`
|
|
26
|
+
- `.qfai/assistant/catalog/product.md`
|
|
27
|
+
- `.qfai/assistant/catalog/structure.md`
|
|
28
|
+
- `.qfai/assistant/catalog/tech.md`
|
|
29
29
|
|
|
30
30
|
Rules:
|
|
31
31
|
|
|
@@ -32,13 +32,13 @@ Do not proceed without a declared Change Type.
|
|
|
32
32
|
|
|
33
33
|
## Drift Protocol (Mandatory)
|
|
34
34
|
|
|
35
|
-
- Read and enforce `.qfai/assistant/
|
|
35
|
+
- Read and enforce `.qfai/assistant/constitution/drift-protocol.md`.
|
|
36
36
|
- Downstream phases must not edit upstream SSOT artifacts without explicit user approval.
|
|
37
37
|
- If drift is required, STOP and raise a Change Request (3 options + recommendation), then wait for approval and rerun the owner skill.
|
|
38
38
|
|
|
39
39
|
## Test-layer policy (Mandatory)
|
|
40
40
|
|
|
41
|
-
- Read and enforce `.qfai/assistant/
|
|
41
|
+
- Read and enforce `.qfai/assistant/catalog/test-layers.md`.
|
|
42
42
|
- Treat floors/ratios as signals, not completion gates.
|
|
43
43
|
- Completion gate is `qfai validate --fail-on error` with evidence.
|
|
44
44
|
|
|
@@ -83,10 +83,10 @@ Legacy note:
|
|
|
83
83
|
At the beginning of each stage (`qfai-discussion`, `qfai-sdd`, `qfai-prototyping`, `qfai-atdd`, `qfai-verify`):
|
|
84
84
|
|
|
85
85
|
1. Check these steering files:
|
|
86
|
-
- `.qfai/assistant/
|
|
87
|
-
- `.qfai/assistant/
|
|
88
|
-
- `.qfai/assistant/
|
|
89
|
-
- `.qfai/assistant/
|
|
86
|
+
- `.qfai/assistant/catalog/manifest.md`
|
|
87
|
+
- `.qfai/assistant/catalog/product.md`
|
|
88
|
+
- `.qfai/assistant/catalog/structure.md`
|
|
89
|
+
- `.qfai/assistant/catalog/tech.md`
|
|
90
90
|
2. Detect incomplete content (empty sections, placeholder-only lines, `<...>`, `TBD`, outdated facts).
|
|
91
91
|
3. If the current stage can fill missing facts from repository evidence, update the steering files immediately.
|
|
92
92
|
4. If information cannot be verified, record Open Questions and ask the user.
|