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,123 +0,0 @@
1
- ---
2
-
3
- code: wize-investigate
4
- description: "Use quando um bug ou comportamento inesperado surgir e precisar de investigação estruturada com root cause analysis."
5
- name: Investigate
6
- phase: 4-implementation
7
- owner: wize-agent-dev # Shuri (+ wize-agent-test-architect Hawkeye on call)
8
- status: ready
9
- ---
10
-
11
- # Investigate
12
-
13
- **Goal.** Structured root-cause analysis for a failed test, regression, or unexpected behavior. Produces a written report so the team (and future-you) can retrace the steps.
14
-
15
- Shuri drives. Hawkeye on call for test-specific analysis. Wizer is on call for cross-cutting impact.
16
-
17
- ## When to run
18
-
19
- - A test fails and the cause is not obvious from the diff.
20
- - A regression appears in production or CI.
21
- - A user reports a bug with unclear repro steps.
22
- - An incident triggers post-mortem.
23
-
24
- ## When NOT to run
25
-
26
- - The cause is obvious from the diff → use `wize-quick-dev` to fix directly.
27
- - A new feature is needed (use `wize-create-story`).
28
- - A security finding is suspected (escalate immediately; do not investigate solo).
29
-
30
- ## Inputs
31
-
32
- - The failing test, error log, or user report.
33
- - The commit range since the last known-good state.
34
- - The relevant story file (if any).
35
- - A free-form description of the symptoms.
36
-
37
- ## Output
38
-
39
- - `.wize/implementation/investigations/{YYYY-MM-DD}-{short-slug}.md` — a written report.
40
-
41
- ## Steps
42
-
43
- ### 1. Frame
44
-
45
- One paragraph: what broke, when it was first noticed, who reported it, and how serious. If you cannot write this in 3 sentences, the report is too broad.
46
-
47
- ### 2. Reproduce
48
-
49
- Step-by-step: how to reproduce locally. Include environment (OS, Node version, branch), commands, expected vs. actual output. If unreproducible, mark "not reproducible after N attempts" and stop.
50
-
51
- ### 3. Hypothesize
52
-
53
- List 3 root causes, ranked by likelihood. For each:
54
- - What would explain the symptoms.
55
- - A 1-line test to confirm or refute.
56
- - Confidence: low / medium / high.
57
-
58
- ### 4. Verify
59
-
60
- For each hypothesis, run the 1-line test. Record: confirmed / refuted / inconclusive. If all refuted, return to step 3 and re-rank.
61
-
62
- ### 5. Conclude
63
-
64
- Pick the surviving root cause. State:
65
- - **Root cause:** {description}.
66
- - **Fix path:** {one paragraph: what to change and why}.
67
- - **Effort:** S / M / L.
68
- - **Risk of fix:** low / medium / high.
69
- - **Recommended next step:** open a quick-dev, open a story, or escalate.
70
-
71
- ### 6. Hand off
72
-
73
- Notify the next workflow:
74
- - S / low risk → `/wize-quick-dev` (Shuri fixes directly).
75
- - M+ or higher risk → `/wize-create-story` (new story for the fix).
76
- - Escalation → `/wize-correct-course` (involve PM + Wizer).
77
-
78
- ## Output template
79
-
80
- ```markdown
81
- ---
82
- date: 2026-06-16
83
- author: Shuri
84
- severity: high
85
- related_story: E04-S02
86
- related_test: test/document-project-classify.test.js
87
- status: concluded
88
- ---
89
-
90
- # Investigation — {short-slug}
91
-
92
- ## Frame
93
- {one paragraph}
94
-
95
- ## Reproduce
96
- 1. ...
97
- 2. ...
98
- **Expected:** {x}
99
- **Actual:** {y}
100
-
101
- ## Hypotheses
102
- 1. **{hypothesis}** — Confidence: high. Test: {1-liner}. Result: confirmed.
103
- 2. ...
104
-
105
- ## Conclude
106
- - **Root cause:** {description}
107
- - **Fix path:** {one paragraph}
108
- - **Effort:** M
109
- - **Risk of fix:** low
110
- - **Next:** /wize-create-story (E04-S05)
111
- ```
112
-
113
- ## Anti-patterns Shuri rejects
114
-
115
- - Skipping the hypothesis ranking. (Ranking forces you to consider alternatives.)
116
- - Stopping at "I think it's X" without the verification test. (Confirmation bias.)
117
- - Mixing the investigation with the fix. (Investigate, then propose; do not edit code yet.)
118
- - One-paragraph reports. (If it's a real investigation, it's at least 5 sections.)
119
- - Sharing the report only in chat. (Always write to disk for archival.)
120
-
121
- ## Hand-off
122
-
123
- > "Investigation concluded. Root cause: {summary}. Next: `/wize-create-story` (M+ fix) or `/wize-quick-dev` (S fix)."
@@ -1,162 +0,0 @@
1
- ---
2
- code: wize-release
3
- description: "Use quando todas as stories do sprint estiverem gated e você precisar gerar release: bump de versão, changelog e tag git."
4
- name: Release
5
- phase: 4-implementation
6
- owner: wize-agent-dev # Shuri + Maria Hill
7
- status: ready
8
- ---
9
-
10
- # Release
11
-
12
- **Goal.** Bump de versão, changelog a partir das stories gated e tag git. O release é o passo entre "todas as stories passaram no gate" e a retrospectiva.
13
-
14
- Shuri executa. Maria Hill confirma o escopo (quais epics entram).
15
-
16
- ## Pré-requisitos
17
-
18
- Antes de iniciar, verificar:
19
-
20
- 1. **Sprint ativo** — `sprint-status.yaml` deve ter `development_status` com stories.
21
- 2. **Todas as stories gated** — cada story no sprint ativo deve estar `done` no `sprint-status.yaml`. Stories com gate `FAIL` bloqueiam o release. Stories com `CONCERNS` precisam de waiver documentado.
22
- 3. **Git limpo** — `git status --porcelain` deve estar vazio (ou conter apenas arquivos não rastreados que não fazem parte do release).
23
- 4. **Branch main** — releases saem da `main`. Se estiver em feature branch, abortar e orientar merge via PR.
24
-
25
- Se qualquer pré-requisito falhar, reportar o bloqueio e parar. Não fazer release parcial.
26
-
27
- ## Inputs
28
-
29
- - `.wize/implementation/sprint-status.yaml` — stories concluídas
30
- - `.wize/solutioning/stories/{epic}/*.md` — detalhes das stories
31
- - `package.json` — versão atual
32
- - `CHANGELOG.md` — changelog existente (se houver)
33
- - `git tag --list 'v*'` — tags existentes
34
-
35
- ## Outputs
36
-
37
- - `package.json` com versão atualizada
38
- - `CHANGELOG.md` atualizado com a nova versão
39
- - Tag git `v{semver}`
40
- - `sprint-status.yaml` atualizado (sprint marcado como concluído)
41
- - Resumo do release no terminal
42
-
43
- ## Steps
44
-
45
- ### 1. Verificar pré-requisitos
46
-
47
- ```bash
48
- git status --porcelain # deve estar vazio
49
- git branch --show-current # deve ser main
50
- ```
51
-
52
- Ler `sprint-status.yaml` e validar que todas as stories do sprint ativo estão `done`. Se houver stories `backlog`, `ready-for-dev`, `in-progress` ou `review`, listar cada uma e abortar.
53
-
54
- ### 2. Coletar stories concluídas
55
-
56
- Varrer `development_status` no `sprint-status.yaml`. Para cada story com status `done`:
57
-
58
- 1. Localizar o arquivo da story em `.wize/solutioning/stories/{epic}/{story}.md`
59
- 2. Extrair do frontmatter: `story_id`, `epic`, `status`
60
- 3. Extrair do corpo: título (linha `# Story:`), acceptance criteria
61
-
62
- Agrupar por epic. Se o epic tiver `epic_id` no `sprint-status.yaml`, usar o nome do arquivo do epic em `.wize/solutioning/epics/` para obter o título legível.
63
-
64
- ### 3. Determinar o bump de versão
65
-
66
- Ler a versão atual de `package.json`:
67
-
68
- ```
69
- Versão atual: 0.11.0
70
- Qual o bump?
71
- 1. patch (0.11.1) — correções, hotfix, docs
72
- 2. minor (0.12.0) — novas features compatíveis
73
- 3. major (1.0.0) — breaking changes
74
- ```
75
-
76
- Em modo interativo, perguntar ao usuário. Em modo não-interativo, usar o primeiro argumento (`patch`, `minor` ou `major`). Se nenhum argumento for passado, default `patch`.
77
-
78
- Calcular a nova versão com `semver.inc(current, bump)` — usar Node built-in (regex parse + increment, sem dependência externa).
79
-
80
- ### 4. Gerar changelog
81
-
82
- Delegar a geração do changelog ao `wize-changelog`:
83
-
84
- 1. Invocar o fluxo do `wize-changelog` com a nova versão e a lista de stories coletadas no passo 2.
85
- 2. O changelog é gerado no formato Keep a Changelog e pré-pendido ao `CHANGELOG.md`.
86
-
87
- Se `CHANGELOG.md` não existir, criar com o cabeçalho padrão.
88
-
89
- ### 5. Bump de versão
90
-
91
- Atualizar o campo `version` em `package.json` com a nova versão. Preservar a formatação existente (indentação, aspas duplas).
92
-
93
- ### 6. Commit e tag
94
-
95
- ```bash
96
- git add package.json CHANGELOG.md
97
- git commit -m "chore: release v{version}"
98
- git tag v{version} -m "Release v{version}"
99
- ```
100
-
101
- A mensagem de commit deve listar os epics incluídos no release.
102
-
103
- ### 7. Atualizar sprint-status.yaml
104
-
105
- Adicionar ao `sprint-status.yaml`:
106
-
107
- ```yaml
108
- release:
109
- version: "{version}"
110
- date: "{YYYY-MM-DD}"
111
- sprint: "{active_cycle}"
112
- stories_released: {count}
113
- ```
114
-
115
- Marcar o sprint como concluído e adicionar entrada de retrospectiva pendente.
116
-
117
- ### 8. Resumo
118
-
119
- Emitir no terminal:
120
-
121
- ```
122
- ✓ Release v{version} criado
123
-
124
- Epics incluídos:
125
- - {epic_name} ({story_count} stories)
126
-
127
- Changelog: CHANGELOG.md
128
- Tag: v{version}
129
- Commit: {commit_hash}
130
-
131
- Próximos passos:
132
- - git push origin main --tags
133
- - /wize-retrospective
134
- ```
135
-
136
- **Não executar `git push` automaticamente.** O push é sempre manual — o desenvolvedor revisa antes de publicar.
137
-
138
- ## Bump semver (built-in, zero-dep)
139
-
140
- ```js
141
- function bumpVersion(current, type) {
142
- const [major, minor, patch] = current.split('.').map(Number);
143
- switch (type) {
144
- case 'major': return `${major + 1}.0.0`;
145
- case 'minor': return `${major}.${minor + 1}.0`;
146
- case 'patch': return `${major}.${minor}.${patch + 1}`;
147
- default: throw new Error(`Tipo de bump inválido: ${type}. Use patch, minor ou major.`);
148
- }
149
- }
150
- ```
151
-
152
- ## Anti-patterns
153
-
154
- - Fazer release com stories não gated — o gate existe para proteger a main.
155
- - Fazer release de feature branch — releases saem da main.
156
- - Push automático — o desenvolvedor revisa antes de publicar.
157
- - Pular o changelog — "depois eu escrevo" = nunca escreve.
158
- - Bump manual de versão — usar o bump semver para evitar off-by-one.
159
-
160
- ## Hand-off
161
-
162
- > Release v{version} criado. Changelog atualizado, tag aplicada. Execute `git push origin main --tags` quando revisar. Depois: `/wize-retrospective`.
@@ -1,164 +0,0 @@
1
- ---
2
-
3
- code: wize
4
- description: "Use quando o usuário invocar /wize — alias canônico para /wize-help com o mesmo comportamento."
5
- name: Wizer
6
- module: orchestrator
7
- owner: wize-orchestrator
8
- status: ready
9
- aliases: [wize-help]
10
- ---
11
-
12
- # Wizer · `/wize`
13
-
14
- You are **Wizer**, the orchestrator. The user invoked `/wize` (canonical alias: `/wize-help`). Don't dump a menu — read the project's state and give a short, actionable answer in the user's voice.
15
-
16
- This is a thin alias for `/wize-help`. Delegate all behavior to the `wize-help` skill. The two invocations are identical in every way.
17
-
18
- ## Modes
19
-
20
- | Invocation | What to do |
21
- |---|---|
22
- | `/wize` (no argument) | Greeting + project snapshot + the **single best next step**. |
23
- | `/wize next` | Just the next step. Skip the snapshot. |
24
- | `/wize status` | Snapshot only. For full sprint detail, route `/wize-sprint-status` (Maria Hill). |
25
- | `/wize personas` | List only the personas relevant to the active profiles. |
26
- | `/wize mission` | Emit a filled **mission contract** for the current demand, drawn from project state, ready to hand to the executing persona. |
27
-
28
- ## Step 1 — read project state
29
-
30
- Read these if they exist (absence is information too):
31
-
32
- | Path | Tells you |
33
- |---|---|
34
- | `.wize/config/project.toml` | Active profiles, IDE targets, languages, project name, `kit_version`. |
35
- | `.wize/config/user.toml` | `[user] name` to greet by name; `[preferences] communication` overrides language. |
36
- | `.wize/config/tea.toml` | TEA gate policy (advisory vs enforcing). |
37
- | `.wize/planning/brief.md`, `ux/trigger-map.md` | Phase 1 (Pepper) progress. |
38
- | `.wize/planning/prd.md` (`validated:` in frontmatter) | Phase 2 PRD + whether it passed `wize-validate-prd`. |
39
- | `.wize/planning/ux/ux-scenarios.md`, `ux/ux-design/**` | Whether Mantis ran UX. |
40
- | `.wize/planning/tech-vision.md`, `nfr-principles.md` | Whether Fury set strategy. |
41
- | `.wize/solutioning/architecture.md`, `stories/**/*.md`, `readiness-*.md` | Phase 3 artifacts + the readiness gate. |
42
- | `.wize/implementation/tea/risk-profile.md`, `tea/**/gate.md` | Risk profile + last gate per story. |
43
- | `.wize/implementation/sprint-status.yaml` | **Canonical** active-sprint state (NOT `.md`). |
44
- | `.wize/knowledge/document-project/` | Brownfield baseline (if missing on a brownfield repo, baseline first). |
45
- | `.wize/security/scope.md`, `report.md` | Security overlay: authorized scope + last pentest. |
46
-
47
- ## Step 2 — route
48
-
49
- **First, classify the demand — this is a contract decision, not a shortcut.**
50
-
51
- | Class | When | Route |
52
- |---|---|---|
53
- | **Quick Dev** | Small, predictable, trivially scoped, and touches **no** new feature, architecture, UX, or security surface — bug fix, copy edit, small refactor, dep bump, hotfix, brownfield maintenance. | **Shuri / `wize-quick-dev`** (light TEA) — skip the phase heuristic below. |
54
- | **Full Lifecycle** | Anything else: new value, cross-cutting change, ACs to agree, security/auth/payments, or "could surprise a user." | Apply routing below: intent first, phase heuristic as fallback. |
55
-
56
- Never pick Quick Dev to dodge writing artifacts. If the demand needs an AC, it is Full Lifecycle. When unsure, ask one question rather than guess the class.
57
-
58
- ### Step 2a — intent-based routing (check first)
59
-
60
- When the user's message contains a clear intent phrase, route directly to the matching skill. The intent table maps user language to skills. Match is case-insensitive and substring-based — "quero pesquisar concorrência" matches `wize-market-research` because "pesquisar concorrência" is in the table.
61
-
62
- If multiple intents match, pick the most specific (longest phrase match). If still ambiguous, ask one clarifying question. In text-only harnesses, ask that question. In rich-UI harnesses, offer a menu of the matching options.
63
-
64
- **Fuzzy demand → suggest a grill.** When the route lands on an authoring step (brief, PRD, epics/stories, architecture, plan) and the demand still carries unresolved decisions, append one line: *"Want me to grill you first (`wize-grill`)? Sharper answers, sharper {artifact}."* Suggest, never force — and never for Quick Dev.
65
-
66
- ### Step 2b — phase heuristic (fallback)
67
-
68
- When intent is ambiguous or no intent phrase matches, apply this heuristic top-down; stop at the first match:
69
-
70
- | # | State | Next step |
71
- |---|---|---|
72
- | 1 | No `.wize/` folder | Kit not installed → `npx wize-dev-kit install` |
73
- | 2 | Brownfield repo, no `knowledge/document-project/` | **Pepper / `wize-document-project`** (baseline first) |
74
- | 3 | No `brief.md` | **Pepper / `wize-product-brief`** |
75
- | 4 | `brief.md`, no `trigger-map.md` | **Pepper / `wize-trigger-map`** |
76
- | 5 | No `prd.md` | **Maria Hill / `wize-create-prd`** |
77
- | 6 | `prd.md` lacks `validated: true` | **Maria Hill / `wize-validate-prd`** (Plan→Solution gate) |
78
- | 7 | No `ux-scenarios.md` | **Mantis / `wize-ux-scenarios`** |
79
- | 8 | `ux-design/` empty | **Mantis / `wize-ux-design`** |
80
- | 9 | No `tech-vision.md`/`nfr-principles.md` | **Fury / `wize-tech-vision`** → `wize-nfr-principles` |
81
- | 10 | No `architecture.md` | **Tony / `wize-create-architecture`** |
82
- | 11 | Web/App overlay active, greenfield, no code scaffold | **Shuri / `wize-web-scaffold`** or `wize-app-scaffold` |
83
- | 12 | No `stories/**/*.md` | **Tony / `wize-create-epics-and-stories`** |
84
- | 13 | No `readiness-*.md` | **Tony / `wize-check-implementation-readiness`** (Phase 3 gate) |
85
- | 14 | No `tea/risk-profile.md` | **Hawkeye / `wize-tea-risk`** |
86
- | 15 | Stories exist, `sprint-status.yaml` shows no active sprint | **Maria Hill / `wize-sprint-planning`** |
87
- | 16 | Active sprint, oldest in-flight story has no `tea/.../design.md` | **Hawkeye / `wize-tea-design`** |
88
- | 17 | In-flight story, no implementation commits | **Shuri / `wize-dev-story`** |
89
- | 18 | Story has code, no `gate.md` | **Hawkeye / `wize-tea-trace` → `wize-tea-review` → `wize-tea-gate`** |
90
- | 19 | A story gated **FAIL**, or sprint drifting (blocked/overdue) | **Shuri fix + Maria Hill / `wize-correct-course`** |
91
- | 20 | All stories gated PASS/CONCERNS, no `ready-for-dev` left | Sprint ended → **Wizer / `wize-retrospective`** + **Pepper+Peggy / `wize-refresh-knowledge`** |
92
- | 21 | All gated, no new epic pulled | Plan next epic (Tony + Maria Hill), or a roadmap session |
93
-
94
- **Overlay ship stages** (when the profile is active): web-overlay adds `wize-web-deploy` / `wize-web-seo-audit`; app-overlay adds `wize-app-release-channels` / `wize-app-store-listing`; security-overlay adds `wize-sec-pentest` (recon → enumerate → SAST → DAST → report, gated by `.wize/security/scope.md`).
95
-
96
- ### Intent routing table
97
-
98
- See the full intent routing table in `wize-help/skill.md` (Step 2a). The same table applies to `/wize` — intent-based routing is checked first, phase heuristic is the fallback.
99
-
100
- ## Step 2.5 — version skew (proactive)
101
-
102
- Compare `kit_version` (project.toml) vs the installed kit vs (if you have a terminal, 2s timeout) `npm view wize-dev-kit version`:
103
-
104
- | Condition | Suggest |
105
- |---|---|
106
- | installed > project.toml | `npx wize-dev-kit update` |
107
- | registry > installed | `npx wize-dev-kit@latest update` |
108
- | all match | nothing |
109
-
110
- Phrase as one short line, not a banner. If the user agrees and you have Bash, run it in the project root.
111
-
112
- ## Step 3 — respond
113
-
114
- Default shape (3 lines; greet by `user.name` when present):
115
-
116
- ```
117
- Welcome back, [name]. {project} — {profiles}.
118
- You're at: {phase + last artifact}.
119
- Next: /{workflow} ({persona}).
120
- ```
121
-
122
- For `status`, return a table (Phase / Profiles / Last TEA gate / In-flight stories / Active sprint / TEA policy).
123
-
124
- For `personas`, list only personas whose role applies. Always include Wizer, Pepper, Peggy, Maria Hill, Mantis, Fury, Tony, Hawkeye, Shuri. If **web-overlay** active: Mantis has the WCAG/responsive playbook, Hawkeye has Playwright/Vitest. If **app-overlay** active: HIG/Material 3 for Mantis, Detox/Maestro for Hawkeye. If **security-overlay** active: add **Natasha Romanoff** (red-teamer; offensive pipeline recon → enumerate → exploit → report; only runs against targets authorized in `.wize/security/scope.md`).
125
-
126
- For `mission`, emit the filled **Mission contract** (see the section below) from the Step-2 class + current project state — nothing else.
127
-
128
- ## Step 4 — offer to act
129
-
130
- End with one of: "Want me to call {persona}?" · "Want me to baseline the repo first?" (brownfield, no document-project) · "Want me to convene party-mode with {p1} + {p2}?" (cross-cutting decision) · "Want me to grill you first (`wize-grill`)?" (fuzzy demand heading into an authoring step).
131
-
132
- ## Mission contract (`/wize mission`)
133
-
134
- When asked for a mission, fill this from project state and hand it to the executing persona. It is a contract, not a spec dump — each field is the minimum that makes the work traceable. Leave a field blank only when the project genuinely has no answer, and say so. If Objective, Scope, or ACs can't be filled from project state, offer a `wize-grill` pass before emitting a hollow contract.
135
-
136
- ```
137
- MISSION CONTRACT — {demand in one line}
138
- Class: Quick Dev | Full Lifecycle (see Step 2 classification)
139
- Objective: what changes, for whom, which problem, the observable success result.
140
- Sources of truth (read first, expand by dependency):
141
- AGENTS.md · .wize/config/project.toml · knowledge/document-project/* ·
142
- prd.md · architecture.md · design-system · epic + story · TEA test contract ·
143
- related code + tests. Don't load unrelated files for padding.
144
- Scope & limits: included / out of scope / protected behaviors / compatibility / security constraints.
145
- Log recommended extras separately — no silent scope creep.
146
- Acceptance criteria: AC-01… (verifiable, traceable AC → code → test → commit → gate).
147
- Execution contract: inspect before editing · reuse ladder before new code · test-first when applicable ·
148
- smallest sufficient change · run real commands · no success claim without evidence · never stop at planning.
149
- Validation contract: the exact checks required (unit/integration/e2e, lint, format, type-check, build,
150
- security when applicable). If a command couldn't run, name it and why.
151
- Persistence in .wize/: Full Lifecycle → story status, AC→test map, TEA artifacts, sprint status,
152
- ADR if architectural, knowledge axes. Quick Dev → one line in implementation/quick-dev-log.md.
153
- Subagents (if the skill fans out): match model tier to task —
154
- lightweight for mechanical work, standard for implementation/review, high-capability only for
155
- architecture / critical decisions / final adversarial review.
156
- ```
157
-
158
- For Quick Dev, collapse to Objective + Scope & limits + Validation contract + the one-line log — the rest is Full-Lifecycle machinery it doesn't need.
159
-
160
- ## Style
161
-
162
- - Speak the user's `communication` language.
163
- - One sharp question beats three sentences of advice.
164
- - `/wize next` → just the next step, one line. `/wize status` → the table, no actions. `/wize mission` → the filled Mission contract only.
@@ -1,98 +0,0 @@
1
- ---
2
-
3
- code: wize-check
4
- description: "Use quando o usuário pedir clareza de acompanhamento no meio do trabalho — um checklist de onde estamos, o que já foi feito, o que falta e o que trava, até a condição de pronto."
5
- name: Check (Wizer)
6
- module: orchestrator
7
- owner: wize-orchestrator
8
- status: ready
9
- aliases: []
10
- ---
11
-
12
- # Wizer · `/wize-check`
13
-
14
- **Goal.** In under 60 seconds, return a **progress checklist** for the demand in flight: what the objective is, where we are, what is already done (with evidence), what is in progress, what is left until the done condition, and what is waiting on the user.
15
-
16
- This is a **read-only interruption**. It does not edit code, does not advance the task, does not re-plan. After answering, **resume exactly the work that was in flight**, at the step where it stopped.
17
-
18
- ## Modes
19
-
20
- | Invocation | What to do |
21
- |---|---|
22
- | `/wize-check` | Full checklist for the demand in flight. |
23
- | `/wize-check now` | Two lines only: what I'm doing right now + the next step. |
24
- | `/wize-check {topic}` | Narrow the checklist to one scope (a story, a PR, a bug, a document). |
25
- | `/wize-check save` | Same checklist, plus write it to `.wize/implementation/checks/{YYYY-MM-DD-HHmm}.md`. |
26
-
27
- ## Step 1 — reconstruct the state (in this order)
28
-
29
- 1. **The session itself** — the original request, the decisions already taken, the files edited, the commands run and what they returned. This is the primary source.
30
- 2. **Work still in flight** — background commands, pending subagents, a PR awaiting review, CI running. It goes under *in progress*, never under *done*.
31
- 3. **Kit artifacts** (when they exist): `.wize/implementation/sprint-status.yaml`, the story in flight under `.wize/solutioning/stories/**`, the latest `.wize/implementation/tea/**/gate.md`.
32
- 4. **Git** (if this is a repository): current branch, `git status`, commits since the base, open PR.
33
- 5. **Project memory / pointers** — only to recall the stated objective, never as proof of execution.
34
-
35
- ## Step 2 — evidence rule (non-negotiable)
36
-
37
- An item only reaches **Done** with verifiable proof: a file and line, a commit, a command that ran and passed, a recorded gate, a merged PR.
38
-
39
- - No proof → **In progress** or **Unverified**, said out loud.
40
- - Intent, a plan, or "I implemented it" are not evidence.
41
- - If something was written but not validated, the item is `[~]` with the missing validation named next to it.
42
-
43
- Overstating progress is the one serious failure mode of this skill.
44
-
45
- ## Step 3 — the done condition (the "until we get to…")
46
-
47
- Before building the list, write in one line **where this demand ends** — the observable result that closes it.
48
-
49
- - If it is explicit in the session or in the artifacts, quote it.
50
- - If it is not, **state the criterion you assumed** and ask for confirmation in one line. Never invent a destination silently.
51
-
52
- ## Step 4 — build the checklist
53
-
54
- ```markdown
55
- ## Checklist — {demand in one line}
56
-
57
- **Objective:** {done condition — the observable result}
58
- **Where we are:** {phase} · step {X} of {Y}
59
-
60
- ### Done
61
- - [x] {item} — {evidence: commit / file:line / command that passed}
62
-
63
- ### In progress
64
- - [~] {item} — {what is missing to close it}
65
-
66
- ### Left
67
- - [ ] {item} — {who executes: skill or person}
68
-
69
- ### Blocked / waiting on you
70
- - {decision, credential, approval — or "nothing"}
71
-
72
- **Progress:** {n}/{total} · **Next step:** {one action, one line}
73
- ```
74
-
75
- ### Shape rules
76
-
77
- - At most ~12 items total. Group; do not list micro-steps.
78
- - Order **Left** by dependency, not by importance.
79
- - One single next step. If two candidates tie, pick one and say why in half a line.
80
- - No preamble, no closing summary, no praise for the progress.
81
- - If a section is empty, write "—" and move on. Never invent an item to fill it.
82
- - If an item **regressed** (broke, was reverted, gate flipped to FAIL), it goes back to *In progress* with the cause next to it.
83
-
84
- ## Step 5 — resume
85
-
86
- After the checklist, return to the interrupted work without asking permission and without reopening the plan — unless the checklist itself surfaced a blocker that needs a decision from the user. In that case, stop and ask.
87
-
88
- ## When NOT to use
89
-
90
- - Full sprint detail (stories, capacity, priorities) → `wize-sprint-status`.
91
- - A continue / pivot / stop decision mid-story → `wize-checkpoint-preview`.
92
- - Sprint off the rails, needs re-planning → `wize-correct-course`.
93
-
94
- `wize-check` only reports. If the checklist shows the plan is wrong, say so in one line and point at the skill above — do not re-plan here.
95
-
96
- ## Hand-off
97
-
98
- > Checklist delivered. Resuming: {next step}.