qfai 1.2.12 → 1.2.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.
Files changed (52) hide show
  1. package/README.md +2 -0
  2. package/assets/init/.qfai/assistant/agents/architect-reviewer.md +6 -0
  3. package/assets/init/.qfai/assistant/agents/architect.md +5 -0
  4. package/assets/init/.qfai/assistant/agents/backend-engineer.md +4 -0
  5. package/assets/init/.qfai/assistant/agents/backend-reviewer.md +6 -0
  6. package/assets/init/.qfai/assistant/agents/code-reviewer.md +8 -0
  7. package/assets/init/.qfai/assistant/agents/contract-designer.md +5 -0
  8. package/assets/init/.qfai/assistant/agents/coverage-planner.md +4 -0
  9. package/assets/init/.qfai/assistant/agents/design-owner.md +5 -0
  10. package/assets/init/.qfai/assistant/agents/design-review-lead.md +9 -0
  11. package/assets/init/.qfai/assistant/agents/devops-ci-engineer.md +4 -0
  12. package/assets/init/.qfai/assistant/agents/facilitator.md +6 -0
  13. package/assets/init/.qfai/assistant/agents/frontend-engineer.md +4 -0
  14. package/assets/init/.qfai/assistant/agents/frontend-reviewer.md +6 -0
  15. package/assets/init/.qfai/assistant/agents/interviewer.md +4 -0
  16. package/assets/init/.qfai/assistant/agents/option-explorer.md +4 -0
  17. package/assets/init/.qfai/assistant/agents/option-reviewer.md +6 -0
  18. package/assets/init/.qfai/assistant/agents/oq-harvester.md +4 -0
  19. package/assets/init/.qfai/assistant/agents/oq-reviewer.md +4 -0
  20. package/assets/init/.qfai/assistant/agents/planner.md +4 -0
  21. package/assets/init/.qfai/assistant/agents/project-lead.md +5 -0
  22. package/assets/init/.qfai/assistant/agents/qa-engineer.md +4 -0
  23. package/assets/init/.qfai/assistant/agents/qa-gatekeeper.md +8 -0
  24. package/assets/init/.qfai/assistant/agents/qa-lead.md +4 -0
  25. package/assets/init/.qfai/assistant/agents/qa-reviewer.md +6 -0
  26. package/assets/init/.qfai/assistant/agents/requirements-analyst.md +4 -0
  27. package/assets/init/.qfai/assistant/agents/researcher.md +4 -0
  28. package/assets/init/.qfai/assistant/agents/runtime-gatekeeper.md +4 -0
  29. package/assets/init/.qfai/assistant/agents/test-case-owner.md +4 -0
  30. package/assets/init/.qfai/assistant/agents/test-engineer.md +4 -0
  31. package/assets/init/.qfai/assistant/agents/ui-ux-reviewer.md +6 -0
  32. package/assets/init/.qfai/assistant/agents/unit-test-scope-enforcer.md +4 -0
  33. package/assets/init/.qfai/assistant/prompts/qfai-atdd.md +23 -0
  34. package/assets/init/.qfai/assistant/prompts/qfai-configure.md +22 -0
  35. package/assets/init/.qfai/assistant/prompts/qfai-discuss.md +23 -0
  36. package/assets/init/.qfai/assistant/prompts/qfai-prototyping.md +22 -0
  37. package/assets/init/.qfai/assistant/prompts/qfai-require.md +23 -0
  38. package/assets/init/.qfai/assistant/prompts/qfai-spec.md +52 -18
  39. package/assets/init/.qfai/assistant/prompts/qfai-tdd-green.md +22 -0
  40. package/assets/init/.qfai/assistant/prompts/qfai-tdd-red.md +23 -0
  41. package/assets/init/.qfai/assistant/prompts/qfai-tdd-refactor.md +22 -0
  42. package/assets/init/.qfai/assistant/prompts/qfai-verify.md +22 -0
  43. package/assets/init/.qfai/specs/README.md +55 -90
  44. package/dist/cli/index.cjs +78 -3
  45. package/dist/cli/index.cjs.map +1 -1
  46. package/dist/cli/index.mjs +78 -3
  47. package/dist/cli/index.mjs.map +1 -1
  48. package/dist/index.cjs +78 -3
  49. package/dist/index.cjs.map +1 -1
  50. package/dist/index.mjs +78 -3
  51. package/dist/index.mjs.map +1 -1
  52. package/package.json +1 -1
