wize-dev-kit 0.15.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 (232) hide show
  1. package/ARCH.md +24 -77
  2. package/CHANGELOG.md +9 -0
  3. package/DECISIONS.md +1 -27
  4. package/README.md +4 -0
  5. package/ROSTER.md +3 -11
  6. package/adapters/README.md +7 -8
  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 +15 -159
  78. package/tools/installer/setup-helpers.js +0 -1
  79. package/tools/installer/validators/run-all.js +2 -3
  80. package/tools/installer/wize-cli.js +70 -500
  81. package/AGENTS.md +0 -37
  82. package/README.es.md +0 -295
  83. package/README.pt-BR.md +0 -293
  84. package/adapters/hermes/README.md +0 -23
  85. package/adapters/hermes/adapter.yaml +0 -8
  86. package/adapters/hermes/render.js +0 -17
  87. package/docs/harnesses/antigravity.md +0 -20
  88. package/docs/harnesses/antigravity.pt-BR.md +0 -20
  89. package/docs/harnesses/claude-code.md +0 -23
  90. package/docs/harnesses/claude-code.pt-BR.md +0 -23
  91. package/docs/harnesses/codex.md +0 -21
  92. package/docs/harnesses/codex.pt-BR.md +0 -21
  93. package/docs/harnesses/continue.md +0 -21
  94. package/docs/harnesses/continue.pt-BR.md +0 -21
  95. package/docs/harnesses/cursor.md +0 -22
  96. package/docs/harnesses/cursor.pt-BR.md +0 -22
  97. package/docs/harnesses/generic.md +0 -20
  98. package/docs/harnesses/generic.pt-BR.md +0 -20
  99. package/docs/harnesses/hermes.md +0 -26
  100. package/docs/harnesses/hermes.pt-BR.md +0 -26
  101. package/docs/harnesses/kimi-code.md +0 -19
  102. package/docs/harnesses/kimi-code.pt-BR.md +0 -19
  103. package/docs/harnesses/opencode.md +0 -31
  104. package/docs/harnesses/opencode.pt-BR.md +0 -31
  105. package/docs/harnesses/windsurf.md +0 -22
  106. package/docs/harnesses/windsurf.pt-BR.md +0 -22
  107. package/src/core-skills/wize-customize/skill.md +0 -116
  108. package/src/core-skills/wize-editorial-review-prose/skill.md +0 -94
  109. package/src/core-skills/wize-editorial-review-structure/skill.md +0 -99
  110. package/src/core-skills/wize-grill/skill.md +0 -77
  111. package/src/core-skills/wize-index-docs/skill.md +0 -119
  112. package/src/core-skills/wize-pre-pr-check/skill.md +0 -134
  113. package/src/core-skills/wize-review-edge-case-hunter/skill.md +0 -115
  114. package/src/core-skills/wize-spec/assets/headless-schemas.md +0 -39
  115. package/src/core-skills/wize-spec/assets/spec-template.md +0 -40
  116. package/src/core-skills/wize-spec/customize.toml +0 -20
  117. package/src/core-skills/wize-spec/skill.md +0 -112
  118. package/src/method-skills/1-analysis/wize-document-project/documentation-requirements.csv +0 -12
  119. package/src/method-skills/1-analysis/wize-document-project/templates/api-contracts-template.md +0 -38
  120. package/src/method-skills/1-analysis/wize-document-project/templates/architecture-template.md +0 -54
  121. package/src/method-skills/1-analysis/wize-document-project/templates/component-inventory-template.md +0 -40
  122. package/src/method-skills/1-analysis/wize-document-project/templates/contribution-guide-template.md +0 -34
  123. package/src/method-skills/1-analysis/wize-document-project/templates/data-models-template.md +0 -36
  124. package/src/method-skills/1-analysis/wize-document-project/templates/deep-dive-template.md +0 -312
  125. package/src/method-skills/1-analysis/wize-document-project/templates/deployment-guide-template.md +0 -42
  126. package/src/method-skills/1-analysis/wize-document-project/templates/development-guide-template.md +0 -61
  127. package/src/method-skills/1-analysis/wize-document-project/templates/index-template.md +0 -185
  128. package/src/method-skills/1-analysis/wize-document-project/templates/project-overview-template.md +0 -110
  129. package/src/method-skills/1-analysis/wize-document-project/templates/project-scan-report-schema.json +0 -159
  130. package/src/method-skills/1-analysis/wize-document-project/templates/source-tree-template.md +0 -142
  131. package/src/method-skills/1-analysis/wize-domain-research/customize.toml +0 -14
  132. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-01-init.md +0 -49
  133. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-02-domain-analysis.md +0 -39
  134. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-03-competitive-landscape.md +0 -39
  135. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-04-regulatory-focus.md +0 -39
  136. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-05-technical-trends.md +0 -39
  137. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-06-research-synthesis.md +0 -43
  138. package/src/method-skills/1-analysis/wize-domain-research/research.template.md +0 -31
  139. package/src/method-skills/1-analysis/wize-domain-research/workflow.md +0 -58
  140. package/src/method-skills/1-analysis/wize-market-research/customize.toml +0 -14
  141. package/src/method-skills/1-analysis/wize-market-research/research.template.md +0 -31
  142. package/src/method-skills/1-analysis/wize-market-research/steps/step-01-init.md +0 -57
  143. package/src/method-skills/1-analysis/wize-market-research/steps/step-02-customer-behavior.md +0 -39
  144. package/src/method-skills/1-analysis/wize-market-research/steps/step-03-customer-pain-points.md +0 -37
  145. package/src/method-skills/1-analysis/wize-market-research/steps/step-04-customer-decisions.md +0 -39
  146. package/src/method-skills/1-analysis/wize-market-research/steps/step-05-competitive-analysis.md +0 -37
  147. package/src/method-skills/1-analysis/wize-market-research/steps/step-06-research-completion.md +0 -47
  148. package/src/method-skills/1-analysis/wize-market-research/workflow.md +0 -66
  149. package/src/method-skills/1-analysis/wize-refresh-knowledge/workflow.md +0 -129
  150. package/src/method-skills/1-analysis/wize-technical-research/customize.toml +0 -14
  151. package/src/method-skills/1-analysis/wize-technical-research/research.template.md +0 -31
  152. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-01-init.md +0 -49
  153. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-02-technical-overview.md +0 -45
  154. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-03-integration-patterns.md +0 -39
  155. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-04-architectural-patterns.md +0 -39
  156. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-05-implementation-research.md +0 -42
  157. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-06-research-synthesis.md +0 -46
  158. package/src/method-skills/1-analysis/wize-technical-research/workflow.md +0 -60
  159. package/src/method-skills/2-plan-workflows/wize-edit-prd/workflow.md +0 -110
  160. package/src/method-skills/3-solutioning/wize-create-architecture/architecture-decision-template.md +0 -41
  161. package/src/method-skills/3-solutioning/wize-create-architecture/customize.toml +0 -20
  162. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-01-init.md +0 -95
  163. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-01b-continue.md +0 -32
  164. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-02-context.md +0 -126
  165. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-03-starter.md +0 -110
  166. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-04-decisions.md +0 -129
  167. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-05-patterns.md +0 -109
  168. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-06-structure.md +0 -97
  169. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-07-validation.md +0 -124
  170. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-08-complete.md +0 -59
  171. package/src/method-skills/3-solutioning/wize-project-context/workflow.md +0 -120
  172. package/src/method-skills/4-implementation/wize-changelog/workflow.md +0 -184
  173. package/src/method-skills/4-implementation/wize-checkpoint-preview/workflow.md +0 -117
  174. package/src/method-skills/4-implementation/wize-code-review/customize.toml +0 -21
  175. package/src/method-skills/4-implementation/wize-code-review/steps/step-01-gather-context.md +0 -64
  176. package/src/method-skills/4-implementation/wize-code-review/steps/step-02-review.md +0 -40
  177. package/src/method-skills/4-implementation/wize-code-review/steps/step-03-triage.md +0 -43
  178. package/src/method-skills/4-implementation/wize-code-review/steps/step-04-present.md +0 -100
  179. package/src/method-skills/4-implementation/wize-correct-course/workflow.md +0 -93
  180. package/src/method-skills/4-implementation/wize-investigate/workflow.md +0 -123
  181. package/src/method-skills/4-implementation/wize-release/workflow.md +0 -162
  182. package/src/orchestrator-skills/wize/skill.md +0 -164
  183. package/src/orchestrator-skills/wize-check/skill.md +0 -98
  184. package/src/security-overlay/_shared/allowlist.js +0 -154
  185. package/src/security-overlay/_shared/backlog.js +0 -169
  186. package/src/security-overlay/_shared/cli-runner.js +0 -87
  187. package/src/security-overlay/_shared/cvss.js +0 -108
  188. package/src/security-overlay/_shared/detect.js +0 -125
  189. package/src/security-overlay/_shared/install-script.js +0 -205
  190. package/src/security-overlay/_shared/invoke-phase.js +0 -86
  191. package/src/security-overlay/_shared/owasp.js +0 -56
  192. package/src/security-overlay/_shared/partial.js +0 -225
  193. package/src/security-overlay/_shared/preflight.js +0 -175
  194. package/src/security-overlay/_shared/scope-gate.js +0 -172
  195. package/src/security-overlay/_shared/scope-parser.js +0 -147
  196. package/src/security-overlay/agents/red-teamer/agent.yaml +0 -54
  197. package/src/security-overlay/agents/red-teamer/persona.md +0 -49
  198. package/src/security-overlay/data/common.txt +0 -115
  199. package/src/security-overlay/data/owasp-top10.json +0 -15
  200. package/src/security-overlay/data/tool-allowlist.json +0 -31
  201. package/src/security-overlay/skills/wize-sec-enumerate/scripts/run-enumerate.js +0 -180
  202. package/src/security-overlay/skills/wize-sec-enumerate/skill.md +0 -34
  203. package/src/security-overlay/skills/wize-sec-exploit/data/common.txt +0 -117
  204. package/src/security-overlay/skills/wize-sec-exploit/scripts/run-ffuf.js +0 -147
  205. package/src/security-overlay/skills/wize-sec-exploit/scripts/run-nikto.js +0 -145
  206. package/src/security-overlay/skills/wize-sec-exploit/scripts/run-nuclei.js +0 -176
  207. package/src/security-overlay/skills/wize-sec-exploit/scripts/run-sqlmap.js +0 -139
  208. package/src/security-overlay/skills/wize-sec-pentest/scripts/run-pipeline.js +0 -184
  209. package/src/security-overlay/skills/wize-sec-pentest/skill.md +0 -54
  210. package/src/security-overlay/skills/wize-sec-recon/scripts/run-gitleaks.js +0 -139
  211. package/src/security-overlay/skills/wize-sec-recon/scripts/run-osv.js +0 -227
  212. package/src/security-overlay/skills/wize-sec-recon/scripts/run-recon.js +0 -162
  213. package/src/security-overlay/skills/wize-sec-recon/skill.md +0 -37
  214. package/src/security-overlay/skills/wize-sec-report/scripts/render-report.js +0 -1033
  215. package/src/security-overlay/skills/wize-sec-scope/scripts/generate-scope.js +0 -106
  216. package/src/security-overlay/skills/wize-sec-scope/skill.md +0 -52
  217. package/src/tea-skills/wize-qa-generate-e2e-tests/workflow.md +0 -121
  218. package/tools/installer/baseline.js +0 -133
  219. package/tools/installer/commands/agent.js +0 -197
  220. package/tools/installer/commands/doctor.js +0 -320
  221. package/tools/installer/commands/document-project.js +0 -93
  222. package/tools/installer/commands/sync.js +0 -45
  223. package/tools/installer/commands/update.js +0 -172
  224. package/tools/installer/document-project/batch-scanner.js +0 -93
  225. package/tools/installer/document-project/classify.js +0 -170
  226. package/tools/installer/document-project/modes/deep-dive.js +0 -196
  227. package/tools/installer/document-project/modes/full-rescan.js +0 -15
  228. package/tools/installer/document-project/modes/initial-scan.js +0 -100
  229. package/tools/installer/document-project/modes/quick.js +0 -211
  230. package/tools/installer/document-project/render-index.js +0 -101
  231. package/tools/installer/document-project/state.js +0 -110
  232. package/tools/installer/version-check.js +0 -117
