qfai 1.8.0 → 1.8.2

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 (60) hide show
  1. package/README.md +1 -1
  2. package/assets/init/.qfai/assistant/agents/frontend-engineer.md +2 -2
  3. package/assets/init/.qfai/assistant/agents/product-experience-architect.md +2 -2
  4. package/assets/init/.qfai/assistant/skills/qfai-atdd/SKILL.md +4 -0
  5. package/assets/init/.qfai/assistant/skills/qfai-configure/SKILL.md +2 -1
  6. package/assets/init/.qfai/assistant/skills/qfai-discussion/SKILL.md +60 -330
  7. package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/14_Review-Request.md +15 -16
  8. package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/00_index.md +13 -21
  9. package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/30_exploration_brief.md +29 -0
  10. package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/31_reference_pool.md +13 -0
  11. package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/32_design_anti_goals.md +10 -0
  12. package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/33_exploration_rubric.md +27 -0
  13. package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/34_evaluator_calibration.md +17 -0
  14. package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/50_review_input_bundle.md +16 -22
  15. package/assets/init/.qfai/assistant/skills/qfai-implement/SKILL.md +7 -5
  16. package/assets/init/.qfai/assistant/skills/qfai-prototyping/SKILL.md +187 -132
  17. package/assets/init/.qfai/assistant/skills/qfai-prototyping/references/design-system-compliance.md +22 -0
  18. package/assets/init/.qfai/assistant/skills/qfai-prototyping/references/evidence-requirements.md +31 -0
  19. package/assets/init/.qfai/assistant/skills/qfai-prototyping/references/iteration-cycle.md +25 -0
  20. package/assets/init/.qfai/assistant/skills/qfai-prototyping/references/l1-review-guide.md +36 -0
  21. package/assets/init/.qfai/assistant/skills/qfai-prototyping/references/l2-review-guide.md +39 -0
  22. package/assets/init/.qfai/assistant/skills/qfai-prototyping/references/reviewer-gate.md +24 -0
  23. package/assets/init/.qfai/assistant/skills/qfai-sdd/SKILL.md +18 -9
  24. package/assets/init/.qfai/assistant/skills/qfai-sdd/templates/contracts/design-system.sample.yaml +22 -0
  25. package/assets/init/.qfai/assistant/skills/qfai-sdd/templates/contracts/evaluation-rubric.sample.yaml +16 -0
  26. package/assets/init/.qfai/assistant/skills/qfai-sdd/templates/contracts/evaluator-calibration.sample.yaml +9 -0
  27. package/assets/init/.qfai/assistant/skills/qfai-sdd/templates/contracts/exploration-brief.sample.yaml +10 -0
  28. package/assets/init/.qfai/assistant/skills/qfai-sdd/templates/contracts/selected-direction.sample.yaml +7 -0
  29. package/assets/init/.qfai/assistant/skills/qfai-verify/SKILL.md +3 -0
  30. package/assets/init/.qfai/assistant/steering/agent-catalog.yml +1 -1
  31. package/assets/init/.qfai/assistant/steering/ui-definition-protocol.md +6 -6
  32. package/assets/init/.qfai/contracts/README.md +17 -10
  33. package/assets/init/.qfai/contracts/design/README.md +23 -15
  34. package/assets/init/.qfai/contracts/ui/README.md +9 -8
  35. package/assets/init/.qfai/discussion/README.md +18 -18
  36. package/assets/uix-rev/comparison-review.md +8 -10
  37. package/assets/uix-rev/contracts-review.md +1 -1
  38. package/assets/uix-rev/scoring-review.md +20 -46
  39. package/assets/uix-rev/strategy-review.md +11 -16
  40. package/dist/cli/index.cjs +7709 -16321
  41. package/dist/cli/index.cjs.map +1 -1
  42. package/dist/cli/index.mjs +7776 -16388
  43. package/dist/cli/index.mjs.map +1 -1
  44. package/dist/index.cjs +13589 -20963
  45. package/dist/index.cjs.map +1 -1
  46. package/dist/index.d.cts +196 -589
  47. package/dist/index.d.ts +196 -589
  48. package/dist/index.mjs +10289 -17651
  49. package/dist/index.mjs.map +1 -1
  50. package/package.json +1 -1
  51. package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/10_implementation_strategy.md +0 -38
  52. package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/11_design_taste_interview.md +0 -45
  53. package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/12_design_system.md +0 -115
  54. package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/20_design_eval_invariant.md +0 -68
  55. package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/21_design_eval_trend_derived.md +0 -130
  56. package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/22_design_eval_product_specific.md +0 -68
  57. package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/23_design_eval_aggregate.md +0 -53
  58. package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/24_design_eval_dynamic_overrides.md +0 -28
  59. package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/30_option_comparison.md +0 -56
  60. package/assets/init/.qfai/assistant/skills/qfai-discussion/templates/uiux/31_selected_anchor_screen.md +0 -42
@@ -1,58 +1,32 @@
1
1
  # UIX-REV: Scoring Review
2
2
 