package/README.md CHANGED
@@ -141,6 +141,7 @@ R-->>U: Traceability checks and report artifacts
141
141
  Operational notes.
142
142
 
143
143
  - Each custom prompt must output in the user’s language (absolute requirement).
144
+ - Prompts must consult instructions/steering and delta.md; rejected options must not be reintroduced without a [RE-OPEN] Decision Record.
144
145
  - Except `qfai-discuss`, each prompt must analyze the project context (architecture, tech stack, test framework, repo structure) before generating artifacts or code.
145
146
  - Prompts should delegate work to multiple role-based sub-agents (Researcher, Planner, Architect, Contract Designer, QA, Code Reviewer, etc.) to emulate a real delivery flow.
146
147
  - /qfai-atdd and /qfai-tdd-red must maintain a Coverage Ledger and do not declare completion until missing=0 (exceptions documented).
@@ -232,6 +233,7 @@ QFAI uses a small, opinionated set of artifacts to reduce ambiguity and prevent
232
233
  - API contracts: YAML (`.yaml` / `.yml`)
233
234
  - DB contracts: SQL (`.sql`)
234
235
  - Scenarios (ATDD): Gherkin `.feature` files
236
+ - Delta: append-only Change Log + Decision Records (selected/rejected; RE-OPEN required to revisit rejected options)
235
237
 
236
238
  Traceability is validated across these artifacts, so code changes remain grounded in the specs and the tests prove compliance.
237
239
 
@@ -6,6 +6,9 @@
6
6
 
7
7
  ## Inputs you must read
8
8
 
9
+ - .qfai/assistant/instructions/\*
10
+ - .qfai/assistant/steering/\*
11
+ - .qfai/specs/spec-\*/delta.md (Decision Records; check rejected)
9
12
  - Architecture decisions and diagrams (if any)
10
13
  - .qfai/specs/spec-\*/spec.md
11
14
  - Evidence summaries under `.qfai/evidence/` (gitignored)
@@ -13,12 +16,14 @@
13
16
 
14
17
  ## Deliverables (MANDATORY)
15
18
 
19
+ - Decision Records referenced (DR-IDs) + rejected check (or RE-OPEN request)
16
20
  - Review decision: Reject / Approve with conditions
17
21
  - Minimal actionable change requests
18
22
  - Evidence check summary (presence and gaps)
19
23
 
20
24
  ## Stop conditions (Blockers)
21
25
 
26
+ - Rejected option would be reintroduced without RE-OPEN DR
22
27
  - Evidence is missing or incomplete
23
28
  - Self-approval detected
24
29
  - Conflicting decisions without resolution
@@ -32,6 +37,7 @@
32
37
 
33
38
  ## Output format (structured)
34
39
 
40
+ - Decision Records (DR-IDs) / rejected check
35
41
  - Decision (Reject / Approve with conditions)
36
42
  - Findings
37
43
  - Required changes
@@ -3,17 +3,20 @@
3
3
  ## Mission
4
4
 
5
5
  - Define architecture decisions and boundaries aligned with specs and constraints.
6
+ - Ensure architecture choices do not conflict with rejected options (require RE-OPEN if needed).
6
7
 
7
8
  ## Inputs you must read
8
9
 
9
10
  - .qfai/assistant/instructions/\*
10
11
  - .qfai/assistant/steering/\*
12
+ - .qfai/specs/spec-\*/delta.md (Decision Records; check rejected)
11
13
  - .qfai/specs/spec-\*/spec.md
12
14
  - .qfai/require/require.md
13
15
  - Existing architecture docs (if any)
14
16
 
15
17
  ## Deliverables (MANDATORY)
16
18
 
19
+ - Decision Records referenced (DR-IDs) + rejected check (or RE-OPEN request)
17
20
  - Architecture decisions with trade-offs
18
21
  - Scope boundaries and non-goals
19
22
  - Open risks explicitly listed
@@ -21,6 +24,7 @@
21
24
 
22
25
  ## Stop conditions (Blockers)
23
26
 
27
+ - Rejected option would be reintroduced without RE-OPEN DR
24
28
  - Requirements ambiguity blocks safe decisions
25
29
  - Conflicting decisions without resolution
26
30
  - Evidence is missing or incomplete
@@ -34,6 +38,7 @@
34
38
 
35
39
  ## Output format (structured)
36
40
 
41
+ - Decision Records (DR-IDs) / rejected check
37
42
  - Decisions and rationale
38
43
  - Architecture boundaries
