wize-dev-kit 0.16.0 → 0.16.1

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 (228) hide show
  1. package/AGENTS.md +37 -0
  2. package/ARCH.md +77 -24
  3. package/CHANGELOG.md +4 -0
  4. package/DECISIONS.md +27 -1
  5. package/README.es.md +295 -0
  6. package/README.pt-BR.md +293 -0
  7. package/ROSTER.md +11 -3
  8. package/adapters/README.md +8 -7
  9. package/adapters/antigravity/README.md +5 -5
  10. package/adapters/claude-code/README.md +1 -1
  11. package/adapters/codex/README.md +5 -5
  12. package/adapters/codex/adapter.yaml +1 -1
  13. package/adapters/codex/render.js +1 -1
  14. package/adapters/continue/README.md +5 -5
  15. package/adapters/cursor/README.md +2 -2
  16. package/adapters/generic/README.md +1 -1
  17. package/adapters/hermes/README.md +23 -0
  18. package/adapters/hermes/adapter.yaml +8 -0
  19. package/adapters/hermes/render.js +17 -0
  20. package/adapters/kimi-code/README.md +5 -5
  21. package/adapters/kimi-code/render.js +2 -2
  22. package/adapters/opencode/README.md +3 -3
  23. package/adapters/opencode/render.js +27 -1
  24. package/adapters/windsurf/README.md +3 -3
  25. package/docs/harnesses/antigravity.md +20 -0
  26. package/docs/harnesses/antigravity.pt-BR.md +20 -0
  27. package/docs/harnesses/claude-code.md +23 -0
  28. package/docs/harnesses/claude-code.pt-BR.md +23 -0
  29. package/docs/harnesses/codex.md +21 -0
  30. package/docs/harnesses/codex.pt-BR.md +21 -0
  31. package/docs/harnesses/continue.md +21 -0
  32. package/docs/harnesses/continue.pt-BR.md +21 -0
  33. package/docs/harnesses/cursor.md +22 -0
  34. package/docs/harnesses/cursor.pt-BR.md +22 -0
  35. package/docs/harnesses/generic.md +20 -0
  36. package/docs/harnesses/generic.pt-BR.md +20 -0
  37. package/docs/harnesses/hermes.md +26 -0
  38. package/docs/harnesses/hermes.pt-BR.md +26 -0
  39. package/docs/harnesses/kimi-code.md +19 -0
  40. package/docs/harnesses/kimi-code.pt-BR.md +19 -0
  41. package/docs/harnesses/opencode.md +31 -0
  42. package/docs/harnesses/opencode.pt-BR.md +31 -0
  43. package/docs/harnesses/windsurf.md +22 -0
  44. package/docs/harnesses/windsurf.pt-BR.md +22 -0
  45. package/package.json +1 -1
  46. package/schemas/agent.schema.json +2 -2
  47. package/schemas/workflow.schema.json +1 -1
  48. package/src/app-overlay/wize-app-release-channels/workflow.md +2 -0
  49. package/src/app-overlay/wize-app-scaffold/workflow.md +2 -0
  50. package/src/app-overlay/wize-app-store-listing/workflow.md +2 -0
  51. package/src/builder-skills/wize-create-agent/workflow.md +2 -0
  52. package/src/builder-skills/wize-create-skill/workflow.md +2 -0
  53. package/src/builder-skills/wize-create-workflow/workflow.md +2 -0
  54. package/src/core-skills/wize-advanced-elicitation/skill.md +2 -0
  55. package/src/core-skills/wize-brainstorming/skill.md +2 -0
  56. package/src/core-skills/wize-customize/skill.md +116 -0
  57. package/src/core-skills/wize-editorial-review-prose/skill.md +94 -0
  58. package/src/core-skills/wize-editorial-review-structure/skill.md +99 -0
  59. package/src/core-skills/wize-grill/skill.md +77 -0
  60. package/src/core-skills/wize-index-docs/skill.md +119 -0
  61. package/src/core-skills/wize-pre-pr-check/skill.md +134 -0
  62. package/src/core-skills/wize-review-adversarial/skill.md +3 -0
  63. package/src/core-skills/wize-review-edge-case-hunter/skill.md +115 -0
  64. package/src/core-skills/wize-shard-doc/skill.md +2 -0
  65. package/src/core-skills/wize-spec/assets/headless-schemas.md +39 -0
  66. package/src/core-skills/wize-spec/assets/spec-template.md +40 -0
  67. package/src/core-skills/wize-spec/customize.toml +20 -0
  68. package/src/core-skills/wize-spec/skill.md +112 -0
  69. package/src/method-skills/1-analysis/wize-agent-analyst/agent.yaml +3 -0
  70. package/src/method-skills/1-analysis/wize-document-project/documentation-requirements.csv +12 -0
  71. package/src/method-skills/1-analysis/wize-document-project/templates/api-contracts-template.md +38 -0
  72. package/src/method-skills/1-analysis/wize-document-project/templates/architecture-template.md +54 -0
  73. package/src/method-skills/1-analysis/wize-document-project/templates/component-inventory-template.md +40 -0
  74. package/src/method-skills/1-analysis/wize-document-project/templates/contribution-guide-template.md +34 -0
  75. package/src/method-skills/1-analysis/wize-document-project/templates/data-models-template.md +36 -0
  76. package/src/method-skills/1-analysis/wize-document-project/templates/deep-dive-template.md +312 -0
  77. package/src/method-skills/1-analysis/wize-document-project/templates/deployment-guide-template.md +42 -0
  78. package/src/method-skills/1-analysis/wize-document-project/templates/development-guide-template.md +61 -0
  79. package/src/method-skills/1-analysis/wize-document-project/templates/index-template.md +185 -0
  80. package/src/method-skills/1-analysis/wize-document-project/templates/project-overview-template.md +110 -0
  81. package/src/method-skills/1-analysis/wize-document-project/templates/project-scan-report-schema.json +159 -0
  82. package/src/method-skills/1-analysis/wize-document-project/templates/source-tree-template.md +142 -0
  83. package/src/method-skills/1-analysis/wize-document-project/workflow.md +213 -20
  84. package/src/method-skills/1-analysis/wize-domain-research/customize.toml +14 -0
  85. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-01-init.md +49 -0
  86. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-02-domain-analysis.md +39 -0
  87. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-03-competitive-landscape.md +39 -0
  88. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-04-regulatory-focus.md +39 -0
  89. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-05-technical-trends.md +39 -0
  90. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-06-research-synthesis.md +43 -0
  91. package/src/method-skills/1-analysis/wize-domain-research/research.template.md +31 -0
  92. package/src/method-skills/1-analysis/wize-domain-research/workflow.md +58 -0
  93. package/src/method-skills/1-analysis/wize-market-research/customize.toml +14 -0
  94. package/src/method-skills/1-analysis/wize-market-research/research.template.md +31 -0
  95. package/src/method-skills/1-analysis/wize-market-research/steps/step-01-init.md +57 -0
  96. package/src/method-skills/1-analysis/wize-market-research/steps/step-02-customer-behavior.md +39 -0
  97. package/src/method-skills/1-analysis/wize-market-research/steps/step-03-customer-pain-points.md +37 -0
  98. package/src/method-skills/1-analysis/wize-market-research/steps/step-04-customer-decisions.md +39 -0
  99. package/src/method-skills/1-analysis/wize-market-research/steps/step-05-competitive-analysis.md +37 -0
  100. package/src/method-skills/1-analysis/wize-market-research/steps/step-06-research-completion.md +47 -0
  101. package/src/method-skills/1-analysis/wize-market-research/workflow.md +66 -0
  102. package/src/method-skills/1-analysis/wize-prfaq/workflow.md +152 -11
  103. package/src/method-skills/1-analysis/wize-product-brief/workflow.md +92 -19
  104. package/src/method-skills/1-analysis/wize-refresh-knowledge/workflow.md +129 -0
  105. package/src/method-skills/1-analysis/wize-research/workflow.md +39 -12
  106. package/src/method-skills/1-analysis/wize-technical-research/customize.toml +14 -0
  107. package/src/method-skills/1-analysis/wize-technical-research/research.template.md +31 -0
  108. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-01-init.md +49 -0
  109. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-02-technical-overview.md +45 -0
  110. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-03-integration-patterns.md +39 -0
  111. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-04-architectural-patterns.md +39 -0
  112. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-05-implementation-research.md +42 -0
  113. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-06-research-synthesis.md +46 -0
  114. package/src/method-skills/1-analysis/wize-technical-research/workflow.md +60 -0
  115. package/src/method-skills/1-analysis/wize-trigger-map/workflow.md +82 -16
  116. package/src/method-skills/2-plan-workflows/wize-create-prd/workflow.md +135 -23
  117. package/src/method-skills/2-plan-workflows/wize-edit-prd/workflow.md +110 -0
  118. package/src/method-skills/2-plan-workflows/wize-ux-design/workflow.md +134 -28
  119. package/src/method-skills/2-plan-workflows/wize-ux-scenarios/workflow.md +93 -15
  120. package/src/method-skills/2-plan-workflows/wize-validate-prd/workflow.md +108 -12
  121. package/src/method-skills/3-solutioning/wize-check-implementation-readiness/workflow.md +103 -11
  122. package/src/method-skills/3-solutioning/wize-create-architecture/architecture-decision-template.md +41 -0
  123. package/src/method-skills/3-solutioning/wize-create-architecture/customize.toml +20 -0
  124. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-01-init.md +95 -0
  125. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-01b-continue.md +32 -0
  126. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-02-context.md +126 -0
  127. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-03-starter.md +110 -0
  128. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-04-decisions.md +129 -0
  129. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-05-patterns.md +109 -0
  130. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-06-structure.md +97 -0
  131. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-07-validation.md +124 -0
  132. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-08-complete.md +59 -0
  133. package/src/method-skills/3-solutioning/wize-create-architecture/workflow.md +55 -48
  134. package/src/method-skills/3-solutioning/wize-create-epics-and-stories/workflow.md +154 -15
  135. package/src/method-skills/3-solutioning/wize-design-system/workflow.md +184 -22
  136. package/src/method-skills/3-solutioning/wize-nfr-principles/workflow.md +145 -17
  137. package/src/method-skills/3-solutioning/wize-project-context/workflow.md +120 -0
  138. package/src/method-skills/3-solutioning/wize-tech-vision/workflow.md +130 -22
  139. package/src/method-skills/4-implementation/wize-agent-dev/persona.md +12 -0
  140. package/src/method-skills/4-implementation/wize-changelog/workflow.md +184 -0
  141. package/src/method-skills/4-implementation/wize-checkpoint-preview/workflow.md +117 -0
  142. package/src/method-skills/4-implementation/wize-code-review/customize.toml +21 -0
  143. package/src/method-skills/4-implementation/wize-code-review/steps/step-01-gather-context.md +64 -0
  144. package/src/method-skills/4-implementation/wize-code-review/steps/step-02-review.md +40 -0
  145. package/src/method-skills/4-implementation/wize-code-review/steps/step-03-triage.md +43 -0
  146. package/src/method-skills/4-implementation/wize-code-review/steps/step-04-present.md +100 -0
  147. package/src/method-skills/4-implementation/wize-code-review/workflow.md +54 -12
  148. package/src/method-skills/4-implementation/wize-correct-course/workflow.md +93 -0
  149. package/src/method-skills/4-implementation/wize-create-story/workflow.md +154 -10
  150. package/src/method-skills/4-implementation/wize-dev-story/workflow.md +185 -17
  151. package/src/method-skills/4-implementation/wize-investigate/workflow.md +123 -0
  152. package/src/method-skills/4-implementation/wize-quick-dev/workflow.md +136 -18
  153. package/src/method-skills/4-implementation/wize-release/workflow.md +162 -0
  154. package/src/method-skills/4-implementation/wize-retrospective/workflow.md +114 -10
  155. package/src/method-skills/4-implementation/wize-sprint-planning/workflow.md +78 -11
  156. package/src/method-skills/4-implementation/wize-sprint-status/workflow.md +45 -11
  157. package/src/method-skills/module.yaml +28 -0
  158. package/src/orchestrator-skills/module.yaml +7 -1
  159. package/src/orchestrator-skills/wize/skill.md +164 -0
  160. package/src/orchestrator-skills/wize-check/skill.md +98 -0
  161. package/src/orchestrator-skills/wize-help/skill.md +227 -67
  162. package/src/orchestrator-skills/wize-onboarding/workflow.md +78 -14
  163. package/src/orchestrator-skills/wize-orchestrator/agent.yaml +2 -0
  164. package/src/orchestrator-skills/wize-orchestrator/persona.md +44 -3
  165. package/src/orchestrator-skills/wize-party-mode/workflow.md +2 -0
  166. package/src/security-overlay/_shared/allowlist.js +154 -0
  167. package/src/security-overlay/_shared/backlog.js +169 -0
  168. package/src/security-overlay/_shared/cli-runner.js +87 -0
  169. package/src/security-overlay/_shared/cvss.js +108 -0
  170. package/src/security-overlay/_shared/detect.js +125 -0
  171. package/src/security-overlay/_shared/install-script.js +205 -0
  172. package/src/security-overlay/_shared/invoke-phase.js +86 -0
  173. package/src/security-overlay/_shared/owasp.js +56 -0
  174. package/src/security-overlay/_shared/partial.js +225 -0
  175. package/src/security-overlay/_shared/preflight.js +175 -0
  176. package/src/security-overlay/_shared/scope-gate.js +172 -0
  177. package/src/security-overlay/_shared/scope-parser.js +147 -0
  178. package/src/security-overlay/agents/red-teamer/agent.yaml +54 -0
  179. package/src/security-overlay/agents/red-teamer/persona.md +49 -0
  180. package/src/security-overlay/data/common.txt +115 -0
  181. package/src/security-overlay/data/owasp-top10.json +15 -0
  182. package/src/security-overlay/data/tool-allowlist.json +31 -0
  183. package/src/security-overlay/skills/wize-sec-enumerate/scripts/run-enumerate.js +180 -0
  184. package/src/security-overlay/skills/wize-sec-enumerate/skill.md +34 -0
  185. package/src/security-overlay/skills/wize-sec-exploit/data/common.txt +117 -0
  186. package/src/security-overlay/skills/wize-sec-exploit/scripts/run-ffuf.js +147 -0
  187. package/src/security-overlay/skills/wize-sec-exploit/scripts/run-nikto.js +145 -0
  188. package/src/security-overlay/skills/wize-sec-exploit/scripts/run-nuclei.js +176 -0
  189. package/src/security-overlay/skills/wize-sec-exploit/scripts/run-sqlmap.js +139 -0
  190. package/src/security-overlay/skills/wize-sec-pentest/scripts/run-pipeline.js +184 -0
  191. package/src/security-overlay/skills/wize-sec-pentest/skill.md +54 -0
  192. package/src/security-overlay/skills/wize-sec-recon/scripts/run-gitleaks.js +139 -0
  193. package/src/security-overlay/skills/wize-sec-recon/scripts/run-osv.js +227 -0
  194. package/src/security-overlay/skills/wize-sec-recon/scripts/run-recon.js +162 -0
  195. package/src/security-overlay/skills/wize-sec-recon/skill.md +37 -0
  196. package/src/security-overlay/skills/wize-sec-report/scripts/render-report.js +1033 -0
  197. package/src/security-overlay/skills/wize-sec-scope/scripts/generate-scope.js +106 -0
  198. package/src/security-overlay/skills/wize-sec-scope/skill.md +52 -0
  199. package/src/tea-skills/wize-qa-generate-e2e-tests/workflow.md +121 -0
  200. package/src/tea-skills/wize-tea-design/workflow.md +107 -13
  201. package/src/tea-skills/wize-tea-gate/workflow.md +118 -25
  202. package/src/tea-skills/wize-tea-nfr/workflow.md +107 -14
  203. package/src/tea-skills/wize-tea-review/workflow.md +123 -13
  204. package/src/tea-skills/wize-tea-risk/workflow.md +113 -10
  205. package/src/tea-skills/wize-tea-trace/workflow.md +86 -12
  206. package/src/web-overlay/wize-web-deploy/workflow.md +2 -0
  207. package/src/web-overlay/wize-web-scaffold/workflow.md +2 -0
  208. package/src/web-overlay/wize-web-seo-audit/workflow.md +2 -0
  209. package/tools/installer/baseline.js +133 -0
  210. package/tools/installer/commands/agent.js +197 -0
  211. package/tools/installer/commands/doctor.js +320 -0
  212. package/tools/installer/commands/document-project.js +93 -0
  213. package/tools/installer/commands/sync.js +45 -0
  214. package/tools/installer/commands/update.js +172 -0
  215. package/tools/installer/document-project/batch-scanner.js +93 -0
  216. package/tools/installer/document-project/classify.js +170 -0
  217. package/tools/installer/document-project/modes/deep-dive.js +196 -0
  218. package/tools/installer/document-project/modes/full-rescan.js +15 -0
  219. package/tools/installer/document-project/modes/initial-scan.js +100 -0
  220. package/tools/installer/document-project/modes/quick.js +211 -0
  221. package/tools/installer/document-project/render-index.js +101 -0
  222. package/tools/installer/document-project/state.js +110 -0
  223. package/tools/installer/onboarding.js +14 -20
  224. package/tools/installer/render-shared.js +159 -15
  225. package/tools/installer/setup-helpers.js +1 -0
  226. package/tools/installer/validators/run-all.js +3 -2
  227. package/tools/installer/version-check.js +117 -0
  228. package/tools/installer/wize-cli.js +500 -70
