qfai 2.4.0 → 2.5.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 +24 -16
- package/assets/defaults/workflows/apply-settled.yml +2 -0
- package/assets/defaults/workflows/decide-design.yml +1 -6
- package/assets/defaults/workflows/decompose-epic.yml +1 -1
- package/assets/init/.claude/settings.json +1 -1
- package/assets/init/.qfai/assistant/agent/architecture-reviewer.md +1 -0
- package/assets/init/.qfai/assistant/agent/fullstack-engineer.md +6 -9
- package/assets/init/.qfai/assistant/agent/implementation-reviewer.md +9 -1
- package/assets/init/.qfai/assistant/agent/product-surface-reviewer.md +70 -4
- package/assets/init/.qfai/assistant/agent/requirements-reviewer.md +1 -0
- package/assets/init/.qfai/assistant/rule/constitution.md +3 -2
- package/assets/init/.qfai/assistant/rule/drift-protocol.md +5 -5
- package/assets/init/.qfai/assistant/rule/references/deliberation-record-template.md +23 -0
- package/assets/init/.qfai/assistant/rule/references/deliberation-record.md +36 -0
- package/assets/init/.qfai/assistant/rule/references/griller-recommendations.md +3 -3
- package/assets/init/.qfai/assistant/rule/references/launcher-preflight.md +27 -0
- package/assets/init/.qfai/assistant/rule/references/reviewer-findings.md +9 -0
- package/assets/init/.qfai/assistant/rule/references/reviewer-remit.md +23 -15
- package/assets/init/.qfai/assistant/rule/references/visual-reference-survey.md +146 -0
- package/assets/init/.qfai/assistant/rule/references/worker-edit-boundary.md +2 -0
- package/assets/init/.qfai/assistant/rule/research-first-protocol.md +49 -11
- package/assets/init/.qfai/assistant/rule/review-convergence.md +15 -16
- package/assets/init/.qfai/assistant/rule/shared-skill-delegation-baseline.md +3 -0
- package/assets/init/.qfai/assistant/rule/shared-skill-operating-baseline.md +13 -25
- package/assets/init/.qfai/assistant/rule/test-layers.md +8 -0
- package/assets/init/.qfai/assistant/rule/thinking.md +10 -5
- package/assets/init/.qfai/assistant/rule/ui-definition-protocol.md +4 -4
- package/assets/init/.qfai/assistant/rule/ui-procurement.md +50 -10
- package/assets/init/.qfai/assistant/rule/workflow.md +4 -3
- package/assets/init/.qfai/assistant/skill/qfai-configure/SKILL.md +3 -1
- package/assets/init/.qfai/assistant/skill/qfai-discussion/SKILL.md +22 -56
- package/assets/init/.qfai/assistant/skill/qfai-discussion/references/design-dna-intake.md +11 -14
- package/assets/init/.qfai/assistant/skill/qfai-discussion/references/discussion-coverage-checklist.md +1 -1
- package/assets/init/.qfai/assistant/skill/qfai-grilling/SKILL.md +6 -4
- package/assets/init/.qfai/assistant/skill/qfai-grilling/references/discussion-delegation.md +46 -0
- package/assets/init/.qfai/assistant/skill/qfai-grilling/references/glossary-check.md +23 -0
- package/assets/init/.qfai/assistant/skill/qfai-grilling/references/session-check.md +25 -0
- package/assets/init/.qfai/assistant/skill/qfai-implement/SKILL.md +12 -1
- package/assets/init/.qfai/assistant/skill/qfai-implement/references/parallelization-policy.md +2 -3
- package/assets/init/.qfai/assistant/skill/qfai-implement/references/ui-affecting.md +47 -8
- package/assets/init/.qfai/assistant/skill/qfai-maintain/SKILL.md +2 -0
- package/assets/init/.qfai/assistant/skill/qfai-migration-v1-to-v2/SKILL.md +1 -1
- package/assets/init/.qfai/assistant/skill/qfai-prototyping/SKILL.md +6 -2
- package/assets/init/.qfai/assistant/skill/qfai-prototyping/references/generator-prompt.md +6 -9
- package/assets/init/.qfai/assistant/skill/qfai-prototyping/references/reviewer-prompt.md +24 -15
- package/assets/init/.qfai/assistant/skill/qfai-run/SKILL.md +2 -2
- package/assets/init/.qfai/assistant/skill/qfai-run/references/extraction.md +2 -1
- package/assets/init/.qfai/assistant/skill/qfai-run/references/operator-screens.md +7 -3
- package/assets/init/.qfai/assistant/skill/qfai-run/references/stage-points.md +4 -1
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/business-ui-patterns.md +180 -0
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/contract-artifact-rules.md +14 -3
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/design-anti-patterns.md +14 -3
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/design-md-authoring.md +39 -24
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/design-md-brand-catalog.md +2 -2
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/marketing-ui-patterns.md +194 -0
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/requirements-decomposition.md +27 -3
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/sdd-execution-playbook.md +29 -22
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/sdd-phase-checklists.md +3 -3
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/sdd-pre-draft-grilling.md +4 -4
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/sdd-quality-gate.md +1 -1
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/sdd-triage.md +4 -2
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/spec-traceability-rules.md +6 -6
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/ui-contract-guide.md +87 -4
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/ui-design-contract-normalization.md +6 -7
- package/assets/init/.qfai/assistant/skill/qfai-sdd/templates/contracts/api-contract.sample.yaml +3 -0
- package/assets/init/.qfai/assistant/skill/qfai-sdd/templates/contracts/db-contract.sample.sql +3 -0
- package/assets/init/.qfai/assistant/skill/qfai-sdd/templates/contracts/ui-contract.sample.yaml +40 -1
- package/assets/init/.qfai/assistant/skill/qfai-sdd/templates/report/preflight_summary.md +10 -16
- package/assets/init/.qfai/assistant/skill/qfai-sdd/templates/spec/01_policy/constraint.md +10 -0
- package/assets/init/.qfai/assistant/skill/qfai-sdd/templates/spec/01_policy/initiative.md +5 -0
- package/assets/init/.qfai/assistant/skill/qfai-sdd/templates/spec/03_contract/tech.md +1 -0
- package/assets/init/.qfai/assistant/skill/qfai-sdd/templates/spec/decisions.md +8 -2
- package/assets/init/.qfai/assistant/skill/qfai-triage/SKILL.md +4 -0
- package/assets/init/.qfai/assistant/skill/qfai-verify/SKILL.md +4 -2
- package/assets/init/.qfai/assistant/skill/qfai-verify/references/context-load.md +2 -1
- package/assets/init/.qfai/assistant/skill/qfai-verify/references/verify-output-contract.md +4 -1
- package/assets/init/.qfai/assistant/step/common-design-md/STEP.md +11 -8
- package/assets/init/.qfai/assistant/step/common-gate-run/STEP.md +1 -1
- package/assets/init/.qfai/assistant/step/common-grilling-record/STEP.md +25 -60
- package/assets/init/.qfai/assistant/step/common-review-cycle/STEP.md +18 -6
- package/assets/init/.qfai/assistant/step/discussion-interview/STEP.md +45 -95
- package/assets/init/.qfai/assistant/step/discussion-research/STEP.md +11 -13
- package/assets/init/.qfai/assistant/step/implement-diagnose/STEP.md +2 -2
- package/assets/init/.qfai/assistant/step/implement-scaffold/STEP.md +52 -8
- package/assets/init/.qfai/assistant/step/implement-settled-edit/STEP.md +78 -0
- package/assets/init/.qfai/assistant/step/implement-sweep/STEP.md +3 -3
- package/assets/init/.qfai/assistant/step/implement-tdd/STEP.md +20 -2
- package/assets/init/.qfai/assistant/step/prototyping-grill/STEP.md +4 -0
- package/assets/init/.qfai/assistant/step/prototyping-handoff/STEP.md +3 -2
- package/assets/init/.qfai/assistant/step/prototyping-loop/STEP.md +6 -1
- package/assets/init/.qfai/assistant/step/sdd-contract/STEP.md +58 -11
- package/assets/init/.qfai/assistant/step/sdd-flow/STEP.md +41 -27
- package/assets/init/.qfai/assistant/step/sdd-story/STEP.md +2 -1
- package/assets/init/.qfai/assistant/step/sdd-triage/STEP.md +43 -26
- package/assets/init/.qfai/assistant/step/triage-answer/STEP.md +8 -3
- package/assets/init/.qfai/assistant/step/triage-close/STEP.md +12 -6
- package/assets/init/.qfai/assistant/step/triage-decompose/STEP.md +2 -1
- package/assets/init/.qfai/assistant/step/triage-operate/STEP.md +36 -6
- package/assets/init/.qfai/assistant/step/triage-security-intake/STEP.md +2 -0
- package/assets/init/.qfai/assistant/step/verify-commit/STEP.md +3 -1
- package/assets/init/.qfai/assistant/step/verify-context/STEP.md +3 -3
- package/assets/init/.qfai/assistant/step/verify-release-notes/STEP.md +11 -3
- package/assets/init/.qfai/assistant/step/verify-repo-gate/STEP.md +22 -0
- package/assets/init/root/.agents/rules/delegation-steering.md +4 -2
- package/assets/init/root/.agents/rules/distributed-surface.md +1 -1
- package/assets/init/root/.agents/rules/grilling.md +28 -76
- package/assets/init/root/.agents/rules/interface-clarity.md +98 -6
- package/assets/init/root/.gitattributes +7 -5
- package/assets/init/root/.github/workflows/qfai-docs.yml +1 -1
- package/assets/init/root/qfai.config.yaml +1 -1
- package/assets/mdschema/story/01_policy/constraint.mdschema.yml +46 -2
- package/assets/mdschema/story/01_policy/initiative.mdschema.yml +18 -0
- package/assets/mdschema/story/03_contract/tech.mdschema.yml +5 -2
- package/assets/uix-rev/strategy-review.md +1 -1
- package/dist/cli/index.cjs +3787 -7097
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.mjs +3647 -6970
- package/dist/cli/index.mjs.map +1 -1
- package/dist/graph/cli.cjs +966 -222
- package/dist/graph/cli.cjs.map +1 -1
- package/dist/graph/cli.mjs +942 -198
- package/dist/graph/cli.mjs.map +1 -1
- package/dist/graph/hook.cjs +999 -88
- package/dist/graph/hook.cjs.map +1 -1
- package/dist/graph/hook.mjs +996 -85
- package/dist/graph/hook.mjs.map +1 -1
- package/dist/hook/turn-end.cjs +15 -45
- package/dist/hook/turn-end.cjs.map +1 -1
- package/dist/hook/turn-end.mjs +15 -45
- package/dist/hook/turn-end.mjs.map +1 -1
- package/dist/index.cjs +15398 -18327
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -41
- package/dist/index.d.ts +32 -41
- package/dist/index.mjs +19276 -22214
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/assets/init/.qfai/assistant/skill/qfai-discussion/references/discussion-artifact-rules.md +0 -53
- package/assets/init/.qfai/assistant/skill/qfai-discussion/references/discussion-completion-matrix.md +0 -133
- package/assets/init/.qfai/assistant/skill/qfai-discussion/references/example-mapping-guide.md +0 -18
- package/assets/init/.qfai/assistant/skill/qfai-discussion/references/oq-and-deferred-rules.md +0 -84
- package/assets/init/.qfai/assistant/skill/qfai-discussion/references/ui-bearing-playbook.md +0 -95
- package/assets/init/.qfai/assistant/skill/qfai-discussion/references/ui_ux/platform_baselines.md +0 -118
- package/assets/init/.qfai/assistant/skill/qfai-discussion/references/ui_ux/review_audit_playbook.md +0 -115
- package/assets/init/.qfai/assistant/skill/qfai-discussion/references/ui_ux/trend_scan_playbook.md +0 -81
- package/assets/init/.qfai/assistant/skill/qfai-discussion/references/ui_ux_best_practices.md +0 -184
- package/assets/init/.qfai/assistant/skill/qfai-discussion/templates/01_Context.md +0 -143
- package/assets/init/.qfai/assistant/skill/qfai-discussion/templates/03_Story-Workshop.md +0 -104
- package/assets/init/.qfai/assistant/skill/qfai-discussion/templates/04_Sources.md +0 -276
- package/assets/init/.qfai/assistant/skill/qfai-discussion/templates/05_Scope.md +0 -36
- package/assets/init/.qfai/assistant/skill/qfai-discussion/templates/06_REQ.md +0 -26
- package/assets/init/.qfai/assistant/skill/qfai-discussion/templates/07_NFR.md +0 -24
- package/assets/init/.qfai/assistant/skill/qfai-discussion/templates/08_Glossary.md +0 -23
- package/assets/init/.qfai/assistant/skill/qfai-discussion/templates/09_Constraints.md +0 -60
- package/assets/init/.qfai/assistant/skill/qfai-discussion/templates/11_OQ-Register.md +0 -38
- package/assets/init/.qfai/assistant/skill/qfai-discussion/templates/prototyping.yaml +0 -8
- package/assets/init/.qfai/assistant/skill/qfai-discussion/templates/uiux/00_index.md +0 -35
- package/assets/init/.qfai/assistant/skill/qfai-discussion/templates/uiux/40_screen_contracts.md +0 -62
- package/assets/init/.qfai/assistant/skill/qfai-discussion/templates/uiux/50_review_input_bundle.md +0 -38
- package/assets/init/.qfai/assistant/step/discussion-oq/STEP.md +0 -70
- package/assets/init/.qfai/assistant/step/discussion-pack/STEP.md +0 -199
- package/assets/init/.qfai/assistant/step/discussion-uiux/STEP.md +0 -82
- package/assets/uix-rev/contracts-review.md +0 -27
|
@@ -1,276 +0,0 @@
|
|
|
1
|
-
# 04 Sources
|
|
2
|
-
|
|
3
|
-
## Source Registry
|
|
4
|
-
|
|
5
|
-
Repository facts follow `.qfai/assistant/step/discussion-pack/STEP.md#gate`.
|
|
6
|
-
Each fact names where it was read, beside the fact itself or by the `SRC-ID` of
|
|
7
|
-
the row that holds it. A row nobody cites leaves the reader to work out which
|
|
8
|
-
fact it backs, which is the check this registry exists for.
|
|
9
|
-
|
|
10
|
-
| SRC-ID | Title | Type | URL / Path | Retrieved | Notes |
|
|
11
|
-
| -------- | ----- | ------- | ---------- | ---------- | ----- |
|
|
12
|
-
| SRC-0001 | TBD | primary | <link> | YYYY-MM-DD | - |
|
|
13
|
-
|
|
14
|
-
## Source Types
|
|
15
|
-
|
|
16
|
-
- `primary`: First-hand evidence (interviews, documents, code).
|
|
17
|
-
- `secondary`: Derived information (summaries, analyses).
|
|
18
|
-
- `external`: Third-party references (specs, RFCs, vendor docs).
|
|
19
|
-
|
|
20
|
-
## Research Summary
|
|
21
|
-
|
|
22
|
-
Storage slot for the `research_summary` output of
|
|
23
|
-
`.qfai/assistant/rule/research-first-protocol.md`. Replace every placeholder with the actual
|
|
24
|
-
protocol run; `npx qfai validate --profile discussion` reports `QFAI-RESEARCH-*` while they remain.
|
|
25
|
-
Never delete this heading to silence the gate: the current pack's `04_Sources.md` is required to
|
|
26
|
-
carry it, and its absence is reported as `QFAI-RESEARCH-016`.
|
|
27
|
-
|
|
28
|
-
Research-First Protocol output. Schema: `.qfai/assistant/rule/research-first-protocol.md`.
|
|
29
|
-
Replace every `[...]` placeholder with real research: validation rejects
|
|
30
|
-
bracketed `title` / `url` / `reason` values and requires `published` to be a
|
|
31
|
-
real `YYYY-MM-DD` date, so an unfilled block below reports errors rather than
|
|
32
|
-
passing.
|
|
33
|
-
|
|
34
|
-
```yaml
|
|
35
|
-
research_summary:
|
|
36
|
-
sources:
|
|
37
|
-
- id: SRC-0001
|
|
38
|
-
title: [Reference title]
|
|
39
|
-
url: [https://example.com/reference]
|
|
40
|
-
published: YYYY-MM-DD
|
|
41
|
-
best_practices:
|
|
42
|
-
- id: BP-0001
|
|
43
|
-
category: [Category this practice belongs to]
|
|
44
|
-
title: [Best practice title]
|
|
45
|
-
description: [What to do and when it applies]
|
|
46
|
-
source_id: SRC-0001
|
|
47
|
-
anti_patterns:
|
|
48
|
-
- id: AP-0001
|
|
49
|
-
category: [Category this anti-pattern belongs to]
|
|
50
|
-
title: [Anti-pattern title]
|
|
51
|
-
description: [What to avoid and why]
|
|
52
|
-
source_id: SRC-0001
|
|
53
|
-
reflection:
|
|
54
|
-
- source_id: SRC-0001
|
|
55
|
-
finding: [What the source implies for this project]
|
|
56
|
-
action: apply
|
|
57
|
-
reason: [Why apply / reject / defer was chosen]
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
## Exploration Direction Inputs
|
|
61
|
-
|
|
62
|
-
Record product intent and must-keep interactions for every UI-bearing pack.
|
|
63
|
-
For a visual-prototyping surface, also record brand signals and differentiation
|
|
64
|
-
targets. Use the user's interview decision or a `SRC-ID` from the Source
|
|
65
|
-
Registry as the source for each recorded statement. A reference observation
|
|
66
|
-
alone does not establish a user-owned brand decision.
|
|
67
|
-
|
|
68
|
-
An empty Statement means the input is missing. Leave Source or decision empty
|
|
69
|
-
until evidence exists, keep Status as `missing`, and open a matching row in
|
|
70
|
-
`11_OQ-Register.md`; a missing input cannot count as a completed pack. For a
|
|
71
|
-
cli-only or non-UI pack, mark an inapplicable row `not applicable` and cite
|
|
72
|
-
`01_Context.md#UI-bearing Classification` with the reason. Do not invent a
|
|
73
|
-
source, a brand trait, or a design choice to fill the table.
|
|
74
|
-
|
|
75
|
-
| Input | Statement | Source or decision | Status |
|
|
76
|
-
| ----------------------- | --------- | ------------------ | ------- |
|
|
77
|
-
| Product intent | | | missing |
|
|
78
|
-
| Must-keep interactions | | | missing |
|
|
79
|
-
| Brand signals | | | missing |
|
|
80
|
-
| Differentiation targets | | | missing |
|
|
81
|
-
|
|
82
|
-
## Design Anti-Goals
|
|
83
|
-
|
|
84
|
-
Record each rejected direction with its reason and a concrete cue that would
|
|
85
|
-
show it recurring in a prototype. Cite the decision or source that supports
|
|
86
|
-
the rejection. Add rows as needed. If the session has not established an
|
|
87
|
-
anti-goal, leave the fields empty, keep Status as `missing`, and register the
|
|
88
|
-
open question. Use `not applicable` only with a reason and the surface
|
|
89
|
-
classification or an explicit user decision.
|
|
90
|
-
|
|
91
|
-
| Rejected direction | Rejection reason | Recurrence cue | Source or decision | Status |
|
|
92
|
-
| ------------------ | ---------------- | -------------- | ------------------ | ------- |
|
|
93
|
-
| | | | | missing |
|
|
94
|
-
|
|
95
|
-
## Trend Scan
|
|
96
|
-
|
|
97
|
-
A pack whose `01_Context.md` declares `design_direction: inherit` owes no Trend Scan.
|
|
98
|
-
|
|
99
|
-
### user expectation / market norm
|
|
100
|
-
|
|
101
|
-
#### Entry 1
|
|
102
|
-
|
|
103
|
-
- reference: [Source name or URL]
|
|
104
|
-
- observation: [What user expectation or market norm signal was observed]
|
|
105
|
-
- decision_connection: [How the signal translates into this project]
|
|
106
|
-
- evaluation_connection: [How the signal should be evaluated in design review]
|
|
107
|
-
- local_implication: [What should change locally]
|
|
108
|
-
|
|
109
|
-
### product neighbor / comparable flow
|
|
110
|
-
|
|
111
|
-
#### Entry 1
|
|
112
|
-
|
|
113
|
-
- reference: [Source name or URL]
|
|
114
|
-
- observation: [What comparable product or flow signal was observed]
|
|
115
|
-
- decision_connection: [How the signal translates into this project]
|
|
116
|
-
- evaluation_connection: [How the signal should be evaluated in design review]
|
|
117
|
-
- local_implication: [What should change locally]
|
|
118
|
-
|
|
119
|
-
### platform convention
|
|
120
|
-
|
|
121
|
-
#### Entry 1
|
|
122
|
-
|
|
123
|
-
- reference: [Source name or URL]
|
|
124
|
-
- observation: [What platform convention signal was observed]
|
|
125
|
-
- decision_connection: [How the signal translates into this project]
|
|
126
|
-
- evaluation_connection: [How the signal should be evaluated in design review]
|
|
127
|
-
- local_implication: [What should change locally]
|
|
128
|
-
|
|
129
|
-
### accessibility / compliance relevant signal
|
|
130
|
-
|
|
131
|
-
#### Entry 1
|
|
132
|
-
|
|
133
|
-
- reference: [Source name or URL]
|
|
134
|
-
- observation: [What accessibility or compliance signal was observed]
|
|
135
|
-
- decision_connection: [How the signal translates into this project]
|
|
136
|
-
- evaluation_connection: [How the signal should be evaluated in design review]
|
|
137
|
-
- local_implication: [What should change locally]
|
|
138
|
-
|
|
139
|
-
### color
|
|
140
|
-
|
|
141
|
-
#### Entry 1
|
|
142
|
-
|
|
143
|
-
- source_id: [SRC-ID from Source Registry]
|
|
144
|
-
- reference: [Source name or URL]
|
|
145
|
-
- observation: [What color trend or signal was observed]
|
|
146
|
-
- decision_connection: [How the color signal translates into this project]
|
|
147
|
-
- evaluation_connection: [How the color signal should be evaluated in design review]
|
|
148
|
-
- local_implication: [What color choices should change locally]
|
|
149
|
-
|
|
150
|
-
### typography
|
|
151
|
-
|
|
152
|
-
#### Entry 1
|
|
153
|
-
|
|
154
|
-
- source_id: [SRC-ID from Source Registry]
|
|
155
|
-
- reference: [Source name or URL]
|
|
156
|
-
- observation: [What typographic trend or signal was observed]
|
|
157
|
-
- decision_connection: [How the typography signal translates into this project]
|
|
158
|
-
- evaluation_connection: [How the typography signal should be evaluated in design review]
|
|
159
|
-
- local_implication: [What typeface or scale choices should change locally]
|
|
160
|
-
|
|
161
|
-
### Visual
|
|
162
|
-
|
|
163
|
-
#### Entry 1
|
|
164
|
-
|
|
165
|
-
- source_id: [SRC-ID from Source Registry]
|
|
166
|
-
- reference: [Source name or URL]
|
|
167
|
-
- observation: [What visual motif trend or signal was observed]
|
|
168
|
-
- decision_connection: [How the visual motif translates into this project]
|
|
169
|
-
- evaluation_connection: [How the visual motif should be evaluated in design review]
|
|
170
|
-
- local_implication: [What visual motif choices should change locally]
|
|
171
|
-
|
|
172
|
-
### spacing
|
|
173
|
-
|
|
174
|
-
#### Entry 1
|
|
175
|
-
|
|
176
|
-
- source_id: [SRC-ID from Source Registry]
|
|
177
|
-
- reference: [Source name or URL]
|
|
178
|
-
- observation: [What spacing convention or density trend was observed]
|
|
179
|
-
- decision_connection: [How the spacing signal translates into this project]
|
|
180
|
-
- evaluation_connection: [How the spacing signal should be evaluated in design review]
|
|
181
|
-
- local_implication: [What spacing or density choices should change locally]
|
|
182
|
-
|
|
183
|
-
### shape
|
|
184
|
-
|
|
185
|
-
#### Entry 1
|
|
186
|
-
|
|
187
|
-
- source_id: [SRC-ID from Source Registry]
|
|
188
|
-
- reference: [Source name or URL]
|
|
189
|
-
- observation: [What shape language trend was observed (border-radius, geometric vs organic, etc.)]
|
|
190
|
-
- decision_connection: [How the shape language translates into this project]
|
|
191
|
-
- evaluation_connection: [How the shape signal should be evaluated in design review]
|
|
192
|
-
- local_implication: [What shape-language choices should change locally]
|
|
193
|
-
|
|
194
|
-
### imagery
|
|
195
|
-
|
|
196
|
-
#### Entry 1
|
|
197
|
-
|
|
198
|
-
- source_id: [SRC-ID from Source Registry]
|
|
199
|
-
- reference: [Source name or URL]
|
|
200
|
-
- observation: [What imagery or illustration style trend was observed]
|
|
201
|
-
- decision_connection: [How the imagery signal translates into this project]
|
|
202
|
-
- evaluation_connection: [How the imagery signal should be evaluated in design review]
|
|
203
|
-
- local_implication: [What imagery or illustration choices should change locally]
|
|
204
|
-
|
|
205
|
-
### design_guideline_research
|
|
206
|
-
|
|
207
|
-
#### Entry 1
|
|
208
|
-
|
|
209
|
-
- source_id: [SRC-ID from Source Registry]
|
|
210
|
-
- guideline_name: [Applicable platform or library guideline family]
|
|
211
|
-
- rule_refs:
|
|
212
|
-
- [Specific rule or section reference]
|
|
213
|
-
- local_translation: [How the guideline changes this project's local design decisions]
|
|
214
|
-
- evidence: [Concrete note, screenshot, or doc excerpt reference supporting the translation]
|
|
215
|
-
|
|
216
|
-
## Component Catalogue Registry
|
|
217
|
-
|
|
218
|
-
A competitor is consulted to differ from. A component catalogue is consulted
|
|
219
|
-
to adopt from, and the catalogues a screen's structure came from go here.
|
|
220
|
-
Each `reference` is a resolvable URL, repository path, or `SRC-ID`. State both
|
|
221
|
-
what was adopted and what was rejected, then explain the local translation.
|
|
222
|
-
|
|
223
|
-
Registered entries take the same three fields and are counted separately, so
|
|
224
|
-
a competitor cannot satisfy this registry or the reverse. The count is not
|
|
225
|
-
gated unless the project sets `uiux.catalogue_refs_min`; an entry that is
|
|
226
|
-
registered is held to all three fields either way.
|
|
227
|
-
|
|
228
|
-
### Reference: [Catalogue or block name]
|
|
229
|
-
|
|
230
|
-
- reference: [Catalogue URL, repository path, or SRC-ID]
|
|
231
|
-
- adopted_points: [What was taken from it — a page, a block, a component]
|
|
232
|
-
- rejected_points: [What was not taken and why]
|
|
233
|
-
- local_translation: [How it was re-bound to this project's tokens]
|
|
234
|
-
|
|
235
|
-
## Competitive Reference Registry
|
|
236
|
-
|
|
237
|
-
UI-bearing packs must register at least `uiux.competitive_refs_min` complete
|
|
238
|
-
references (default: 3). Three blocks are pre-seeded below; copy another
|
|
239
|
-
`### Reference:` block for each reference beyond that, and delete any block you
|
|
240
|
-
do not use only if the remaining count still meets the minimum. A pack that
|
|
241
|
-
declares `design_direction: inherit` owes no count; a reference it registers is
|
|
242
|
-
still complete.
|
|
243
|
-
|
|
244
|
-
Each `reference` is a resolvable URL, repository path, or `SRC-ID`. Use a
|
|
245
|
-
competitor to identify what this product should differ from. State adopted and
|
|
246
|
-
rejected signals separately and explain how any adopted point changes locally;
|
|
247
|
-
do not copy a competitor's surface as a template.
|
|
248
|
-
|
|
249
|
-
Every bracketed value below is a placeholder and counts as unpopulated — replace
|
|
250
|
-
all of them. `TBD`, `TODO`, `N/A`, and `-` are rejected the same way.
|
|
251
|
-
|
|
252
|
-
### Reference: [Product/Service Name 1]
|
|
253
|
-
|
|
254
|
-
- reference: [Product URL, repository path, or SRC-ID]
|
|
255
|
-
- adopted_points: [What was adopted from this reference and why]
|
|
256
|
-
- rejected_points: [What was not adopted and why]
|
|
257
|
-
- local_translation: [How adopted points were adapted for this project]
|
|
258
|
-
|
|
259
|
-
### Reference: [Product/Service Name 2]
|
|
260
|
-
|
|
261
|
-
- reference: [Product URL, repository path, or SRC-ID]
|
|
262
|
-
- adopted_points: [What was adopted from this reference and why]
|
|
263
|
-
- rejected_points: [What was not adopted and why]
|
|
264
|
-
- local_translation: [How adopted points were adapted for this project]
|
|
265
|
-
|
|
266
|
-
### Reference: [Product/Service Name 3]
|
|
267
|
-
|
|
268
|
-
- reference: [Product URL, repository path, or SRC-ID]
|
|
269
|
-
- adopted_points: [What was adopted from this reference and why]
|
|
270
|
-
- rejected_points: [What was not adopted and why]
|
|
271
|
-
- local_translation: [How adopted points were adapted for this project]
|
|
272
|
-
|
|
273
|
-
## Traceability
|
|
274
|
-
|
|
275
|
-
- Each REQ/NFR should reference at least one SRC-ID.
|
|
276
|
-
- Sources without REQ/NFR links should be reviewed for relevance.
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# 05 Scope
|
|
2
|
-
|
|
3
|
-
<!-- UX-INTENT: If UI-bearing, see uiux/00_index.md for sidecar scope inventory -->
|
|
4
|
-
|
|
5
|
-
## In Scope
|
|
6
|
-
|
|
7
|
-
- Capability 1:
|
|
8
|
-
- Capability 2:
|
|
9
|
-
|
|
10
|
-
## Out of Scope
|
|
11
|
-
|
|
12
|
-
- Item 1:
|
|
13
|
-
- Item 2:
|
|
14
|
-
|
|
15
|
-
## Constraints
|
|
16
|
-
|
|
17
|
-
- Technical constraints:
|
|
18
|
-
- Operational constraints:
|
|
19
|
-
- Legal / compliance constraints:
|
|
20
|
-
|
|
21
|
-
## Success Criteria
|
|
22
|
-
|
|
23
|
-
> IDs use the `DSC-` prefix. Bare `SC-NNNN-NNNN` is reserved for the traceability
|
|
24
|
-
> scenario tag (`QFAI:SC-...`) and must not be used for a success criterion.
|
|
25
|
-
> `/qfai-sdd` carries each criterion into the story tree's `objective.md` as an
|
|
26
|
-
> observable result and its measurement, without the ID.
|
|
27
|
-
|
|
28
|
-
| Criterion | Measurement | Target | Priority |
|
|
29
|
-
| --------- | ----------- | ------- | -------- |
|
|
30
|
-
| DSC-001 | <metric> | <value> | must |
|
|
31
|
-
| DSC-002 | <metric> | <value> | should |
|
|
32
|
-
|
|
33
|
-
## Assumptions
|
|
34
|
-
|
|
35
|
-
- Assumption 1:
|
|
36
|
-
- Assumption 2:
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# 06 REQ (Functional Requirements)
|
|
2
|
-
|
|
3
|
-
<!-- UX-INTENT: If UI-bearing, see uiux/40_screen_contracts.md for screen interaction requirements -->
|
|
4
|
-
|
|
5
|
-
## Requirements Table
|
|
6
|
-
|
|
7
|
-
| REQ-ID | Title | Description | Source | Priority | Status |
|
|
8
|
-
| -------- | ----- | ----------- | -------- | -------- | ------ |
|
|
9
|
-
| REQ-0001 | TBD | <desc> | SRC-0001 | must | draft |
|
|
10
|
-
|
|
11
|
-
## Priority Legend
|
|
12
|
-
|
|
13
|
-
- `must`: Required for MVP / first release.
|
|
14
|
-
- `should`: Important but deferrable.
|
|
15
|
-
- `could`: Nice-to-have.
|
|
16
|
-
- `wont`: Explicitly excluded from current scope.
|
|
17
|
-
|
|
18
|
-
## Rules
|
|
19
|
-
|
|
20
|
-
- Each REQ must have at least one Source (SRC-ID) reference.
|
|
21
|
-
- A REQ-ID is `REQ-NNNN`, numbered from `REQ-0001` in every pack. Specs cite it
|
|
22
|
-
with the pack's id (`discussion-<timestamp>#REQ-0001`), so it never collides
|
|
23
|
-
with another pack's requirements or with IDs the project already uses. A
|
|
24
|
-
prefixed form such as `REQ-D-0001` is not read: `npx qfai sdd preflight`
|
|
25
|
-
reports the imported count as unknown.
|
|
26
|
-
- Status: `draft` → `reviewed` → `approved`.
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# 07 NFR (Non-Functional Requirements)
|
|
2
|
-
|
|
3
|
-
<!-- UX-INTENT: If UI-bearing, see uiux/40_screen_contracts.md for usability measurement targets -->
|
|
4
|
-
|
|
5
|
-
## Requirements Table
|
|
6
|
-
|
|
7
|
-
| NFR-ID | Category | Title | Target | Measurement | Source | Priority |
|
|
8
|
-
| -------- | ----------- | ----- | -------------- | ----------- | -------- | -------- |
|
|
9
|
-
| NFR-0001 | performance | TBD | <target value> | <method> | SRC-0001 | must |
|
|
10
|
-
|
|
11
|
-
## Categories
|
|
12
|
-
|
|
13
|
-
- `performance`: Response time, throughput, latency.
|
|
14
|
-
- `reliability`: Availability, fault tolerance, recovery.
|
|
15
|
-
- `security`: Authentication, authorization, data protection.
|
|
16
|
-
- `scalability`: Load handling, horizontal/vertical scaling.
|
|
17
|
-
- `usability`: Accessibility, UX standards, i18n.
|
|
18
|
-
- `maintainability`: Code quality, documentation, testability.
|
|
19
|
-
- `operability`: Monitoring, deployment, logging.
|
|
20
|
-
|
|
21
|
-
## Rules
|
|
22
|
-
|
|
23
|
-
- Each NFR must have a measurable target.
|
|
24
|
-
- Each NFR must reference at least one Source (SRC-ID).
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# 08 Glossary
|
|
2
|
-
|
|
3
|
-
<!-- UX-INTENT: If UI-bearing, include terms from uiux/00_index.md sidecar vocabulary -->
|
|
4
|
-
|
|
5
|
-
## Term Definitions
|
|
6
|
-
|
|
7
|
-
> `/qfai-sdd` carries each term and abbreviation into the story tree's
|
|
8
|
-
> `glossary.md` as a term and its definition; context and source stay here.
|
|
9
|
-
|
|
10
|
-
| Term | Definition | Context | Source |
|
|
11
|
-
| ------ | ---------- | ------- | -------- |
|
|
12
|
-
| <term> | TBD | <where> | SRC-0001 |
|
|
13
|
-
|
|
14
|
-
## Abbreviations
|
|
15
|
-
|
|
16
|
-
| Abbreviation | Full Form | Notes |
|
|
17
|
-
| ------------ | --------- | ----- |
|
|
18
|
-
| TBD | TBD | - |
|
|
19
|
-
|
|
20
|
-
## Rules
|
|
21
|
-
|
|
22
|
-
- Terms must be used consistently across all discussion artifacts.
|
|
23
|
-
- Ambiguous or context-dependent terms should include usage context.
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
# 09 Constraints
|
|
2
|
-
|
|
3
|
-
<!-- UX-INTENT: If UI-bearing, capture accessibility constraints here and in uiux/40_screen_contracts.md -->
|
|
4
|
-
|
|
5
|
-
## Technical Constraints
|
|
6
|
-
|
|
7
|
-
> IDs use the `DTC-`, `DOC-` and `DLC-` prefixes. `/qfai-sdd` carries each
|
|
8
|
-
> constraint into the story tree's `constraint.md`, where it takes a `TC-`, `OC-`
|
|
9
|
-
> or `BC-` ID; legal, budget and timeline constraints are business constraints.
|
|
10
|
-
|
|
11
|
-
| ID | Constraint | Rationale | Impact |
|
|
12
|
-
| ----- | ---------- | --------- | ------ |
|
|
13
|
-
| DTC-1 | TBD | TBD | TBD |
|
|
14
|
-
|
|
15
|
-
## Operational Constraints
|
|
16
|
-
|
|
17
|
-
| ID | Constraint | Rationale | Impact |
|
|
18
|
-
| ----- | ---------- | --------- | ------ |
|
|
19
|
-
| DOC-1 | TBD | TBD | TBD |
|
|
20
|
-
|
|
21
|
-
## Legal / Compliance Constraints
|
|
22
|
-
|
|
23
|
-
| ID | Constraint | Regulation / Standard | Impact |
|
|
24
|
-
| ----- | ---------- | --------------------- | ------ |
|
|
25
|
-
| DLC-1 | TBD | TBD | TBD |
|
|
26
|
-
|
|
27
|
-
## Budget Constraints
|
|
28
|
-
|
|
29
|
-
- Budget range:
|
|
30
|
-
- Cost drivers:
|
|
31
|
-
|
|
32
|
-
## Timeline Constraints
|
|
33
|
-
|
|
34
|
-
- Hard deadlines:
|
|
35
|
-
- Milestones:
|
|
36
|
-
|
|
37
|
-
## Security Policy
|
|
38
|
-
|
|
39
|
-
- Authentication:
|
|
40
|
-
- Authorization:
|
|
41
|
-
- Data protection:
|
|
42
|
-
- Secret management:
|
|
43
|
-
|
|
44
|
-
## Compliance Policy
|
|
45
|
-
|
|
46
|
-
- Applicable standards:
|
|
47
|
-
- Audit requirements:
|
|
48
|
-
- Data retention:
|
|
49
|
-
|
|
50
|
-
## Development Policy
|
|
51
|
-
|
|
52
|
-
- Branching strategy:
|
|
53
|
-
- Code review requirements:
|
|
54
|
-
- Testing requirements:
|
|
55
|
-
|
|
56
|
-
## Operational Policy
|
|
57
|
-
|
|
58
|
-
- Deployment strategy:
|
|
59
|
-
- Monitoring requirements:
|
|
60
|
-
- Incident response:
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# 11 OQ Register
|
|
2
|
-
|
|
3
|
-
<!-- UX-INTENT: If UI-bearing, track design direction OQs against 04_Sources.md and uiux/40_screen_contracts.md -->
|
|
4
|
-
|
|
5
|
-
## OQ Table
|
|
6
|
-
|
|
7
|
-
| OQ-ID | Title | Gate | Disposition | Owner | Rationale | Options | Recommendation | Resolution | Next-Decision-Point | Due | Evidence |
|
|
8
|
-
| ------- | ----- | ---------- | ----------- | ----- | --------- | ------------------------------------ | -------------- | --------------------------------------------- | --------------------------------------- | ---------- | ---------------- |
|
|
9
|
-
| OQ-0001 | TBD | discussion | deferred | user | TBD | Option A / Option B (recommended: A) | Option A | <what is decided now, and why the rest waits> | <the next point at which it is decided> | YYYY-MM-DD | Conversation log |
|
|
10
|
-
|
|
11
|
-
## Rules
|
|
12
|
-
|
|
13
|
-
- Allowed `Gate`: `discussion`, `sdd`, `atdd`, `tdd`, `ops`.
|
|
14
|
-
- Allowed `Disposition`: `open`, `resolved`, `deferred`, `rejected`.
|
|
15
|
-
- Before discussion completion, `Disposition: open` must be zero.
|
|
16
|
-
- The table holds each question's current state. A disposition change edits
|
|
17
|
-
the row; it adds no second row.
|
|
18
|
-
- `Resolution` states the answer taken for `resolved`, what is decided now and
|
|
19
|
-
why the rest waits for `deferred`, and why the question is not one for
|
|
20
|
-
`rejected`. It is `—` while the question is `open`.
|
|
21
|
-
- For `deferred` and `rejected`, `Rationale` is mandatory.
|
|
22
|
-
- For `deferred`, `Next-Decision-Point` names the next point at which the
|
|
23
|
-
question is decided. A deferred row without its `Resolution` or its
|
|
24
|
-
`Next-Decision-Point` blocks completion.
|
|
25
|
-
- `Options` must include at least two alternatives and one recommended option —
|
|
26
|
-
for a question that offers a choice.
|
|
27
|
-
- `Recommendation` must explicitly state the recommended option, where one is
|
|
28
|
-
permitted.
|
|
29
|
-
- **A question asking for a fact is the exception to both.** Nothing is being
|
|
30
|
-
decided, so there is nothing to recommend: `Recommendation` is `—`, and
|
|
31
|
-
`Rationale` says what the value is for. Inventing a preferred answer to fill
|
|
32
|
-
the column records a decision nobody made.
|
|
33
|
-
- **`Options` still carries the candidates when the fact has any.** Which of the
|
|
34
|
-
four regions the platform supports is a fact with a finite set, and dropping
|
|
35
|
-
the set loses the constraint the answer has to satisfy — the register would
|
|
36
|
-
ask for a value it has already made unanswerable. Write `fact` there only
|
|
37
|
-
where the value is open, as a name or a number nobody has narrowed.
|
|
38
|
-
- All 12 columns are mandatory for every row.
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
prototyping:
|
|
2
|
-
# Single-thread evolution loop (no per-mode override). The iteration
|
|
3
|
-
# budget is owned by `.qfai/assistant/step/prototyping-loop/STEP.md`.
|
|
4
|
-
# Replace `web` with one of the prototyping-supported surfaces if needed:
|
|
5
|
-
# web | mobile | desktop | mixed
|
|
6
|
-
# (discussion classification also allows `cli` and `non-ui`, but those are
|
|
7
|
-
# not valid prototyping execution surfaces.)
|
|
8
|
-
surface: web
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# uiux/ Sidecar Index
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
|
|
5
|
-
Manifest of all UI/UX sidecar artifacts produced during a UI-bearing discussion.
|
|
6
|
-
|
|
7
|
-
## File Inventory
|
|
8
|
-
|
|
9
|
-
Brand-level intent (product intent, brand signals, anti-goals,
|
|
10
|
-
reference pool framed as deviate-from inputs) is recorded in
|
|
11
|
-
`04_Sources.md`, not in this sidecar family. `/qfai-sdd`'s `common-design-md` step turns
|
|
12
|
-
that record into root `DESIGN.md` — on a visual-prototyping surface
|
|
13
|
-
(`web`, `mobile`, `desktop`, `mixed`) only. A cli-only pack has no
|
|
14
|
-
brand-level intent layer at all.
|
|
15
|
-
|
|
16
|
-
| File | Purpose | Required |
|
|
17
|
-
| ------------------------- | ---------------------------------------- | -------- |
|
|
18
|
-
| 00_index.md | This manifest | Yes |
|
|
19
|
-
| 40_screen_contracts.md | Screen interaction contracts (11 fields) | Yes |
|
|
20
|
-
| 50_review_input_bundle.md | Review input bundle | Yes |
|
|
21
|
-
|
|
22
|
-
## Completeness Rule
|
|
23
|
-
|
|
24
|
-
All three required files above must be present for every UI-bearing pack.
|
|
25
|
-
Partial generation is not permitted. The one exception: a pack whose
|
|
26
|
-
classification declares `design_direction: inherit` may leave out
|
|
27
|
-
`40_screen_contracts.md` and `50_review_input_bundle.md`, under the conditions of
|
|
28
|
-
`.qfai/assistant/skill/qfai-discussion/references/ui-bearing-playbook.md#inheriting-the-current-designmd`.
|
|
29
|
-
|
|
30
|
-
Root `DESIGN.md` is not one of them. `/qfai-sdd`'s `common-design-md` step authors it, and only
|
|
31
|
-
on a visual-prototyping surface (`web`, `mobile`, `desktop`, `mixed`). A
|
|
32
|
-
cli-only pack — `primary_surface: cli` with no visual surface in
|
|
33
|
-
`secondary_surfaces` — never gets one: the `common-design-md` step writes none, and
|
|
34
|
-
`/qfai-prototyping` does not run on `cli`. Do not report any pack as
|
|
35
|
-
incomplete for a missing `DESIGN.md`.
|
package/assets/init/.qfai/assistant/skill/qfai-discussion/templates/uiux/40_screen_contracts.md
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
# Screen Contracts
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
|
|
5
|
-
Draft interaction contracts for key screens using the strong screen contract schema (11 required fields).
|
|
6
|
-
|
|
7
|
-
`route:` is required on every surface — `validators/uix/screenContract.ts` demands a
|
|
8
|
-
non-empty string, not a URL — but what it names is surface-specific. Record the real
|
|
9
|
-
navigation identifier for the surface you are on; never invent a URL for a product that
|
|
10
|
-
has none:
|
|
11
|
-
|
|
12
|
-
| Surface | `route:` names | Example |
|
|
13
|
-
| ------------------ | ---------------------------------------------------------------------- | ------------------------ |
|
|
14
|
-
| `web` | URL path | `/orders/:id` |
|
|
15
|
-
| `mobile` (native) | navigation destination, or the deep link when one exists | `OrderDetail` |
|
|
16
|
-
| `desktop` (native) | window / view identifier, or the app-scheme deep link | `main:order-detail` |
|
|
17
|
-
| `cli` | command invocation | `myapp deploy --dry-run` |
|
|
18
|
-
| `mixed` | the identifier of the surface that owns the screen, per the rows above | `/orders/:id` |
|
|
19
|
-
|
|
20
|
-
Use one convention per surface consistently across the whole file so downstream
|
|
21
|
-
`<paths.contractsDir>/ui/*.yaml` normalization stays deterministic.
|
|
22
|
-
|
|
23
|
-
### Screen: [Screen Name]
|
|
24
|
-
|
|
25
|
-
- screen_id: SCR-001
|
|
26
|
-
- route: /path-to-screen
|
|
27
|
-
- purpose: [what the user accomplishes on this screen]
|
|
28
|
-
- actor: [primary user role]
|
|
29
|
-
- primary_tasks:
|
|
30
|
-
- [task 1: trigger → success criteria]
|
|
31
|
-
- [task 2: trigger → success criteria]
|
|
32
|
-
- secondary_tasks:
|
|
33
|
-
- [secondary task 1: trigger → success criteria]
|
|
34
|
-
- [secondary task 2: trigger → success criteria]
|
|
35
|
-
- required_states:
|
|
36
|
-
- default: [default/empty state description]
|
|
37
|
-
- loading: [loading indicator description]
|
|
38
|
-
- empty: [empty state description]
|
|
39
|
-
- error: [error message + retry CTA description]
|
|
40
|
-
- transitions:
|
|
41
|
-
- empty → loading: [data fetch initiated]
|
|
42
|
-
- loading → default: [data received and primary content is ready]
|
|
43
|
-
- loading → error: [fetch failure]
|
|
44
|
-
- error → loading: [retry action]
|
|
45
|
-
- observable_outcomes:
|
|
46
|
-
- [expected user outcome → verification method]
|
|
47
|
-
- [expected system behavior → verification method]
|
|
48
|
-
- notes_for_verify: [notes for verification/testing]
|
|
49
|
-
- notes_for_reviewer: [any additional context for the reviewer]
|
|
50
|
-
|
|
51
|
-
<!-- Nested list format is canonical for primary_tasks, secondary_tasks, required_states, transitions, observable_outcomes. -->
|
|
52
|
-
|
|
53
|
-
> **Note:** `required_states` primary truth lives in this file. Each screen's state set is authoritative here.
|
|
54
|
-
> **Note:** `secondary_tasks` documents non-primary user workflows available on the screen.
|
|
55
|
-
> Layout specification is optional and should be added as notes only.
|
|
56
|
-
|
|
57
|
-
## Cross-references
|
|
58
|
-
|
|
59
|
-
- Brand direction the user chose: `../01_Context.md#Design Direction` — visual-prototyping surfaces only; a cli-only pack records none
|
|
60
|
-
- Reference registries (product intent, brand signals, anti-goals): `../04_Sources.md`
|
|
61
|
-
- Sidecar manifest: `00_index.md`
|
|
62
|
-
- Review handoff: `50_review_input_bundle.md`
|
package/assets/init/.qfai/assistant/skill/qfai-discussion/templates/uiux/50_review_input_bundle.md
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# Review Input Bundle
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
|
|
5
|
-
Consolidate all sidecar artifacts into a review-ready bundle for design reviewers.
|
|
6
|
-
|
|
7
|
-
A **cli-only** pack (`primary_surface: cli`, no visual `secondary_surfaces` entry) still
|
|
8
|
-
ships this bundle. It has no brand direction to record and no `prototyping.yaml`, so mark
|
|
9
|
-
those two rows `n-a: cli-only pack` rather than leaving the bundle incomplete — see
|
|
10
|
-
`references/ui-bearing-playbook.md#visual-prototyping-surfaces-vs-cli`.
|
|
11
|
-
|
|
12
|
-
## Bundle Contents
|
|
13
|
-
|
|
14
|
-
| Artifact | Path | Status |
|
|
15
|
-
| -------------------------- | ----------------------------- | ---------------------------------------------- |
|
|
16
|
-
| Design direction | `../04_Sources.md` | [draft/reviewed/approved / n-a: cli-only pack] |
|
|
17
|
-
| Screen contracts | `uiux/40_screen_contracts.md` | [draft/reviewed/approved] |
|
|
18
|
-
| Prototyping recommendation | `../prototyping.yaml` | [draft/reviewed/approved / n-a: cli-only pack] |
|
|
19
|
-
|
|
20
|
-
## Trend-derived review focus
|
|
21
|
-
|
|
22
|
-
- Required references are all present and complete.
|
|
23
|
-
- Neither a reference adopted in `04_Sources.md` nor the prototype carries a pattern listed in
|
|
24
|
-
`.qfai/assistant/skill/qfai-sdd/references/design-anti-patterns.md` unless the recorded brand
|
|
25
|
-
direction asks for it. Fail this item on any such pattern, and name the pattern.
|
|
26
|
-
- Reference research is translated into local design decisions in the `04_Sources.md` registries (visual-prototyping surfaces) and on screen contracts (every UI-bearing surface). A cli-only pack records no brand direction: the screen contracts carry the whole translation.
|
|
27
|
-
- Iteration handling follows the Critical Constraints in `.qfai/assistant/step/prototyping-loop/STEP.md`: no parallel
|
|
28
|
-
candidates except the first iteration's variants while the direction is open, which the user chooses between, and
|
|
29
|
-
no best-of-history — the latest iteration is the accepted one. A middle iteration that looked stronger is
|
|
30
|
-
addressed by pivoting the next cycle, not by reaching back for it.
|
|
31
|
-
|
|
32
|
-
## Review Checklist
|
|
33
|
-
|
|
34
|
-
- [ ] The recorded design direction aligns with surface type and project constraints (skip on a cli-only pack, which records none)
|
|
35
|
-
- [ ] Reference pool is complete and translated into local design decisions
|
|
36
|
-
- [ ] Evaluator scoring covers all four canonical UX axes (information architecture / navigation flow / usability / functionality) — fixed by the review validation the QFAI CLI applies (restated in `.qfai/assistant/skill/qfai-prototyping/references/reviewer-prompt.md`)
|
|
37
|
-
- [ ] One-lineage handling is explicit (latest iteration accepted; no best-of-history)
|
|
38
|
-
- [ ] Screen contracts cover all required states
|