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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qfai",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "Quality-first AI-driven development toolkit (SDD × ATDD × TDD).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"node": ">=20.19.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@jackchuka/mdschema": "0.15.
|
|
37
|
+
"@jackchuka/mdschema": "0.15.7",
|
|
38
38
|
"fast-glob": "^3.3.2",
|
|
39
39
|
"jsdom": "^29.1.1",
|
|
40
40
|
"yaml": "^2.5.1"
|
package/assets/init/.qfai/assistant/skill/qfai-discussion/references/discussion-artifact-rules.md
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# Discussion Artifact Rules
|
|
2
|
-
|
|
3
|
-
Use this file when `/qfai-discussion` creates or reviews `.qfai/discussion/discussion-*` packs.
|
|
4
|
-
|
|
5
|
-
## Required Pack
|
|
6
|
-
|
|
7
|
-
Each pack uses immutable timestamp naming: `.qfai/discussion/discussion-YYYYMMDDhhmmssSSS/`.
|
|
8
|
-
|
|
9
|
-
Required files:
|
|
10
|
-
|
|
11
|
-
- `01_Context.md`, which holds the inception deck
|
|
12
|
-
- `03_Story-Workshop.md`
|
|
13
|
-
- `04_Sources.md`
|
|
14
|
-
- `05_Scope.md`
|
|
15
|
-
- `06_REQ.md`
|
|
16
|
-
- `07_NFR.md`
|
|
17
|
-
- `08_Glossary.md`
|
|
18
|
-
- `09_Constraints.md`, which holds the policies
|
|
19
|
-
- `11_OQ-Register.md`, which holds every open, resolved, deferred and rejected
|
|
20
|
-
question
|
|
21
|
-
|
|
22
|
-
Discussion packs with a visual prototyping surface (`web`, `mobile`, `desktop`, `mixed`) may include `prototyping.yaml` as an optional recommendation artifact; cli-only packs omit it, and non-ui discussion packs typically omit it. For `ui_bearing: false`, typically omit `prototyping.yaml`. Current discussion-pack readiness does not block on missing `prototyping.yaml`.
|
|
23
|
-
|
|
24
|
-
## Rules
|
|
25
|
-
|
|
26
|
-
- Run interview and requirement capture until `Disposition: open` is zero in `11_OQ-Register.md`.
|
|
27
|
-
- OQ `Gate` values are `discussion`, `sdd`, `atdd`, `tdd`, or `ops`.
|
|
28
|
-
- `deferred` is allowed only when the row records its `Resolution` and a `Next-Decision-Point` naming the next point at which the question is decided.
|
|
29
|
-
- Discussion outputs state what was decided and why; do not duplicate the story tree under `<paths.specsDir>`, and do not record how the session went.
|
|
30
|
-
- `03_Story-Workshop.md` must include at least one Mermaid diagram.
|
|
31
|
-
- Use Mermaid fences only for diagrams.
|
|
32
|
-
|
|
33
|
-
## UI/UX Exploration Family
|
|
34
|
-
|
|
35
|
-
For UI-bearing packs, use:
|
|
36
|
-
|
|
37
|
-
- `04_Sources.md` for trend translation and both reference registries
|
|
38
|
-
- `uiux/40_screen_contracts.md`
|
|
39
|
-
|
|
40
|
-
Discussion is exploration-first and must not choose a single visual winner or final design system. It records the design direction; `/qfai-sdd`'s `common-design-md` step turns that record into root `DESIGN.md`, and prototyping then iterates under its tokens.
|
|
41
|
-
|
|
42
|
-
## `prototyping.yaml`
|
|
43
|
-
|
|
44
|
-
When `prototyping.yaml` is present, use the single-thread schema:
|
|
45
|
-
|
|
46
|
-
```yaml
|
|
47
|
-
prototyping:
|
|
48
|
-
surface: web # web | mobile | desktop | mixed
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
Mode-tier fields (`recommended_mode` / `allowed_modes` / `mode_expectations`)
|
|
52
|
-
are not supported. The single-thread evolution loop owns its iteration
|
|
53
|
-
budget; see `.qfai/assistant/step/prototyping-loop/STEP.md`.
|
package/assets/init/.qfai/assistant/skill/qfai-discussion/references/discussion-completion-matrix.md
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
# Discussion Completion Matrix
|
|
2
|
-
|
|
3
|
-
Use this file for the full completion logic behind `/qfai-discussion`.
|
|
4
|
-
|
|
5
|
-
## Contents
|
|
6
|
-
|
|
7
|
-
- All Packs
|
|
8
|
-
- UI-bearing Packs
|
|
9
|
-
- CLI Packs
|
|
10
|
-
- Inheriting Packs
|
|
11
|
-
- Non-UI Packs
|
|
12
|
-
- Notes
|
|
13
|
-
|
|
14
|
-
## All Packs
|
|
15
|
-
|
|
16
|
-
Blocking for every pack, UI-bearing or not:
|
|
17
|
-
|
|
18
|
-
1. The `## Research Summary` section of `04_Sources.md` is filled from an actual run of
|
|
19
|
-
`.qfai/assistant/rule/research-first-protocol.md`, executed at the start of the session
|
|
20
|
-
(before Inception Deck and Story Workshop) so its findings feed the artifacts that follow —
|
|
21
|
-
no template placeholder is left,
|
|
22
|
-
`sources` / `best_practices` / `anti_patterns` / `reflection` are non-empty, every `source_id`
|
|
23
|
-
resolves to a `sources[].id`, and at least one `reflection[]` entry records an apply decision.
|
|
24
|
-
`npx qfai validate --profile discussion --fail-on error` reports `QFAI-RESEARCH-*` until it is.
|
|
25
|
-
2. Every row of the stage report's `## Grilling Session` table has its `Ended at` before its own
|
|
26
|
-
`Authoring began` (for a reopened row, when authoring resumed), with `Ended` reading an authoring ending and its conditions met:
|
|
27
|
-
|
|
28
|
-
| Ended | Also required |
|
|
29
|
-
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
30
|
-
| `confirmed` | No node open — the frontier empty **and** no fact lookup still running |
|
|
31
|
-
| `user-closed` | Lookups finished, and every decision still open recorded as a labelled assumption |
|
|
32
|
-
| `adopted` | Recorded explicit delegation, actual author rounds, no open node or lookup, all required inputs and applicable human authority; see `.agents/rules/grilling.md#explicit-delegation-for-a-discussion` |
|
|
33
|
-
| `no-question` | Every node still open registered — a decision, and a fact only the user holds — so item 3 below is what blocks |
|
|
34
|
-
|
|
35
|
-
`stopped` never completes: the user ended the run, and a pack authored after that is the run
|
|
36
|
-
doing what they told it not to.
|
|
37
|
-
|
|
38
|
-
Both halves of the `confirmed` condition, because when every remaining decision waits on a
|
|
39
|
-
lookup the frontier is empty while the tree still holds open nodes, and authoring there begins
|
|
40
|
-
before the lookup can raise the questions it was dispatched to answer.
|
|
41
|
-
|
|
42
|
-
Not at a count, and not on the questions running out.
|
|
43
|
-
|
|
44
|
-
This is blocking rather than advisory because the failure it catches leaves no other trace. A
|
|
45
|
-
pack authored mid-session looks exactly like one authored after: nine files, every topic
|
|
46
|
-
covered, every open question registered. What is missing is that someone agreed to what is in
|
|
47
|
-
them, and nothing downstream can tell.
|
|
48
|
-
|
|
49
|
-
Delegation is not a human confirmation or a completion receipt. The
|
|
50
|
-
ordinary research, pack, OQ, UI, schema, validation and independent-review
|
|
51
|
-
gates remain blocking. No reserved decision or missing fact is forced closed.
|
|
52
|
-
|
|
53
|
-
The no-question row is the one to read carefully: `--auto` can reach nobody, so waiting for a
|
|
54
|
-
confirmation would stop the run before it could write the open questions that are what block it.
|
|
55
|
-
Item 3 below does that work instead — an open count above zero closes nothing.
|
|
56
|
-
|
|
57
|
-
3. `Disposition: open` count is zero in `11_OQ-Register.md`.
|
|
58
|
-
|
|
59
|
-
Here rather than under one pack shape. It is what a no-question run is blocked by, and a run is
|
|
60
|
-
`--auto` or not independently of whether it has a surface — listed only under `## UI-bearing
|
|
61
|
-
Packs`, it let a non-UI `--auto` pack complete with its decisions still open.
|
|
62
|
-
All Packs item 3 does that work — an open count above zero closes nothing.
|
|
63
|
-
|
|
64
|
-
## UI-bearing Packs
|
|
65
|
-
|
|
66
|
-
Completion is blocked until all are true:
|
|
67
|
-
|
|
68
|
-
1. Both reference registries in `04_Sources.md` are complete, each entry naming what was
|
|
69
|
-
adopted, what was rejected, and how it was translated, with competitor references
|
|
70
|
-
framed as **deviate-from** inputs. Required whenever any classified surface —
|
|
71
|
-
`primary_surface` **or** an entry in `secondary_surfaces` — is `web`, `mobile`,
|
|
72
|
-
`desktop` or `mixed`; these are the visual-prototyping surfaces. They are what
|
|
73
|
-
`/qfai-sdd`'s `common-design-md` step authors root `DESIGN.md` from. See `## CLI Packs` below.
|
|
74
|
-
2. The canonical `uiux/` family is complete: `00_index.md`, `40_screen_contracts.md`,
|
|
75
|
-
`50_review_input_bundle.md`.
|
|
76
|
-
3. Every screen contract in `40_screen_contracts.md` carries the full template schema.
|
|
77
|
-
4. Exploration directions are carried unranked — no single screen exploration is selected and the
|
|
78
|
-
design system is not finalized here (discussion is planner-first).
|
|
79
|
-
5. `01_Context.md#Design Direction` names an adopted theme, what departs from it, and what stays
|
|
80
|
-
ordinary. This is the one visual decision made here, because no later stage asks the user for
|
|
81
|
-
it: `/qfai-sdd`'s `common-design-md` step authors tokens from whatever is recorded. A direction taken without the
|
|
82
|
-
user carries `chosen_by: assumption`, never `user`. Its OQ stays open unless
|
|
83
|
-
an actual specifically applicable user instruction overrides the human-choice
|
|
84
|
-
requirement under the master's conditions; record that authority and the agents'
|
|
85
|
-
choice without falsifying the schema. General delegation alone does not waive
|
|
86
|
-
a genuinely reserved human input.
|
|
87
|
-
|
|
88
|
-
Evaluation axes are global constants (4-step ordinal: weak / acceptable / strong /
|
|
89
|
-
exceptional) and are NOT authored as discussion sidecars.
|
|
90
|
-
|
|
91
|
-
## CLI Packs
|
|
92
|
-
|
|
93
|
-
A **cli-only** pack — `primary_surface: cli` with no `web`/`mobile`/`desktop`/`mixed`
|
|
94
|
-
entry in `secondary_surfaces` — is UI-bearing but is not a visual-prototyping surface,
|
|
95
|
-
so conditions 1 and 5 above do not apply to it:
|
|
96
|
-
|
|
97
|
-
- No brand registries required, and no root `DESIGN.md` downstream. `/qfai-prototyping`
|
|
98
|
-
rejects `cli`, so nothing ever reads a `visual.*` token value. `/qfai-sdd`'s `common-design-md` step
|
|
99
|
-
writes no `DESIGN.md` for a cli-only project, and
|
|
100
|
-
`validators/designContractReadiness.ts` skips `QFAI-DCON-030`/`-033`/`-034` for it.
|
|
101
|
-
- No design direction either: nothing downstream reads a theme for a surface that renders
|
|
102
|
-
no tokens.
|
|
103
|
-
- UI-bearing items 2, 3 and 4 and All Packs item 3 apply unchanged: all three canonical `uiux/` sidecars, the
|
|
104
|
-
full screen-contract schema, unranked exploration directions, and zero open OQs.
|
|
105
|
-
- `route:` on a `cli` screen contract names the command invocation, not a web path, as the `cli` section of the UI-bearing playbook sets out.
|
|
106
|
-
- No `prototyping.yaml`: `cli` is not a valid prototyping execution surface.
|
|
107
|
-
- `primary_surface: cli` with a visual `secondary_surfaces` entry is NOT a cli-only pack —
|
|
108
|
-
conditions 1 and 2 stay blocking for it.
|
|
109
|
-
|
|
110
|
-
## Inheriting Packs
|
|
111
|
-
|
|
112
|
-
A pack whose classification declares `design_direction: inherit` keeps the current root
|
|
113
|
-
`DESIGN.md`, under the conditions the inheriting section of the UI-bearing playbook sets out:
|
|
114
|
-
it changes existing screens only and records no direction of its own.
|
|
115
|
-
|
|
116
|
-
- UI-bearing items 1 and 5 do not apply: no Trend Scan, no minimum count of competitive or
|
|
117
|
-
catalogue references, and no Design Direction. A reference it does fill in is still complete.
|
|
118
|
-
- From item 2, `uiux/00_index.md` stays required; `40_screen_contracts.md` and
|
|
119
|
-
`50_review_input_bundle.md` may be left out. A screen contract it does write keeps item 3.
|
|
120
|
-
- Items 4 and All Packs item 3 apply unchanged.
|
|
121
|
-
|
|
122
|
-
## Non-UI Packs
|
|
123
|
-
|
|
124
|
-
- No uiux sidecars required
|
|
125
|
-
- No root `DESIGN.md` required
|
|
126
|
-
- No additional UI-bearing completion conditions apply; the `## All Packs` conditions above
|
|
127
|
-
(including the Research Summary) still block completion
|
|
128
|
-
- `prototyping.yaml` is not required
|
|
129
|
-
|
|
130
|
-
## Notes
|
|
131
|
-
|
|
132
|
-
- HTML+CSS mock is optional fallback only.
|
|
133
|
-
- Behavior obligations remain primary.
|
package/assets/init/.qfai/assistant/skill/qfai-discussion/references/example-mapping-guide.md
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# Example Mapping Guide
|
|
2
|
-
|
|
3
|
-
Use this file when `/qfai-discussion` performs Example Mapping.
|
|
4
|
-
|
|
5
|
-
## Minimum Perspectives
|
|
6
|
-
|
|
7
|
-
1. Happy path
|
|
8
|
-
2. Negative path
|
|
9
|
-
3. Edge or boundary
|
|
10
|
-
4. Permission or role
|
|
11
|
-
5. State transition when stateful
|
|
12
|
-
6. Idempotency or retry when external I/O exists
|
|
13
|
-
|
|
14
|
-
## Rules
|
|
15
|
-
|
|
16
|
-
- Use perspective coverage as the gate, not raw case counts.
|
|
17
|
-
- Mark intentionally skipped perspectives with reason and follow-up.
|
|
18
|
-
- Feed unresolved seeds into OQ items with owner and decision point.
|
package/assets/init/.qfai/assistant/skill/qfai-discussion/references/oq-and-deferred-rules.md
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
# OQ and Deferred Rules
|
|
2
|
-
|
|
3
|
-
Use this file for canonical field definitions in `/qfai-discussion`.
|
|
4
|
-
|
|
5
|
-
## OQ Register Fields
|
|
6
|
-
|
|
7
|
-
- `OQ-ID`
|
|
8
|
-
- `Title`
|
|
9
|
-
- `Gate`
|
|
10
|
-
- `Disposition`
|
|
11
|
-
- `Owner`
|
|
12
|
-
- `Rationale`
|
|
13
|
-
- `Options`
|
|
14
|
-
- `Recommendation`
|
|
15
|
-
- `Resolution`
|
|
16
|
-
- `Next-Decision-Point`
|
|
17
|
-
- `Due`
|
|
18
|
-
- `Evidence`
|
|
19
|
-
|
|
20
|
-
## Gate Enum
|
|
21
|
-
|
|
22
|
-
`discussion|sdd|atdd|tdd|ops`
|
|
23
|
-
|
|
24
|
-
## A Deferred Question
|
|
25
|
-
|
|
26
|
-
A deferred question stays in `11_OQ-Register.md` as a row with
|
|
27
|
-
`Disposition: deferred`. Its fields carry the deferral:
|
|
28
|
-
|
|
29
|
-
| Field | Holds |
|
|
30
|
-
| --------------------- | ----------------------------------------------- |
|
|
31
|
-
| `Rationale` | Why it is deferred |
|
|
32
|
-
| `Resolution` | What is decided now, and why the rest waits |
|
|
33
|
-
| `Next-Decision-Point` | The next point at which the question is decided |
|
|
34
|
-
| `Owner` | Who reopens it |
|
|
35
|
-
| `Due` | The latest date it is looked at again |
|
|
36
|
-
| `Evidence` | Where the deferral was agreed |
|
|
37
|
-
|
|
38
|
-
## Guardrails
|
|
39
|
-
|
|
40
|
-
- Do not leave recommendations implicit.
|
|
41
|
-
- Do not defer without a next decision point.
|
|
42
|
-
- Do not close the pack while `Disposition: open` remains.
|
|
43
|
-
|
|
44
|
-
## Where a grilling session's outcome goes
|
|
45
|
-
|
|
46
|
-
A session produces decisions and open questions, and both have a home already.
|
|
47
|
-
No new file: the pack's nine carry them, and another artifact would hold
|
|
48
|
-
nothing they do not.
|
|
49
|
-
|
|
50
|
-
| Outcome | Home |
|
|
51
|
-
| ------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
52
|
-
| A decision the session settled | The pack file it shapes: `05_Scope.md`, `06_REQ.md`, `07_NFR.md`, `09_Constraints.md` or `01_Context.md` |
|
|
53
|
-
| A theme or visual direction it turned down | `04_Sources.md`, under `## Design Anti-Goals`, with its reason and the cue that stops it recurring |
|
|
54
|
-
| A decision the session did not settle | `11_OQ-Register.md`, `Disposition: open` |
|
|
55
|
-
| A decision the user closed the questions on | `01_Context.md`, under `## Inputs`, as an assumption labelled one. No register row |
|
|
56
|
-
| An open question answered later | The register row moved to `Disposition: resolved`, with the answer in `Resolution` |
|
|
57
|
-
| A question deliberately put off | The register row moved to `Disposition: deferred`, with its `Resolution` and `Next-Decision-Point` |
|
|
58
|
-
| A question that turned out not to be one | The register row moved to `Disposition: rejected`, with the reason in `Resolution` |
|
|
59
|
-
| A question that turns out to be live again | The register row moved back to `Disposition: open` |
|
|
60
|
-
|
|
61
|
-
**The register is what readiness reads.** Each row holds a question's current
|
|
62
|
-
state, and a disposition change edits that row. An answer written anywhere else
|
|
63
|
-
leaves the row `open`, so the pack stays blocked on a question that has been
|
|
64
|
-
answered.
|
|
65
|
-
|
|
66
|
-
**A closure the user asked for is not an open question.** Where the user ends
|
|
67
|
-
the asking with `proceed`, `done`, or an answer to that effect, each decision
|
|
68
|
-
still open becomes a labelled assumption and no register row. The user saw the
|
|
69
|
-
question and closed it; leaving it `open` would block the pack on a closure they
|
|
70
|
-
asked for. Two kinds are never assumed and stay open whatever closes the
|
|
71
|
-
asking — a decision some document requires the user to make and record, and an
|
|
72
|
-
input declared undefaultable, which stops the run rather than being invented.
|
|
73
|
-
|
|
74
|
-
`--auto` is the other case and behaves the other way: nobody saw the question,
|
|
75
|
-
so the assumption is recorded **and** a register row opened against it. An
|
|
76
|
-
assumption with no open question behind it is what that mode must not produce.
|
|
77
|
-
|
|
78
|
-
Record what was chosen and why, not how the session went. A rejected option
|
|
79
|
-
belongs in the record only where knowing it was rejected changes a later
|
|
80
|
-
reader's decision — the rest is in the history.
|
|
81
|
-
|
|
82
|
-
The open half is what makes a session's result checkable: completion requires
|
|
83
|
-
`Disposition: open` to reach zero, so a decision nobody took cannot close the
|
|
84
|
-
pack.
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
# UI-bearing Playbook
|
|
2
|
-
|
|
3
|
-
Use this file when `/qfai-discussion` needs the full UI-bearing decision logic.
|
|
4
|
-
|
|
5
|
-
## Classification Rule
|
|
6
|
-
|
|
7
|
-
- Classify by surface type, not by interaction complexity.
|
|
8
|
-
|
|
9
|
-
## Surface Mapping
|
|
10
|
-
|
|
11
|
-
| Surface | UI-bearing | Result |
|
|
12
|
-
| ------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
13
|
-
| web | Yes | Generate full uiux sidecar family |
|
|
14
|
-
| mobile | Yes | Generate full uiux sidecar family |
|
|
15
|
-
| desktop | Yes | Generate full uiux sidecar family |
|
|
16
|
-
| cli | Yes | Generate the canonical uiux sidecars (`00_index.md`, `40_screen_contracts.md`, `50_review_input_bundle.md`); no root `DESIGN.md` visual token tree |
|
|
17
|
-
| mixed | Yes | Generate full uiux sidecar family |
|
|
18
|
-
| non-ui | No | Skip uiux sidecars |
|
|
19
|
-
|
|
20
|
-
## Detection Signals
|
|
21
|
-
|
|
22
|
-
- Explicit classification in `01_Context.md`
|
|
23
|
-
- UI-oriented stories in `03_Story-Workshop.md`
|
|
24
|
-
- Mermaid screen flows
|
|
25
|
-
- HTML or visual structure hints as supporting signals only
|
|
26
|
-
|
|
27
|
-
## Sidecar Family SSOT
|
|
28
|
-
|
|
29
|
-
For UI-bearing packs on a visual-prototyping surface the brand SSOT is root
|
|
30
|
-
`DESIGN.md`, which `/qfai-sdd`'s `common-design-md` step authors from this pack.
|
|
31
|
-
Discussion records the direction
|
|
32
|
-
behind it and writes the screen-level UX inputs:
|
|
33
|
-
|
|
34
|
-
- `uiux/00_index.md`
|
|
35
|
-
- `uiux/40_screen_contracts.md`
|
|
36
|
-
- `uiux/50_review_input_bundle.md`
|
|
37
|
-
|
|
38
|
-
### Visual-prototyping Surfaces vs `cli`
|
|
39
|
-
|
|
40
|
-
Visual-prototyping surfaces are `web`, `mobile`, `desktop` and `mixed` — the
|
|
41
|
-
surfaces `/qfai-prototyping` actually executes. Root `DESIGN.md` and its
|
|
42
|
-
`visual.*` token tree are required **only** when the pack targets one of
|
|
43
|
-
them: the sole consumer of the token values is the prototyping loop's
|
|
44
|
-
DESIGN.md drift scanner, and that loop rejects `cli`.
|
|
45
|
-
|
|
46
|
-
**Judge the whole classified surface set, not `primary_surface` alone.**
|
|
47
|
-
`secondary_surfaces` accepts every UI-bearing surface, so
|
|
48
|
-
`primary_surface: cli` with `secondary_surfaces: [web]` still ships a visual
|
|
49
|
-
surface and still needs the token SSOT. The carve-out applies only to a
|
|
50
|
-
**cli-only** pack: `primary_surface: cli` with no visual surface anywhere in
|
|
51
|
-
`secondary_surfaces`.
|
|
52
|
-
|
|
53
|
-
A cli-only pack stays `ui_bearing: true` and keeps all three screen-level UX
|
|
54
|
-
inputs above — those have downstream readers. It must NOT be blocked on
|
|
55
|
-
inventing brand colors, font stacks, a type scale, spacing tokens, radii or
|
|
56
|
-
shadows:
|
|
57
|
-
|
|
58
|
-
- Do not interview for brand direction on a cli-only pack. `/qfai-sdd`'s `common-design-md` step
|
|
59
|
-
writes no `DESIGN.md` for it, and nothing on the `cli` path reads a
|
|
60
|
-
token value.
|
|
61
|
-
- Screen contracts stay mandatory, including their `route:` field, which on
|
|
62
|
-
`cli` names the command invocation (e.g. `route: myapp deploy --dry-run`)
|
|
63
|
-
instead of a web path. `templates/uiux/40_screen_contracts.md` carries the
|
|
64
|
-
per-surface `route:` meanings.
|
|
65
|
-
- No `prototyping.yaml`: `cli` is not a valid prototyping execution surface,
|
|
66
|
-
so a recommendation naming it cannot be executed downstream.
|
|
67
|
-
- `templates/uiux/00_index.md` carries the same carve-out: the three sidecars
|
|
68
|
-
are the whole family for a cli-only pack, and no root `DESIGN.md` follows.
|
|
69
|
-
- Downstream, `/qfai-implement` has no root `DESIGN.md` and no prototype
|
|
70
|
-
handoff to read for a cli-only target, leaving
|
|
71
|
-
`<paths.contractsDir>/ui/*.yaml` as its UI contract input.
|
|
72
|
-
|
|
73
|
-
### Inheriting the current DESIGN.md
|
|
74
|
-
|
|
75
|
-
A pack that changes existing screens and keeps the current root `DESIGN.md`
|
|
76
|
-
may declare `design_direction: inherit` in the classification block of
|
|
77
|
-
`01_Context.md`. It then records no Design Direction and owes no Trend Scan,
|
|
78
|
-
no minimum count of competitive or catalogue references, and no
|
|
79
|
-
`uiux/40_screen_contracts.md` or `uiux/50_review_input_bundle.md`. A reference
|
|
80
|
-
or screen contract it does write is still checked. An existing screen is one
|
|
81
|
-
whose `screen_id` equals the `screens[].id` of a UI contract under
|
|
82
|
-
`<paths.contractsDir>/ui/`. The declaration waives nothing in the Research
|
|
83
|
-
Summary of `04_Sources.md`: the research-first protocol runs for every pack.
|
|
84
|
-
|
|
85
|
-
The declaration is not allowed when the pack adds a screen or changes the
|
|
86
|
-
design direction. `npx qfai validate` reports `QFAI-CLASSIFICATION-011` when the
|
|
87
|
-
screen contracts name a `screen_id` no UI contract's `screens[].id` declares, or when
|
|
88
|
-
Design Direction records an `adopted_theme` or `brand_accent`.
|
|
89
|
-
|
|
90
|
-
### Trend Scan SSOT
|
|
91
|
-
|
|
92
|
-
Trend Scan is **not** a sidecar file. Trend Scan lives at
|
|
93
|
-
`04_Sources.md#Trend Scan` (part of the core nine-file discussion pack).
|
|
94
|
-
Evaluation axes are global constants and are not authored as discussion
|
|
95
|
-
sidecars. UI-bearing completion checks read Trend Scan from `04_Sources.md`.
|
package/assets/init/.qfai/assistant/skill/qfai-discussion/references/ui_ux/platform_baselines.md
DELETED
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
# UI/UX Platform Baselines
|
|
2
|
-
|
|
3
|
-
Use this file only when the current discussion needs platform-specific detail.
|
|
4
|
-
|
|
5
|
-
## Contents
|
|
6
|
-
|
|
7
|
-
- Cross-Platform Baseline
|
|
8
|
-
- Web
|
|
9
|
-
- Mobile
|
|
10
|
-
- Desktop
|
|
11
|
-
- CLI
|
|
12
|
-
- States
|
|
13
|
-
- Dark Mode
|
|
14
|
-
- Motion
|
|
15
|
-
|
|
16
|
-
## Cross-Platform Baseline
|
|
17
|
-
|
|
18
|
-
- Keep the same conceptual model across surfaces.
|
|
19
|
-
- Do not force the same layout across mobile, desktop, and CLI.
|
|
20
|
-
- Document intentional platform deviations.
|
|
21
|
-
- Shared design tokens are preferred, but interaction patterns should stay platform-native.
|
|
22
|
-
|
|
23
|
-
## Web
|
|
24
|
-
|
|
25
|
-
### Use when
|
|
26
|
-
|
|
27
|
-
- Browser-based product with responsive layouts, forms, or complex navigation.
|
|
28
|
-
|
|
29
|
-
### Baseline expectations
|
|
30
|
-
|
|
31
|
-
- Keyboard navigation works end to end.
|
|
32
|
-
- Focus indicators remain visible.
|
|
33
|
-
- Contrast meets WCAG expectations.
|
|
34
|
-
- Navigation changes across breakpoints intentionally.
|
|
35
|
-
- Hover-only interaction is never the only path.
|
|
36
|
-
|
|
37
|
-
### Practical floor
|
|
38
|
-
|
|
39
|
-
- Minimum target size: 24x24 CSS px at WCAG 2.2 AA floor; prefer 44x44 CSS px.
|
|
40
|
-
- Common layout bands:
|
|
41
|
-
- compact: 0-599 px
|
|
42
|
-
- medium: 600-839 px
|
|
43
|
-
- expanded: 840-1199 px
|
|
44
|
-
- large: 1200 px+
|
|
45
|
-
|
|
46
|
-
## Mobile
|
|
47
|
-
|
|
48
|
-
### Shared mobile rules
|
|
49
|
-
|
|
50
|
-
- Primary actions should sit in reachable zones.
|
|
51
|
-
- Avoid surprise horizontal scroll.
|
|
52
|
-
- Respect safe areas and system gestures.
|
|
53
|
-
- Every gesture-only action needs a visible alternative when feasible.
|
|
54
|
-
|
|
55
|
-
### iOS
|
|
56
|
-
|
|
57
|
-
- Prefer standard navigation bar, tab bar, modal, and back behavior.
|
|
58
|
-
- Minimum touch target: 44x44 pt.
|
|
59
|
-
- Support Dynamic Type where the surface expects it.
|
|
60
|
-
- Respect swipe-back and safe area behavior.
|
|
61
|
-
|
|
62
|
-
### Android
|
|
63
|
-
|
|
64
|
-
- Prefer Material-aligned navigation patterns and system back behavior.
|
|
65
|
-
- Minimum touch target: 48x48 dp.
|
|
66
|
-
- Use bottom navigation only for 3-5 primary destinations.
|
|
67
|
-
- Do not import iOS-only interaction idioms without strong reason.
|
|
68
|
-
|
|
69
|
-
## Desktop
|
|
70
|
-
|
|
71
|
-
### Shared desktop rules
|
|
72
|
-
|
|
73
|
-
- Keyboard efficiency matters more than on mobile.
|
|
74
|
-
- Dense information layouts are acceptable if hierarchy stays clear.
|
|
75
|
-
- Windowing, focus, and menu behavior should feel native.
|
|
76
|
-
|
|
77
|
-
### Windows
|
|
78
|
-
|
|
79
|
-
- Respect system theme and high-contrast support.
|
|
80
|
-
- Do not break expected title-bar or window-management behavior.
|
|
81
|
-
- Pointer-friendly controls may be smaller than touch controls, but touch mode should still be usable.
|
|
82
|
-
|
|
83
|
-
### macOS
|
|
84
|
-
|
|
85
|
-
- Preserve standard menu, shortcut, and window expectations.
|
|
86
|
-
- Avoid modal-heavy flows where non-modal inspection is more natural.
|
|
87
|
-
- Do not break standard copy/paste/undo/find conventions.
|
|
88
|
-
|
|
89
|
-
## CLI
|
|
90
|
-
|
|
91
|
-
- Optimize for scanability and command confidence.
|
|
92
|
-
- Keep output structured and predictable.
|
|
93
|
-
- Use concise labels, clear status, and recoverable error messages.
|
|
94
|
-
- Color must not be the only meaning carrier.
|
|
95
|
-
- Important actions should remain discoverable without memorizing hidden flags.
|
|
96
|
-
|
|
97
|
-
## States
|
|
98
|
-
|
|
99
|
-
Every key surface should account for:
|
|
100
|
-
|
|
101
|
-
- default
|
|
102
|
-
- loading
|
|
103
|
-
- empty
|
|
104
|
-
- error
|
|
105
|
-
- success or completion confirmation when relevant
|
|
106
|
-
|
|
107
|
-
## Dark Mode
|
|
108
|
-
|
|
109
|
-
- Treat dark mode as a separate design pass, not an inversion.
|
|
110
|
-
- Re-check contrast, semantic colors, overlays, and images.
|
|
111
|
-
- Avoid pure black unless the product explicitly needs it.
|
|
112
|
-
|
|
113
|
-
## Motion
|
|
114
|
-
|
|
115
|
-
- Typical UI transitions should stay short and purposeful.
|
|
116
|
-
- Prefer roughly 100-300 ms for common transitions.
|
|
117
|
-
- Respect reduced-motion preferences.
|
|
118
|
-
- Motion should explain change, not delay access.
|
package/assets/init/.qfai/assistant/skill/qfai-discussion/references/ui_ux/review_audit_playbook.md
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
# UI/UX Review Audit Playbook
|
|
2
|
-
|
|
3
|
-
Use this file when the core checklist is not enough.
|
|
4
|
-
|
|
5
|
-
## Contents
|
|
6
|
-
|
|
7
|
-
- Heuristic Review Pass
|
|
8
|
-
- Layout And Information Architecture
|
|
9
|
-
- Forms And Actions
|
|
10
|
-
- Screen States
|
|
11
|
-
- Accessibility Audit
|
|
12
|
-
- Anti-Pattern Red Flags
|
|
13
|
-
- Documentation Expectations For QFAI
|
|
14
|
-
- Recommended Audit Order
|
|
15
|
-
|
|
16
|
-
## Heuristic Review Pass
|
|
17
|
-
|
|
18
|
-
Review the design direction against these durable heuristics:
|
|
19
|
-
|
|
20
|
-
- system status is visible
|
|
21
|
-
- product language matches user language
|
|
22
|
-
- users can cancel, go back, undo, or recover
|
|
23
|
-
- terms and patterns are consistent
|
|
24
|
-
- error-prone input is constrained or prevented
|
|
25
|
-
- users recognize options instead of recalling them
|
|
26
|
-
- novice and expert use are both supported where relevant
|
|
27
|
-
- unnecessary noise is removed
|
|
28
|
-
- errors explain recovery
|
|
29
|
-
- help is contextual and task-oriented
|
|
30
|
-
|
|
31
|
-
## Layout And Information Architecture
|
|
32
|
-
|
|
33
|
-
Check for:
|
|
34
|
-
|
|
35
|
-
- a clear reading path
|
|
36
|
-
- meaningful grouping and spacing
|
|
37
|
-
- obvious hierarchy
|
|
38
|
-
- limited top-level navigation choices
|
|
39
|
-
- shallow nesting
|
|
40
|
-
- no dead-end screens
|
|
41
|
-
- no false bottoms or hidden overflow
|
|
42
|
-
|
|
43
|
-
## Forms And Actions
|
|
44
|
-
|
|
45
|
-
Check for:
|
|
46
|
-
|
|
47
|
-
- visible labels
|
|
48
|
-
- appropriate input types
|
|
49
|
-
- inline validation near the source
|
|
50
|
-
- preserved input on error
|
|
51
|
-
- descriptive action labels
|
|
52
|
-
- one clear primary action
|
|
53
|
-
- destructive actions separated from constructive actions
|
|
54
|
-
|
|
55
|
-
## Screen States
|
|
56
|
-
|
|
57
|
-
Each important screen should specify:
|
|
58
|
-
|
|
59
|
-
- what empty means
|
|
60
|
-
- what loading looks like
|
|
61
|
-
- what a recoverable error says
|
|
62
|
-
- how the user retries or exits
|
|
63
|
-
- whether success needs confirmation or summary
|
|
64
|
-
|
|
65
|
-
## Accessibility Audit
|
|
66
|
-
|
|
67
|
-
Check for:
|
|
68
|
-
|
|
69
|
-
- keyboard access
|
|
70
|
-
- visible focus
|
|
71
|
-
- heading and landmark clarity
|
|
72
|
-
- non-color cues
|
|
73
|
-
- adequate target size
|
|
74
|
-
- readable copy
|
|
75
|
-
- screen-reader-compatible semantics where custom UI exists
|
|
76
|
-
|
|
77
|
-
Note:
|
|
78
|
-
|
|
79
|
-
- automated accessibility tools catch only part of the problem;
|
|
80
|
-
- manual keyboard and screen-reader review is still required.
|
|
81
|
-
|
|
82
|
-
## Anti-Pattern Red Flags
|
|
83
|
-
|
|
84
|
-
Flag immediately if you see:
|
|
85
|
-
|
|
86
|
-
- mystery-meat navigation
|
|
87
|
-
- placeholder-only labels
|
|
88
|
-
- premature or submit-only validation
|
|
89
|
-
- broken back behavior
|
|
90
|
-
- invisible navigation
|
|
91
|
-
- silent failure
|
|
92
|
-
- blocking full-screen spinners
|
|
93
|
-
- tiny touch targets
|
|
94
|
-
- gesture-only critical actions
|
|
95
|
-
- manipulative dark patterns
|
|
96
|
-
|
|
97
|
-
## Documentation Expectations For QFAI
|
|
98
|
-
|
|
99
|
-
A good discussion artifact should make these reviewable without guesswork:
|
|
100
|
-
|
|
101
|
-
- screen inventory or equivalent key-surface coverage
|
|
102
|
-
- flow logic including error paths
|
|
103
|
-
- component or interaction inventory where it matters
|
|
104
|
-
- responsive/adaptive behavior where the surface changes materially
|
|
105
|
-
- accessibility constraints
|
|
106
|
-
- decision rationale and rejected options
|
|
107
|
-
|
|
108
|
-
## Recommended Audit Order
|
|
109
|
-
|
|
110
|
-
1. Validate user goal and flow.
|
|
111
|
-
2. Validate that the design direction is recorded in `04_Sources.md` and that exploration directions stay unranked (no winner selected here).
|
|
112
|
-
3. Validate state coverage and contracts.
|
|
113
|
-
4. Validate accessibility and platform fit.
|
|
114
|
-
5. Validate anti-pattern absence.
|
|
115
|
-
6. Validate traceability into `04_Sources.md` and `11_OQ-Register.md`.
|