@@ -0,0 +1,39 @@
1
+ # Step 3: Integration Patterns
2
+
3
+ ## Rules
4
+
5
+ - 🌐 Search the web to verify claims.
6
+ - 📝 Write findings to the document immediately.
7
+ - ✅ Speak in `{communication_language}`; write artifacts in `{document_output_language}`.
8
+
9
+ ## Task
10
+
11
+ Analyze integration patterns for {{research_topic}}.
12
+
13
+ ## Execution
14
+
15
+ Search for:
16
+
17
+ - "{{research_topic}} API design patterns"
18
+ - "{{research_topic}} service integration"
19
+ - "{{research_topic}} data integration"
20
+
21
+ Synthesize and append:
22
+
23
+ ```markdown
24
+ ## Integration Patterns
25
+
26
+ ### API Design Patterns
27
+ ...
28
+
29
+ ### Service Integration
30
+ ...
31
+
32
+ ### Data Integration
33
+ ...
34
+
35
+ ### Source Citations
36
+ ...
37
+ ```
38
+
39
+ Update `stepsCompleted: [1, 2, 3]` and load `./technical-steps/step-04-architectural-patterns.md`.
@@ -0,0 +1,39 @@
1
+ # Step 4: Architectural Patterns
2
+
3
+ ## Rules
4
+
5
+ - 🌐 Search the web to verify claims.
6
+ - 📝 Write findings to the document immediately.
7
+ - ✅ Speak in `{communication_language}`; write artifacts in `{document_output_language}`.
8
+
9
+ ## Task
10
+
11
+ Analyze architectural patterns for {{research_topic}}.
12
+
13
+ ## Execution
14
+
15
+ Search for:
16
+
17
+ - "{{research_topic}} system architecture"
18
+ - "{{research_topic}} architectural patterns"
19
+ - "{{research_topic}} scalability patterns"
20
+
21
+ Synthesize and append:
22
+
23
+ ```markdown
24
+ ## Architectural Patterns
25
+
26
+ ### Common Architectural Styles
27
+ ...
28
+
29
+ ### Scalability Patterns
30
+ ...
31
+
32
+ ### Security Patterns
33
+ ...
34
+
35
+ ### Source Citations
36
+ ...
37
+ ```
38
+
39
+ Update `stepsCompleted: [1, 2, 3, 4]` and load `./technical-steps/step-05-implementation-research.md`.
@@ -0,0 +1,42 @@
1
+ # Step 5: Implementation Research
2
+
3
+ ## Rules
4
+
5
+ - 🌐 Search the web to verify claims.
6
+ - 📝 Write findings to the document immediately.
7
+ - ✅ Speak in `{communication_language}`; write artifacts in `{document_output_language}`.
8
+
9
+ ## Task
10
+
11
+ Research implementation approaches and best practices for {{research_topic}}.
12
+
13
+ ## Execution
14
+
15
+ Search for:
16
+
17
+ - "{{research_topic}} best practices"
18
+ - "{{research_topic}} implementation guide"
19
+ - "{{research_topic}} production readiness"
20
+
21
+ Synthesize and append:
22
+
23
+ ```markdown
24
+ ## Implementation Research
25
+
26
+ ### Development Methodologies
27
+ ...
28
+
29
+ ### Code Organization
30
+ ...
31
+
32
+ ### Quality Assurance
33
+ ...
34
+
35
+ ### Deployment Practices
36
+ ...
37
+
38
+ ### Source Citations
39
+ ...
40
+ ```
41
+
42
+ Update `stepsCompleted: [1, 2, 3, 4, 5]` and load `./technical-steps/step-06-research-synthesis.md`.
@@ -0,0 +1,46 @@
1
+ # Step 6: Technical Research Synthesis and Completion
2
+
3
+ ## Rules
4
+
5
+ - 🌐 Search the web to verify claims.
6
+ - 📝 Replace the Research Overview placeholder and append synthesis.
7
+ - ✅ Speak in `{communication_language}`; write artifacts in `{document_output_language}`.
8
+
9
+ ## Task
10
+
11
+ Produce the final technical research synthesis.
12
+
13
+ ## Execution
14
+
15
+ Replace `[Research overview and methodology will be appended here.]` with a concise summary.
16
+
17
+ Append:
18
+
19
+ ```markdown
20
+ ## Research Synthesis
21
+
22
+ ### Key Findings
23
+ 1. ...
24
+ 2. ...
25
+
26
+ ### Recommended Stack / Pattern
27
+ ...
28
+
29
+ ### Trade-offs
30
+ ...
31
+
32
+ ### Risks and Mitigations
33
+ ...
34
+
35
+ ### Still Open
36
+ - ...
37
+
38
+ ### Sources
39
+ ...
40
+ ```
41
+
42
+ Update frontmatter `stepsCompleted: [1, 2, 3, 4, 5, 6]` and `status: complete`.
43
+
44
+ ## On complete
45
+
46
+ Run `{workflow.on_complete}` if non-empty.
@@ -0,0 +1,60 @@
1
+ ---
2
+ code: wize-technical-research
3
+ name: Technical Research
4
+ phase: 1-analysis
5
+ owner: wize-agent-analyst # Pepper Potts
6
+ status: ready
7
+ description: "Use quando precisar pesquisar tecnologias, stacks, bibliotecas ou decisões técnicas."
8
+ ---
9
+
10
+ > **Variante de pesquisa.** Para outros tipos de pesquisa, veja:
11
+ > - Mercado/concorrência → `/wize-market-research`
12
+ > - Domínio/indústria → `/wize-domain-research`
13
+ > - Técnica/stack → `/wize-technical-research`
14
+ > - Pesquisa geral (dispatcher) → `/wize-research`
15
+
16
+ # Technical Research
17
+
18
+ **Goal.** Conduct technical research on technologies, tools, and architecture patterns to inform stack decisions.
19
+
20
+ Pepper Potts drives. Tony Stark consumes the output directly. Peggy Carter edits prose.
21
+
22
+ Output lands in `.wize/planning/research/technical-{slug}-research-{date}.md`.
23
+
24
+ ## When to use
25
+
26
+ - "Should we use X or Y?"
27
+ - "What is the current state of Z technology?"
28
+ - "I need a technical comparison of..."
29
+
30
+ ## Inputs
31
+
32
+ - Open questions from `.wize/planning/brief.md` or `.wize/planning/tech-vision.md`
33
+ - User-provided technology or architectural topic
34
+ - Web search access
35
+
36
+ ## Outputs
37
+
38
+ - `.wize/planning/research/technical-{slug}-research-{date}.md`
39
+
40
+ ## Workflow architecture
41
+
42
+ Step-file architecture with six steps:
43
+
44
+ 1. Scope confirmation
45
+ 2. Technical overview
46
+ 3. Integration patterns
47
+ 4. Architectural patterns
48
+ 5. Implementation research
49
+ 6. Research synthesis
50
+
51
+ ## On activation
52
+
53
+ 1. Load `.wize/config/project.toml` and `.wize/config/user.toml`.
54
+ 2. Ask for the technical topic if not provided.
55
+ 3. Derive `{research_topic_slug}` and create the output file from `research.template.md`.
56
+ 4. Read fully and follow `./technical-steps/step-01-init.md`.
57
+
58
+ ## Hand-off
59
+
60
+ > Technical research is in `.wize/planning/research/`. Fury and Tony can use it for stack family decisions; open questions route back to Wizer.
@@ -1,20 +1,26 @@
1
1
  ---
