wize-dev-kit 0.14.0 → 0.16.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.
Files changed (226) hide show
  1. package/ARCH.md +24 -77
  2. package/CHANGELOG.md +24 -0
  3. package/DECISIONS.md +1 -27
  4. package/README.md +7 -2
  5. package/ROSTER.md +3 -11
  6. package/adapters/README.md +7 -7
  7. package/adapters/antigravity/README.md +5 -5
  8. package/adapters/claude-code/README.md +1 -1
  9. package/adapters/codex/README.md +5 -5
  10. package/adapters/codex/adapter.yaml +1 -1
  11. package/adapters/codex/render.js +1 -1
  12. package/adapters/continue/README.md +5 -5
  13. package/adapters/cursor/README.md +2 -2
  14. package/adapters/generic/README.md +1 -1
  15. package/adapters/kimi-code/README.md +5 -5
  16. package/adapters/kimi-code/render.js +2 -2
  17. package/adapters/opencode/README.md +3 -3
  18. package/adapters/opencode/render.js +1 -27
  19. package/adapters/windsurf/README.md +3 -3
  20. package/package.json +1 -1
  21. package/schemas/agent.schema.json +2 -2
  22. package/schemas/workflow.schema.json +1 -1
  23. package/src/app-overlay/wize-app-release-channels/workflow.md +0 -2
  24. package/src/app-overlay/wize-app-scaffold/workflow.md +0 -2
  25. package/src/app-overlay/wize-app-store-listing/workflow.md +0 -2
  26. package/src/builder-skills/wize-create-agent/workflow.md +0 -2
  27. package/src/builder-skills/wize-create-skill/workflow.md +0 -2
  28. package/src/builder-skills/wize-create-workflow/workflow.md +0 -2
  29. package/src/core-skills/module.yaml +3 -0
  30. package/src/core-skills/wize-advanced-elicitation/skill.md +0 -2
  31. package/src/core-skills/wize-brainstorming/skill.md +0 -2
  32. package/src/core-skills/wize-eli5/skill.md +72 -0
  33. package/src/core-skills/wize-review-adversarial/skill.md +0 -3
  34. package/src/core-skills/wize-shard-doc/skill.md +0 -2
  35. package/src/method-skills/1-analysis/wize-agent-analyst/agent.yaml +0 -3
  36. package/src/method-skills/1-analysis/wize-document-project/workflow.md +20 -213
  37. package/src/method-skills/1-analysis/wize-prfaq/workflow.md +11 -152
  38. package/src/method-skills/1-analysis/wize-product-brief/workflow.md +19 -92
  39. package/src/method-skills/1-analysis/wize-research/workflow.md +12 -39
  40. package/src/method-skills/1-analysis/wize-trigger-map/workflow.md +16 -82
  41. package/src/method-skills/2-plan-workflows/wize-create-prd/workflow.md +23 -135
  42. package/src/method-skills/2-plan-workflows/wize-ux-design/workflow.md +28 -134
  43. package/src/method-skills/2-plan-workflows/wize-ux-scenarios/workflow.md +15 -93
  44. package/src/method-skills/2-plan-workflows/wize-validate-prd/workflow.md +12 -108
  45. package/src/method-skills/3-solutioning/wize-check-implementation-readiness/workflow.md +11 -103
  46. package/src/method-skills/3-solutioning/wize-create-architecture/workflow.md +48 -55
  47. package/src/method-skills/3-solutioning/wize-create-epics-and-stories/workflow.md +15 -154
  48. package/src/method-skills/3-solutioning/wize-design-system/workflow.md +22 -184
  49. package/src/method-skills/3-solutioning/wize-nfr-principles/workflow.md +17 -145
  50. package/src/method-skills/3-solutioning/wize-tech-vision/workflow.md +22 -130
  51. package/src/method-skills/4-implementation/wize-agent-dev/persona.md +0 -12
  52. package/src/method-skills/4-implementation/wize-code-review/workflow.md +12 -54
  53. package/src/method-skills/4-implementation/wize-create-story/workflow.md +10 -154
  54. package/src/method-skills/4-implementation/wize-dev-story/workflow.md +17 -185
  55. package/src/method-skills/4-implementation/wize-quick-dev/workflow.md +18 -136
  56. package/src/method-skills/4-implementation/wize-retrospective/workflow.md +10 -114
  57. package/src/method-skills/4-implementation/wize-sprint-planning/workflow.md +11 -78
  58. package/src/method-skills/4-implementation/wize-sprint-status/workflow.md +11 -45
  59. package/src/method-skills/module.yaml +0 -28
  60. package/src/orchestrator-skills/module.yaml +1 -7
  61. package/src/orchestrator-skills/wize-help/skill.md +67 -227
  62. package/src/orchestrator-skills/wize-onboarding/workflow.md +14 -78
  63. package/src/orchestrator-skills/wize-orchestrator/agent.yaml +0 -2
  64. package/src/orchestrator-skills/wize-orchestrator/persona.md +3 -44
  65. package/src/orchestrator-skills/wize-party-mode/workflow.md +0 -2
  66. package/src/tea-skills/wize-tea-design/workflow.md +13 -107
  67. package/src/tea-skills/wize-tea-gate/workflow.md +25 -118
  68. package/src/tea-skills/wize-tea-nfr/workflow.md +14 -107
  69. package/src/tea-skills/wize-tea-review/workflow.md +13 -123
  70. package/src/tea-skills/wize-tea-risk/workflow.md +10 -113
  71. package/src/tea-skills/wize-tea-trace/workflow.md +12 -86
  72. package/src/web-overlay/wize-web-deploy/workflow.md +0 -2
  73. package/src/web-overlay/wize-web-scaffold/workflow.md +0 -2
  74. package/src/web-overlay/wize-web-seo-audit/workflow.md +0 -2
  75. package/tools/check-eli5-all-adapters.js +50 -0
  76. package/tools/installer/onboarding.js +20 -14
  77. package/tools/installer/render-shared.js +14 -158
  78. package/tools/installer/validators/run-all.js +2 -3
  79. package/tools/installer/wize-cli.js +70 -499
  80. package/AGENTS.md +0 -37
  81. package/README.es.md +0 -294
  82. package/README.pt-BR.md +0 -292
  83. package/docs/harnesses/antigravity.md +0 -20
  84. package/docs/harnesses/antigravity.pt-BR.md +0 -20
  85. package/docs/harnesses/claude-code.md +0 -23
  86. package/docs/harnesses/claude-code.pt-BR.md +0 -23
  87. package/docs/harnesses/codex.md +0 -21
  88. package/docs/harnesses/codex.pt-BR.md +0 -21
  89. package/docs/harnesses/continue.md +0 -21
  90. package/docs/harnesses/continue.pt-BR.md +0 -21
  91. package/docs/harnesses/cursor.md +0 -22
  92. package/docs/harnesses/cursor.pt-BR.md +0 -22
  93. package/docs/harnesses/generic.md +0 -20
  94. package/docs/harnesses/generic.pt-BR.md +0 -20
  95. package/docs/harnesses/kimi-code.md +0 -19
  96. package/docs/harnesses/kimi-code.pt-BR.md +0 -19
  97. package/docs/harnesses/opencode.md +0 -31
  98. package/docs/harnesses/opencode.pt-BR.md +0 -31
  99. package/docs/harnesses/windsurf.md +0 -22
  100. package/docs/harnesses/windsurf.pt-BR.md +0 -22
  101. package/src/core-skills/wize-customize/skill.md +0 -116
  102. package/src/core-skills/wize-editorial-review-prose/skill.md +0 -94
  103. package/src/core-skills/wize-editorial-review-structure/skill.md +0 -99
  104. package/src/core-skills/wize-grill/skill.md +0 -77
  105. package/src/core-skills/wize-index-docs/skill.md +0 -119
  106. package/src/core-skills/wize-pre-pr-check/skill.md +0 -134
  107. package/src/core-skills/wize-review-edge-case-hunter/skill.md +0 -115
  108. package/src/core-skills/wize-spec/assets/headless-schemas.md +0 -39
  109. package/src/core-skills/wize-spec/assets/spec-template.md +0 -40
  110. package/src/core-skills/wize-spec/customize.toml +0 -20
  111. package/src/core-skills/wize-spec/skill.md +0 -112
  112. package/src/method-skills/1-analysis/wize-document-project/documentation-requirements.csv +0 -12
  113. package/src/method-skills/1-analysis/wize-document-project/templates/api-contracts-template.md +0 -38
  114. package/src/method-skills/1-analysis/wize-document-project/templates/architecture-template.md +0 -54
  115. package/src/method-skills/1-analysis/wize-document-project/templates/component-inventory-template.md +0 -40
  116. package/src/method-skills/1-analysis/wize-document-project/templates/contribution-guide-template.md +0 -34
  117. package/src/method-skills/1-analysis/wize-document-project/templates/data-models-template.md +0 -36
  118. package/src/method-skills/1-analysis/wize-document-project/templates/deep-dive-template.md +0 -312
  119. package/src/method-skills/1-analysis/wize-document-project/templates/deployment-guide-template.md +0 -42
  120. package/src/method-skills/1-analysis/wize-document-project/templates/development-guide-template.md +0 -61
  121. package/src/method-skills/1-analysis/wize-document-project/templates/index-template.md +0 -185
  122. package/src/method-skills/1-analysis/wize-document-project/templates/project-overview-template.md +0 -110
  123. package/src/method-skills/1-analysis/wize-document-project/templates/project-scan-report-schema.json +0 -159
  124. package/src/method-skills/1-analysis/wize-document-project/templates/source-tree-template.md +0 -142
  125. package/src/method-skills/1-analysis/wize-domain-research/customize.toml +0 -14
  126. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-01-init.md +0 -49
  127. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-02-domain-analysis.md +0 -39
  128. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-03-competitive-landscape.md +0 -39
  129. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-04-regulatory-focus.md +0 -39
  130. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-05-technical-trends.md +0 -39
  131. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-06-research-synthesis.md +0 -43
  132. package/src/method-skills/1-analysis/wize-domain-research/research.template.md +0 -31
  133. package/src/method-skills/1-analysis/wize-domain-research/workflow.md +0 -58
  134. package/src/method-skills/1-analysis/wize-market-research/customize.toml +0 -14
  135. package/src/method-skills/1-analysis/wize-market-research/research.template.md +0 -31
  136. package/src/method-skills/1-analysis/wize-market-research/steps/step-01-init.md +0 -57
  137. package/src/method-skills/1-analysis/wize-market-research/steps/step-02-customer-behavior.md +0 -39
  138. package/src/method-skills/1-analysis/wize-market-research/steps/step-03-customer-pain-points.md +0 -37
  139. package/src/method-skills/1-analysis/wize-market-research/steps/step-04-customer-decisions.md +0 -39
  140. package/src/method-skills/1-analysis/wize-market-research/steps/step-05-competitive-analysis.md +0 -37
  141. package/src/method-skills/1-analysis/wize-market-research/steps/step-06-research-completion.md +0 -47
  142. package/src/method-skills/1-analysis/wize-market-research/workflow.md +0 -66
  143. package/src/method-skills/1-analysis/wize-refresh-knowledge/workflow.md +0 -129
  144. package/src/method-skills/1-analysis/wize-technical-research/customize.toml +0 -14
  145. package/src/method-skills/1-analysis/wize-technical-research/research.template.md +0 -31
  146. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-01-init.md +0 -49
  147. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-02-technical-overview.md +0 -45
  148. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-03-integration-patterns.md +0 -39
  149. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-04-architectural-patterns.md +0 -39
  150. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-05-implementation-research.md +0 -42
  151. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-06-research-synthesis.md +0 -46
  152. package/src/method-skills/1-analysis/wize-technical-research/workflow.md +0 -60
  153. package/src/method-skills/2-plan-workflows/wize-edit-prd/workflow.md +0 -110
  154. package/src/method-skills/3-solutioning/wize-create-architecture/architecture-decision-template.md +0 -41
  155. package/src/method-skills/3-solutioning/wize-create-architecture/customize.toml +0 -20
  156. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-01-init.md +0 -95
  157. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-01b-continue.md +0 -32
  158. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-02-context.md +0 -126
  159. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-03-starter.md +0 -110
  160. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-04-decisions.md +0 -129
  161. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-05-patterns.md +0 -109
  162. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-06-structure.md +0 -97
  163. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-07-validation.md +0 -124
  164. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-08-complete.md +0 -59
  165. package/src/method-skills/3-solutioning/wize-project-context/workflow.md +0 -120
  166. package/src/method-skills/4-implementation/wize-changelog/workflow.md +0 -184
  167. package/src/method-skills/4-implementation/wize-checkpoint-preview/workflow.md +0 -117
  168. package/src/method-skills/4-implementation/wize-code-review/customize.toml +0 -21
  169. package/src/method-skills/4-implementation/wize-code-review/steps/step-01-gather-context.md +0 -64
  170. package/src/method-skills/4-implementation/wize-code-review/steps/step-02-review.md +0 -40
  171. package/src/method-skills/4-implementation/wize-code-review/steps/step-03-triage.md +0 -43
  172. package/src/method-skills/4-implementation/wize-code-review/steps/step-04-present.md +0 -100
  173. package/src/method-skills/4-implementation/wize-correct-course/workflow.md +0 -93
  174. package/src/method-skills/4-implementation/wize-investigate/workflow.md +0 -123
  175. package/src/method-skills/4-implementation/wize-release/workflow.md +0 -162
  176. package/src/orchestrator-skills/wize/skill.md +0 -164
  177. package/src/orchestrator-skills/wize-check/skill.md +0 -98
  178. package/src/security-overlay/_shared/allowlist.js +0 -154
  179. package/src/security-overlay/_shared/backlog.js +0 -169
  180. package/src/security-overlay/_shared/cli-runner.js +0 -87
  181. package/src/security-overlay/_shared/cvss.js +0 -108
  182. package/src/security-overlay/_shared/detect.js +0 -125
  183. package/src/security-overlay/_shared/install-script.js +0 -205
  184. package/src/security-overlay/_shared/invoke-phase.js +0 -86
  185. package/src/security-overlay/_shared/owasp.js +0 -56
  186. package/src/security-overlay/_shared/partial.js +0 -225
  187. package/src/security-overlay/_shared/preflight.js +0 -175
  188. package/src/security-overlay/_shared/scope-gate.js +0 -172
  189. package/src/security-overlay/_shared/scope-parser.js +0 -147
  190. package/src/security-overlay/agents/red-teamer/agent.yaml +0 -54
  191. package/src/security-overlay/agents/red-teamer/persona.md +0 -49
  192. package/src/security-overlay/data/common.txt +0 -115
  193. package/src/security-overlay/data/owasp-top10.json +0 -15
  194. package/src/security-overlay/data/tool-allowlist.json +0 -31
  195. package/src/security-overlay/skills/wize-sec-enumerate/scripts/run-enumerate.js +0 -180
  196. package/src/security-overlay/skills/wize-sec-enumerate/skill.md +0 -34
  197. package/src/security-overlay/skills/wize-sec-exploit/data/common.txt +0 -117
  198. package/src/security-overlay/skills/wize-sec-exploit/scripts/run-ffuf.js +0 -147
  199. package/src/security-overlay/skills/wize-sec-exploit/scripts/run-nikto.js +0 -145
  200. package/src/security-overlay/skills/wize-sec-exploit/scripts/run-nuclei.js +0 -176
  201. package/src/security-overlay/skills/wize-sec-exploit/scripts/run-sqlmap.js +0 -139
  202. package/src/security-overlay/skills/wize-sec-pentest/scripts/run-pipeline.js +0 -184
  203. package/src/security-overlay/skills/wize-sec-pentest/skill.md +0 -54
  204. package/src/security-overlay/skills/wize-sec-recon/scripts/run-gitleaks.js +0 -139
  205. package/src/security-overlay/skills/wize-sec-recon/scripts/run-osv.js +0 -227
  206. package/src/security-overlay/skills/wize-sec-recon/scripts/run-recon.js +0 -162
  207. package/src/security-overlay/skills/wize-sec-recon/skill.md +0 -37
  208. package/src/security-overlay/skills/wize-sec-report/scripts/render-report.js +0 -1033
  209. package/src/security-overlay/skills/wize-sec-scope/scripts/generate-scope.js +0 -106
  210. package/src/security-overlay/skills/wize-sec-scope/skill.md +0 -52
  211. package/src/tea-skills/wize-qa-generate-e2e-tests/workflow.md +0 -121
  212. package/tools/installer/baseline.js +0 -128
  213. package/tools/installer/commands/agent.js +0 -197
  214. package/tools/installer/commands/doctor.js +0 -319
  215. package/tools/installer/commands/document-project.js +0 -93
  216. package/tools/installer/commands/sync.js +0 -45
  217. package/tools/installer/commands/update.js +0 -172
  218. package/tools/installer/document-project/batch-scanner.js +0 -93
  219. package/tools/installer/document-project/classify.js +0 -170
  220. package/tools/installer/document-project/modes/deep-dive.js +0 -196
  221. package/tools/installer/document-project/modes/full-rescan.js +0 -15
  222. package/tools/installer/document-project/modes/initial-scan.js +0 -100
  223. package/tools/installer/document-project/modes/quick.js +0 -211
  224. package/tools/installer/document-project/render-index.js +0 -101
  225. package/tools/installer/document-project/state.js +0 -110
  226. package/tools/installer/version-check.js +0 -117