39
44
  - Risks and mitigations
@@ -8,6 +8,7 @@
8
8
 
9
9
  - .qfai/assistant/instructions/\*
10
10
  - .qfai/assistant/steering/\*
11
+ - .qfai/specs/spec-\*/delta.md (Decision Records; check rejected)
11
12
  - .qfai/specs/spec-\*/spec.md
12
13
  - .qfai/specs/spec-\*/scenario.feature
13
14
  - .qfai/contracts/api/\*\*
@@ -15,6 +16,7 @@
15
16
 
16
17
  ## Deliverables (MANDATORY)
17
18
 
19
+ - Decision Records referenced (DR-IDs) + rejected check (or RE-OPEN request)
18
20
  - Implementation mapping (contract/scenario -> file/function)
19
21
  - Backend code changes (minimal, traceable)
20
22
  - Execution proof (commands + key outputs)
@@ -22,6 +24,7 @@
22
24
 
23
25
  ## Stop conditions (Blockers)
24
26
 
27
+ - Rejected option would be reintroduced without RE-OPEN DR
25
28
  - Required contracts/specs are missing or ambiguous
26
29
  - Evidence is missing or incomplete
27
30
  - Tests or quality gates fail and cannot be made green
@@ -36,6 +39,7 @@
36
39
 
37
40
  ## Output format (structured)
38
41
 
42
+ - Decision Records (DR-IDs) / rejected check
39
43
  - Findings
40
44
  - Decisions
41
45
  - Proposed edits (files/sections)
@@ -6,6 +6,9 @@
6
6
 
7
7
  ## Inputs you must read
8
8
 
9
+ - .qfai/assistant/instructions/\*
10
+ - .qfai/assistant/steering/\*
11
+ - .qfai/specs/spec-\*/delta.md (Decision Records; check rejected)
9
12
  - Diff of backend-related files
10
13
  - Evidence summaries under `.qfai/evidence/` (gitignored)
11
14
  - Test outputs and gate results
@@ -14,12 +17,14 @@
14
17
 
15
18
  ## Deliverables (MANDATORY)
16
19
 
20
+ - Decision Records referenced (DR-IDs) + rejected check (or RE-OPEN request)
17
21
  - Review decision: Reject / Approve with conditions
18
22
  - Minimal actionable change requests
19
23
  - Evidence check summary (presence and gaps)
20
24
 
21
25
  ## Stop conditions (Blockers)
22
26
 
27
+ - Rejected option would be reintroduced without RE-OPEN DR
23
28
  - Evidence is missing or incomplete
24
29
  - Self-approval detected
25
30
  - Backend gates are missing or failing
@@ -33,6 +38,7 @@
33
38
 
34
39
  ## Output format (structured)
35
40
 
41
+ - Decision Records (DR-IDs) / rejected check
36
42
  - Decision (Reject / Approve with conditions)
37
43
  - Findings
38
44
  - Required changes
@@ -3,9 +3,13 @@
3
3
  ## Mission
4
4
 
5
5
  - Review changes for correctness, risk, and maintainability.
6
+ - Ensure rejected options are not reintroduced and DONE includes DR-IDs + rejected check.
6
7
 
7
8
  ## Inputs you must read
8
9
 
10
+ - .qfai/assistant/instructions/\*
11
+ - .qfai/assistant/steering/\*
12
+ - .qfai/specs/spec-\*/delta.md (Decision Records; check rejected)
9
13
  - Diff of changed files
10
14
  - Evidence summaries under `.qfai/evidence/` (gitignored)
11
15
  - Test outputs and gate results
@@ -13,12 +17,15 @@
13
17
 
14
18
  ## Deliverables (MANDATORY)
15
19
 
20
+ - Decision Records referenced (DR-IDs) + rejected check (or RE-OPEN request)
21
+ - DONE declaration check (inputs + DR-IDs + rejected guard)
16
22
  - Review decision: Reject / Approve with conditions
17
23
  - Minimal actionable change requests
18
24
  - Evidence check summary (presence and gaps)
19
25
 
20
26
  ## Stop conditions (Blockers)
21
27
 
28
+ - Rejected option would be reintroduced without RE-OPEN DR
22
29
  - Evidence is missing or incomplete
23
30
  - Self-approval detected
24
31
  - Gates are missing or failing
@@ -32,6 +39,7 @@
32
39
 
33
40
  ## Output format (structured)
34
41
 
42
+ - Decision Records (DR-IDs) / rejected check
35
43
  - Decision (Reject / Approve with conditions)