2
+
2
3
  code: wize-trigger-map
4
+ description: "Use quando precisar mapear gatilhos psicológicos dos usuários para objetivos de negócio — a ponte entre o brief e o PRD."
3
5
  name: Trigger Map
4
6
  phase: 1-analysis
5
7
  owner: wize-agent-analyst # Pepper Potts
6
8
  absorbs: "WDS Saga — Phase 2 (Trigger Mapping)"
7
- status: stub
9
+ status: ready
8
10
  ---
9
11
 
10
12
  # Trigger Map
11
13
 
12
- **Goal.** Map user psychology to business goals. For each user action we want to drive, identify the **trigger** (need/anxiety/desire) and the **business outcome** it unlocks.
14
+ **Goal.** Map user psychology to business goals. For each user action the product wants to drive, name the **trigger** (the need/anxiety/desire that precedes it), the **friction** that blocks it today, the **business outcome** unlocked, and the **signal** that confirms it happened.
15
+
16
+ This is the bridge between Pepper's brief and Maria Hill's PRD: it forces the team to argue *why* users would do the thing before *what* the team will build.
17
+
18
+ Pepper drives. Output lands in `.wize/planning/ux/trigger-map.md`.
13
19
 
14
20
  ## Inputs
15
21
 
16
- - `.wize/planning/brief.md`
17
- - `.wize/planning/research.md` (if exists)
22
+ - `.wize/planning/brief.md` (vision + audience + success criteria).
23
+ - `.wize/planning/research.md` (when present — strengthens triggers with evidence).
18
24
 