@@ -1,172 +1,66 @@
1
1
  ---
2
-
3
2
  code: wize-ux-design
4
- description: "Use quando os cenários UX estiverem prontos e precisar produzir especificações página por página para arquitetura e implementação."
5
3
  name: UX Design
6
4
  phase: 2-plan
7
5
  owner: wize-agent-ux-designer # Mantis
8
6
  absorbs: "WDS Freya — Phase 4 (Page Specs)"
9
- status: ready
7
+ status: stub
10
8
  ---
11
9
 
12
10
  # UX Design
13
11
 
14
- **Goal.** Turn scenarios into page-by-page specifications Tony can architect against and Shuri can implement. One spec per screen. Every spec answers: purpose, primary action, layout, content, interactions, states (loading/empty/error/success/disabled), accessibility, and metrics.
15
-
16
- Mantis drives. Output lands in `.wize/planning/ux/ux-design/{screen-name}.md`.
12
+ **Goal.** Page-by-page specifications. Each screen documents layout, content, interactions, edge/empty/error states.
17
13
 
18
14
  ## Inputs
19
-
20
- - `.wize/planning/ux/ux-scenarios.md` (every screen traces back to ≥ 1 scenario)
21
- - `.wize/planning/prd.md` (every screen advances at least one AC)
22
- - `.wize/solutioning/design-system/` (when Mantis already wrote tokens; otherwise this runs in parallel with `wize-design-system`)
23
- - Overlay playbooks if active:
24
- - `web-overlay/playbooks/wcag-aa.md`, `responsive-breakpoints.md`, `semantic-html.md`
25
- - `app-overlay/playbooks/apple-hig.md`, `material-design-3.md`, `touch-targets-and-gestures.md`, `permissions-ux.md`
15
+ - `.wize/planning/ux/ux-scenarios.md`
16
+ - `.wize/planning/prd.md`
26
17
 
