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
@@ -11,7 +11,7 @@
11
11
  "phase": { "type": "string" },
12
12
  "owner": { "type": "string" },
13
13
  "absorbs": { "type": "string" },
14
- "overlay": { "enum": ["web", "app", "security"] },
14
+ "overlay": { "enum": ["web", "app"] },
15
15
  "status": { "enum": ["stub", "draft", "ready", "stable"] },
16
16
  "gate": { "enum": ["risk", "design", "trace", "nfr", "review", "gate"] },
17
17
  "when": { "type": "string" }
@@ -1,7 +1,5 @@
1
1
  ---
2
-
3
2
  code: wize-app-release-channels
4
- description: "Use quando o app estiver pronto para distribuição e precisar configurar canais de release (beta, produção)."
5
3
  name: App Release Channels
6
4
  overlay: app
7
5
  owner: wize-agent-pm # Maria Hill
@@ -1,7 +1,5 @@
1
1
  ---
2
-
3
2
  code: wize-app-scaffold
4
- description: "Use quando precisar criar o scaffold inicial de um projeto mobile com a stack aprovada pelo Fury."
5
3
  name: App Scaffold
6
4
  overlay: app
7
5
  owner: wize-agent-architect # Tony
@@ -1,7 +1,5 @@
1
1
  ---
2
-
3
2
  code: wize-app-store-listing
4
- description: "Use quando o app estiver próximo do lançamento e precisar preparar a listagem na loja (copy, assets, metadados)."
5
3
  name: App Store Listing
6
4
  overlay: app
7
5
  owner: wize-agent-analyst # Pepper (copy) + Mantis (visual brief)
@@ -1,7 +1,5 @@
1
1
  ---
2
-
3
2
  code: wize-create-agent
4
- description: "Use quando precisar criar um novo agente customizado sob .wize/custom/agents/."
5
3
  name: Create Agent
6
4
  owner: builder
7
5
  status: stub
@@ -1,7 +1,5 @@
1
1
  ---
2
-
3
2
  code: wize-create-skill
4
- description: "Use quando precisar criar uma nova skill single-step sob .wize/custom/skills/."
5
3
  name: Create Skill
6
4
  owner: builder
7
5
  status: stub
@@ -1,7 +1,5 @@
1
1
  ---
2
-
3
2
  code: wize-create-workflow
4
- description: "Use quando precisar criar um novo workflow multi-step sob .wize/custom/workflows/."
5
3
  name: Create Workflow
6
4
  owner: builder
7
5
  status: stub
@@ -16,6 +16,9 @@ skills:
16
16
  - code: wize-grill
17
17
  name: "Grill"
18
18
  description: "Exhaustive one-question-at-a-time interview to reach shared understanding before drafting briefs, PRDs, epics, stories, or plans."
19
+ - code: wize-eli5
20
+ name: "ELI5"
21
+ description: "Explain anything to anyone — adapts vocabulary, analogies, tone, depth and framing to the audience (age, role, relationship)."
19
22
  - code: wize-brainstorming
20
23
  name: "Brainstorming"
21
24
  description: "Divergent-then-convergent ideation; produces idea-pool.md."
@@ -1,7 +1,5 @@
1
1
  ---
2
-
3
2
  code: wize-advanced-elicitation
4
- description: "Use quando uma resposta do usuário parecer subespecificada e precisar de técnicas de elicitação (5 Whys, laddering, premortem) para aprofundar o entendimento."
5
3
  name: Advanced Elicitation
6
4
  module: core
7
5
  status: stub
@@ -1,7 +1,5 @@
1
1
  ---
2
-
3
2
  code: wize-brainstorming
4
- description: "Use quando precisar gerar ideias divergentes e convergir para as melhores opções em qualquer fase de decisão."
5
3
  name: Brainstorming
6
4
  module: core
7
5
  status: stub