19
25
  ## Outputs
20
26
 
@@ -22,19 +28,79 @@ status: stub
22
28
 
23
29
  ## Steps
24
30
 
25
- 1. **List target user actions.** From the brief, list the 3–8 actions we want users to take.
26
- 2. **For each action**, fill the row:
27
- - **Trigger** — what state of mind/need precedes this action?
28
- - **Friction** — what stops users from doing it today?
29
- - **Business outcome** — what changes for the business when this action happens?
30
- - **Signal** — what telemetry/event proves it happened?
31
- 3. **Validate.** Cite research or mark `hypothesis`.
32
- 4. **Hand off to Mantis** for UX Scenarios.
31
+ ### 1. List target user actions
32
+
33
+ From the brief, list **3–8 actions** users must take for the product to succeed. Verb-led. Concrete.
34
+
35
+ - ✓ "Sign up using a work email."
36
+ - ✓ "Add a teammate."
37
+ - ✓ "Confirm the first invoice."
38
+ - ✗ "Get value." (too abstract)
39
+
40
+ If you have more than 8, you're conflating products. Trim.
41
+
42
+ ### 2. Per row: trigger / friction / business outcome / signal
43
+
44
+ For each action, fill four cells. Each cell ≤ 1 sentence.
45
+
46
+ | Field | What goes here |
47
+ |---|---|
48
+ | **Trigger** | The mental state preceding the action. *Need / anxiety / desire.* What makes the user think "I need to do this now"? |
49
+ | **Friction** | The cost of doing it today (in the current workaround or competitor). What stops them? |
50
+ | **Business outcome** | What changes for the business when this action happens. Revenue, retention, cost, NPS, risk reduction. |
51
+ | **Signal** | The telemetry event/state-change proving it happened. Name it like an event (`signup_succeeded`), not a phrase ("user signs up"). |
52
+
53
+ ### 3. Mark each row evidence-backed or hypothesis
54
+
55
+ Every cell must be tagged:
56
+
57
+ - `evidence:<source>` — when based on an interview, survey, analytics or a citable doc.
58
+ - `hypothesis` — when we believe it but haven't proven it.
59
+
60
+ Hypotheses are fine. Hidden hypotheses are not. Force the label.
61
+
62
+ ### 4. Wire to success criteria
33
63
 