27
18
  ## Outputs
28
-
29
19
  - `.wize/planning/ux/ux-design/{screen-name}.md` (one per screen)
30
- - `.wize/planning/ux/ux-design/index.md` (map of screens → scenarios → PRD ACs)
31
-
32
- ## Steps
33
-
34
- ### 1. Enumerate the screens
35
-
36
- From the scenarios, list every screen needed to deliver the moment-of-truth. Name them by role + state: `signup-empty.md`, `signup-error.md`, `team-list-with-members.md`, `team-list-empty.md`. Empty/error/loading states are screens.
37
-
38
- ### 2. Per screen: fill the spec template
39
20
 
40
- For each screen, write the spec below. Stay disciplined; if a section is empty, ask why.
41
-
42
- ### 3. Write the index
43
-
44
- `index.md` is a single table mapping screen → scenarios touched → PRD ACs advanced. Tony reads this first; Hawkeye references it in `tea-design.md`.
45
-
46
- ### 4. Hand off
47
-
48
- Mark `status: ready-for-architecture` on each spec. Notify Wizer; Tony reads next.
49
-
50
- ## Spec template (one file per screen)
21
+ ## Per-screen template
51
22
 
52
23
  ```markdown
53
24
  ---
54
- screen: signup-empty
55
- status: ready-for-architecture
56
- owner: Mantis
57
- linked_scenarios: [S1]
58
- linked_acs: [AC-01-1, AC-01-2]
25
+ screen: {{name}}
26
+ linked_scenario: ux-scenarios.md#scenario-N
59
27
  ---
60
28
 
61
- # Sign up (empty state)
29
+ # {{Screen name}}
62
30
 
63
31
  ## Purpose
64
- First contact: a manager wants to create an account. The goal of *this* screen is to collect work email + password with minimum friction, in service of scenario S1 moment-of-truth (3 invites within 5 minutes).
32
+ …
65
33
 
66
34
  ## Primary user action
67
- Submit the form (CTA: "Create account").
68
-
69
- ## Layout (ASCII or Mermaid)
35
+ …
70
36
 
71
- (web overlay)
37
+ ## Layout (ASCII wireframe or description)
72
38
  ```