3
- Review scoring-ready schema for canonical completeness.
4
-
5
- ## Per-Axis Required Fields
6
-
7
- Each evaluation axis must include:
8
-
9
- 1. `axis_id` — unique identifier
10
- 2. `axis_name` — human-readable name
11
- 3. `layer` — invariant / trend-derived / product-specific
12
- 4. `origin` — derivation source (taste interview, trend scan, domain)
13
- 5. `intent` — what this axis measures
14
- 6. `why_it_matters` — rationale for inclusion
15
- 7. `score_anchors` — concrete definitions for `low`, `mid`, `high`
16
- 8. `positive_signals` — evidence that supports a high score
17
- 9. `negative_signals` — evidence that supports a low score
18
- 10. `anti_patterns` — patterns that should be flagged
19
- 11. `evidence_required` — what evidence is needed to score
20
- 12. `weight` — relative weight in aggregate scoring
21
- 13. `minimum_floor` — minimum acceptable score (optional)
22
- 14. `source_refs` — references to taste/trend sources
23
- 15. `goal_refs` — references to project goals
24
- 16. `review_questions` — questions the reviewer should ask
3
+ Review exploration rubric and evaluator calibration for canonical completeness.
25
4
 
26
- ## Evaluation Axes Quality
5
+ ## Required Rubric Dimensions
27
6
 
28
- - Axes must be measurable and verifiable
29
- - No generic/boilerplate axes without taste/trend derivation
30
- - Each axis must define `origin`, `intent`, `why_it_matters`, `score_scale`, `score_anchors.low/mid/high`
31
- - Each axis must define `positive_signals`, `negative_signals`, `anti_patterns`, `evidence_required`, `minimum_floor`
32
- - Each axis must define `source_refs`, `goal_refs`, and `review_questions`
7
+ The rubric must include:
33
8
 
34
- ## Aggregate Scoring Rules
9
+ 1. `Design Quality`
10
+ 2. `Originality`
11
+ 3. `Craft`
12
+ 4. `Functionality`
35
13
 
36
- Canonical field names (must match `23_design_eval_aggregate.md`):
14
+ ## Evaluation Axes Quality
37
15
 
38
- - `total_score_formula`: weighted composite formula
39
- - `layer_weights`: per-layer weight allocation (must sum to 1.0)
40
- - `accept_threshold`: minimum score for accept verdict (≥ 3.5)
41
- - `refine_band`: score range for refine verdict (2.5–3.4)
42
- - `pivot_band`: score range for pivot verdict (< 2.5)
43
- - `max_iterations`: maximum scoring iterations
44
- - `plateau_rule`: stagnation detection rule documented
45
- - `missing_score_policy`: how to handle missing axis scores
46
- - `disagreement_rule`: calibration disagreement handling documented
16
+ - The rubric must be gradable and skeptical, not generic praise
17
+ - Design Quality and Originality must create positive pressure against bland outputs
18
+ - Craft and Functionality must operate as floors, not style-dominant constraints
19
+ - Evaluator calibration must include good critique, too-lenient critique, blandness fail, and originality fail examples
20
+
21
+ ## Aggregate Scoring Rules
47
22
 
48
- ### Trend-derived conversion check
23
+ ### Harness check
49
24
 
50
- - Trend scan results are converted to scoring axes
51
- - Trend scan results are reflected in selected anchor
52
- - Stale / overused AI slop avoidance is reflected in comparison and selection
25
+ - Plateau / breakthrough conditions are explicitly documented downstream
26
+ - Later iterations are not automatically preferred over stronger earlier ones
27
+ - Breakthrough branches are judged against the incumbent with best-of-history handling
53
28
 
54
29
  ## Aggregate Review Focus
55
30
 
56
- - Review axis quality, overlap, and minimum floors as a single aggregate system
57
- - Review `source_refs` and `goal_refs` linkage for every scored axis
58
- - Remove old aggregate vocabulary and keep wording aligned with `23_design_eval_aggregate.md`
31
+ - Review rubric pressure, floor conditions, and calibration quality as a single system
32
+ - Remove old evaluation-axis vocabulary and keep wording aligned with `33_exploration_rubric.md` and `34_evaluator_calibration.md`
@@ -1,27 +1,22 @@
1
1
  # UIX-REV: Strategy Review
2
2
 
3
- Review the UI/UX strategy document (`10_implementation_strategy.md`) for completeness and quality.
3
+ Review the exploration brief (`30_exploration_brief.md`) for completeness and quality.
4
4
 
5
- This review is scoped to strategy completeness only. Selected anchor evaluation belongs to `comparison-review.md`.
5
+ This review is scoped to planner-quality only. Winner selection belongs to the prototyping harness and `comparison-review.md`.
6
6
 
7
- ## Required Fields
7
+ ## Required Sections
8
8
 
9
- - `surface`
10
- - `selection_required`
11
- - `decision`
12
- - `candidate_options`
13
- - `chosen_option`
14
- - `rationale`
15
- - `verification_expectations`
16
- - `notes_for_reviewer`
9
+ - `Product Intent`
10
+ - `Must-preserve Interactions`
11
+ - `Brand Signals`
12
+ - `Differentiation Targets`
17
13
 
18
14
  ## Alignment Check
19
15
 
20
- - `chosen_option` must exist in `candidate_options`
21
- - `decision` and `chosen_option` should use coherent vocabulary
22
- - Strategy `decision` must be consistent with the selected anchor in `31_selected_anchor_screen.md` (cross-reference only; SSOT judgment is in comparison-review)
23
- - Strategy must not contradict screen contracts in `40_screen_contracts.md`
24
- - `selection_required=false` with multiple `candidate_options` should be treated as a warning
16
+ - The brief must be specific enough to support divergent exploration
17
+ - The brief must not prematurely collapse to a single chosen direction
18
+ - Brief language must remain consistent with `40_screen_contracts.md`
19
+ - Differentiation targets must explicitly push away from generic defaults
25
20
 
26
21
  ## Verdict
27
22