36
44
  - Findings
37
45
  - Required changes
@@ -3,17 +3,20 @@
3
3
  ## Mission
4
4
 
5
5
  - Design contracts that define required UI, API, and DB behavior.
6
+ - Ensure contract decisions do not conflict with rejected options (require RE-OPEN if needed).
6
7
 
7
8
  ## Inputs you must read
8
9
 
9
10
  - .qfai/assistant/instructions/\*
10
11
  - .qfai/assistant/steering/\*
12
+ - .qfai/specs/spec-\*/delta.md (Decision Records; check rejected)
11
13
  - .qfai/specs/spec-\*/spec.md
12
14
  - .qfai/require/require.md
13
15
  - Existing contracts under `.qfai/contracts/**`
14
16
 
15
17
  ## Deliverables (MANDATORY)
16
18
 
19
+ - Decision Records referenced (DR-IDs) + rejected check (or RE-OPEN request)
17
20
  - UI contracts (ui contracts) with `QFAI-CONTRACT-ID` headers
18
21
  - API contracts (api contracts) with `QFAI-CONTRACT-ID` headers
19
22
  - DB contracts (db contracts) with `QFAI-CONTRACT-ID` headers
@@ -21,6 +24,7 @@
21
24
 
22
25
  ## Stop conditions (Blockers)
23
26
 
27
+ - Rejected option would be reintroduced without RE-OPEN DR
24
28
  - Requirements are missing or ambiguous
25
29
  - Evidence is missing or incomplete
26
30
  - Do not add infra or platform decisions without approval
@@ -35,6 +39,7 @@
35
39
 
36
40
  ## Output format (structured)
37
41
 
42
+ - Decision Records (DR-IDs) / rejected check
38
43
  - Contracts summary
39
44
  - Decisions and trade-offs
40
45
  - Evidence summary
@@ -8,18 +8,21 @@
8
8
 
9
9
  - .qfai/assistant/instructions/\*
10
10
  - .qfai/assistant/steering/\*
11
+ - .qfai/specs/spec-\*/delta.md (Decision Records; check rejected)
11
12
  - .qfai/specs/spec-\*/scenario.feature
12
13
  - .qfai/specs/spec-\*/spec.md
13
14
  - Existing coverage ledgers and test files
14
15
 
15
16
  ## Deliverables (MANDATORY)
16
17
 
18
+ - Decision Records referenced (DR-IDs) + rejected check (or RE-OPEN request)
17
19
  - Scope ledger (what must be tested) with exclusions rationale
18
20
  - Coverage ledger mapped to scenarios and layers
19
21
  - Evidence summary for `.qfai/evidence/` (gitignored; do not commit)
20
22
 
21
23
  ## Stop conditions (Blockers)
22
24
 
25
+ - Rejected option would be reintroduced without RE-OPEN DR
23
26
  - Hidden exclusions or silent gaps detected
24
27
  - Evidence is missing or incomplete
25
28
  - Scenario mapping is ambiguous
@@ -33,6 +36,7 @@
33
36
 
34
37
  ## Output format (structured)
35
38
 
39
+ - Decision Records (DR-IDs) / rejected check
36
40
  - Findings
37
41
  - Coverage ledger
38
42
  - Exclusions rationale
@@ -6,13 +6,16 @@
6
6
 
7
7
  ## Inputs you must read
8
8
 
9
+ - .qfai/assistant/instructions/\*
9
10
  - .qfai/assistant/steering/\*
11
+ - .qfai/specs/spec-\*/delta.md (Decision Records; check rejected)
10
12
  - .qfai/specs/spec-\*/spec.md
11
13
  - .qfai/require/require.md
12
14
  - Evidence summaries under `.qfai/evidence/` (gitignored)
13
15
 
14
16
  ## Deliverables (MANDATORY)
15
17
 
18
+ - Decision Records referenced (DR-IDs) + rejected check (or RE-OPEN request)
16
19
  - Decisions with trade-offs and rationale
17
20
  - Scope boundaries and non-goals
18
21
  - Open risks explicitly listed
@@ -20,6 +23,7 @@
20
23
 
21
24
  ## Stop conditions (Blockers)
22
25
 
26
+ - Rejected option would be reintroduced without RE-OPEN DR
23
27
  - Requirements ambiguity blocks safe decisions
24
28
  - Conflicting decisions without resolution
25
29
  - Evidence is missing or incomplete
@@ -33,6 +37,7 @@
33
37
 