73
- ┌─────────────────────────────────────────────────┐
74
- │ Wize logo [Sign in →] │
75
- ├─────────────────────────────────────────────────┤
76
- │ │
77
- │ Create your team's account │
78
- │ ────────────────────────── │
79
- │ [ Work email ] │
80
- │ [ Password (12+) ] │
81
- │ │
82
- │ [ Create account ] │
83
- │ │
84
- │ Already a member? Sign in │
85
- │ │
86
- └─────────────────────────────────────────────────┘
39
+ ┌───────────────────────────────────────┐
40
+ │ Header │
41
+ ├───────────────────────────────────────┤
42
+ │ Content │
43
+ └───────────────────────────────────────┘
87
44
  ```
88
45
 
89
- (app overlay note: stacked, top-aligned, system back disabled.)
90
-
91
- ## Content (copy)
92
-
93
- - Headline: "Create your team's account"
94
- - Sub: (none — keep the screen empty for focus)
95
- - Field 1 label: "Work email"
96
- - Field 1 placeholder: "name@yourcompany.com"
97
- - Field 2 label: "Password"
98
- - Field 2 helper text: "At least 12 characters."
99
- - CTA: "Create account"
100
- - Secondary: "Already a member? Sign in" → routes to /signin
46
+ ## Content
47
+ - Headline: …
48
+ - Body: …
49
+ - CTA: …
101
50
 
102
51
  ## Interactions
103
-
104
- - Click CTA with valid form → submit; show loading state; redirect on success.
105
- - Click CTA with invalid form → set focus to first invalid field; show error region.
106
- - Tab order: email → password → CTA → "Sign in" link.
107
- - Enter on either field submits if both are valid.
52
+ - Click {{element}} → {{outcome}}
108
53
 
109
54
  ## States
110
-
111
- - **Loading:** CTA shows spinner; button is disabled; inputs remain editable.
112
- - **Empty (this state):** placeholders visible; CTA disabled until both fields non-empty.
113
- - **Error (inline per field):** error region appears under each field, `role="alert"`, identifies the rule and the fix.
114
- - **Error (global):** Banner above headline if the back-end fails with a non-field error; provides a "retry" action.
115
- - **Success:** redirect; no flash. The next screen owns acknowledgement.
116
- - **Disabled:** CTA opacity 0.4; aria-disabled="true"; tooltip *"Fill both fields to continue"*.
55
+ - Loading: …
56
+ - Empty: …
57
+ - Error: …
58
+ - Success: …
117
59
 
118
60
  ## Accessibility notes
119
-
120
- (web overlay)
121
- - Both inputs have visible persistent labels (no placeholder-only).
122
- - `lang="en"` on `<html>`.
123
- - Error region: per-field `aria-describedby`, ALL `role="alert"` after first submit only.
124
- - Contrast pairs all ≥ 4.5:1 in light mode, ≥ 4.5:1 in dark mode.
125
- - 200% zoom: no horizontal scroll on 360px viewport.
126
- - Skip link absent (no main nav before).
127
-
128
- (app overlay)
129
- - Apple HIG / Material 3 systemic input components.
130
- - Dynamic Type / font scale: layout reflows at largest accessibility size; CTA pinned to bottom-safe-area.
131
- - Touch targets ≥ 44pt (iOS) / 48dp (Android).
132
- - VoiceOver order: headline → email → password → CTA → secondary link.
133
-
134
- ## Metrics
135
-
136
- - Event `signup_completed` (Q7 success quote): fires after redirect.
137
- - Event `signup_error_shown {rule}`: fires on inline error.
138
- - Event `signup_abandoned`: fires on `beforeunload` if form had focus and CTA never fired.
139
-
140
- ## Open questions for Tony
141
-
142
- - Should we use Auth0 hosted UI or our own form? (UX-decision is to keep our own; Tony decides feasibility.)
143
- - Magic-link as an alternative path? Out of scope per PRD; Mantis recommends putting in *Out*.
61
+ - (web-overlay) WCAG …
62
+ - (app-overlay) HIG / Material …
144
63
  ```