@@ -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)."
@@ -1,41 +0,0 @@
1
- ---
2
- status: draft
3
- owner: Tony Stark
4
- created: "{{created}}"
5
- stepsCompleted: []
6
- inputDocuments: []
7
- ---
8
-
9
- # Architecture — {{project_name}}
10
-
11
- ## Summary
12
-
13
- {{One paragraph: stack family, runtime, primary data store, deploy target. The frame.}}
14
-
15
- ## Stack
16
-
17
- - Language:
18
- - Front-end:
19
- - Back-end:
20
- - DB:
21
- - Auth:
22
- - Hosting:
23
- - Observability:
24
- - Test:
25
-
26
- ## Components
27
-
28
- | Component | Responsibility | Boundary |
29
- |---|---|---|
30
-
31
- ## Data model
32
-
33
- ## Sequences
34
-
35
- ## Cross-cutting concerns
36
-
37
- ## NFR check
38
-
39
- ## ADRs
40
-
41
- See `.wize/solutioning/adrs/`.
@@ -1,20 +0,0 @@
1
- # Wize Dev Kit — overrides for the built-in workflow "wize-create-architecture".
2
- # DO NOT EDIT in the installed kit; copy to .wize/custom/workflows/wize-create-architecture/
3
- # for project-level overrides.
4
-
5
- [workflow]
6
-
7
- # Steps to run before standard activation (config load, greet).
8
- activation_steps_prepend = []
9
-
10
- # Steps to run after greet but before the workflow begins.
11
- activation_steps_append = []
12
-
13
- # Persistent facts the workflow keeps in mind for the whole run.
14
- persistent_facts = [
15
- "file:{project-root}/.wize/knowledge/document-project/conventions.md",
16
- ]
17
-
18
- # Scalar executed when Step 8 (Architecture Completion & Handoff) finishes.
19
- # Override wins. Leave empty for no custom post-completion behavior.
20
- on_complete = ""
@@ -1,95 +0,0 @@
1
- # Step 1: Architecture Workflow Initialization
2
-
3
- ## Mandatory execution rules
4
-
5
- - 🛑 Never generate content without user input.
6
- - 📖 Always read the complete step file before acting.
7
- - ✅ Treat this as collaborative discovery between architectural peers.
8
- - 💬 Focus on initialization and setup only.
9
- - 🚪 Detect existing workflow state and handle continuation properly.
10
- - ⚠️ No time estimates.
11
- - ✅ Speak in `{communication_language}`; write artifacts in `{document_output_language}`.
12
-
13
- ## Execution protocols
14
-
15
- - 🎯 Show analysis before taking action.
16
- - 💾 Initialize the document and update frontmatter.
17
- - 📖 Set `stepsCompleted: [1]` before loading the next step.
18
- - 🚫 Do not load the next step until setup is complete and the user confirms.
19
-
20
- ## Context boundaries
21
-
22
- - Variables from `workflow.md` are available.
23
- - Previous context is what is in the output document + frontmatter.
24
- - Input document discovery happens in this step.
25
-
26
- ## Task
27
-
28
- Initialize the Architecture workflow by detecting continuation state, discovering input documents, and setting up the document for collaborative architectural decision making.
29
-
30
- ## Initialization sequence
31
-
32
- ### 1. Check for existing workflow
33
-
34
- Check if `{output_folder}/solutioning/architecture.md` exists.
35
-
36
- - If it exists and has frontmatter with `stepsCompleted`, stop here and load `./step-01b-continue.md`.
37
- - If it exists but has no `stepsCompleted`, treat it as a legacy document: warn the user and offer to continue from it or start fresh.
38
- - If it does not exist, this is a fresh workflow.
39
-
40
- ### 2. Discover input documents
41
-
42
- Search in `{output_folder}/planning/`, `{output_folder}/knowledge/`, and `{project-root}/docs/` for:
43
-
44
- - Product Brief (`*brief*.md`)
45
- - PRD (`*prd*.md`)
46
- - UX Scenarios / UX Design (`*ux*.md`)
47
- - Research (`*research*.md`)
48
- - Project Context (`**/project-context.md`)
49
-
50
- Confirm what was found with the user before proceeding.
51
-
52
- ### 3. Validate required inputs
53
-
54
- If no PRD is found:
55
-
56
- > Architecture requires a PRD to work from. Please run `wize-create-prd` first or provide the PRD file path.
57
-
58
- Do not proceed without a PRD.
59
-
60
- ### 4. Create initial document
61
-
62
- Copy `../architecture-decision-template.md` to `{output_folder}/solutioning/architecture.md`.
63
-
64
- Set frontmatter:
65
-
66
- ```yaml
67
- status: draft
68
- owner: Tony Stark
69
- created: "{{date}}"
70
- stepsCompleted: []
71
- inputDocuments: [{{list of discovered files}}]
72
- ```
73
-
74
- ### 5. Report setup to user
75
-
76
- ```
77
- Welcome {{user_name}}! I've set up your Architecture workspace for {{project_name}}.
78
-
79
- Documents found:
80
- - PRD: {count or "None — required"}
81
- - UX Design: {count or "None"}
82
- - Research: {count or "None"}
83
- - Project docs: {count or "None"}
84
- - Project context: {count of rules or "None"}
85
-
86
- Files loaded: {list or "No additional documents"}
87
-
88
- Ready to begin architectural decision making. Do you have any other documents you'd like to include?
89
-
90
- [C] Continue to project context analysis
91
- ```
92
-
93
- ## Next step
94
-
95
- After the user selects [C], load `./step-02-context.md`.
@@ -1,32 +0,0 @@
1
- # Step 1b: Continue Existing Architecture Workflow
2
-
3
- ## Purpose
4
-
5
- Resume an architecture workflow that was previously started.
6
-
7
- ## Rules
8
-
9
- - Read the existing `{output_folder}/solutioning/architecture.md` fully, including frontmatter.
10
- - Report the current `stepsCompleted` to the user.
11
- - Ask whether to continue from the last completed step or restart from a specific step.
12
- - Never discard already-written content without explicit user confirmation.
13
-
14
- ## Continue menu
15
-
16
- ```
17
- Existing architecture document found.
18
-
19
- Steps completed: {stepsCompleted}
20
- Last saved: {updated or created date}
21
-
22
- What would you like to do?
23
- [C] Continue from the next step ({next_step})
24
- [R] Restart from step 1
25
- [S] Pick a specific step to revisit
26
- ```
27
-
28
- ## Routing
29
-
30
- - [C] → load the step immediately after the highest value in `stepsCompleted`.
31
- - [R] → confirm overwrite risk, then return to `step-01-init.md` fresh setup.
32
- - [S] → present the list of steps and load the selected one.
@@ -1,126 +0,0 @@
1
- # Step 2: Project Context Analysis
2
-
3
- ## Mandatory execution rules
4
-
5
- - 🛑 Never generate content without user input.
6
- - 📖 Always read the complete step file before acting.
7
- - ✅ Treat this as collaborative discovery.
8
- - 🎯 Analyze loaded documents; don't assume or generate requirements.
9
- - ⚠️ No time estimates.
10
- - ✅ Speak in `{communication_language}`; write artifacts in `{document_output_language}`.
11
-
12
- ## Execution protocols
13
-
14
- - 🎯 Show analysis before taking action.
15
- - ⚠️ Present A/P/C menu after generating project context analysis.
16
- - 💾 Only save when the user chooses C (Continue).
17
- - 📖 Update frontmatter `stepsCompleted: [1, 2]` before loading the next step.
18
- - 🚫 Do not load the next step until C is selected.
19
-
20
- ## Collaboration menu (A/P/C)
21
-
22
- - **A (Advanced Elicitation)** — invoke `wize-advanced-elicitation` for deeper architectural implications.
23
- - **P (Party Mode)** — invoke `wize-party-mode` to bring Tony, Fury, and Pepper into the conversation.
24
- - **C (Continue)** — save the content and proceed.
25
-
26
- After A or P, return to this menu.
27
-
28
- ## Context boundaries
29
-
30
- - Current document and frontmatter from step 1 are available.
31
- - Input documents are loaded.
32
- - Focus on architectural implications only — no technology decisions yet.
33
-
34
- ## Task
35
-
36
- Analyze the loaded project documents to understand architectural scope, requirements, and constraints.
37
-
38
- ## Analysis sequence
39
-
40
- ### 1. Review project requirements
41
-
42
- **From PRD:**
43
-
44
- - Extract functional requirements and their architectural implications.
45
- - Identify non-functional requirements (performance, security, compliance).
46
- - Note technical constraints or dependencies.
47
-
48
- **From Epics/Stories (if available):**
49
-
50
- - Map epic structure to architectural components.
51
- - Identify cross-cutting concerns that span multiple epics.
52
-
53
- **From UX Design (if available):**
54
-
55
- - Component complexity, real-time needs, platform-specific UI, accessibility level, responsive breakpoints, offline capability.
56
-
57
- ### 2. Project scale assessment
58
-
59
- Complexity indicators:
60
-
61
- - Real-time features
62
- - Multi-tenancy
63
- - Regulatory compliance
64
- - Integration density
65
- - User interaction complexity
66
- - Data complexity and volume
67
-
68
- ### 3. Reflect understanding to the user
69
-
70
- Present a concise summary:
71
-
72
- ```
73
- I'm reviewing your project documentation for {{project_name}}.
74
-
75
- I see {{fr_count}} functional requirements and {{nfr_count}} non-functional requirements.
76
- {epics_loaded?}I also see {{epic_count}} epics with {{story_count}} stories.{/epics_loaded?}
77
- {ux_loaded?}A UX specification is present.{/ux_loaded?}
78
-
79
- Key architectural aspects:
80
- - [core functionality]
81
- - [critical NFRs]
82
- - [unique technical challenges]
83
- - [compliance requirements]
84
-
85
- Scale indicators:
86
- - Complexity: [low/medium/high/enterprise]
87
- - Primary domain: [web/mobile/api/backend/full-stack/etc]
88
- - Cross-cutting concerns: [list]
89
-
90
- Does this match your understanding?
91
- ```
92
-
93
- ### 4. Generate project context content
94
-
95
- Prepare the section to append:
96
-
97
- ```markdown
98
- ## Project Context Analysis
99
-
100
- ### Requirements Overview
101
-
102
- **Functional Requirements:**
103
- {{analysis}}
104
-
105
- **Non-Functional Requirements:**
106
- {{analysis}}
107
-
108
- **Scale & Complexity:**
109
- - Primary domain: {{domain}}
110
- - Complexity level: {{level}}
111
- - Architectural components: {{count}}
112
-
113
- ### Technical Constraints & Dependencies
114
- {{list}}
115
-
116
- ### Cross-Cutting Concerns Identified
117
- {{list}}
118
- ```
119
-
120
- ### 5. Present content and menu
121
-
122
- Show the drafted content and present A/P/C. Only append when the user chooses C.
123
-
124
- ## Next step
125
-
126
- After C, load `./step-03-starter.md`.
@@ -1,110 +0,0 @@
1
- # Step 3: Starter Template Evaluation
2
-
3
- ## Mandatory execution rules
4
-
5
- - 🛑 Never generate content without user input.
6
- - ✅ Treat this as collaborative discovery.
7
- - 🌐 Search the web to verify current versions and options.
8
- - ⚠️ No time estimates.
9
- - ✅ Speak in `{communication_language}`; write artifacts in `{document_output_language}`.
10
-
11
- ## Execution protocols
12
-
13
- - 🎯 Show analysis before taking action.
14
- - ⚠️ Present A/P/C menu after starter analysis.
15
- - 💾 Only save when the user chooses C.
16
- - 📖 Update frontmatter `stepsCompleted: [1, 2, 3]` before loading the next step.
17
-
18
- ## Collaboration menu (A/P/C)
19
-
20
- - **A (Advanced Elicitation)** — explore unconventional starter options.
21
- - **P (Party Mode)** — evaluate starter trade-offs from multiple perspectives.
22
- - **C (Continue)** — save and move to architectural decisions.
23
-
24
- ## Context boundaries
25
-
26
- - Project context from step 2 is available.
27
- - No architectural decisions made yet — this step evaluates foundations.
28
-
29
- ## Task
30
-
31
- Discover technical preferences and evaluate starter template options, establishing solid architectural foundations.
32
-
33
- ## Starter evaluation sequence
34
-
35
- ### 0. Check existing technical preferences
36
-
37
- If `.wize/knowledge/document-project/conventions.md` or `project-context.md` exist, surface any already-documented technical rules.
38
-
39
- ### 1. Discover user technical preferences
40
-
41
- Ask about:
42
-
43
- - Languages and frameworks
44
- - Databases
45
- - Cloud / hosting / deployment
46
- - Third-party services (auth, payments, analytics)
47
- - Team experience level
48
-
49
- ### 2. Identify primary technology domain
50
-
51
- Map the project to one of:
52
-
53
- - Web application
54
- - Mobile app
55
- - API / backend
56
- - CLI tool
57
- - Full-stack
58
- - Desktop
59
-
60
- ### 3. Research current starter options
61
-
62
- Search the web for current, maintained starter templates matching the domain.
63
-
64
- ### 4. Present starter options
65
-
66
- For each viable starter, document:
67
-
68
- - Technology decisions already made by the starter
69
- - Architectural patterns established
70
- - Development experience features
71
- - Maintenance status
72
-
73
- ### 5. Get selection
74
-
75
- Present a recommended starter and ask for confirmation.
76
-
77
- ### 6. Generate starter content
78
-
79
- Append to `architecture.md`:
80
-
81
- ```markdown
82
- ## Starter Template Evaluation
83
-
84
- ### Primary Technology Domain
85
- {{domain}}
86
-
87
- ### Starter Options Considered
88
- {{analysis}}
89
-
90
- ### Selected Starter: {{starter_name}}
91
-
92
- **Rationale:** {{why}}
93
-
94
- **Initialization Command:**
95
- ```bash
96
- {{command}}
97
- ```
98
-
99
- **Architectural Decisions Provided by Starter:**
100
- - Language & Runtime: ...
101
- - Styling Solution: ...
102
- - Build Tooling: ...
103
- - Testing Framework: ...
104
- - Code Organization: ...
105
- - Development Experience: ...
106
- ```
107
-
108
- ## Next step
109
-
110
- After C, load `./step-04-decisions.md`.