34
38
  ## Output format (structured)
35
39
 
40
+ - Decision Records (DR-IDs) / rejected check
36
41
  - Decisions and rationale
37
42
  - Scope boundaries
38
43
  - Risks and mitigations
@@ -3,9 +3,13 @@
3
3
  ## Mission
4
4
 
5
5
  - Lead design reviews and finalize approval conditions.
6
+ - Validate selection criteria, rejected safeguards, and alignment with steering/instructions.
6
7
 
7
8
  ## Inputs you must read
8
9
 
10
+ - .qfai/assistant/instructions/\*
11
+ - .qfai/assistant/steering/\*
12
+ - .qfai/specs/spec-\*/delta.md (Decision Records; check rejected)
9
13
  - Design decisions and artifacts
10
14
  - .qfai/specs/spec-\*/spec.md
11
15
  - Evidence summaries under `.qfai/evidence/` (gitignored)
@@ -13,15 +17,19 @@
13
17
 
14
18
  ## Deliverables (MANDATORY)
15
19
 
20
+ - Decision Records referenced (DR-IDs) + rejected check (or RE-OPEN request)
21
+ - Decision quality review (criteria adequacy, rejected coverage, conflicts)
16
22
  - Review decision: Reject / Approve with conditions
17
23
  - Minimal actionable change requests
18
24
  - Evidence check summary (presence and gaps)
19
25
 
20
26
  ## Stop conditions (Blockers)
21
27
 
28
+ - Rejected option would be reintroduced without RE-OPEN DR
22
29
  - Evidence is missing or incomplete
23
30
  - Self-approval detected
24
31
  - Conflicting decisions without resolution
32
+ - Conflicts with steering/instructions are detected
25
33
 
26
34
  ## Sign-off checklist (Check Last)
27
35
 
@@ -32,6 +40,7 @@
32
40
 
33
41
  ## Output format (structured)
34
42
 
43
+ - Decision Records (DR-IDs) / rejected check
35
44
  - Decision (Reject / Approve with conditions)
36
45
  - Findings
37
46
  - Required changes
@@ -8,11 +8,13 @@
8
8
 
9
9
  - .qfai/assistant/instructions/\*
10
10
  - .qfai/assistant/steering/\*
11
+ - .qfai/specs/spec-\*/delta.md (Decision Records; check rejected)
11
12
  - package.json scripts and CI config
12
13
  - Evidence summaries under `.qfai/evidence/`
13
14
 
14
15
  ## Deliverables (MANDATORY)
15
16
 
17
+ - Decision Records referenced (DR-IDs) + rejected check (or RE-OPEN request)
16
18
  - Exact commands executed and key outputs
17
19
  - Reproducibility notes (env, versions, prerequisites)
18
20
  - Gate status summary (PASS/FAIL)
@@ -20,6 +22,7 @@
20
22
 
21
23
  ## Stop conditions (Blockers)
22
24
 
25
+ - Rejected option would be reintroduced without RE-OPEN DR
23
26
  - Cannot run end-to-end locally
24
27
  - Missing environment setup instructions
25
28
  - Evidence is missing or incomplete
@@ -33,6 +36,7 @@
33
36
 
34
37
  ## Output format (structured)
35
38
 
39
+ - Decision Records (DR-IDs) / rejected check
36
40
  - Commands executed
37
41
  - Gate results
38
42
  - Evidence summary
@@ -3,22 +3,27 @@
3
3
  ## Mission
4
4
 
5
5
  - Facilitate discussions to surface decisions, trade-offs, and scope boundaries.
6
+ - Ensure Decision Records capture options, selection criteria, and explicit rejected rationale.
6
7
 
7
8
  ## Inputs you must read
8
9
 
9
10
  - .qfai/assistant/instructions/\*
10
11
  - .qfai/assistant/steering/\*
12
+ - .qfai/specs/spec-\*/delta.md (Decision Records; check rejected)
11
13
  - Existing discussion records under `.qfai/discussions/`
12
14
  - .qfai/require/require.md (if present)
13
15
 
14
16
  ## Deliverables (MANDATORY)
15
17
 
18
+ - Decision Records referenced (DR-IDs) + rejected check (or RE-OPEN request)
19
+ - Options/criteria draft for delta.md (selected + rejected with rationale)
16
20
  - Discussion summary with decisions and trade-offs
17
21
  - Explicit scope boundaries and open risks
18
22
  - Evidence summary for `.qfai/evidence/` (gitignored; do not commit)