145
64
 
146
- ## Index template
147
-
148
- ```markdown
149
- # UX Design — index
150
-
151
- | Screen | Scenarios | PRD ACs |
152
- |---|---|---|
153
- | signup-empty | S1 | AC-01-1, AC-01-2 |
154
- | signup-error | S1 | AC-01-2 |
155
- | onboarding-step-1 | S1 | AC-02-1 |
156
- | team-list-empty | S1, S2 | AC-03-1 |
157
- | team-list-with-members | S1, S2 | AC-03-2, AC-03-3 |
158
- | invite-modal | S1, S2 | AC-02-2, AC-02-3 |
159
- ```
160
-
161
- ## Anti-patterns Mantis rejects
162
-
163
- - **Specs without states.** A screen with no empty/error spec is half a spec.
164
- - **Copy as marketing tone.** Use the user's voice. Cut "world-class," "delightful," "seamless."
165
- - **Mystery icons.** Icons need accessible labels; if you can't name it, draw a word next to it.
166
- - **Hover-only affordances on touch.** Spec the non-hover equivalent.
167
- - **Touch targets < platform minimum.** 24×24 CSS px on web (WCAG 2.5.8), 44pt iOS, 48dp Android — non-negotiable.
168
- - **Screens that don't trace to scenarios + PRD ACs.** If you can't fill the index row, the screen isn't justified.
169
-
170
65
  ## Hand-off
171
-
172
- > UX specs are at `.wize/planning/ux/ux-design/`. Index points screen → scenario → AC. Tony, you can start `wize-create-architecture` now; the moment-of-truth lines in scenarios tell you which interactions are load-bearing. Hawkeye, `tea-design.md` should index by screen to keep test design and UI aligned.
66
+ "Tony, screen specs in `.wize/planning/ux/ux-design/`. Architecture time."
@@ -1,126 +1,48 @@
1
1
  ---
2
-
3
2
  code: wize-ux-scenarios
4
- description: "Use quando o PRD estiver validado e precisar produzir o mapa de cenários UX que ancora todo o design."
5
3
  name: UX Scenarios
6
4
  phase: 2-plan
7
5
  owner: wize-agent-ux-designer # Mantis (absorbs WDS Freya)
8
6
  absorbs: "WDS Freya — Phase 3 (8-question dialog)"
9
- status: ready
7
+ status: stub
10
8
  ---
11
9
 
12
10
  # UX Scenarios
13
11
 
14
- **Goal.** Produce a scenario map that anchors all UX work. Eight focused questions; one short answer each. Scenarios are pieces of behavior, not personas — they're how *this* user, in *this* state, tries to accomplish *that* JTBD.
15
-
16
- Mantis drives. Output lands in `.wize/planning/ux/ux-scenarios.md`. It's the bridge from PM intent (PRD) to designer concreteness (next workflow: `wize-ux-design`).
12
+ **Goal.** Produce the scenario map that anchors all UX work. Eight focused questions; one answer each.
17
13
 
18
14
  ## Inputs
19
-
20
- - `.wize/planning/prd.md` (validated)
21
- - `.wize/planning/ux/trigger-map.md` (Pepper)
15
+ - `.wize/planning/prd.md`
16
+ - `.wize/planning/ux/trigger-map.md`
22
17
  - `.wize/planning/brief.md`
23
18
 
24
19
  ## Outputs
25
-
26
20
  - `.wize/planning/ux/ux-scenarios.md`
27
21
 
28
- ## Steps
29
-
30
- ### 1. Identify the scenarios
31
-
32
- A scenario = one (user, state, JTBD) tuple where the product earns or loses. Aim for **3–8 scenarios** that, taken together, cover all backbone stories in the PRD.
33
-
34
- Rules:
35
- - One sentence each at this stage.
36
- - Verb-led. *"New manager onboards their first team."* Not *"Manager onboarding."*
37
- - Distinct. If two scenarios share trigger + state, collapse them.
38
-
39
- ### 2. Run the 8-question dialog per scenario (WDS Freya)
40
-
41
- For each scenario, answer the eight questions. One paragraph per answer. No filler. Cite trigger-map row when relevant.
22
+ ## The 8 questions (WDS dialog)
42
23
 