34
- ## Trigger Map template
64
+ For each of Pepper's success criteria in the brief, identify **which row of the map is the load-bearing one**. If a criterion has no row mapped to it, either it's not a real success criterion or the map is missing an action.
65
+
66
+ ### 5. Hand off
67
+
68
+ Mark `status: ready-for-prd`. Tell Wizer the next step is Maria Hill.
69
+
70
+ ## Output template
35
71
 
36
72
  ```markdown
37
- | Action | Trigger | Friction | Business outcome | Signal | Evidence |
38
- |---|---|---|---|---|---|
39
- | … | … | … | … | … | research:/hypothesis |
73
+ ---
74
+ status: ready-for-prd | draft
75
+ owner: Pepper Potts
76
+ created: YYYY-MM-DD
77
+ ---
78
+
79
+ # Trigger Map — {{project_name}}
80
+
81
+ ## Actions
82
+
83
+ | # | Action | Trigger | Friction | Business outcome | Signal | Evidence |
84
+ |---|---|---|---|---|---|---|
85
+ | 1 | Sign up with work email | "We need a tool we can hand to the team next week." | Existing tool requires manual SSO; we want self-serve. | New paid-team conversion. | `signup_completed` | research:user-interview-2026-04 |
86
+ | 2 | Invite first teammate | Won't move forward solo. | Email + reminder loops cost manager 10min. | Activation. | `teammate_invited` | hypothesis |
87
+ | … | … | … | … | … | … | … |
88
+
89
+ ## Coverage of brief success criteria
90
+
91
+ - **Criterion 1** ("TTI ≤ 1.5s on Android by Q3") → covered by row 4 (`page_loaded`).
92
+ - **Criterion 2** ("…") → covered by row 1.
93
+ - …
40
94
  ```