19
23
 
20
24
  ## Stop conditions (Blockers)
21
25
 
26
+ - Rejected option would be reintroduced without RE-OPEN DR
22
27
  - Requirements ambiguity blocks a safe decision
23
28
  - Evidence is missing or incomplete
24
29
  - Scope boundaries are not explicit
@@ -32,6 +37,7 @@
32
37
 
33
38
  ## Output format (structured)
34
39
 
40
+ - Decision Records (DR-IDs) / rejected check
35
41
  - Discussion summary
36
42
  - Decisions and trade-offs
37
43
  - Scope boundaries
@@ -8,12 +8,14 @@
8
8
 
9
9
  - .qfai/assistant/instructions/\*
10
10
  - .qfai/assistant/steering/\*
11
+ - .qfai/specs/spec-\*/delta.md (Decision Records; check rejected)
11
12
  - .qfai/specs/spec-\*/spec.md
12
13
  - .qfai/specs/spec-\*/scenario.feature
13
14
  - .qfai/contracts/ui/\*\*
14
15
 
15
16
  ## Deliverables (MANDATORY)
16
17
 
18
+ - Decision Records referenced (DR-IDs) + rejected check (or RE-OPEN request)
17
19
  - Implementation mapping (contract/scenario -> file/component)
18
20
  - Frontend code changes (minimal, traceable)
19
21
  - Execution proof (commands + key outputs)
@@ -21,6 +23,7 @@
21
23
 
22
24
  ## Stop conditions (Blockers)
23
25
 
26
+ - Rejected option would be reintroduced without RE-OPEN DR
24
27
  - Required UI contracts/specs are missing or ambiguous
25
28
  - Evidence is missing or incomplete
26
29
  - Tests or quality gates fail and cannot be made green
@@ -35,6 +38,7 @@
35
38
 
36
39
  ## Output format (structured)
37
40
 
41
+ - Decision Records (DR-IDs) / rejected check
38
42
  - Findings
39
43
  - Decisions
40
44
  - Proposed edits (files/sections)
@@ -6,6 +6,9 @@
6
6
 
7
7
  ## Inputs you must read
8
8
 
9
+ - .qfai/assistant/instructions/\*
10
+ - .qfai/assistant/steering/\*
11
+ - .qfai/specs/spec-\*/delta.md (Decision Records; check rejected)
9
12
  - Diff of frontend-related files
10
13
  - Evidence summaries under `.qfai/evidence/` (gitignored)
11
14
  - Test outputs and gate results
@@ -14,12 +17,14 @@
14
17
 
15
18
  ## Deliverables (MANDATORY)
16
19
 
20
+ - Decision Records referenced (DR-IDs) + rejected check (or RE-OPEN request)
17
21
  - Review decision: Reject / Approve with conditions
18
22
  - Minimal actionable change requests
19
23
  - Evidence check summary (presence and gaps)
20
24
 
21
25
  ## Stop conditions (Blockers)
22
26
 
27
+ - Rejected option would be reintroduced without RE-OPEN DR
23
28
  - Evidence is missing or incomplete
24
29
  - Self-approval detected
25
30
  - Frontend gates are missing or failing
@@ -33,6 +38,7 @@
33
38
 
34
39
  ## Output format (structured)
35
40
 
41
+ - Decision Records (DR-IDs) / rejected check
36
42
  - Decision (Reject / Approve with conditions)
37
43
  - Findings
38
44
  - Required changes
@@ -8,17 +8,20 @@
8
8
 
9
9
  - .qfai/assistant/instructions/\*
10
10
  - .qfai/assistant/steering/\*
11
+ - .qfai/specs/spec-\*/delta.md (Decision Records; check rejected)
11
12
  - Existing discussion records under `.qfai/discussions/`
12
13
  - .qfai/require/require.md (if present)
13
14
 
14
15
  ## Deliverables (MANDATORY)
15
16
 
17
+ - Decision Records referenced (DR-IDs) + rejected check (or RE-OPEN request)
16
18
  - Prioritized question list (blockers first)
17
19
  - Recorded assumptions (explicit)
18
20
  - Evidence summary for `.qfai/evidence/` (gitignored; do not commit)
19
21
 
20
22
  ## Stop conditions (Blockers)
21
23
 
24
+ - Rejected option would be reintroduced without RE-OPEN DR
22
25
  - Requirements ambiguity blocks a safe decision
23
26
  - Evidence is missing or incomplete
24
27
  - User responses conflict without resolution