43
24
  1. **Who is the user, in one sentence?**
44
- Role + context. *"A 38-year-old engineering manager at a 25-person SaaS, primarily on desktop, sometimes phone."*
45
-
46
- 2. **What state are they in when they arrive?**
47
- Emotion + situational context. *"It's Monday morning. They just got CTO's request to onboard 3 hires this sprint. They're alt-tabbing between Slack and Linear."*
48
-
49
- 3. **What are they trying to accomplish?** (JTBD)
50
- *"Add three teammates and assign each to the right project before the team standup at 10am."* Concrete.
51
-
25
+ 2. **What state are they in when they arrive?** (emotional, contextual)
26
+ 3. **What are they trying to accomplish?** (job-to-be-done)
52
27
  4. **What would they do without our product today?**
53
- *"Slack screenshots of the project list to each new hire; have them sign up individually; cross-check who landed where."*
54
-
55
28
  5. **What's the moment of truth — when they decide it works?**
56
- *"The first time they see all three names in the team list with the right project tags, in under 5 minutes."*
57
-
58
29
  6. **What's the failure mode — when do they walk away?**
59
- *"If they can't tell whether the invite arrived. If the invite email looks like spam. If they have to leave the page to find someone's email."*
60
-
61
30
  7. **What does success look like to them, in their words?**
62
- *"It just worked. I sent the invites, they signed up, they were on the right project."* (Imagine the future quote.)
63
-
64
31
  8. **What's the next thing we want them to do?**
65
- *"Open the project where the first teammate landed and verify the access works."*
66
32
 
67
- ### 3. Cross-link to the PRD
68
-
69
- For each scenario, list the **backbone story IDs** + **AC IDs** it touches. Mantis won't write specs for a scenario the PRD doesn't cover (it'd be scope creep); Hill won't sign off on a story the scenarios don't surface (it'd be over-spec).
70
-
71
- ### 4. Hand off to UX Design
72
-
73
- Mark `status: ready-for-design`. Wizer pings Mantis to start `wize-ux-design`, where each scenario becomes one or more page specs.
74
-
75
- ## Output template
33
+ ## Output structure
76
34
 
77
35
  ```markdown
78
- ---
79
- status: ready-for-design
80
- owner: Mantis
81
- created: YYYY-MM-DD
82
- covers_prd_stories: [E01, E02, E04]
83
- ---
84
-
85
- # UX Scenarios — {{project_name}}
86
-
87
- ## Scenario 1: New manager onboards their first team
88
-
89
- - **Trigger-map row:** 1 (Sign up), 2 (Invite first teammate)
90
- - **PRD stories:** E01, E02
91
- - **AC IDs touched:** AC-01-1, AC-01-2, AC-02-1, AC-02-3
92
-
93
- **Q1 — Who:** A 38-year-old engineering manager at a 25-person SaaS, primarily on desktop, sometimes phone.
94
- **Q2 — State:** It's Monday morning. They just got CTO's request to onboard 3 hires this sprint. They're alt-tabbing between Slack and Linear.
95
- **Q3 — JTBD:** Add three teammates and assign each to the right project before the team standup at 10am.
96
- **Q4 — Today:** Slack screenshots of the project list to each new hire; have them sign up individually; cross-check who landed where.
97
- **Q5 — Moment of truth:** The first time they see all three names in the team list with the right project tags, under 5 minutes.
98
- **Q6 — Failure mode:** Can't tell whether the invite arrived; the email looks like spam; they have to leave the page to find someone's email.
99
- **Q7 — Success in their words:** "It just worked. I sent the invites, they signed up, they were on the right project."
100
- **Q8 — Next thing:** Open the project where the first teammate landed and verify access.
101
-
102
- ## Scenario 2: Returning admin adds a fourth member months later
36
+ # UX Scenarios
103
37
 
104
- (…)
38
+ ## Scenario 1: {{name}}
105
39
 
106
- ## Coverage check
40
+ - Q1 …
41
+ - Q2 …
42
+ - …
107
43
 
108
- | PRD story | Scenarios |
109
- |---|---|
110
- | E01 (Sign up) | S1 |
111
- | E02 (Invite) | S1, S2 |
112
- | E03 (Switch project) | S2 |
113
- | E04 (Dashboard) | S1 |
44
+ ## Scenario N: …
114
45
  ```
115
46
 
116
- ## Anti-patterns Mantis rejects
117
-
118
- - **Personas instead of scenarios.** Mantis cares what people *do*, not who they are in the abstract.
119
- - **Scenarios with no emotion or context.** "User wants to sign up." — that's a backbone story restated. The point is the *state*.
120
- - **JTBD written as features.** "Wants the dashboard." Wrong layer. Reword to the goal: "Wants to know if the team is healthy at a glance."
121
- - **Q5 ("moment of truth") that's actually a feature description.** It should be the user's perception, not the UI.
122
- - **More than 8 scenarios.** Two of them are duplicates. Find which.
123
-
124
47
  ## Hand-off
125
-
126
- > Scenarios are in `.wize/planning/ux/ux-scenarios.md`. They cover E01–E04. Next: page specs in `.wize/planning/ux/ux-design/` (one per screen). Tony, when you read these, the moment-of-truth lines tell you which interactions are load-bearing.
48
+ "Mantis → Mantis": run `wize-ux-design` next.
@@ -1,123 +1,27 @@
1
1
  ---
2
-
3
2
  code: wize-validate-prd
4
- description: "Use quando o PRD estiver pronto para validação e precisar decidir se ele pode avançar para Solutioning."
5
3
  name: Validate PRD
6
4
  phase: 2-plan
7
- owner: wize-agent-pm # Maria Hill (with Pepper, Mantis, Fury input)
8
- status: ready
5
+ owner: wize-agent-pm # Maria Hill (with Pepper + Mantis + Fury input)
6
+ status: stub
9
7
  ---
