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,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`.
@@ -1,129 +0,0 @@
1
- # Step 4: Core Architectural Decisions
2
-
3
- ## Mandatory execution rules
4
-
5
- - 🛑 Never generate content without user input.
6
- - ✅ Treat this as collaborative discovery between peers.
7
- - 🌐 Search the web to verify current technology versions.
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 each major decision category.
15
- - 💾 Only save when the user chooses C.
16
- - 📖 Update frontmatter `stepsCompleted: [1, 2, 3, 4]` before loading the next step.
17
-
18
- ## Collaboration menu (A/P/C)
19
-
20
- - **A (Advanced Elicitation)** — explore innovative approaches to a specific decision.
21
- - **P (Party Mode)** — review trade-offs from multiple perspectives.
22
- - **C (Continue)** — save current decisions and proceed.
23
-
24
- ## Context boundaries
25
-
26
- - Project context from step 2 is available.
27
- - Starter template choice from step 3 is available.
28
- - Focus on decisions not already made by the starter or existing preferences.
29
-
30
- ## Task
31
-
32
- Facilitate collaborative architectural decision making for the remaining critical choices.
33
-
34
- ## Decision categories
35
-
36
- ### Category 1: Data Architecture
37
-
38
- - Database choice (if not determined by starter)
39
- - Data modeling approach
40
- - Validation strategy
41
- - Migration approach
42
- - Caching strategy
43
-
44
- ### Category 2: Authentication & Security
45
-
46
- - Authentication method
47
- - Authorization patterns
48
- - Security middleware
49
- - Encryption approach
50
- - API security strategy
51
-
52
- ### Category 3: API & Communication
53
-
54
- - API design patterns (REST, GraphQL, tRPC, etc.)
55
- - Error handling standards
56
- - Rate limiting
57
- - Inter-service communication
58
-
59
- ### Category 4: Frontend Architecture (if applicable)
60
-
61
- - State management
62
- - Component architecture
63
- - Routing
64
- - Performance optimization
65
-
66
- ### Category 5: Infrastructure & Deployment
67
-
68
- - Hosting strategy
69
- - CI/CD approach
70
- - Environment configuration
71
- - Monitoring and logging
72
- - Scaling strategy
73
-
74
- ## Decision format
75
-
76
- For each decision, record:
77
-
78
- - Category
79
- - Decision
80
- - Version (if applicable)
81
- - Rationale
82
- - Affects (components or epics)
83
- - Provided by starter? (yes/no)
84
-
85
- ## Generate decisions content
86
-
87
- Append to `architecture.md`:
88
-
89
- ```markdown
90
- ## Core Architectural Decisions
91
-
92
- ### Decision Priority Analysis
93
-
94
- **Critical Decisions (block implementation):**
95
- {{list}}
96
-
97
- **Important Decisions (shape architecture):**
98
- {{list}}
99
-
100
- **Deferred Decisions (post-MVP):**
101
- {{list}}
102
-
103
- ### Data Architecture
104
- ...
105
-
106
- ### Authentication & Security
107
- ...
108
-
109
- ### API & Communication Patterns
110
- ...
111
-
112
- ### Frontend Architecture
113
- ...
114
-
115
- ### Infrastructure & Deployment
116
- ...
117
-
118
- ### Decision Impact Analysis
119
-
120
- **Implementation Sequence:**
121
- {{ordered list}}
122
-
123
- **Cross-Component Dependencies:**
124
- {{how decisions affect each other}}
125
- ```
126
-
127
- ## Next step
128
-
129
- After C, load `./step-05-patterns.md`.
@@ -1,109 +0,0 @@
1
- # Step 5: Implementation Patterns & Consistency Rules
2
-
3
- ## Mandatory execution rules
4
-
5
- - 🛑 Never generate content without user input.
6
- - ✅ Treat this as collaborative discovery.
7
- - 🎯 Focus on patterns that prevent AI agent implementation conflicts.
8
- - 🎯 Emphasize what agents could decide differently if not specified.
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 patterns content.
16
- - 💾 Only save when the user chooses C.
17
- - 📖 Update frontmatter `stepsCompleted: [1, 2, 3, 4, 5]` before loading the next step.
18
-
19
- ## Collaboration menu (A/P/C)
20
-
21
- - **A (Advanced Elicitation)** — develop additional consistency patterns.
22
- - **P (Party Mode)** — identify conflict points from multiple perspectives.
23
- - **C (Continue)** — save and move to project structure.
24
-
25
- ## Context boundaries
26
-
27
- - Core decisions from step 4 are complete.
28
- - Technology stack is decided.
29
- - Focus on HOW agents should implement, not WHAT.
30
-
31
- ## Task
32
-
33
- Define implementation patterns and consistency rules so multiple AI agents write compatible code.
34
-
35
- ## Pattern categories
36
-
37
- ### Naming patterns
38
-
39
- - Database table/column naming
40
- - API endpoint naming
41
- - File and directory naming
42
- - Component/function/variable naming
43
- - Route parameter formats
44
-
45
- ### Structure patterns
46
-
47
- - Where tests live
48
- - How components are organized
49
- - Where utilities and helpers go
50
- - Configuration file organization
51
-
52
- ### Format patterns
53
-
54
- - API response wrappers
55
- - Error response structures
56
- - Date/time formats
57
- - JSON field naming (snake_case vs camelCase)
58
-
59
- ### Communication patterns
60
-
61
- - Event naming conventions
62
- - Event payload structures
63
- - State update patterns
64
- - Action naming conventions
65
- - Logging formats and levels
66
-
67
- ### Process patterns
68
-
69
- - Loading state handling
70
- - Error recovery
71
- - Retry implementation
72
- - Authentication flow
73
- - Validation timing and methods
74
-
75
- ## Generate patterns content
76
-
77
- Append to `architecture.md`:
78
-
79
- ```markdown
80
- ## Implementation Patterns & Consistency Rules
81
-
82
- ### Naming Patterns
83
- ...
84
-
85
- ### Structure Patterns
86
- ...
87
-
88
- ### Format Patterns
89
- ...
90
-
91
- ### Communication Patterns
92
- ...
93
-
94
- ### Process Patterns
95
- ...
96
-
97
- ### Enforcement Guidelines
98
-
99
- **All AI agents MUST:**
100
- - ...
101
-
102
- ### Pattern Examples
103
- **Good:** ...
104
- **Anti-patterns:** ...
105
- ```
106
-
107
- ## Next step
108
-
109
- After C, load `./step-06-structure.md`.