@@ -32,6 +35,7 @@
32
35
 
33
36
  ## Output format (structured)
34
37
 
38
+ - Decision Records (DR-IDs) / rejected check
35
39
  - Questions (priority order)
36
40
  - Assumptions
37
41
  - Evidence summary
@@ -8,6 +8,7 @@
8
8
 
9
9
  - .qfai/assistant/instructions/\*
10
10
  - .qfai/assistant/steering/\*
11
+ - .qfai/specs/spec-\*/delta.md (Decision Records; check rejected)
11
12
  - .qfai/require/require.md (if present)
12
13
  - .qfai/specs/spec-\*/spec.md
13
14
  - .qfai/specs/spec-\*/delta.md (draft)
@@ -16,6 +17,7 @@
16
17
 
17
18
  ## Deliverables (MANDATORY)
18
19
 
20
+ - Decision Records referenced (DR-IDs) + rejected check (or RE-OPEN request)
19
21
  - Options table (A/B/C) with pros/cons/trade-offs
20
22
  - Selection criteria with priorities (P0/P1) + rationale
21
23
  - Recommended option with reasoning
@@ -24,6 +26,7 @@
24
26
 
25
27
  ## Stop conditions (Blockers)
26
28
 
29
+ - Rejected option would be reintroduced without RE-OPEN DR
27
30
  - Spec/contract scope is missing or inconsistent
28
31
  - Options cannot be compared safely due to missing requirements
29
32
  - Evidence is missing or incomplete
@@ -37,6 +40,7 @@
37
40
 
38
41
  ## Output format (structured)
39
42
 
43
+ - Decision Records (DR-IDs) / rejected check
40
44
  - Findings
41
45
  - Options table
42
46
  - Selection criteria + recommendation
@@ -6,6 +6,9 @@
6
6
 
7
7
  ## Inputs you must read
8
8
 
9
+ - .qfai/assistant/instructions/\*
10
+ - .qfai/assistant/steering/\*
11
+ - .qfai/specs/spec-\*/delta.md (Decision Records; check rejected)
9
12
  - Option Explorer output (options table + criteria)
10
13
  - .qfai/specs/spec-\*/spec.md
11
14
  - .qfai/specs/spec-\*/delta.md (draft)
@@ -14,6 +17,7 @@
14
17
 
15
18
  ## Deliverables (MANDATORY)
16
19
 
20
+ - Decision Records referenced (DR-IDs) + rejected check (or RE-OPEN request)
17
21
  - Review decision: Approve / Needs changes
18
22
  - Gaps or bias findings with concrete fixes
19
23
  - Risk notes for rejected/deferred options
@@ -21,6 +25,7 @@
21
25
 
22
26
  ## Stop conditions (Blockers)
23
27
 
28
+ - Rejected option would be reintroduced without RE-OPEN DR
24
29
  - Option set lacks minimum alternatives (2-3)
25
30
  - Criteria are missing or not prioritized
26
31
  - Evidence is missing or incomplete
@@ -33,6 +38,7 @@
33
38
 
34
39
  ## Output format (structured)
35
40
 
41
+ - Decision Records (DR-IDs) / rejected check
36
42
  - Decision (Approve / Needs changes)
37
43
  - Findings
38
44
  - Required changes
@@ -8,6 +8,7 @@
8
8
 
9
9
  - .qfai/assistant/instructions/\*
10
10
  - .qfai/assistant/steering/\*
11
+ - .qfai/specs/spec-\*/delta.md (Decision Records; check rejected)
11
12
  - .qfai/require/require.md (if present)
12
13
  - .qfai/require/open-questions.md (if present)
13
14
  - .qfai/specs/spec-\*/spec.md
@@ -17,12 +18,14 @@
17
18
 
18
19
  ## Deliverables (MANDATORY)
19
20
 
21
+ - Decision Records referenced (DR-IDs) + rejected check (or RE-OPEN request)
20
22
  - OQ candidate list with ID, category, question, recommended options, impact, and priority
21
23
  - Proposed status (Open/Answered/Deferred) and next step
22
24
  - Evidence summary for `.qfai/evidence/` (gitignored; do not commit)
23
25
 
24
26
  ## Stop conditions (Blockers)
25
27
 
28
+ - Rejected option would be reintroduced without RE-OPEN DR
26
29
  - Draft artifacts are missing or inconsistent
27
30
  - Conflicting requirements block safe questioning
28
31
  - Evidence is missing or incomplete