10
8
 
11
9
  # Validate PRD
12
10
 
13
- **Goal.** Decide whether the PRD is ready to leave Plan and enter Solutioning. Catch ambiguity before architecture is wasted on it. Cheap step; saves multiples of itself downstream.
14
-
15
- Maria Hill chairs. Pepper, Mantis, Fury contribute. Output is either `validated: true` written to `prd.md` or a punch list routed back to authors.
16
-
17
- ## When to run
18
-
19
- After `wize-create-prd` produces `status: ready-for-validation`. Run once per major PRD change.
11
+ **Goal.** Make sure the PRD is ready to leave Plan and enter Solutioning. Catch ambiguity before architecture is wasted on it.
20
12
 
21
13
  ## Inputs
22
-
23
14
  - `.wize/planning/prd.md`
24
- - `.wize/planning/brief.md`
25
- - `.wize/planning/ux/trigger-map.md`
26
- - `.wize/planning/research.md` (when present)
27
- - `.wize/planning/tech-vision.md` (when Fury already wrote one)
28
15
 
29
16
  ## Outputs
17
+ - Inline edits + a validation log appended to `prd.md`.
30
18
 
31
- - In-place edits to `prd.md` (validators add a "Validation log" section).
32
- - If validated: `prd.md` frontmatter flips to `status: validated`.
33
- - If not: a punch list, each item routed back to the owning agent.
34
-
35
- ## Checklist (Maria Hill runs this)
36
-
37
- ### Completeness
38
- - [ ] Vision sentence present and matches the brief.
39
- - [ ] 3–5 goals; each measurable; each tied to a trigger-map row.
40
- - [ ] Scope `In` and `Out` both populated; `Out` items have reasons.
41
- - [ ] Backbone stories cover every In-scope item.
42
- - [ ] Every In-scope item has 3–7 ACs.
43
- - [ ] Constraints + Assumptions + Dependencies all named.
44
- - [ ] NFR pointer present.
45
- - [ ] Open questions: each has an owner + deadline.
46
-
47
- ### Quality
48
- - [ ] Every AC is observable (testable by Hawkeye without ambiguity).
49
- - [ ] No AC contains the word "easy", "intuitive", "responsive" without a numeric criterion.
50
- - [ ] INVEST: every backbone story passes (independent, negotiable, valuable, small, testable) — "Estimable" is dropped; we don't estimate, we only check it fits one PR.
51
- - [ ] No goal repeats a brief constraint as if it were a goal.
52
-
53
- ### Cross-checks
54
- - [ ] **Pepper:** every goal anchors on a row of the trigger map.
55
- - [ ] **Mantis:** every screen implied by the ACs is addressable in UX (no AC requires a UI the team hasn't agreed exists).
56
- - [ ] **Fury:** the PRD's NFR pointer doesn't contradict the tech-vision.
57
- - [ ] **Hawkeye preview:** at least the gate strategy is mentioned (advisory vs enforcing) for visibility.
58
-
59
- ### Risk
60
- - [ ] No open question is marked `blocker` AND has a deadline past the PRD validation date.
61
- - [ ] Any assumption that, if wrong, kills > 30% of the scope has a verification plan.
62
-
63
- ## Decision
64
-
65
- After the checklist:
66
-
67
- - **Validated** → flip frontmatter to `status: validated`. Append a Validation log block to `prd.md` with date + each signatory.
68
- - **Concerns** → write specific fix-asks per agent. Each fix-ask is concrete (line ref + what to change).
69
- - **Reject** → rare. Use when the brief itself is wrong; loop back to Pepper.
70
-
71
- ## Validation log template (appended to `prd.md`)
72
-
73
- ```markdown
74
- ## Validation log — YYYY-MM-DD
75
-
76
- **Status:** validated
77
-
78
- **Signatories**
79
- - Maria Hill (PM) — concerns: none
80
- - Pepper Potts (Analyst) — concerns: trigger-map row 3 needs a stronger signal name, will update.
81
- - Mantis (UX) — concerns: none, UX work starts next.
82
- - Fury (Solution Strategy) — concerns: none. NFR pointer confirmed.
83
-
84
- **Notes**
85
- - Open question "Brazil-only beta?" was answered by sales lead — added to *Out of scope: global launch* with rationale.
86
- ```
87
-
88
- ## Punch-list template (when not validated)
89
-
90
- ```markdown
91
- ## Validation punch list — YYYY-MM-DD
92
-
93
- **Status:** changes required
94
-
95
- **By Maria Hill — author rewrites:**
96
- - `AC-02-3`: "loads fast" is not observable. Rewrite with numeric target tied to Fury's NFRs.
97
- - Backbone story E04 fails INVEST-S (too large). Split into 2 stories.
98
-
99
- **By Pepper:**
100
- - Goal 2 is not anchored on a trigger-map row. Add row reference or remove.
101
-
102
- **By Mantis:**
103
- - AC-01-4 implies a "preview" screen that isn't in any UX list. Either spec the screen or cut the AC.
104
-
105
- **By Fury:**
106
- - NFR pointer cites old version of nfr-principles.md. Update.
107
- ```
108
-
109
- ## Anti-patterns
110
-
111
- - "Looks good to me" with no checklist run. The validation only counts if checked.
112
- - Validating to keep the schedule, knowing concerns are open. Document the concern.
113
- - Validating with no Hawkeye preview at all. Even a one-line gate strategy reference matters.
114
-
115
- ## Hand-off
116
-
117
- If validated:
118
-
119
- > PRD validated. Mantis, you're up: `wize-ux-scenarios`. Fury, write or refresh `tech-vision.md` so Tony can read both.
120
-
121
- If not:
19
+ ## Checklist
20
+ - [ ] Every scope item has measurable ACs.
21
+ - [ ] No "TBD" in goals or constraints.
22
+ - [ ] Mantis confirms UX is addressable.
23
+ - [ ] Fury approves stack-family direction (or has explicit reason not to yet).
24
+ - [ ] No open questions with `blocker` priority remain.
122
25
 
123
- > PRD not yet validated. Punch list lives at the bottom of `prd.md`. {{Author}} fixes by {{date}}; we re-run validation.
26
+ ## Outcome
27
+ Either `validated: true` (timestamp + signatories) or list of fix-asks routed back to the right agent.
@@ -1,114 +1,22 @@
1
1
  ---
2
-
3
2
  code: wize-check-implementation-readiness
4
- description: "Use quando a arquitetura e as stories estiverem prontas e precisar verificar se o projeto está pronto para entrar em implementação."
5
3
  name: Check Implementation Readiness
6
4
  phase: 3-solutioning
7
- owner: wize-agent-architect # Tony Stark (with Hawkeye + Hill)
8
- status: ready
5
+ owner: wize-agent-architect # Tony Stark (with Hawkeye)
6
+ status: stub
9
7
  ---
10
8
 
11
9
  # Check Implementation Readiness
12
10
 
13
- **Goal.** Before any story enters dev, confirm everything is in place. This is the **gate at the end of Phase 3**. Cheap; saves multiples of itself downstream.
14
-
15
- Tony chairs. Hill and Hawkeye sign off. Pepper and Mantis answer if pulled in.
16
-
17
- ## Inputs
18
-
19
- - `.wize/planning/prd.md` (validated)
20
- - `.wize/planning/ux/ux-design/` + `index.md`
21
- - `.wize/planning/tech-vision.md`
22
- - `.wize/planning/nfr-principles.md`
23
- - `.wize/solutioning/architecture.md`
24
- - `.wize/solutioning/adrs/`
25
- - `.wize/solutioning/design-system/`
26
- - `.wize/solutioning/epics/` + `stories/`
27
- - `.wize/implementation/tea/risk-profile.md` (Hawkeye)
28
- - `.wize/config/tea.toml` (policy choice)
29
-
30
- ## Outputs
31
-
32
- - `.wize/solutioning/readiness-{YYYY-MM-DD}.md` — checklist result + signoffs.
33
-
34
- ## Checklist (Tony chairs)
35
-
36
- ### Planning artifacts
37
- - [ ] PRD `status: validated`.
38
- - [ ] All open questions in PRD resolved (no `blocker` open).
39
- - [ ] Trigger map covers every PRD goal.
40
-
41
- ### UX
42
- - [ ] Every In-scope item has at least one screen spec.
43
- - [ ] UX design index maps every screen → scenario → AC.
44
- - [ ] Design system tokens + components needed by the UX exist.
45
-
46
- ### Strategy
47
- - [ ] Tech vision `status: aligned`.
48
- - [ ] NFR principles `status: aligned`; verifiers named for every non-negotiable.
49
-
50
- ### Architecture
51
- - [ ] Architecture doc `status: ready-for-stories`.
52
- - [ ] ADRs cover every meaningful trade-off.
53
- - [ ] NFR check section answers *how* for each non-negotiable.
54
-
55
- ### Stories
56
- - [ ] Every epic has 3–10 stories.
57
- - [ ] Every story has AC IDs from the PRD; the union per epic equals the epic's AC set.
58
- - [ ] No story is XL.
59
- - [ ] Each story names touch-points + `testid` + reuse of design-system components.
60
-
61
- ### TEA
62
- - [ ] `tea-risk.md` exists.
63
- - [ ] `.wize/config/tea.toml` policy is committed (advisory / enforcing).
64
- - [ ] First-story `tea-design.md` is drafted (proof Hawkeye's contract works).
11
+ **Goal.** Before any story enters dev, confirm everything is in place.
65
12
 
66
- ### Cross-cutting
67
- - [ ] CI runs tests + validators on every PR.
68
- - [ ] Lint/format on commit.
69
- - [ ] Branch protection on `main`.
70
- - [ ] Secrets vault wired; no secret in repo.
13
+ ## Checklist
14
+ - [ ] Architecture doc exists and is signed (Tony + Fury approved).
15
+ - [ ] All in-scope screens have UX specs (Mantis).
16
+ - [ ] Design system tokens exist (Mantis).
17
+ - [ ] Stories are sliced with ACs (Tony).
18
+ - [ ] Hawkeye risk profile exists.
19
+ - [ ] `.wize/config/tea.toml` policy choice is recorded.
71
20
 
72
21
  ## Outcome
73
-
74
- - **Ready** → write the readiness file, link from `sprint-planning`.
75
- - **Concerns** → list specifically what's missing, owner per item, deadline. Re-check.
76
-
77
- ## Output template
78
-
79
- ```markdown
80
- ---
81
- status: ready | concerns
82
- date: YYYY-MM-DD
83
- chair: Tony Stark
84
- signoffs:
85
- - Maria Hill (PM)
86
- - Hawkeye (TEA)
87
- - Mantis (UX) — async
88
- - Fury (Strategy) — async
89
- ---
90
-
91
- # Implementation Readiness — {{project_name}}
92
-
93
- ## Result: Ready
94
-
95
- ## Notes
96
- - Architecture covers 5 epics and 28 stories.
97
- - TEA policy: advisory; NFR gate per epic.
98
- - 2 ADRs accepted in this gate review (ADR-008, ADR-009).
99
-
100
- ## Open items (carry forward, not blockers)
101
- - Marketing site for launch — separate track, owned by …
102
- - Stripe-Atlas back-office decision — by date X.
103
- ```
104
-
105
- ## Anti-patterns
106
-
107
- - "Looks ready" without running the checklist.
108
- - Signing off before Hawkeye has risk-profiled.
109
- - Closing concerns without re-checking.
110
- - Leaving CI configuration "for later" — never gets done.
111
-
112
- ## Hand-off
113
-
114
- > Implementation readiness signed off. Hill, kick `wize-sprint-planning`. Hawkeye, your gate cadence is set: design per story, trace + review + gate per story, NFR per epic.
22
+ Either `ready: true` or list of fix-asks.