95
+
96
+ ## Anti-patterns Pepper rejects
97
+
98
+ - **Triggers written as features.** "Wants the dashboard." Wrong layer. Reword to the emotion/need: "Wants to know if the team is okay."
99
+ - **Friction in vague language.** "It's confusing." Wrong. Name the step that breaks: "After invite, no email arrives for 4 hours."
100
+ - **Business outcomes with no metric.** "Drives engagement." Wrong. "Reduces churn by ≥ 1pp in cohort C." If you can't measure it, it's not an outcome — it's a hope.
101
+ - **Signals that fire on intent, not completion.** `signup_button_clicked` is intent. `signup_completed` is the signal.
102
+ - **Same row repeated for two actions.** Each row must justify a distinct action. If you can collapse them, do it.
103
+
104
+ ## Hand-off
105
+
106
+ > Trigger map is in `.wize/planning/ux/trigger-map.md`. Hill, the PRD goals should anchor on rows 1, 3, and 5 — they map to the success criteria in the brief.
@@ -1,57 +1,169 @@
1
1
  ---
2
+
2
3
  code: wize-create-prd
4
+ description: "Use quando o brief + research + trigger map estiverem prontos e precisar convertê-los em um PRD com escopo e acceptance criteria."
3
5
  name: Create PRD
4
6
  phase: 2-plan
5
7
  owner: wize-agent-pm # Maria Hill
6
- status: stub
8
+ status: ready
7
9
  ---
8
10
 
9
11
  # Create PRD
10
12
 
11
- **Goal.** Turn brief + research + trigger-map into a Product Requirements Document the team can build from.
13
+ **Goal.** Turn brief + research + trigger map into a Product Requirements Document the team can build from. The PRD names *what* and *why* with measurable boundaries. Mantis, Fury, Tony will read it. Shuri ships against the acceptance criteria.
14
+
15
+ Maria Hill drives. Peggy edits prose. Output lands in `.wize/planning/prd.md`.
16
+
17
+ Before drafting: if goals, scope, or ACs would need guessing beyond what the brief + trigger map answer, offer a `wize-grill` pass with the user first — decisions land in the PRD fields, leftovers in *Open questions*. Don't guess scope; ask.
12
18
 
13
19
  ## Inputs
14
- - `.wize/planning/brief.md`
15
- - `.wize/planning/research.md`
16
- - `.wize/planning/ux/trigger-map.md`
20
+
21
+ - `.wize/planning/brief.md` (vision, audience, success criteria).
22
+ - `.wize/planning/research.md` (when present).
23
+ - `.wize/planning/ux/trigger-map.md` (every PRD goal references rows of this map).
24
+ - `.wize/planning/prfaq.md` (when present — PRD scope mirrors FAQ Q5 "what's in/out").
17
25
 
18
26
  ## Outputs
27
+
19
28
  - `.wize/planning/prd.md`
29
+ - `.wize/solutioning/epics/` — coarse epic outlines Tony refines later.
20
30
 
21
31
  ## Steps
22
- 1. **Goals.** Pull the success criteria from the brief; restate as PRD goals.
23
- 2. **Scope (in / out).** Explicit list of in-scope and out-of-scope items.
24
- 3. **User stories backbone.** "As a … I want … so that …" — coarse, will be sliced by Tony.
25
- 4. **Acceptance criteria per scope item.** Each scope item gets ACs Hawkeye can test.
26
- 5. **Constraints + assumptions.** From brief and Fury (if Fury has run already).
27
- 6. **Open questions.** Owners assigned.
28
- 7. **Hand-off.** Trigger Mantis to start UX scenarios.
29
32
 
