qfai 1.8.10 → 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 +30 -16
- 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/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 +8 -2
- 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 +1659 -479
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.mjs +1648 -468
- package/dist/cli/index.mjs.map +1 -1
- package/dist/index.cjs +953 -98
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +953 -98
- package/dist/index.mjs.map +1 -1
- package/package.json +18 -17
- 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}/agent-routing.yml +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
|
@@ -54,7 +54,7 @@ npx qfai report
|
|
|
54
54
|
|
|
55
55
|
- `npx qfai init`
|
|
56
56
|
- Creates the QFAI workspace under `.qfai/` (requirements/specs/contracts/report) and installs the AI assistant kit
|
|
57
|
-
(`assistant/` with
|
|
57
|
+
(`assistant/` with the 4-layer tree — `constitution/`, `manifest/`, `catalog/`, `process/` — plus `agents/` and `skills/`), plus `qfai.config.yaml`.
|
|
58
58
|
- `npx qfai validate`
|
|
59
59
|
- Validates specs/contracts/scenarios/traceability and review artifacts
|
|
60
60
|
(`.qfai/review/review-*/summary.json` + minimum schema), writes `.qfai/report/validate.json`,
|
|
@@ -170,7 +170,7 @@ participant R as Repo (codebase)
|
|
|
170
170
|
|
|
171
171
|
U->>R: Create a repo (or open an existing one)
|
|
172
172
|
U->>R: Run npx qfai init
|
|
173
|
-
R-->>U: .qfai kit installed (skills
|
|
173
|
+
R-->>U: .qfai kit installed (4-layer assistant tree + skills + agents)
|
|
174
174
|
|
|
175
175
|
U->>AG: Run /qfai-configure
|
|
176
176
|
AG->>Q: Read .qfai/assistant/skills/qfai-configure/SKILL.md
|
|
@@ -218,10 +218,10 @@ Operational notes.
|
|
|
218
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.
|
|
219
219
|
- Except `qfai-discussion`, each skill must analyze the project context (architecture, tech stack, test framework, repo structure) before generating artifacts or code.
|
|
220
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.
|
|
221
|
-
- 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`.
|
|
222
222
|
- Verification planning is recorded in `09_delta.md` (`Verification -> Plan`) and validated in CI (`VFY-*` rules).
|
|
223
|
-
- Review gate policies (required/optional layers and reviewers) are defined in `.qfai/assistant/
|
|
224
|
-
- 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`.
|
|
225
225
|
|
|
226
226
|
## Configuration
|
|
227
227
|
|
|
@@ -367,7 +367,6 @@ Typical customizations.
|
|
|
367
367
|
├── .qfai
|
|
368
368
|
│ ├── assistant
|
|
369
369
|
│ │ ├── agents
|
|
370
|
-
│ │ │ ├── README.md
|
|
371
370
|
│ │ │ ├── acceptance-test-engineer.md
|
|
372
371
|
│ │ │ ├── architecture-reviewer.md
|
|
373
372
|
│ │ │ ├── backend-engineer.md
|
|
@@ -375,6 +374,7 @@ Typical customizations.
|
|
|
375
374
|
│ │ │ ├── delivery-planner.md
|
|
376
375
|
│ │ │ ├── devops-ci-engineer.md
|
|
377
376
|
│ │ │ ├── discovery-analyst.md
|
|
377
|
+
│ │ │ ├── doc-steward.md
|
|
378
378
|
│ │ │ ├── frontend-engineer.md
|
|
379
379
|
│ │ │ ├── implementation-reviewer.md
|
|
380
380
|
│ │ │ ├── orchestrator.md
|
|
@@ -386,14 +386,26 @@ Typical customizations.
|
|
|
386
386
|
│ │ │ ├── requirements-reviewer.md
|
|
387
387
|
│ │ │ ├── solution-architect.md
|
|
388
388
|
│ │ │ └── test-design-analyst.md
|
|
389
|
-
│ │ ├──
|
|
390
|
-
│ │ │ ├── README.md
|
|
389
|
+
│ │ ├── constitution
|
|
391
390
|
│ │ │ ├── agent-selection.md
|
|
391
|
+
│ │ │ ├── change-classification.md
|
|
392
392
|
│ │ │ ├── communication.md
|
|
393
393
|
│ │ │ ├── constitution.md
|
|
394
|
+
│ │ │ ├── drift-protocol.md
|
|
394
395
|
│ │ │ ├── quality.md
|
|
396
|
+
│ │ │ ├── requirements-decomposition.md
|
|
397
|
+
│ │ │ ├── research-first-protocol.md
|
|
398
|
+
│ │ │ ├── shared-skill-delegation-baseline.md
|
|
399
|
+
│ │ │ ├── shared-skill-operating-baseline.md
|
|
395
400
|
│ │ │ ├── thinking.md
|
|
396
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
|
|
397
409
|
│ │ ├── skills
|
|
398
410
|
│ │ │ ├── qfai-configure
|
|
399
411
|
│ │ │ │ └── SKILL.md
|
|
@@ -413,14 +425,16 @@ Typical customizations.
|
|
|
413
425
|
│ │ │ │ └── SKILL.md
|
|
414
426
|
│ │ │ └── qfai-verify
|
|
415
427
|
│ │ │ └── SKILL.md
|
|
416
|
-
│ │
|
|
417
|
-
│ │
|
|
418
|
-
│ │
|
|
419
|
-
│ │
|
|
420
|
-
│ │
|
|
421
|
-
│ │
|
|
422
|
-
│ │
|
|
423
|
-
│ │
|
|
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
|
|
424
438
|
│ └── waivers.yml
|
|
425
439
|
└── qfai.config.yaml
|
|
426
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.
|