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,66 +0,0 @@
1
- ---
2
- code: wize-market-research
3
- name: Market Research
4
- phase: 1-analysis
5
- owner: wize-agent-analyst # Pepper Potts
6
- status: ready
7
- description: "Use quando precisar pesquisar mercado, concorrentes, tendências ou posicionamento."
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
- # Market Research
17
-
18
- **Goal.** Conduct market research on competition and customers to inform the product brief and PRD.
19
-
20
- Pepper Potts drives. Peggy Carter edits prose. Output lands in `.wize/planning/research/market-{slug}-research-{date}.md`.
21
-
22
- ## When to use
23
-
24
- - "I need market research on..."
25
- - "Who are the competitors?"
26
- - "What do customers actually want?"
27
-
28
- ## Inputs
29
-
30
- - Open questions from `.wize/planning/brief.md`
31
- - User-provided topic or problem area
32
- - Web search access
33
-
34
- ## Outputs
35
-
36
- - `.wize/planning/research/market-{slug}-research-{date}.md`
37
-
38
- ## Workflow architecture
39
-
40
- This skill uses **step-file architecture**:
41
-
42
- - Six steps, each self-contained.
43
- - Sequential progression with user control.
44
- - Document state tracked in frontmatter (`stepsCompleted`).
45
-
46
- ## On activation
47
-
48
- 1. Load `.wize/config/project.toml` and `.wize/config/user.toml`.
49
- 2. Resolve language settings and output paths.
50
- 3. Greet the user in `communication_language`.
51
- 4. Ask for the market research topic if not provided.
52
- 5. Derive `{research_topic_slug}` and create the output file from `research.template.md`.
53
- 6. Read fully and follow `./steps/step-01-init.md`.
54
-
55
- ## Steps
56
-
57
- 1. `step-01-init.md` — confirm scope.
58
- 2. `step-02-customer-behavior.md` — analyze customer behavior.
59
- 3. `step-03-customer-pain-points.md` — identify pain points.
60
- 4. `step-04-customer-decisions.md` — map purchase/journey decisions.
61
- 5. `step-05-competitive-analysis.md` — analyze competitors.
62
- 6. `step-06-research-completion.md` — synthesize and complete.
63
-
64
- ## Hand-off
65
-
66
- > Market research document is in `.wize/planning/research/`. Hill can quote the findings in the PRD; open questions route back to Wizer.
@@ -1,129 +0,0 @@
1
- ---
2
-
3
- code: wize-refresh-knowledge
4
- description: "Use quando o document-project acumulou bullets datados durante o sprint e precisar ser consolidado em uma baseline atualizada."
5
- name: Refresh Project Knowledge
6
- phase: 1-analysis
7
- owner: wize-agent-analyst # Pepper (drives), with Peggy on prose
8
- status: ready
9
- ---
10
-
11
- # Refresh Project Knowledge
12
-
13
- **Goal.** Consolidate the dated bullets added to `document-project/*.md` over the sprint (via `wize-dev-story` step 8 and `wize-quick-dev` step 5) into a coherent, narrated, current-state baseline. Keep what's still true; demote what's outdated; archive what's no longer relevant.
14
-
15
- This is the workflow that **keeps `document-project` honest over months**, instead of letting it stale within a sprint.
16
-
17
- Pepper drives the consolidation. Peggy edits prose. Tony reviews architecture-snapshot changes. Hawkeye reviews risk-spots changes.
18
-
19
- ## When to run
20
-
21
- - **End of sprint** (default cadence). `/wize next` (or `/wize-help next`) suggests it when it detects the sprint ended.
22
- - **After a major epic ships.** Architecture often shifts visibly; this is the moment to consolidate.
23
- - **Before onboarding a new engineer.** The baseline is the first thing they read; keep it fresh.
24
- - **Before an audit / external review.** Same.
25
-
26
- Don't run after every story — that's why each story already does its own inline update. This is the *periodic narration pass*.
27
-
28
- ## Inputs
29
-
30
- - `.wize/knowledge/document-project/{overview,architecture-snapshot,conventions,dependencies,risk-spots,open-questions}.md`
31
- - `.wize/implementation/tea/**/gate.md` from this sprint (look for `KN-NN` findings — they flag where the baseline got out of sync).
32
- - Git log of the sprint window (`git log --since="<sprint-start>" --until="<sprint-end>"`).
33
- - `.wize/implementation/sprint-status.md` (latest sprint block).
34
-
35
- ## Outputs
36
-
37
- - Updated `.wize/knowledge/document-project/*.md` (in place).
38
- - `.wize/knowledge/document-project/_history/{YYYY-Qn}/{sprint-N}.md` — sprint-scoped snapshot (frozen).
39
- - Optional new entries appended to `open-questions.md`.
40
-
41
- ## Steps
42
-
43
- ### 1. Collect the inline notes
44
-
45
- For each of the 5 axes, list every dated bullet added since the previous refresh (or since the baseline was created). They look like:
46
-
47
- ```
48
- ## 2026-06-12 — E01-S03
49
- - Conventions: `data-testid="invite-*"` published as public contract.
50
- - Risk: R-1 (mailer) mitigation confirmed.
51
- ```
52
-
53
- Pepper extracts them by axis.
54
-
55
- ### 2. Narrate, don't list
56
-
57
- For each axis, write a short paragraph that **integrates** the new bullets into the surrounding context. The bullets disappear; the prose grows. Each axis remains a single coherent file — not a chronological log.
58
-
59
- Example for `conventions.md` before refresh:
60
-
61
- ```markdown
62
- ## Tests
63
- Co-located with the file under test. `.spec.ts` for unit; `.e2e.ts` for end-to-end.
64
- ```
65
-
66
- After refresh integrating an inline note "data-testid='invite-*' is a public contract":
67
-
68
- ```markdown
69
- ## Tests
70
- Co-located with the file under test. `.spec.ts` for unit; `.e2e.ts` for end-to-end. Test IDs follow the `data-testid="{feature}-{element}"` convention and are treated as a **public contract** — renaming one is a breaking change for end-to-end tests; ping Hawkeye before changing.
71
- ```
72
-
73
- ### 3. Demote what's outdated
74
-
75
- If a previous claim no longer holds (a service was retired, a convention was replaced), don't delete silently. Move it to a "Deprecated" section at the bottom of the file with the date it was replaced and the new pattern. Future readers need the breadcrumb.
76
-
77
- ### 4. Archive a sprint snapshot
78
-
79
- Freeze the *current* state into `_history/{YYYY-Qn}/sprint-{N}.md`. This file is read-only after creation. Six months from now, when someone asks "when did we change the test-id convention?", the answer is in `_history/`.
80
-
81
- ### 5. Open questions sweep
82
-
83
- Pull any `KN-NN` findings that weren't resolved (the gap was acknowledged but the doc still wasn't updated) and copy them as `open-questions.md` entries with owners.
84
-
85
- ### 6. Diff narrative
86
-
87
- Append a one-paragraph summary to the bottom of each updated file:
88
-
89
- ```markdown
90
- ## Last refresh: 2026-06-25 (Sprint 7)
91
- - Architecture: 2 new components documented (`<InviteForm>`, `<TeamList>`); ADR-008 anchored in the auth section.
92
- - Conventions: test-id public contract documented; eslint plugin added (commit 7a3d2f).
93
- - Risk-spots: R-1 (mailer) closed; R-7 (rate limiter) added.
94
- - Dependencies: bumped zod, drizzle, expo (notes in dependencies.md).
95
- - Overview: unchanged; no new top-level feature in this sprint.
96
- ```
97
-
98
- ### 7. Hand off
99
-
100
- - All updated docs flip frontmatter `last_refreshed: YYYY-MM-DD`.
101
- - Wizer announces in `sprint-status.md`: *"Knowledge refresh done; baseline current."*
102
- - Maria Hill carries this into the retrospective: was the refresh smooth, or did the team accumulate too many KN findings?
103
-
104
- ## Frontmatter convention for `document-project/*.md`
105
-
106
- Each baseline file ships with:
107
-
108
- ```yaml
109
- ---
110
- status: baseline
111
- owner: Pepper + Peggy
112
- created: 2026-04-02
113
- last_refreshed: 2026-06-25
114
- sampled: "wkly + sprint refresh"
115
- ---
116
- ```
117
-
118
- `last_refreshed` tells the next reader how much to trust the file vs read the more recent inline notes from `_history/`.
119
-
120
- ## Anti-patterns Pepper rejects
121
-
122
- - **Refreshing into a chronological log.** That defeats narration; if a new dev opens `conventions.md` and sees 47 dated bullets, they can't form a mental model. Narrate.
123
- - **Refresh without reading the gate findings.** `KN-NN` findings are exactly the gaps you should be patching here; ignoring them recreates the original problem.
124
- - **Refresh every sprint regardless of activity.** If the sprint touched zero axes (rare but possible — a sprint of pure UI polish), say so in the diff narrative and skip the bulk of the work.
125
- - **Demotion without breadcrumb.** Future readers need the trail.
126
-
127
- ## Hand-off
128
-
129
- > Knowledge refresh for Sprint 7 done. Baseline current; 1 historical snapshot frozen at `_history/2026-Q2/sprint-7.md`. KN-01 closed, KN-03 still open (deferred to S8 — assigned to Aaliyah).
@@ -1,14 +0,0 @@
1
- # Wize Dev Kit — overrides for the built-in workflow "wize-technical-research".
2
- # DO NOT EDIT in the installed kit; copy to .wize/custom/workflows/wize-technical-research/
3
- # for project-level overrides.
4
-
5
- [workflow]
6
-
7
- activation_steps_prepend = []
8
- activation_steps_append = []
9
-
10
- persistent_facts = [
11
- "file:{project-root}/.wize/planning/brief.md",
12
- ]
13
-
14
- on_complete = ""
@@ -1,31 +0,0 @@
1
- ---
2
- research_type: technical
3
- research_topic: "{{research_topic}}"
4
- research_goals: "{{research_goals}}"
5
- status: in-progress
6
- stepsCompleted: []
7
- owner: Pepper Potts
8
- created: "{{date}}"
9
- ---
10
-
11
- # Technical Research — {{research_topic}}
12
-
13
- ## Research Overview
14
-
15
- [Research overview and methodology will be appended here.]
16
-
17
- ## Scope Confirmation
18
-
19
- ## Technology Stack Analysis
20
-
21
- ## Integration Patterns
22
-
23
- ## Architectural Patterns
24
-
25
- ## Implementation Research
26
-
27
- ## Research Synthesis
28
-
29
- ## Sources
30
-
31
- ## Open Questions
@@ -1,49 +0,0 @@
1
- # Step 1: Technical Research Scope Confirmation
2
-
3
- ## Rules
4
-
5
- - 🛑 Never generate content without user confirmation.
6
- - 📖 Always read the complete step file before acting.
7
- - 🔍 Scope confirmation only.
8
- - ✅ Speak in `{communication_language}`; write artifacts in `{document_output_language}`.
9
-
10
- ## Task
11
-
12
- Confirm technical research scope.
13
-
14
- ## Execution
15
-
16
- Present:
17
-
18
- ```
19
- I understand you want technical research for {{research_topic}}.
20
-
21
- This research will cover:
22
- ✅ Technology stack and tooling
23
- ✅ Integration patterns
24
- ✅ Architectural patterns
25
- ✅ Implementation approaches
26
- ✅ Performance and scalability considerations
27
-
28
- [C] Continue — begin technical research with this scope
29
- ```
30
-
31
- On [C], append the scope confirmation, update `stepsCompleted: [1]`, and load `./technical-steps/step-02-technical-overview.md`.
32
-
33
- ## Append
34
-
35
- ```markdown
36
- ## Technical Research Scope Confirmation
37
-
38
- **Research Topic:** {{research_topic}}
39
- **Research Goals:** {{research_goals}}
40
-
41
- **Scope:**
42
- - Technology stack and tooling
43
- - Integration patterns
44
- - Architectural patterns
45
- - Implementation approaches
46
- - Performance and scalability considerations
47
-
48
- **Scope Confirmed:** {{date}}
49
- ```
@@ -1,45 +0,0 @@
1
- # Step 2: Technology Stack Analysis
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 the technology stack landscape for {{research_topic}}.
12
-
13
- ## Execution
14
-
15
- Search for:
16
-
17
- - "{{research_topic}} programming languages frameworks"
18
- - "{{research_topic}} development tools platforms"
19
- - "{{research_topic}} database storage technologies"
20
-
21
- Synthesize and append:
22
-
23
- ```markdown
24
- ## Technology Stack Analysis
25
-
26
- ### Programming Languages
27
- ...
28
-
29
- ### Frameworks and Libraries
30
- ...
31
-
32
- ### Database and Storage
33
- ...
34
-
35
- ### Development Tools and Platforms
36
- ...
37
-
38
- ### Cloud Infrastructure and Deployment
39
- ...
40
-
41
- ### Source Citations
42
- ...
43
- ```
44
-
45
- Update `stepsCompleted: [1, 2]` and load `./technical-steps/step-03-integration-patterns.md`.
@@ -1,39 +0,0 @@
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`.
@@ -1,39 +0,0 @@
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`.
@@ -1,42 +0,0 @@
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`.
@@ -1,46 +0,0 @@
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.
@@ -1,60 +0,0 @@
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,110 +0,0 @@
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)."