30
- ## PRD template
33
+ ### 1. Goals (3–5)
34
+
35
+ Pull the success criteria from the brief; restate as PRD goals. Each goal is:
36
+ - One sentence.
37
+ - Measurable (named metric + target + deadline).
38
+ - Tied to a trigger-map row.
39
+
40
+ Example: *"Reduce signup time from 3.5min to 1min by Q3 (signal: `signup_completed` median; row 1)."*
41
+
42
+ ### 2. Scope — in / out (explicit)
43
+
44
+ | In | Out (for now) |
45
+ |---|---|
46
+ | First-team signup flow | Multi-team admin roles |
47
+ | Self-serve invite | SSO via SAML |
48
+ | English (US) | Other locales |
49
+
50
+ If a stakeholder asked for it and it isn't here, they will ask again at gate review. Put their item in **Out** with a one-line reason, not silence.
51
+
52
+ ### 3. User stories backbone
53
+
54
+ Coarse stories that map to scope items. "As a {role}, I want to {action}, so that {outcome}." Each story will be sliced finer by Tony in `wize-create-epics-and-stories`.
55
+
56
+ Use the trigger-map rows as backbone:
57
+ - Row 1 (Sign up) → "As a team admin, I want to sign up with my work email, so that I can invite my team within 5 minutes."
58
+
59
+ ### 4. Acceptance criteria per scope item
60
+
61
+ For every In-scope item, write 3–7 ACs Hawkeye can test.
62
+
63
+ Format: `Given … When … Then …` or a numbered behavioral list.
64
+
65
+ ACs are **observable**. ✓ "If the user enters an invalid email, the input shows error text within 200ms." ✗ "The form validates emails correctly."
66
+
67
+ Each AC gets an ID: `AC-{epic}-{n}`. Hawkeye references these in `tea-trace.md`.
68
+
69
+ ### 5. Constraints + assumptions
70
+
71
+ Pull constraints from the brief. Add:
72
+ - **Assumptions** that, if wrong, change scope.
73
+ - **Dependencies** on other teams/services with name + deadline.
74
+
75
+ Each assumption is one line + verification plan. *"Assumption: Stripe Connect onboarding average 7 days. Verification: confirm with Stripe by 2026-07-01."*
76
+
77
+ ### 6. NFR pointer
78
+
79
+ Don't redefine NFRs in the PRD. Reference `.wize/planning/nfr-principles.md` (Fury's) once. Note any project-specific tightening.
80
+
81
+ ### 7. Open questions
82
+
83
+ What still needs deciding before solutioning starts. Each with an owner + deadline. Blockers can't carry into Phase 3.
84
+
85
+ ### 8. Hand off
86
+
87
+ - Mark `status: ready-for-validation`.
88
+ - Run `wize-validate-prd` (Maria Hill + Mantis + Fury sign-off).
89
+ - Then Mantis starts `wize-ux-scenarios`.
90
+
91
+ ## Output template
31
92
 
32
93
  ```markdown
94
+ ---
95
+ status: draft | ready-for-validation | validated
96
+ owner: Maria Hill
97
+ created: YYYY-MM-DD
98
+ ---
99
+
33
100
  # PRD — {{project_name}}
34
101
 
35
102
  ## Goals
36
- 1. …
103
+ 1. {{goal}} (metric: …, target: …, deadline: …, trigger-map row: …)
104
+ 2. …
37
105
 
38
106
  ## Scope
107
+
39
108
  ### In scope
40
- - …
109
+ - {{item}} — {{2–3 lines of detail}}
110
+
41
111
  ### Out of scope
42
- - …
112
+ - {{item}} — {{one-line reason: not now / not us / not yet}}
43
113
 
44
- ## Backbone (user stories)
45
- - …
114
+ ## Backbone (coarse stories)
115
+ - E01: As a {{role}}, I want to {{action}}, so that {{outcome}}.
116
+ - E02: …
46
117
 
47
118
  ## Acceptance criteria
48
- | Item | ACs |
49
- |---|---|
50
- | … | AC1 …; AC2 … |
51
119
 
52
- ## Constraints / assumptions
120
+ ### E01 — Sign-up
121
+ - **AC-01-1:** Given a new visitor on `/signup`, When they submit a valid work email + password, Then an account is created and they land on `/onboarding` within 1.5s.
122
+ - **AC-01-2:** Given an invalid email, When the user blurs the field, Then error text appears within 200ms identifying which rule failed.
123
+ - **AC-01-3:** Given a duplicate email, When the user submits, Then they see a "Sign in instead?" CTA and the request returns HTTP 409.
53
124
  - …
54
125
 
126
+ ## Constraints
127
+ - Deadline: …
128
+ - Budget: …
129
+ - Compliance: GDPR, LGPD, SOC2.
130
+
131
+ ## Assumptions
132
+ - Stripe Connect onboarding ≤ 7 days avg. — verify by …
133
+ - Auth0 free tier sufficient for first 6 months. — verify by …
134
+
135
+ ## Dependencies
136
+ - Design system tokens from Mantis by {{date}}.
137
+ - Database from infra team by {{date}}.
138
+
139
+ ## NFR pointer
140
+ See `.wize/planning/nfr-principles.md`. Project tightening: p95 LCP ≤ 2.0s (vs. global 2.5s) on signup pages.
141
+
55
142
  ## Open questions
56
- - [ ] … (owner: …)
143
+ - [ ] (blocker) Pricing tier exposed pre-payment? — *owner: NAME, by: DATE*
144
+ - [ ] (important) Brazil-only beta or global launch? — *owner: NAME, by: DATE*
57
145
  ```