@@ -0,0 +1,72 @@
1
+ ---
2
+ code: wize-eli5
3
+ description: "Use quando alguém pedir para explicar um conceito, trecho de código, erro ou decisão para um público específico — adapta vocabulário, analogias, tom, profundidade e framing ao ouvinte."
4
+ name: ELI5
5
+ module: core
6
+ status: ready
7
+ ---
8
+
9
+ # ELI5 — Explain Like I Am 5
10
+
11
+ **Goal.** Explain anything to anyone — a concept, a piece of code, an error, an architecture decision, a business rule — calibrated to the listener. The same idea gets a different explanation for a 5-year-old, a manager, an engineer, or a client. ELI5 is a communication tool, not an artifact of its own: it produces the explanation in the conversation (or as a short doc when asked).
12
+
13
+ Inspired by [ELI5](https://github.com/dreambigou/eli5) by Andrew Ou — adapted to the Wize method: audience detection first, explicit calibration, and a comprehension check before handing off.
14
+
15
+ ## Step 1 — Detect the audience
16
+
17
+ Read the prompt for an explicit or implicit audience. If none is given, ask **one** question with a recommendation (rule 2 of `wize-grill`): "I'll explain it for a non-technical stakeholder — or would you prefer the engineering version?"
18
+
19
+ | Category | Examples |
20
+ |---|---|
21
+ | **Ages** | 5, 10, 15, 20, 30, 40+ |
22
+ | **Grade levels** | 5th grade, middle school, high school, college, graduate |
23
+ | **Job roles** | Manager, engineer, designer, director, product manager, client, stakeholder |
24
+ | **Relationships** | Wife, husband, parents, kids, friend, investor |
25
+
26
+ ## Step 2 — Calibrate on five axes
27
+
28
+ | Axis | Non-technical / child | Technical / peer |
29
+ |---|---|---|
30
+ | **Vocabulary** | No jargon; everyday words; define any term you must use | Proper terminology, precise names |
31
+ | **Analogies** | Toys, playground, kitchen, games | Systems, patterns, prior art, math |
32
+ | **Tone** | Playful, warm, patient | Direct, professional, dense |
33
+ | **Depth** | Short and sweet; one idea at a time | Nuanced; trade-offs; edge cases |
34
+ | **Framing** | What it does for *them*, in their world | Impact/risk, architecture, constraints |
35
+
36
+ Role-specific framing:
37
+ - **Manager / director** → business outcome, cost, risk, timeline. No implementation detail unless asked.
38
+ - **Designer** → user experience, flow, visual impact.
39
+ - **Engineer** → mechanism, contracts, failure modes.
40
+ - **Client / stakeholder** → what changes for them, what they must decide, what it costs.
41
+ - **Child / layperson** → one concrete analogy, one sentence per idea, check understanding.
42
+
43
+ ## Step 3 — Explain
44
+
45
+ 1. **One idea per beat.** Short sentences. If the explanation needs more than ~5 beats, structure it (numbered steps or a tiny table).
46
+ 2. **Lead with the analogy for non-technical audiences** — then, only if asked, bridge to the real mechanism ("it's like a library card catalog… and the actual index is a B-tree").
47
+ 3. **For code**: show the *behavior* first (what it does), then the *why* (why it exists), then the *how* (mechanism) — in that order, stopping at the depth the audience needs.
48
+ 4. **For errors**: plain-language what happened → why it happened → what we do about it. Never dump a stack trace at a non-technical audience.
49
+ 5. **For decisions**: the decision → the reason → the alternative considered → the cost of being wrong.
50
+
51
+ ## Step 4 — Verify comprehension
52
+
53
+ Close with a lightweight check, matched to the audience:
54
+
55
+ - **Child / layperson**: "Does that make sense? Want me to say it with a different example?"
56
+ - **Manager / client**: one-line summary + the single decision or action they own.
57
+ - **Engineer**: offer the next level: "Want the implementation details / the failure modes / the alternatives?"
58
+
59
+ If the listener asks a follow-up, re-calibrate — the audience may have shifted (a manager asking "how does that work technically?" is now an engineer).
60
+
61
+ ## Anti-patterns
62
+
63
+ - Explaining to a 5-year-old with the same depth as a code review.
64
+ - Dumping jargon at a non-technical audience ("it's a distributed consensus algorithm").
65
+ - Over-simplifying for an engineer (no hand-waving at peers).
66
+ - Skipping the audience check when the prompt is ambiguous.
67
+ - Explaining *everything* — answer the question asked, then stop.
68
+ - Using the same analogy for every audience (a playground analogy lands for a child, not for a CFO).
69
+
70
+ ## Hand-off
71
+
72
+ > Explained {topic} for {audience} — calibrated on vocabulary, analogies, tone, depth and framing. Comprehension check: {result}. {One-line summary or next action for the listener.}
@@ -1,11 +1,8 @@
1
1
  ---
2
-
3
2
  code: wize-review-adversarial
4
- description: "Use quando um artefato (story, arquitetura, PRD) precisar de revisão adversarial — testar a ideia sob quatro personas hostis."
5
3
  name: Adversarial Review
6
4
  module: core
7
5
  status: stub
8
- subtask: true
9
6
  ---
10
7
 
11
8
  # Adversarial Review
@@ -1,7 +1,5 @@
1
1
  ---
2
-
3
2
  code: wize-shard-doc
4
- description: "Use quando um documento markdown grande (PRD, arquitetura) precisar ser dividido em shards endereçáveis por ID."
5
3
  name: Shard Doc
6
4
  module: core
7
5
  status: stub
@@ -23,9 +23,6 @@ absorbs:
23
23
  skills:
24
24
  - wize-product-brief
25
25
  - wize-research
26
- - wize-market-research
27
- - wize-domain-research
28
- - wize-technical-research
29
26
  - wize-trigger-map
30
27
  - wize-prfaq
31
28
  - wize-document-project
@@ -1,229 +1,36 @@
1
1
  ---
2
-
3
2
  code: wize-document-project
4
- description: "Use quando o kit for instalado em um repositório existente (brownfield) e precisar documentar o estado atual do projeto."
5
3
  name: Document Project (brownfield baseline)
6
4
  phase: 1-analysis
7
- owner: wize-agent-analyst # Pepper Potts (paired with Peggy Carter and Tony Stark)
8
- status: ready
5
+ owner: wize-agent-analyst # Pepper Potts (paired with Peggy Carter)
6
+ status: stub
9
7
  ---
10
8
 
11
9
  # Document Project — Brownfield Baseline
12
10
 
13
- **Goal.** When the kit is installed in an existing repo, baseline the **as-is** state so the rest of the lifecycle isn't blind. Produces a structured snapshot Tony can read before designing the *to-be*, and a knowledge base Wizer can answer questions from.
14
-
15
- Pepper drives discovery. Peggy edits prose. Tony validates architecture interpretation. Output lands in `.wize/knowledge/document-project/`.
11
+ **Goal.** When the kit is installed in an existing codebase, baseline the current state so subsequent planning isn't blind. Produces an "as-is" snapshot that Tony reads before drawing the "to-be."
16
12
 
17
13
  ## When to run
18
-
19
- - The installer detected brownfield signals (`package.json`, `src/`, history) and offered to run this. ✓
20
- - The team is onboarding to a codebase nobody fully owns. ✓
21
- - A previous re-platforming decision left the docs stale. ✓
22
-
23
- Skip:
24
- - Greenfield (nothing to document yet).
25
- - Repos < 200 LOC.
14
+ - Installer detected `package.json` / `pubspec.yaml` / `Cargo.toml` / `go.mod` + non-trivial `src/` history.
15
+ - User explicitly requests `/wize-document-project`.
26
16
 
27
17
  ## Inputs
28
-
29
- - The target repo (root).
30
- - `git log --since="1 year ago" --oneline | wc -l` to scope.
31
- - Any prior README / ARCHITECTURE / docs that exist.
32
-
33
- ## CLI usage
34
-
35
- ```bash
36
- wize-dev-kit document-project # quick baseline (default)
37
- wize-dev-kit document-project quick # same as default
38
- wize-dev-kit document-project initial_scan # pattern-only initial scan
39
- wize-dev-kit document-project initial_scan deep # reads critical directories
40
- wize-dev-kit document-project initial_scan exhaustive # reads all source files in batches
41
- wize-dev-kit document-project full_rescan # archives old state, re-runs initial_scan
42
- wize-dev-kit document-project deep_dive --target src/tools/installer
43
- ```
44
-
45
- ## Modes
46
-
47
- | Mode | What it does | Scan levels |
48
- |---|---|---|
49
- | `quick` | Writes the 6 baseline files. Does not read source files. | `quick` only |
50
- | `initial_scan` | Classifies project type, writes index + overview + source tree + conditional docs. | `quick`, `deep`, `exhaustive` |
51
- | `full_rescan` | Archives `project-scan-report.json` and re-runs `initial_scan`. | `quick`, `deep`, `exhaustive` |
52
- | `deep_dive` | Exhaustive analysis of a specific folder/file/feature. | `exhaustive` |
18
+ - The target repo (root)
19
+ - `git log --oneline -50`
20
+ - Existing READMEs / ARCHITECTURE / docs
53
21
 
54
22
  ## Outputs
55
-
56
- - `.wize/knowledge/document-project/overview.md` — what the project is, who uses it, how big it is.
57
- - `.wize/knowledge/document-project/architecture-snapshot.md` — current components, integrations, data flow.
58
- - `.wize/knowledge/document-project/conventions.md` — coding/test/folder conventions actually used.
59
- - `.wize/knowledge/document-project/dependencies.md` — runtime deps + dev deps + their roles.
60
- - `.wize/knowledge/document-project/risk-spots.md` — areas of concentrated complexity, undocumented behavior, or known fragility.
61
- - `.wize/knowledge/document-project/open-questions.md` — things the code doesn't answer; route to humans.
62
- - `.wize/knowledge/document-project/index.md` — master navigation with `_(To be generated)_` markers for missing conditional docs.
63
- - `.wize/knowledge/document-project/project-scan-report.json` — resume state.
23
+ - `.wize/knowledge/document-project/overview.md`
24
+ - `.wize/knowledge/document-project/architecture-snapshot.md`
25
+ - `.wize/knowledge/document-project/conventions.md`
26
+ - `.wize/knowledge/document-project/open-questions.md`
64
27
 
65
28
  ## Steps
66
-
67
- ### 1. Inventory (Pepper, mechanical)
68
-
69
- A first pass that requires no judgment, just listing.
70
-
71
- ```
72
- ls -la # top-level layout
73
- cat package.json | jq '.dependencies, .devDependencies, .scripts'
74
- git log --since="3 months ago" --oneline | wc -l
75
- git log --pretty=format:"%an" | sort | uniq -c | sort -rn | head
76
- find . -name "*.test.*" -o -name "*.spec.*" | wc -l
77
- find . -type f -name "*.md" | head
78
- ```
79
-
80
- Write what you found in `overview.md` (no opinions yet).
81
-
82
- ### 2. Architecture snapshot (Pepper + Tony)
83
-
84
- Walk the repo top-down. Identify:
85
- - **Entry points** (CLI, server, worker, build).
86
- - **Components** (where the boundaries are — by folder, by package, by feature).
87
- - **Integrations** (databases, queues, external APIs, third-party SDKs).
88
- - **Data flow** for at least one end-to-end critical path (e.g., a typical user request).
89
-
90
- Draw or describe. Diagrams in ASCII or Mermaid are fine — the point is shared mental model.
91
-
92
- Tony validates. If the snapshot misnames a pattern, fix it.
93
-
94
- ### 3. Conventions (Peggy)
95
-
96
- Sample 5–10 files across the repo. Note:
97
- - Naming (camelCase / snake_case / kebab-case).
98
- - Folder structure (feature-first / layer-first).
99
- - Test placement (co-located / `__tests__` / `test/`).
100
- - Comment style (JSDoc / TSDoc / inline).
101
- - Import ordering (alphabetical / by source).
102
- - Logging / error handling patterns.
103
- - Linter / formatter config (eslint, prettier, etc.).
104
-
105
- Write the convention found, not the convention you'd prefer.
106
-
107
- ### 4. Dependencies (Pepper)
108
-
109
- For each runtime dep, write one line:
110
- - Name, version, what it does in this repo, whether it's load-bearing.
111
-
112
- Flag:
113
- - Deps without a clear role.
114
- - Deps with known CVEs (run `npm audit --omit=dev` and capture).
115
- - Multiple deps doing the same job (`lodash` + `ramda`, both date libs, etc.).
116
- - Deps not maintained in > 2 years (link to last release).
117
-
118
- ### 5. Risk spots (Pepper + Tony)
119
-
120
- For each, name the area + the symptom + the likely cause + how confident you are:
121
-
122
- | Area | Symptom | Likely cause | Confidence |
123
- |---|---|---|---|
124
- | `src/legacy/billing/` | 2k-line file with no tests | rushed migration in 2024 | high |
125
- | Webhooks handler | Silent retries | no idempotency layer | medium |
126
- | Auth middleware | Custom JWT parsing | predates the library that handles it | high |
127
-
128
- This is *not* a refactor backlog. It's a map. Tony decides what to fix; this just makes the choices visible.
129
-
130
- ### 6. Open questions (everyone)
131
-
132
- Things the code does NOT answer:
133
- - Why was this choice made?
134
- - What's the SLA?
135
- - Who's the owner of feature X?
136
- - Are there secret configs we're missing?
137
-
138
- Each question gets an owner (a human Pepper will ask). Route back via Wizer.
139
-
140
- ### 7. Hand-off
141
-
142
- - Mark all docs `status: baseline`.
143
- - Tell Wizer: *"Baseline complete. Tony can read it before architecture work; Hill can read it before scoping."*
144
-
145
- ## Conventions doc — template
146
-
147
- ```markdown
148
- ---
149
- status: baseline
150
- owner: Pepper Potts + Peggy Carter
151
- created: YYYY-MM-DD
152
- sampled: 8 files across src/, tests/, scripts/
153
- ---
154
-
155
- # Conventions (observed, not prescribed)
156
-
157
- ## Naming
158
- - Files: kebab-case (e.g., `user-profile.ts`).
159
- - Classes: PascalCase.
160
- - Functions: camelCase, verb-led.
161
- - Constants: UPPER_SNAKE_CASE.
162
-
163
- ## Folder structure
164
- Feature-first: `src/features/<feature>/{index.ts, api.ts, ui.tsx, *.spec.ts}`.
165
- Shared utilities in `src/shared/`.
166
-
167
- ## Tests
168
- Co-located with the file under test. `.spec.ts` for unit; `.e2e.ts` for end-to-end (separate runner).
169
-
170
- ## Lint/format
171
- `eslint.config.mjs` with `airbnb-base` + custom rules in `eslint.local.cjs`. Prettier with 2-space indent.
172
-
173
- ## Observed deviations
174
- - `src/legacy/billing/` doesn't follow feature-first; it predates the convention.
175
- - Some files use `_test.ts` suffix instead of `.spec.ts` — older code.
176
- ```
177
-
178
- ## Update mode (how the baseline stays alive)
179
-
180
- The first run of this workflow produces the **baseline**. Two complementary mechanisms keep it current after:
181
-
182
- ### 1. Inline updates per story (the daily cadence)
183
-
184
- Every `wize-dev-story` ends with a Knowledge Update step (step 8). If the story touched any of the 5 axes (architecture, conventions, risk-spots, dependencies, overview), Shuri appends 1–3 dated bullets to the matching `document-project/*.md` file **in the same PR**. Hawkeye verifies in `tea-review`; a touched-but-not-updated story gets a `KN-NN` finding at gate.
185
-
186
- `wize-quick-dev` has a lighter version: only when a dep bump or a public rename actually shifts the baseline.
187
-
188
- This produces dated bullets like:
189
-
190
- ```markdown
191
- ## 2026-06-12 — E01-S03
192
- - Conventions: `data-testid="invite-*"` published as public contract.
193
- - Risk: R-1 (mailer) mitigation confirmed.
194
- ```
195
-
196
- ### 2. Sprint-end refresh (the narrative cadence)
197
-
198
- `wize-refresh-knowledge` runs at sprint end (triggered by `wize-help next` when it detects the sprint emptied). Pepper + Peggy consolidate the inline bullets into the narrative prose of each axis file, demote stale claims to a "Deprecated" section, freeze a sprint snapshot in `_history/{YYYY-Qn}/sprint-{N}.md`, and stamp `last_refreshed` in each file.
199
-
200
- Result: the baseline reads like a single coherent document, not a chronological log. New devs can read it linearly and form a mental model. Forensics readers (six months later, asking "when did X change?") consult `_history/`.
201
-
202
- ### File frontmatter convention
203
-
204
- Each `document-project/*.md` file ships with:
205
-
206
- ```yaml
207
- ---
208
- status: baseline
209
- owner: Pepper Potts + Peggy Carter
210
- created: 2026-04-02
211
- last_refreshed: 2026-06-25
212
- sampled: "wkly + sprint refresh"
213
- ---
214
- ```
215
-
216
- `last_refreshed` tells the reader how much to trust the file vs the inline bullets accumulating since.
217
-
218
- ## Anti-patterns Pepper rejects
219
-
220
- - "TODO: document later." The baseline IS the documentation pass; later doesn't come.
221
- - Romanticizing the code ("clean, modular"). Describe what you see; let Tony judge.
222
- - Architecture diagrams that show what the team *wishes* exists. Diagram the real state.
223
- - Risk-spot table with no confidence label. Without confidence, readers can't act.
224
- - Open questions with no owner. They never get answered.
225
- - Treating the baseline as one-shot. The mode + refresh exist precisely because point-in-time docs lie within weeks.
226
-
227
- ## Hand-off
228
-
229
- > Baseline is in `.wize/knowledge/document-project/`. Three risk spots flagged. Five open questions routed to the humans named per question. Tony can read this before drawing `architecture.md`; Hill can scope the PRD knowing what's already there.
29
+ 1. **Inventory.** List packages, top-level modules, infra files, entry points.
30
+ 2. **Architecture snapshot.** Components and integrations as currently exist. Diagrams welcome.
31
+ 3. **Conventions.** Coding/test/folder conventions surfaced from a sample of files.
32
+ 4. **Open questions.** Things the code doesn't answer; route to humans.
33
+ 5. **Hand off.** Pepper to Wizer: "baseline ready." Then Wizer decides next agent.
34
+
35
+ ## Pairing
36
+ Peggy Carter edits prose for clarity and structure. Tony Stark may be looped in to confirm architecture interpretation.
@@ -1,168 +1,27 @@
1
1
  ---
2
-
3
2
  code: wize-prfaq
4
- description: "Use quando precisar forçar alinhamento escrevendo o press release futuro e FAQ antes de construir — estilo Amazon Working Backwards."
5
3
  name: PR/FAQ
6
4
  phase: 1-analysis
7
5
  owner: wize-agent-analyst # Pepper Potts
8
- status: ready
6
+ status: stub
9
7
  ---
10
8
 
11
- # PR/FAQ — Working Backwards
12
-
13
- **Goal.** Force alignment by writing the *future* press release and a tight FAQ **before** anyone builds anything. Amazon-style. If you can't write a compelling PR, you don't have a product yet.
14
-
15
- Pepper drives. Peggy polishes prose. Output lands in `.wize/planning/prfaq.md`.
16
-
17
- ## When to run
9
+ # PR/FAQ
18
10
 
19
- Run this:
20
- - New product or new strategic feature.
21
- - The team disagrees on the user-visible value.
22
- - You're about to commit > 1 month of engineering.
23
-
24
- Skip this:
25
- - Bug fix, copy edit, dependency bump → use `wize-quick-dev`.
26
- - The brief already crisply names the user-visible value and the team is aligned → write the PRD directly.
11
+ **Goal.** Force alignment by drafting the "future press release + FAQ" before building. Amazon-style.
27
12
 
28
13
  ## Inputs
29
-
30
14
  - `.wize/planning/brief.md`
31
- - `.wize/planning/research.md` (optional)
32
15
 
33
16
  ## Outputs
34
-
35
17
  - `.wize/planning/prfaq.md`
36
18
 
37
- ## Structure (the Amazon shape)
38
-
39
- A PR/FAQ has two parts: the **PR** (≤ 1 page) and the **FAQ** (≤ 2 pages).
40
-
41
- ### The PR (write this first)
42
-
43
- | Section | Length | What goes in it |
44
- |---|---|---|
45
- | **Headline** | 1 line | Audience + benefit + product name. Reader-understandable. |
46
- | **Sub-headline** | 1 line | The non-obvious part of the benefit. |
47
- | **Summary paragraph** | 3–5 sentences | What it is, who it's for, what changes, where to get it. |
48
- | **Problem paragraph** | 3–5 sentences | Why this matters *now*, evidence the pain is real. |
49
- | **Solution paragraph** | 3–5 sentences | How the product solves the problem. Concrete, not abstract. |
50
- | **Internal quote** | 1 quote | A leader (founder/CEO) saying why this matters strategically. |
51
- | **How it works** | 3 sentences | Three lines max. Not implementation — the *user* mental model. |
52
- | **Customer quote** | 1 quote | An imagined real user saying the thing they'd say. Specific. |
53
- | **How to get started** | 2 lines | One sentence: where + how. One sentence: what's first. |
54
-
55
- If you find yourself writing more, cut. The discipline is the point.
56
-
57
- ### The FAQ
58
-
59
- 5–10 questions a sharp reader would actually ask. Crisp answers.
60
-
61
- **Mandatory questions** (always include):
62
-
63
- 1. Who exactly is this for?
64
- 2. What does this replace today?
65
- 3. Why now? (Why not last year, why not next year?)
66
- 4. How is this different from {{nearest competitor}}?
67
- 5. What's *out* of scope at launch?
68
- 6. What does success look like in 6 months? In 18 months?
69
- 7. What are the top three risks?
70
-
71
- **Optional questions** (include when relevant):
72
-
73
- 8. What's the pricing model?
74
- 9. How does this work for non-English locales / accessibility / offline?
75
- 10. What does the regulatory story look like?
76
- 11. What's the launch sequence (geos / segments / preview)?
77
-
78
19
  ## Steps
79
-
80
- ### 1. Frame and freeze the audience
81
-
82
- Write the audience line at the top of your draft and don't move it. Every sentence is judged against "does this matter to the audience?"
83
-
84
- ### 2. PR before FAQ
85
-
86
- Always. The discipline of writing the PR exposes vague thinking. The FAQ comes after, when you're forced to defend it.
87
-
88
- ### 3. Show, don't market
89
-
90
- No "world-class," "revolutionary," "AI-powered" without a noun next to it. If you can replace the adjective with another and lose nothing, delete it.
91
-
92
- ### 4. Numbers, not adjectives
93
-
94
- Every claim has a unit. "Reduces onboarding from 35 minutes to 7" beats "reduces onboarding significantly."
95
-
96
- ### 5. Pre-mortem question
97
-
98
- Before sending, write the answer to: *"It's six months after launch and it failed. Why?"*. If the FAQ doesn't already cover the failure mode, add the question.
99
-
100
- ### 6. Adversarial review
101
-
102
- Run `wize-review-adversarial` on the draft. Cut what survives only "trust me."
103
-
104
- ### 7. Hand off
105
-
106
- The PR/FAQ is **not** the PRD. It's a strategic alignment doc. Marker `status: aligned`. Hill writes the PRD from this + the brief.
107
-
108
- ## Output template
109
-
110
- ```markdown
111
- ---
112
- status: draft | aligned
113
- owner: Pepper Potts
114
- created: YYYY-MM-DD
115
- ---
116
-
117
- # PR/FAQ — {{project_name}}
118
-
119
- ## Press Release
120
-
121
- **Headline:** {{audience}} can now {{benefit}} with {{product_name}}.
122
- **Sub-headline:** {{the non-obvious twist}}.
123
-
124
- {{summary paragraph}}
125
-
126
- {{problem paragraph}}
127
-
128
- {{solution paragraph}}
129
-
130
- > "{{quote}}" — {{internal leader title}}
131
-
132
- How it works: {{three sentences}}
133
-
134
- > "{{customer quote}}" — {{persona}}
135
-
136
- Get started: {{where + first step}}
137
-
138
- ## FAQ
139
-
140
- **Q1. Who exactly is this for?**
141
- …
142
-
143
- **Q2. What does this replace today?**
144
- …
145
-
146
- **Q3. Why now?**
147
- …
148
-
149
- (…through Q10 as needed)
150
-
151
- ## Pre-mortem
152
- It's six months after launch and it failed. Why?
153
- 1. …
154
- 2. …
155
- 3. …
156
- ```
157
-
158
- ## Anti-patterns Pepper rejects
159
-
160
- - PR longer than one page. Cut.
161
- - A press release with no user. ("Wize Foo unlocks synergies.") — say *who*.
162
- - A FAQ that dodges the hard question. The reader will ask it; better in your draft than in a launch review.
163
- - Pricing left vague when it's the load-bearing question.
164
- - Customer quote that sounds like marketing copy. Rewrite as a person speaking.
165
-
166
- ## Hand-off
167
-
168
- > PR/FAQ is in `.wize/planning/prfaq.md`. Aligned with leadership. Hill, the PRD scope should anchor on FAQ Q5 (in/out). Mantis, the customer quote is your North Star for UX.
20
+ 1. **Headline + subhead.** One sentence each. Reader must understand.
21
+ 2. **Quote (customer).** Why does this matter to a real user?
22
+ 3. **Quote (internal leader).** Why does this matter to the business?
23
+ 4. **How it works.** Three paragraphs max.
24
+ 5. **FAQ.** 5–10 most likely sharp questions, with crisp answers.
25
+
26
+ ## When to skip
27
+ Skip this workflow for small fixes or features whose audience is obvious. Use for net-new products or strategic bets.