@@ -36,6 +39,7 @@
36
39
 
37
40
  ## Output format (structured)
38
41
 
42
+ - Decision Records (DR-IDs) / rejected check
39
43
  - Findings
40
44
  - OQ candidate list
41
45
  - Risks / impacts
@@ -8,6 +8,7 @@
8
8
 
9
9
  - .qfai/assistant/instructions/\*
10
10
  - .qfai/assistant/steering/\*
11
+ - .qfai/specs/spec-\*/delta.md (Decision Records; check rejected)
11
12
  - OQ candidate list from OQ Harvester
12
13
  - .qfai/require/require.md (if present)
13
14
  - .qfai/require/open-questions.md (if present)
@@ -17,12 +18,14 @@
17
18
 
18
19
  ## Deliverables (MANDATORY)
19
20
 
21
+ - Decision Records referenced (DR-IDs) + rejected check (or RE-OPEN request)
20
22
  - Review notes (missing OQs, duplicates, overly leading questions)
21
23
  - Deferral risk assessment and recommendations
22
24
  - Evidence summary for `.qfai/evidence/` (gitignored; do not commit)
23
25
 
24
26
  ## Stop conditions (Blockers)
25
27
 
28
+ - Rejected option would be reintroduced without RE-OPEN DR
26
29
  - OQ list lacks critical domains (security, data, error handling, UX)
27
30
  - Deferral would cause correctness risk without user approval
28
31
  - Evidence is missing or incomplete
@@ -36,6 +39,7 @@
36
39
 
37
40
  ## Output format (structured)
38
41
 
42
+ - Decision Records (DR-IDs) / rejected check
39
43
  - Findings
40
44
  - Review notes
41
45
  - Deferral risk assessment
@@ -8,12 +8,14 @@
8
8
 
9
9
  - .qfai/assistant/instructions/\*
10
10
  - .qfai/assistant/steering/\*
11
+ - .qfai/specs/spec-\*/delta.md (Decision Records; check rejected)
11
12
  - .qfai/specs/spec-\*/spec.md
12
13
  - .qfai/require/require.md
13
14
  - Existing constraints and gate commands
14
15
 
15
16
  ## Deliverables (MANDATORY)
16
17
 
18
+ - Decision Records referenced (DR-IDs) + rejected check (or RE-OPEN request)
17
19
  - Phased plan with ordered steps
18
20
  - Risks and mitigations
19
21
  - Definition of Done with command list
@@ -21,6 +23,7 @@
21
23
 
22
24
  ## Stop conditions (Blockers)
23
25
 
26
+ - Rejected option would be reintroduced without RE-OPEN DR
24
27
  - Requirements ambiguity blocks safe planning
25
28
  - Conflicting constraints without resolution
26
29
  - Evidence is missing or incomplete
@@ -34,6 +37,7 @@
34
37
 
35
38
  ## Output format (structured)
36
39
 
40
+ - Decision Records (DR-IDs) / rejected check
37
41
  - Plan (phases + steps)
38
42
  - Risks and mitigations
39
43
  - DoD and gate commands
@@ -6,13 +6,16 @@
6
6
 
7
7
  ## Inputs you must read
8
8
 
9
+ - .qfai/assistant/instructions/\*
9
10
  - .qfai/assistant/steering/\*
11
+ - .qfai/specs/spec-\*/delta.md (Decision Records; check rejected)
10
12
  - .qfai/require/require.md
11
13
  - .qfai/specs/spec-\*/spec.md
12
14
  - Evidence summaries under `.qfai/evidence/` (gitignored)
13
15
 
14
16
  ## Deliverables (MANDATORY)
15
17
 
18
+ - Decision Records referenced (DR-IDs) + rejected check (or RE-OPEN request)
16
19
  - Scope and priority decisions
17
20
  - Risk register with owners
18
21
  - Open issues and escalation plan
@@ -20,6 +23,7 @@
20
23
 
21
24
  ## Stop conditions (Blockers)
22
25
 
26
+ - Rejected option would be reintroduced without RE-OPEN DR
23
27
  - Requirements ambiguity blocks safe decisions
24
28
  - Conflicting priorities without resolution
25
29
  - Evidence is missing or incomplete
@@ -33,6 +37,7 @@
33
37
 
34
38
  ## Output format (structured)
35
39
 
40
+ - Decision Records (DR-IDs) / rejected check
36
41
  - Decisions and priorities
37
42
  - Risks and owners
38
43
  - Evidence summary