146
+
147
+ ## INVEST checklist (per AC group)
148
+
149
+ Maria Hill validates every story's ACs against INVEST:
150
+
151
+ - **I**ndependent: no implicit dependency on another story being built first.
152
+ - **N**egotiable: details can move; intent can't.
153
+ - **V**aluable: a real outcome to a real user.
154
+ - **S**mall: ≤ 1 PR worth (sliced finer in Phase 3 if not) — the only sizing test. INVEST's "Estimable" is dropped on purpose: we don't produce time or point estimates.
155
+ - **T**estable: every AC is observable.
156
+
157
+ If any letter fails, fix the story before it leaves Plan.
158
+
159
+ ## Anti-patterns Maria Hill rejects
160
+
161
+ - **PRD as wishlist.** Pages of "the system shall…" with no Out-of-Scope. Force the cut.
162
+ - **ACs as descriptions.** "The form is responsive." → no. *"At 360px, the form fits in the viewport with no horizontal scroll."*
163
+ - **Open questions with no owner / no deadline.** They never get answered.
164
+ - **Constraint hidden in prose.** Pull to its own bullet.
165
+ - **PRD without a version + status.** Reviewers can't tell what they're reviewing.
166
+
167
+ ## Hand-off
168
+
169
+ > PRD draft is at `.wize/planning/prd.md`. Two open blockers; CEO and Sales Lead have until Friday. Mantis — once we're `validated`, you start with the trigger map + PRD. Fury — your call on stack family.
@@ -0,0 +1,110 @@
1
+ ---
2
+
3
+ code: wize-edit-prd
4
+ description: "Use quando o PRD existir e precisar de alteração pontual com registro de changelog."
5
+ name: Edit PRD
6
+ phase: 2-plan
7
+ owner: wize-agent-pm # Maria Hill
8
+ status: ready
9
+ ---
10
+
11
+ # Edit PRD
12
+
13
+ **Goal.** Update `.wize/planning/prd.md` without rewriting from scratch. Every change is recorded in `.wize/planning/prd-changelog.md` so the team can see *what* changed, *when*, *why*, and *by whom*.
14
+
15
+ Maria Hill drives. Peggy polishes prose on the diff. Wizer is on call for cross-cutting impacts (architecture, NFR, scope).
16
+
17
+ ## When to run
18
+
19
+ - A new AC is needed (new requirement from the user, market shift, regulator).
20
+ - An AC is no longer correct (validated learning, scoping mistake).
21
+ - An item moves in-scope ↔ out-of-scope.
22
+ - A non-goal is added or removed.
23
+ - A new decision is made that affects the PRD (e.g., cut a feature).
24
+
25
+ ## When NOT to run
26
+
27
+ - Rewriting the PRD from scratch → use `/wize-create-prd`.
28
+ - Validating the PRD → use `/wize-validate-prd`.
29
+
30
+ ## Inputs
31
+
32
+ - `.wize/planning/prd.md` (current)
33
+ - A free-form change request from the user.
34
+
35
+ ## Output
36
+
37
+ - Updated `.wize/planning/prd.md`.
38
+ - New row in `.wize/planning/prd-changelog.md` (one row per change).
39
+
40
+ ## Steps
41
+
42
+ ### 1. Read the current PRD
43
+
44
+ Parse the PRD frontmatter (`status`, `owner`, `created`, `last_updated`) and the body. Confirm the change is in scope of "edit" (not a rewrite). If the change touches > 25% of the PRD, route to `/wize-create-prd` instead.
45
+
46
+ ### 2. Classify the edit
47
+
48
+ Pick exactly one type:
49
+
50
+ - **A** — Add or change an AC.
51
+ - **B** — Move item in-scope ↔ out-of-scope.
52
+ - **C** — Add or remove a non-goal.
53
+ - **D** — Register a decision that affects the PRD (link to ADR or sprint decision).
54
+
55
+ One edit per run. Re-run for additional edits.
56
+
57
+ ### 3. Apply the edit
58
+
59
+ Make the change in `prd.md`. Mark the changed section with a trailing note: `(edited 2026-06-15, see changelog row 4)`.
60
+
61
+ Update frontmatter: `last_updated` to today; `status` stays the same (only `/wize-validate-prd` flips it to `validated`).
62
+
63
+ ### 4. Append to changelog
64
+
65
+ Add a row to `prd-changelog.md`:
66
+
67
+ ```markdown
68
+ | Date | Type | Section | Change | Author |
69
+ |---|---|---|---|---|
70
+ | 2026-06-15 | A | AC-04-2 | Added: "rate limit per team" | Hill |
71
+ | 2026-06-15 | B | Out of scope | Removed "bulk invite" (now in scope per E04-S02) | Hill |
72
+ ```
73
+
74
+ ### 5. Cross-cutting check
75
+
76
+ Wizer flags any downstream impact:
77
+
78
+ - New AC → check that the epic + stories covering it exist. If not, route to `/wize-create-epics-and-stories`.
79
+ - New non-goal → check that no in-flight story assumes the opposite. If yes, flag the story.
80
+ - In-scope move → trigger a fresh `/wize-sprint-planning` consideration.
81
+
82
+ ### 6. Hand off
83
+
84
+ Notify the next workflow:
85
+
86
+ - If AC changed → `/wize-validate-prd` to confirm consistency.
87
+ - If epic + stories need refresh → `/wize-create-epics-and-stories`.
88
+ - If sprint needs re-prioritization → `/wize-sprint-planning`.
89
+
90
+ ## Output template — `prd-changelog.md`
91
+
92
+ ```markdown
93
+ # PRD changelog
94
+
95
+ | # | Date | Type | Section | Change | Author |
96
+ |---|---|---|---|---|---|
97
+ | 1 | 2026-06-15 | A | AC-04-2 | Added: "rate limit per team" | Hill |
98
+ | 2 | 2026-06-15 | B | Out of scope | Removed "bulk invite" | Hill |
99
+ ```
100
+
101
+ ## Anti-patterns Hill rejects
102
+
103
+ - Editing the PRD without recording the change in the changelog. (Source-of-truth drift.)
104
+ - Bundling 4 edits in one run. (One edit per run keeps blame clean.)
105
+ - Editing the PRD without checking downstream impact. (Wizer’s cross-cutting step is mandatory.)
106
+ - Re-running `/wize-create-prd` to "keep things tidy." The changelog exists for that.
107
+
108
+ ## Hand-off
109
+
110
+ > "PRD updated at `.wize/planning/prd.md`. Changelog row N appended. Next: `/wize-validate-prd` (re-validate) or `/wize-create-epics-and-stories` (refresh stories)."