wize-dev-kit 0.8.0 → 0.8.1
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.
- package/AGENTS.md +1 -1
- package/ARCH.md +33 -18
- package/CHANGELOG.md +21 -0
- package/DECISIONS.md +5 -0
- package/README.es.md +25 -4
- package/README.md +4 -3
- package/README.pt-BR.md +4 -3
- package/ROSTER.md +11 -3
- package/adapters/README.md +5 -5
- package/adapters/antigravity/README.md +5 -5
- package/adapters/claude-code/README.md +1 -1
- package/adapters/continue/README.md +5 -5
- package/adapters/cursor/README.md +2 -2
- package/adapters/generic/README.md +1 -1
- package/adapters/kimi-code/README.md +5 -5
- package/adapters/opencode/README.md +3 -3
- package/adapters/windsurf/README.md +3 -3
- package/package.json +1 -1
- package/schemas/agent.schema.json +2 -2
- package/schemas/workflow.schema.json +1 -1
- package/src/orchestrator-skills/wize-help/skill.md +67 -93
package/AGENTS.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
This repo is wired with the [`wize-dev-kit`](https://www.npmjs.com/package/wize-dev-kit).
|
|
4
4
|
Detailed artifacts live under `.wize/`. The agents below are activated through your AI IDE
|
|
5
|
-
using slash commands (
|
|
5
|
+
using slash commands (Codex, Cursor, Windsurf, Antigravity all read this file).
|
|
6
6
|
|
|
7
7
|
## Roster
|
|
8
8
|
|
package/ARCH.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
## 1. Identidade
|
|
10
10
|
|
|
11
11
|
- **Nome do pacote npm:** `wize-dev-kit`
|
|
12
|
-
- **CLI:** `wize-dev-kit` (subcomandos: `install`, `update`, `uninstall`, `agent`, `workflow`, `
|
|
12
|
+
- **CLI:** `wize-dev-kit` (subcomandos: `install`, `update`, `uninstall`, `list`, `sync`, `agent`, `workflow`, `validate`, `doctor`, `document-project`)
|
|
13
13
|
- **Namespace de arquivos/agentes/skills:** `wize-*`
|
|
14
14
|
- **Licença:** MIT — open-source desde o dia 1.
|
|
15
15
|
- **Tema visual do roster:** Marvel.
|
|
@@ -19,15 +19,16 @@
|
|
|
19
19
|
|
|
20
20
|
## 2. Modelo de distribuição
|
|
21
21
|
|
|
22
|
-
**1 pacote,
|
|
22
|
+
**1 pacote, 4 perfis selecionáveis, overlays combináveis.**
|
|
23
23
|
|
|
24
24
|
```
|
|
25
25
|
wize-dev-kit (pacote npm)
|
|
26
26
|
│
|
|
27
27
|
├── Wize Dev Core ← base completa (sempre instalada)
|
|
28
28
|
├── Wize Web Dev ← overlay opt-in
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
├── Wize App Development ← overlay opt-in
|
|
30
|
+
└── Wize Security Overlay ← overlay opt-in (AI Pentester / red-teamer)
|
|
31
|
+
(overlays podem coexistir no mesmo repo)
|
|
31
32
|
```
|
|
32
33
|
|
|
33
34
|
- Selecionar perfil no installer aplica Core + overlay correspondente.
|
|
@@ -36,7 +37,7 @@ wize-dev-kit (pacote npm)
|
|
|
36
37
|
|
|
37
38
|
---
|
|
38
39
|
|
|
39
|
-
## 3. Roster final (9 personas
|
|
40
|
+
## 3. Roster final (9 core personas + 1 overlay persona)
|
|
40
41
|
|
|
41
42
|
| Persona | Code | Papel | Fase principal |
|
|
42
43
|
|---|---|---|---|
|
|
@@ -49,6 +50,7 @@ wize-dev-kit (pacote npm)
|
|
|
49
50
|
| Tony Stark | `wize-agent-architect` | System Architect | 3 (Solutioning) |
|
|
50
51
|
| Hawkeye | `wize-agent-test-architect` | Test Architect (TEA) | Gates 2/3/4 |
|
|
51
52
|
| Shuri | `wize-agent-dev` | Senior Developer | 4 (Implementation) |
|
|
53
|
+
| red-teamer | `wize-sec-red-teamer` | AI Pentester (security-overlay, opt-in) | Transversal |
|
|
52
54
|
|
|
53
55
|
---
|
|
54
56
|
|
|
@@ -162,12 +164,12 @@ E nos IDE-targets (selecionáveis no install):
|
|
|
162
164
|
```
|
|
163
165
|
.claude/skills/wize-* (Claude Code)
|
|
164
166
|
.cursor/rules/wize-*.mdc (Cursor)
|
|
165
|
-
.windsurf
|
|
166
|
-
.
|
|
167
|
-
.continue
|
|
168
|
-
.kimi
|
|
169
|
-
.opencode
|
|
170
|
-
.
|
|
167
|
+
.windsurf/rules/wize-*.md (Windsurf)
|
|
168
|
+
.agents/skills/wize-* (Codex — .codex/ foi revertido na 0.7.3)
|
|
169
|
+
.continue/prompts/wize-*.prompt (Continue)
|
|
170
|
+
.kimi/skills/wize-* (Kimi Code)
|
|
171
|
+
.opencode/agents/ + .opencode/commands/ (OpenCode)
|
|
172
|
+
.agent/skills/wize-* (Antigravity CLI/IDE)
|
|
171
173
|
.wize/agents/ (fallback genérico)
|
|
172
174
|
```
|
|
173
175
|
|
|
@@ -196,7 +198,7 @@ wize-dev-kit install
|
|
|
196
198
|
├─ Detecta: greenfield vs brownfield
|
|
197
199
|
├─ Pergunta: perfil(s) — Core / +Web / +App
|
|
198
200
|
├─ Pergunta: IDE targets — multi-select
|
|
199
|
-
├─ Pergunta: idioma
|
|
201
|
+
├─ Pergunta: idioma (output folder é fixo: .wize/)
|
|
200
202
|
├─ Cria .wize/ + adapters IDE
|
|
201
203
|
├─ Se brownfield: oferece `wize-document-project`
|
|
202
204
|
└─ Se ok: dispara onboarding (Wizer → Pepper/Mantis/Tony)
|
|
@@ -268,7 +270,7 @@ wize-dev-kit sync # regera adapters IDE
|
|
|
268
270
|
|
|
269
271
|
- 3 skills meta: `wize-create-agent`, `wize-create-skill`, `wize-create-workflow`.
|
|
270
272
|
- Customização de built-ins via `.wize/custom/{tipo}/{code}/customize.toml` (override sem fork).
|
|
271
|
-
- Validação
|
|
273
|
+
- Validação: checks estruturais (validação de schema via Ajv pendente de orçamento de dependências).
|
|
272
274
|
- Auto-sync: regera adapters de todos os IDEs ativos a cada criação/edição.
|
|
273
275
|
|
|
274
276
|
---
|
|
@@ -295,7 +297,7 @@ wize-dev-kit/
|
|
|
295
297
|
├── ROSTER.md # ← quadro Marvel
|
|
296
298
|
│
|
|
297
299
|
├── src/
|
|
298
|
-
│ ├── core-skills/ # Core (advanced-elicitation, brainstorming,
|
|
300
|
+
│ ├── core-skills/ # Core (advanced-elicitation, brainstorming, spec, etc)
|
|
299
301
|
│ │ └── wize-*/
|
|
300
302
|
│ ├── method-skills/ # AI Agile dev: 1-analysis, 2-plan, 3-solutioning, 4-implementation
|
|
301
303
|
│ │ ├── 1-analysis/
|
|
@@ -347,12 +349,19 @@ wize-dev-kit/
|
|
|
347
349
|
│ │ └── wize-create-workflow/
|
|
348
350
|
│ ├── web-overlay/ # Wize Web Dev overlay
|
|
349
351
|
│ │ ├── wize-web-scaffold/
|
|
352
|
+
│ │ ├── wize-web-deploy/
|
|
350
353
|
│ │ ├── wize-web-seo-audit/
|
|
351
354
|
│ │ └── module.yaml
|
|
352
|
-
│
|
|
353
|
-
│
|
|
354
|
-
│
|
|
355
|
-
│
|
|
355
|
+
│ ├── app-overlay/ # Wize App Development overlay
|
|
356
|
+
│ │ ├── wize-app-scaffold/
|
|
357
|
+
│ │ ├── wize-app-release-channels/
|
|
358
|
+
│ │ ├── wize-app-store-listing/
|
|
359
|
+
│ │ └── module.yaml
|
|
360
|
+
│ └── security-overlay/ # Wize Security Overlay (AI Pentester, opt-in)
|
|
361
|
+
│ ├── agents/ # red-teamer (wize-sec-red-teamer)
|
|
362
|
+
│ ├── skills/
|
|
363
|
+
│ ├── data/
|
|
364
|
+
│ └── _shared/
|
|
356
365
|
│
|
|
357
366
|
├── adapters/ # IDE adapters
|
|
358
367
|
│ ├── claude-code/
|
|
@@ -371,6 +380,12 @@ wize-dev-kit/
|
|
|
371
380
|
│ ├── detect.js # greenfield/brownfield detector
|
|
372
381
|
│ ├── onboarding.js
|
|
373
382
|
│ ├── sync.js
|
|
383
|
+
│ ├── render-shared.js
|
|
384
|
+
│ ├── baseline.js
|
|
385
|
+
│ ├── version-check.js
|
|
386
|
+
│ ├── setup-helpers.js
|
|
387
|
+
│ ├── commands/
|
|
388
|
+
│ ├── document-project/
|
|
374
389
|
│ └── validators/ # schema, lint, dry-run
|
|
375
390
|
│
|
|
376
391
|
└── test/ # specs validating skills + workflows
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,27 @@ Format inspired by [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [0.8.1] — 2026-07-12
|
|
9
|
+
|
|
10
|
+
Release de alinhamento: documentação ↔ realidade, fecho do ciclo ágil e `/wize-help` corrigido. Sem novas features de produto; suite verde (246 testes, validate 73 arquivos).
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **`/wize-help` roteava contra o arquivo errado.** Lia `.wize/implementation/sprint-status.md`, mas o canônico é `sprint-status.yaml` — toda detecção de Fase 4 falhava e projetos em sprint eram re-roteados para o começo. Reescrito e re-renderizado para todos os adapters: agora lê o `.yaml`, conhece o atalho `wize-quick-dev`, inclui os gates `wize-validate-prd` e `wize-check-implementation-readiness`, a persona `red-teamer` e os workflows de overlay, tem branch para gate FAIL → `wize-correct-course`, e não anuncia mais o alias `/wize` inexistente. Mais conciso (heurístico em tabela única).
|
|
15
|
+
- **Schemas rejeitavam os assets do security-overlay já publicados.** `agent.schema.json` passa a aceitar `code: wize-sec-*` e `module: security-overlay`; `workflow.schema.json` aceita `overlay: security`.
|
|
16
|
+
|
|
17
|
+
### Docs
|
|
18
|
+
|
|
19
|
+
- **Baseline `wize-document-project` atualizado** (estava congelado em v0.3.0 apesar do "refresh" de 2026-07-04): versão, contagem de agentes (10), core skills (10), testes (24 arquivos / 246), LOC, commits e subcomandos de CLI. Riscos e perguntas obsoletas removidos.
|
|
20
|
+
- **README.es** trazido à paridade com en/pt-BR (estava em 0.7.0, sem a seção de harnesses). Nos três READMEs: removida a pergunta de "output folder" (o instalador não pergunta), corrigida a afirmação sobre dependências npm (`prompts`), e documentados os comandos `list` e `workflow`.
|
|
21
|
+
- **ARCH.md / DECISIONS.md / ROSTER.md / AGENTS.md e os 9 READMEs de adapter** atualizados para 4 profiles, a 10ª persona (`red-teamer`) e os paths reais de cada adapter; decisão Fase 9 registrada.
|
|
22
|
+
- **PRD / architecture / readiness**: contagem de ACs corrigida (30), stubs de template vazios removidos, notas de snapshot 0.6.0.
|
|
23
|
+
|
|
24
|
+
### Cycle
|
|
25
|
+
|
|
26
|
+
- **Registro ágil reconciliado.** `sprint-status.yaml` regenerado contra a árvore real (8 epics / 27 stories, todas `done`); epics `01`–`07` fechados; releases 0.7.x/0.8.0 registradas em `quick-dev-log.md` e `sprint-status.md`; `backlog.md` atualizado.
|
|
27
|
+
- **Épico E09 aberto** ("Melhor aproveitamento de components e intenção do usuário") em `.wize/solutioning/epics/09-ux-intent.md`, com 8 stories verificadas contra o código; relatório completo em `REVIEW-2026-07-11.md`.
|
|
28
|
+
|
|
8
29
|
## [0.8.0] — 2026-07-04
|
|
9
30
|
|
|
10
31
|
### Added
|
package/DECISIONS.md
CHANGED
|
@@ -148,6 +148,11 @@
|
|
|
148
148
|
- **D8.4 — Versionamento dos workflows antigos:** cópias dos `workflow.md` monolíticos de `wize-create-architecture` e `wize-code-review` são arquivadas em `.wize/knowledge/decisions/` para referência, não mantidas em produção.
|
|
149
149
|
- **D8.5 — Registro em catálogos:** skills adicionados a `src/core-skills/module.yaml` e `src/method-skills/module.yaml`; fluxos refletidos no `README.md`.
|
|
150
150
|
|
|
151
|
+
### Fase 9 — Security Overlay + OpenCode nativo (2026-07-11)
|
|
152
|
+
|
|
153
|
+
- **D9.1 — Security Overlay neste kit:** o perfil `security-overlay` (AI Pentester) passa a ser distribuído **dentro do `wize-dev-kit`** como 4º perfil opt-in do installer, com a persona **red-teamer** (`wize-sec-red-teamer`) em `src/security-overlay/`. _Supersede parcialmente D1.1 (3 perfis → 4 perfis), D3.2 (9 papéis → 9 core + 1 overlay) e D3.5 (security deixava de ser reservado para kit futuro)._ As entradas históricas permanecem inalteradas como registro.
|
|
154
|
+
- **D9.2 — OpenCode com wiring nativo (0.8.0):** o adapter OpenCode passa a gerar **agents e commands nativos** (`.opencode/agents/` + `.opencode/commands/`), com commands vinculados à persona dona e workers de fan-out isolados — em vez do fallback genérico.
|
|
155
|
+
|
|
151
156
|
## Perguntas em aberto
|
|
152
157
|
|
|
153
158
|
_(serão preenchidas conforme a entrevista avança)_
|
package/README.es.md
CHANGED
|
@@ -25,7 +25,7 @@ Elige tus perfiles y tu IDE; luego, en tu IDE con IA, di *"Activa a Wizer y dale
|
|
|
25
25
|
|
|
26
26
|
Wize Development Kit (WDK) es un **stack de agentes de IA** instalable que funciona dentro de tu IDE con IA (Claude Code, Cursor, Windsurf, Codex y otros) y escribe artefactos estructurados en una carpeta oculta `.wize/` de tu repositorio. Lleva un proyecto de **brief → PRD → estrategia de UX → arquitectura → implementación testeada**, y también puede **hacer pentest de la app en ejecución y planificar el sprint de remediación**.
|
|
27
27
|
|
|
28
|
-
Es **file-first y zero-runtime**: los agentes son skills en Markdown que tu IDE lee; el tooling es Node puro (
|
|
28
|
+
Es **file-first y zero-runtime**: los agentes son skills en Markdown que tu IDE lee; el tooling es Node puro (una única dependencia npm — `prompts`, usada solo por el instalador; nada se añade a tu proyecto). Nada está simulado — cada paso lee el artefacto anterior y escribe uno real.
|
|
29
29
|
|
|
30
30
|
### Perfiles (combinables en monorepos)
|
|
31
31
|
|
|
@@ -57,8 +57,7 @@ El instalador pregunta:
|
|
|
57
57
|
1. **Perfil(es)** — Core / +Web / +App / +Security (selección múltiple).
|
|
58
58
|
2. **IDE(s) objetivo** — Claude Code, Cursor, Windsurf, Codex, Continue, Kimi Code, OpenCode, Antigravity o fallback genérico (selección múltiple).
|
|
59
59
|
3. **Idiomas** — comunicación + salida de documentos.
|
|
60
|
-
4. **
|
|
61
|
-
5. **Brownfield** — ofrece ejecutar `wize-document-project` para crear la baseline del código existente.
|
|
60
|
+
4. **Brownfield** — ofrece ejecutar `wize-document-project` para crear la baseline del código existente.
|
|
62
61
|
|
|
63
62
|
Tras instalar, abre tu IDE y di:
|
|
64
63
|
|
|
@@ -66,6 +65,24 @@ Tras instalar, abre tu IDE y di:
|
|
|
66
65
|
|
|
67
66
|
---
|
|
68
67
|
|
|
68
|
+
## Harnesses soportados
|
|
69
|
+
|
|
70
|
+
Los 9 IDEs objetivo se renderizan desde la misma fuente; el formato y la mecánica varían por harness. **OpenCode** recibe la integración más profunda — la separación persona/workflow del kit se mapea sobre las primitivas propias de OpenCode (`mode: primary|subagent`, `agent:`, `subtask:`) en lugar de aplanarse en un único tipo de archivo.
|
|
71
|
+
|
|
72
|
+
| Harness | Salida | Destacado |
|
|
73
|
+
|---|---|---|
|
|
74
|
+
| **OpenCode** 🆕 | `.opencode/agents/` + `.opencode/commands/` | `mode: primary\|subagent` nativo; los comandos se vinculan automáticamente a su persona propietaria (`agent:`); los workers de fan-out corren aislados (`subtask: true`). [Docs →](docs/harnesses/opencode.md) |
|
|
75
|
+
| **Claude Code** | `.claude/skills/*/SKILL.md` | Formato Skill de Anthropic; fan-out ad-hoc vía Task/Agent tool (`wize-code-review`). [Docs →](docs/harnesses/claude-code.md) |
|
|
76
|
+
| **Codex** | `.agents/skills/*/SKILL.md` | Mismo formato Skill + `AGENTS.md` en la raíz. [Docs →](docs/harnesses/codex.md) |
|
|
77
|
+
| **Kimi Code** | `.kimi/skills/*/SKILL.md` | Mismo formato Skill; autodetecta árboles de skills de Claude/Codex. [Docs →](docs/harnesses/kimi-code.md) |
|
|
78
|
+
| **Antigravity** | `.agent/skills/*/SKILL.md` | Mismo formato Skill + `AGENTS.md` en la raíz. [Docs →](docs/harnesses/antigravity.md) |
|
|
79
|
+
| **Cursor** | `.cursor/rules/*.mdc` | Reglas on-demand (`alwaysApply: false`), emparejadas por descripción. [Docs →](docs/harnesses/cursor.md) |
|
|
80
|
+
| **Windsurf** | `.windsurf/rules/*.md` | Markdown plano; el modo de activación se define dentro del IDE. [Docs →](docs/harnesses/windsurf.md) |
|
|
81
|
+
| **Continue.dev** | `.continue/prompts/*.prompt` | Slash commands con `invokable: true`. [Docs →](docs/harnesses/continue.md) |
|
|
82
|
+
| **Fallback genérico** | `.wize/agents/*.md` + `AGENTS.md` en la raíz | Para cualquier IDE sin adapter dedicado. [Docs →](docs/harnesses/generic.md) |
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
69
86
|
## El elenco
|
|
70
87
|
|
|
71
88
|
| # | Persona | Código | Rol |
|
|
@@ -186,9 +203,12 @@ Con el perfil **Wize Security** instalado, la persona `red-teamer` ejecuta un pe
|
|
|
186
203
|
npx wize-dev-kit install # setup interactivo
|
|
187
204
|
npx wize-dev-kit update # actualiza un kit instalado a la versión actual
|
|
188
205
|
npx wize-dev-kit sync # re-renderiza los adapters de IDE tras editar la config
|
|
206
|
+
npx wize-dev-kit list # lista agentes, skills y workflows instalados
|
|
189
207
|
npx wize-dev-kit agent list # lista agentes nativos + personalizados
|
|
190
208
|
npx wize-dev-kit agent create # crea un nuevo agente personalizado (validado + dry-run)
|
|
191
209
|
npx wize-dev-kit agent edit <code> # sobrescribe un agente nativo
|
|
210
|
+
npx wize-dev-kit workflow list # lista workflows nativos + personalizados
|
|
211
|
+
npx wize-dev-kit workflow create # crea un nuevo workflow personalizado
|
|
192
212
|
npx wize-dev-kit doctor # diagnostica kit / proyecto / adapters / gates
|
|
193
213
|
npx wize-dev-kit validate # chequeos estructurales en los assets del kit
|
|
194
214
|
npx wize-dev-kit document-project [quick|initial_scan|full_rescan|deep_dive] [--resume] [--target <path>]
|
|
@@ -203,12 +223,13 @@ npx wize-dev-kit uninstall # elimina .wize/ (tu código queda intacto)
|
|
|
203
223
|
- [`ROSTER.md`](ROSTER.md) — personas con estilo, rol, equivalencias BMAD.
|
|
204
224
|
- [`DECISIONS.md`](DECISIONS.md) — registro de decisiones.
|
|
205
225
|
- [`CHANGELOG.md`](CHANGELOG.md) — historial de releases.
|
|
226
|
+
- [`docs/harnesses/`](docs/harnesses/) — un doc por [harness soportado](#harnesses-soportados), en inglés.
|
|
206
227
|
|
|
207
228
|
---
|
|
208
229
|
|
|
209
230
|
## Estado
|
|
210
231
|
|
|
211
|
-
**v0.
|
|
232
|
+
**v0.8.0 — beta.** El ciclo completo (análisis → plan → solución → implementación) está montado con 10 agentes y una biblioteca estructurada de skills. El `security-overlay` (Pentester de IA) entrega un pipeline de pentest completo, un informe ejecutivo (puntuación de riesgo + briefing + plan de acción por IA) y planificación de remediación post-scan — validado de principio a fin contra una aplicación Laravel/PHP real. Los adapters de IDE para Claude Code, Cursor, Windsurf, Codex, Continue, Kimi Code, OpenCode y Antigravity se regeneran automáticamente — [OpenCode](docs/harnesses/opencode.md) recibe wiring nativo de `mode`/`agent`/`subtask`, la integración más profunda de las 9.
|
|
212
233
|
|
|
213
234
|
---
|
|
214
235
|
|
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ Pick your profiles and IDE, then in your AI IDE say *"Activate Wizer and brief h
|
|
|
25
25
|
|
|
26
26
|
Wize Development Kit (WDK) is an installable **AI agent stack** that runs inside your AI IDE (Claude Code, Cursor, Windsurf, Codex, and others) and writes structured artifacts to a hidden `.wize/` folder in your repo. It takes a project from **brief → PRD → UX strategy → architecture → tested implementation**, and can also **pentest the running app and plan the remediation sprint**.
|
|
27
27
|
|
|
28
|
-
It is **file-first and zero-runtime**: the agents are Markdown skills your IDE reads; the tooling is plain Node (
|
|
28
|
+
It is **file-first and zero-runtime**: the agents are Markdown skills your IDE reads; the tooling is plain Node (a single runtime dependency, `prompts`, powers the interactive installer — nothing is added to your project). Nothing is mocked — every step reads the previous artifact and writes a real one.
|
|
29
29
|
|
|
30
30
|
### Profiles (combinable in monorepos)
|
|
31
31
|
|
|
@@ -57,8 +57,7 @@ The installer asks:
|
|
|
57
57
|
1. **Profile(s)** — Core / +Web / +App / +Security (multi-select).
|
|
58
58
|
2. **IDE target(s)** — Claude Code, Cursor, Windsurf, Codex, Continue, Kimi Code, OpenCode, Antigravity, or generic fallback (multi-select).
|
|
59
59
|
3. **Languages** — communication + document output.
|
|
60
|
-
4. **
|
|
61
|
-
5. **Brownfield** — offers to run `wize-document-project` to baseline the existing codebase.
|
|
60
|
+
4. **Brownfield** — offers to run `wize-document-project` to baseline the existing codebase.
|
|
62
61
|
|
|
63
62
|
After install, open your IDE and say:
|
|
64
63
|
|
|
@@ -204,9 +203,11 @@ When the **Wize Security** profile is installed, the `red-teamer` persona runs a
|
|
|
204
203
|
npx wize-dev-kit install # interactive setup
|
|
205
204
|
npx wize-dev-kit update # bring an installed kit up to the current version
|
|
206
205
|
npx wize-dev-kit sync # re-render IDE adapters after editing config
|
|
206
|
+
npx wize-dev-kit list # list built-in + custom agents
|
|
207
207
|
npx wize-dev-kit agent list # list built-in + custom agents
|
|
208
208
|
npx wize-dev-kit agent create # scaffold a new custom agent (validated + dry-run)
|
|
209
209
|
npx wize-dev-kit agent edit <code> # override a built-in agent
|
|
210
|
+
npx wize-dev-kit workflow <create|list> # scaffold or list custom workflows
|
|
210
211
|
npx wize-dev-kit doctor # diagnose kit / project / adapters / gates
|
|
211
212
|
npx wize-dev-kit validate # structural checks on the kit assets
|
|
212
213
|
npx wize-dev-kit document-project [quick|initial_scan|full_rescan|deep_dive] [--resume] [--target <path>]
|
package/README.pt-BR.md
CHANGED
|
@@ -25,7 +25,7 @@ Escolha os perfis e a IDE; depois, na sua IDE com IA, diga *"Ative o Wizer e dê
|
|
|
25
25
|
|
|
26
26
|
O Wize Development Kit (WDK) é uma **stack de agentes de IA** instalável que roda dentro da sua IDE com IA (Claude Code, Cursor, Windsurf, Codex e outras) e grava artefatos estruturados em uma pasta oculta `.wize/` no seu repositório. Leva um projeto de **brief → PRD → estratégia de UX → arquitetura → implementação testada** e também pode **fazer pentest da aplicação rodando e planejar a sprint de correção**.
|
|
27
27
|
|
|
28
|
-
É **file-first e zero-runtime**: os agentes são skills em Markdown que sua IDE lê; o tooling é Node puro (
|
|
28
|
+
É **file-first e zero-runtime**: os agentes são skills em Markdown que sua IDE lê; o tooling é Node puro (uma única dependência de runtime, `prompts`, usada pelo instalador interativo — nada é adicionado ao seu projeto). Nada é simulado — cada passo lê o artefato anterior e grava um real.
|
|
29
29
|
|
|
30
30
|
### Perfis (combináveis em monorepos)
|
|
31
31
|
|
|
@@ -57,8 +57,7 @@ O instalador pergunta:
|
|
|
57
57
|
1. **Perfil(is)** — Core / +Web / +App / +Security (múltipla escolha).
|
|
58
58
|
2. **IDE(s) alvo** — Claude Code, Cursor, Windsurf, Codex, Continue, Kimi Code, OpenCode, Antigravity ou fallback genérico (múltipla escolha).
|
|
59
59
|
3. **Idiomas** — comunicação + saída de documentos.
|
|
60
|
-
4. **
|
|
61
|
-
5. **Brownfield** — oferece rodar `wize-document-project` para criar a baseline do código existente.
|
|
60
|
+
4. **Brownfield** — oferece rodar `wize-document-project` para criar a baseline do código existente.
|
|
62
61
|
|
|
63
62
|
Após instalar, abra sua IDE e diga:
|
|
64
63
|
|
|
@@ -204,9 +203,11 @@ Com o perfil **Wize Security** instalado, a persona `red-teamer` roda um pentest
|
|
|
204
203
|
npx wize-dev-kit install # setup interativo
|
|
205
204
|
npx wize-dev-kit update # atualiza um kit instalado para a versão atual
|
|
206
205
|
npx wize-dev-kit sync # re-renderiza os adapters de IDE após editar a config
|
|
206
|
+
npx wize-dev-kit list # lista agentes nativos + customizados
|
|
207
207
|
npx wize-dev-kit agent list # lista agentes nativos + customizados
|
|
208
208
|
npx wize-dev-kit agent create # cria um novo agente customizado (validado + dry-run)
|
|
209
209
|
npx wize-dev-kit agent edit <code> # sobrescreve um agente nativo
|
|
210
|
+
npx wize-dev-kit workflow <create|list> # cria ou lista workflows customizados
|
|
210
211
|
npx wize-dev-kit doctor # diagnostica kit / projeto / adapters / gates
|
|
211
212
|
npx wize-dev-kit validate # checagens estruturais nos assets do kit
|
|
212
213
|
npx wize-dev-kit document-project [quick|initial_scan|full_rescan|deep_dive] [--resume] [--target <path>]
|
package/ROSTER.md
CHANGED
|
@@ -10,16 +10,24 @@
|
|
|
10
10
|
| 1 | **Wizer** | `wize-orchestrator` | Orchestrator / Knowledge Base / Briefing | All | "I know the qwize methodology, I know the project — I activate the right agent." Style: host, picks, routes. Tools: global. | (none — orchestrator role surfaces only in BMAD's `party-mode`) |
|
|
11
11
|
| 2 | **Pepper Potts** | `wize-agent-analyst` | Business Analyst | 1 — Analysis | "Relentless efficiency." Brainstorming, market research, product brief, PR/FAQ, ROI, stakeholder map. Style: pragmatic, anticipates, connects business → tech. | Mary (`bmad-agent-analyst`) |
|
|
12
12
|
| 3 | **Peggy Carter** | `wize-agent-tech-writer` | Technical Writer | Transversal (1–4) | "Structure, audience, clarity." DITA, CommonMark, OpenAPI, READMEs, runbooks. Style: organized, didactic, technical but accessible. | Paige (`bmad-agent-tech-writer`) |
|
|
13
|
-
| 4 | **Maria Hill** | `wize-agent-pm` | Product Manager | 2 — Planning | "Mission first." PRD,
|
|
13
|
+
| 4 | **Maria Hill** | `wize-agent-pm` | Product Manager | 2 — Planning | "Mission first." PRD, validation, sprint planning, sprint status, correct-course, deadline enforcement (epics/stories are Tony's). Style: military discipline, no excuses, outcome-focused. | John (`bmad-agent-pm`) |
|
|
14
14
|
| 5 | **Mantis** | `wize-agent-ux-designer` | UX Designer (Whiteport Strategic UX v0.4.3) | 2–3 | "I feel the user before I sketch." Jobs-to-be-done, journeys, empathy mapping, design tokens, IA, design system. Style: research-heavy, qualitative, empathic narrative. | Sally (`bmad-agent-ux-designer`) — replaced with Whiteport methodology |
|
|
15
15
|
| 6 | **Nick Fury** | `wize-agent-solution-strategist` | Solution Strategy / Tech Vision | 2 → 3 (boundary) | "People > Objective." Big-picture, NFRs, stack family, principles, strategic trade-offs. Style: authoritative, direct, few words. | (partial) Winston — strategic side |
|
|
16
16
|
| 7 | **Tony Stark** | `wize-agent-architect` | System Architect | 3 — Solutioning | "I build the thing." System design, components, ADRs, prototyping, pattern selection. Style: confident, irreverent, shows with code. | Winston (`bmad-agent-architect`) — systemic side |
|
|
17
17
|
| 8 | **Hawkeye** | `wize-agent-test-architect` | Test Architect (TEA) | Transversal (gates in 2, 3, 4) | "I always hit where it hurts." Risk profile, test design, traceability, NFR assessment, review, gate decision. Style: pragmatic, edge-case hunter, focused on what matters. | (new — does not exist in BMAD core; inspired by BMAD-Method v5 TEA) |
|
|
18
18
|
| 9 | **Shuri** | `wize-agent-dev` | Senior Developer | 4 — Implementation | "Wakanda forever — now it compiles." TDD red-green-refactor, security, performance. Style: genius innovator, fast, clean code, protective of the ecosystem. | Amelia (`bmad-agent-dev`) |
|
|
19
19
|
|
|
20
|
+
## Security overlay (opt-in)
|
|
21
|
+
|
|
22
|
+
Installs only with the `security-overlay` profile.
|
|
23
|
+
|
|
24
|
+
| # | Persona | Code | Role | Phase | Motto / Style | BMAD equiv. |
|
|
25
|
+
|---|---|---|---|---|---|---|
|
|
26
|
+
| 10 | **red-teamer** | `wize-sec-red-teamer` | AI Pentester | Overlay | "Only what you're authorized to touch." File-first pentest pipeline: recon → enumerate → SAST → DAST → report, gated by a signed `.wize/security/scope.md`. Default passive; exploits opt-in via `--active`; every refusal audited. Hawkeye/TEA validates the overlay's implementation stories. | (new — no BMAD core equivalent) |
|
|
27
|
+
|
|
20
28
|
## Notes
|
|
21
29
|
|
|
22
30
|
- **Visual theme:** emoji icons (📊 🛡️ 🦾 etc.) are placeholders; a full visual identity will be consolidated in a later phase.
|
|
23
31
|
- **Agent Builder:** decided as a **skill** (`wize-create-agent`), not an agent. Wizer invokes the skill when a new persona or custom module needs to be registered.
|
|
24
|
-
- **
|
|
25
|
-
- **Future Marvel personas (out of dev-kit scope):** Pepper is already Analyst here, Fury is already Strategist. Other Marvel personas (Black Panther, Wanda, Falcon, Vision, Riri Williams, Kamala Khan) remain reserved for future kits (Wize Ops Kit, Wize Data Kit,
|
|
32
|
+
- **Overlays add skills, not persona variants.** Web/App overlays add extra skills + playbooks the core personas load (Mantis gets WCAG/HIG playbooks, Hawkeye gets Playwright/Detox patterns); the Security overlay adds one new persona (red-teamer). There are no per-profile "variants" of Tony or Shuri in code.
|
|
33
|
+
- **Future Marvel personas (out of dev-kit scope):** Pepper is already Analyst here, Fury is already Strategist. Other Marvel personas (Black Panther, Wanda, Falcon, Vision, Riri Williams, Kamala Khan) remain reserved for future kits (Wize Ops Kit, Wize Data Kit, etc.). The Security overlay's red-teamer already lives in this kit.
|
package/adapters/README.md
CHANGED
|
@@ -8,12 +8,12 @@ Each adapter renders the kit's agents/skills/workflows into the file layout that
|
|
|
8
8
|
|---|---|---|---|
|
|
9
9
|
| `claude-code` | `.claude/skills/wize-*/` | `SKILL.md` per agent/workflow | Default. Uses Claude Code skill folder pattern. |
|
|
10
10
|
| `cursor` | `.cursor/rules/wize-*.mdc` | MDC | Each agent/skill becomes a rule file. |
|
|
11
|
-
| `windsurf` | `.windsurf/
|
|
11
|
+
| `windsurf` | `.windsurf/rules/wize-*.md` | Markdown | Cascade-friendly. |
|
|
12
12
|
| `codex` | `.agents/skills/wize-*/` | `SKILL.md` per agent/workflow | OpenAI Codex. |
|
|
13
|
-
| `continue` | `.continue/
|
|
14
|
-
| `kimi-code` | `.kimi/
|
|
15
|
-
| `opencode` | `.opencode/agents/wize-*.md` | Markdown | OpenCode CLI. |
|
|
16
|
-
| `antigravity` | `.
|
|
13
|
+
| `continue` | `.continue/prompts/wize-*.prompt` | `.prompt` | Continue prompt slot. |
|
|
14
|
+
| `kimi-code` | `.kimi/skills/wize-*/` | `SKILL.md` per agent/workflow | Moonshot Kimi Code. |
|
|
15
|
+
| `opencode` | `.opencode/agents/wize-*.md` + `.opencode/commands/wize-*.md` | Markdown | OpenCode CLI. Native agents + commands. |
|
|
16
|
+
| `antigravity` | `.agent/skills/wize-*/` | `SKILL.md` per agent/workflow | Antigravity CLI + IDE. |
|
|
17
17
|
| `generic` | `.wize/agents/wize-*.md` | Markdown | Fallback for any agent that can read a folder of markdown. |
|
|
18
18
|
|
|
19
19
|
## Adapter shape
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# Adapter — antigravity
|
|
2
2
|
|
|
3
|
-
Antigravity CLI + IDE.
|
|
3
|
+
Antigravity CLI + IDE skills.
|
|
4
4
|
|
|
5
|
-
- **Target path:** `.
|
|
6
|
-
- **File pattern:** `wize
|
|
7
|
-
- **Format:**
|
|
5
|
+
- **Target path:** `.agent/skills/`
|
|
6
|
+
- **File pattern:** `wize-*/SKILL.md`
|
|
7
|
+
- **Format:** Anthropic-compatible `SKILL.md`
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Renders the Wize skills directly into the folder Antigravity loads at startup.
|
|
@@ -6,4 +6,4 @@ Native Claude Code skills.
|
|
|
6
6
|
- **File pattern:** `wize-*/SKILL.md`
|
|
7
7
|
- **Format:** markdown
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Renders the Wize skills directly into the folder Claude Code loads at startup.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# Adapter — continue
|
|
2
2
|
|
|
3
|
-
Continue
|
|
3
|
+
Continue prompt files.
|
|
4
4
|
|
|
5
|
-
- **Target path:** `.continue/
|
|
6
|
-
- **File pattern:** `wize-*.
|
|
7
|
-
- **Format:** markdown
|
|
5
|
+
- **Target path:** `.continue/prompts/`
|
|
6
|
+
- **File pattern:** `wize-*.prompt`
|
|
7
|
+
- **Format:** Continue `.prompt` (markdown with frontmatter)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Renders each Wize agent/skill/workflow as a prompt file that Continue loads.
|
|
@@ -4,6 +4,6 @@ Cursor MDC rules.
|
|
|
4
4
|
|
|
5
5
|
- **Target path:** `.cursor/rules/`
|
|
6
6
|
- **File pattern:** `wize-*.mdc`
|
|
7
|
-
- **Format:** markdown
|
|
7
|
+
- **Format:** MDC (markdown with frontmatter)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Renders each Wize agent/skill/workflow as an MDC rule file that Cursor picks up automatically.
|
|
@@ -6,4 +6,4 @@ Generic markdown fallback for any AI agent runtime that can read a folder of mar
|
|
|
6
6
|
- **File pattern:** `wize-*.md`
|
|
7
7
|
- **Format:** markdown
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Renders each Wize agent/skill/workflow as a plain markdown file that any runtime can read.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# Adapter — kimi-code
|
|
2
2
|
|
|
3
|
-
Moonshot Kimi Code
|
|
3
|
+
Moonshot Kimi Code skills.
|
|
4
4
|
|
|
5
|
-
- **Target path:** `.kimi/
|
|
6
|
-
- **File pattern:** `wize
|
|
7
|
-
- **Format:**
|
|
5
|
+
- **Target path:** `.kimi/skills/`
|
|
6
|
+
- **File pattern:** `wize-*/SKILL.md`
|
|
7
|
+
- **Format:** Anthropic-compatible `SKILL.md`
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Renders the Wize skills directly into the folder Kimi Code loads at startup.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# Adapter — opencode
|
|
2
2
|
|
|
3
|
-
OpenCode CLI agents.
|
|
3
|
+
OpenCode CLI native agents and commands.
|
|
4
4
|
|
|
5
|
-
- **Target
|
|
5
|
+
- **Target paths:** `.opencode/agents/` and `.opencode/commands/`
|
|
6
6
|
- **File pattern:** `wize-*.md`
|
|
7
7
|
- **Format:** markdown
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Renders each Wize agent as a native OpenCode agent in `.opencode/agents/` and each skill/workflow as a command in `.opencode/commands/`, bound to its owning persona.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# Adapter — windsurf
|
|
2
2
|
|
|
3
|
-
Windsurf Cascade-friendly markdown
|
|
3
|
+
Windsurf Cascade-friendly markdown rules.
|
|
4
4
|
|
|
5
|
-
- **Target path:** `.windsurf/
|
|
5
|
+
- **Target path:** `.windsurf/rules/`
|
|
6
6
|
- **File pattern:** `wize-*.md`
|
|
7
7
|
- **Format:** markdown
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Renders each Wize agent/skill/workflow as a rules file that Windsurf Cascade loads.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "wize-dev-kit",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.1",
|
|
5
5
|
"description": "Full-lifecycle AI-assisted development kit with Test Architect and Whiteport Design Studio embedded. Inspired by BMAD Method and WDS.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"ai",
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"required": ["code", "name", "title", "module", "description"],
|
|
7
7
|
"additionalProperties": true,
|
|
8
8
|
"properties": {
|
|
9
|
-
"code": { "type": "string", "pattern": "^wize-(agent|orchestrator)-[a-z0-9-]+$|^wize-orchestrator$" },
|
|
9
|
+
"code": { "type": "string", "pattern": "^wize-(agent|orchestrator|sec)-[a-z0-9-]+$|^wize-orchestrator$" },
|
|
10
10
|
"name": { "type": "string", "minLength": 1 },
|
|
11
11
|
"title": { "type": "string", "minLength": 1 },
|
|
12
12
|
"icon": { "type": "string" },
|
|
13
13
|
"team": { "type": "string" },
|
|
14
|
-
"module": { "enum": ["orchestrator", "method", "tea", "builder", "core", "web-overlay", "app-overlay", "custom"] },
|
|
14
|
+
"module": { "enum": ["orchestrator", "method", "tea", "builder", "core", "web-overlay", "app-overlay", "security-overlay", "custom"] },
|
|
15
15
|
"phase": { "type": "string" },
|
|
16
16
|
"description": { "type": "string", "minLength": 10 },
|
|
17
17
|
"style": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"phase": { "type": "string" },
|
|
12
12
|
"owner": { "type": "string" },
|
|
13
13
|
"absorbs": { "type": "string" },
|
|
14
|
-
"overlay": { "enum": ["web", "app"] },
|
|
14
|
+
"overlay": { "enum": ["web", "app", "security"] },
|
|
15
15
|
"status": { "enum": ["stub", "draft", "ready", "stable"] },
|
|
16
16
|
"gate": { "enum": ["risk", "design", "trace", "nfr", "review", "gate"] },
|
|
17
17
|
"when": { "type": "string" }
|
|
@@ -14,120 +14,94 @@ You are **Wizer**, the orchestrator. The user invoked `/wize-help`. Don't dump a
|
|
|
14
14
|
|
|
15
15
|
| Invocation | What to do |
|
|
16
16
|
|---|---|
|
|
17
|
-
| `/wize-help`
|
|
17
|
+
| `/wize-help` (no argument) | Greeting + project snapshot + the **single best next step**. |
|
|
18
18
|
| `/wize-help next` | Just the next step. Skip the snapshot. |
|
|
19
|
-
| `/wize-help status` | Snapshot only
|
|
19
|
+
| `/wize-help status` | Snapshot only. For full sprint detail, route `/wize-sprint-status` (Maria Hill). |
|
|
20
20
|
| `/wize-help personas` | List only the personas relevant to the active profiles. |
|
|
21
21
|
|
|
22
22
|
## Step 1 — read project state
|
|
23
23
|
|
|
24
|
-
Read these
|
|
24
|
+
Read these if they exist (absence is information too):
|
|
25
25
|
|
|
26
26
|
| Path | Tells you |
|
|
27
27
|
|---|---|
|
|
28
|
-
| `.wize/config/project.toml` | Active profiles, IDE targets,
|
|
29
|
-
| `.wize/config/user.toml` |
|
|
28
|
+
| `.wize/config/project.toml` | Active profiles, IDE targets, languages, project name, `kit_version`. |
|
|
29
|
+
| `.wize/config/user.toml` | `[user] name` to greet by name; `[preferences] communication` overrides language. |
|
|
30
30
|
| `.wize/config/tea.toml` | TEA gate policy (advisory vs enforcing). |
|
|
31
|
-
| `.wize/planning/brief.md` |
|
|
32
|
-
| `.wize/planning/
|
|
33
|
-
| `.wize/planning/ux/
|
|
34
|
-
| `.wize/planning/
|
|
35
|
-
| `.wize/
|
|
36
|
-
| `.wize/
|
|
37
|
-
| `.wize/
|
|
38
|
-
| `.wize/
|
|
39
|
-
| `.wize/
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
npm view wize-dev-kit version
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
Phrase it as one short line, not a banner. Example:
|
|
84
|
-
|
|
85
|
-
> *"Heads up: registry has 0.2.3, you're on 0.2.2. Want me to run `npx wize-dev-kit@latest update`? (it preserves your `user.toml` and re-renders adapters)"*
|
|
31
|
+
| `.wize/planning/brief.md`, `ux/trigger-map.md` | Phase 1 (Pepper) progress. |
|
|
32
|
+
| `.wize/planning/prd.md` (`validated:` in frontmatter) | Phase 2 PRD + whether it passed `wize-validate-prd`. |
|
|
33
|
+
| `.wize/planning/ux/ux-scenarios.md`, `ux/ux-design/**` | Whether Mantis ran UX. |
|
|
34
|
+
| `.wize/planning/tech-vision.md`, `nfr-principles.md` | Whether Fury set strategy. |
|
|
35
|
+
| `.wize/solutioning/architecture.md`, `stories/**/*.md`, `readiness-*.md` | Phase 3 artifacts + the readiness gate. |
|
|
36
|
+
| `.wize/implementation/tea/risk-profile.md`, `tea/**/gate.md` | Risk profile + last gate per story. |
|
|
37
|
+
| `.wize/implementation/sprint-status.yaml` | **Canonical** active-sprint state (NOT `.md`). |
|
|
38
|
+
| `.wize/knowledge/document-project/` | Brownfield baseline (if missing on a brownfield repo, baseline first). |
|
|
39
|
+
| `.wize/security/scope.md`, `report.md` | Security overlay: authorized scope + last pentest. |
|
|
40
|
+
|
|
41
|
+
## Step 2 — route
|
|
42
|
+
|
|
43
|
+
**First, check for a shortcut.** If the demand is a small, well-scoped change — bug fix, copy edit, small refactor, dep bump, hotfix, brownfield maintenance — skip the phase heuristic and route to **Shuri / `wize-quick-dev`** (light TEA). Don't push a one-line fix through Phases 1–3.
|
|
44
|
+
|
|
45
|
+
Otherwise apply this heuristic top-down; stop at the first match:
|
|
46
|
+
|
|
47
|
+
| # | State | Next step |
|
|
48
|
+
|---|---|---|
|
|
49
|
+
| 1 | No `.wize/` folder | Kit not installed → `npx wize-dev-kit install` |
|
|
50
|
+
| 2 | Brownfield repo, no `knowledge/document-project/` | **Pepper / `wize-document-project`** (baseline first) |
|
|
51
|
+
| 3 | No `brief.md` | **Pepper / `wize-product-brief`** |
|
|
52
|
+
| 4 | `brief.md`, no `trigger-map.md` | **Pepper / `wize-trigger-map`** |
|
|
53
|
+
| 5 | No `prd.md` | **Maria Hill / `wize-create-prd`** |
|
|
54
|
+
| 6 | `prd.md` lacks `validated: true` | **Maria Hill / `wize-validate-prd`** (Plan→Solution gate) |
|
|
55
|
+
| 7 | No `ux-scenarios.md` | **Mantis / `wize-ux-scenarios`** |
|
|
56
|
+
| 8 | `ux-design/` empty | **Mantis / `wize-ux-design`** |
|
|
57
|
+
| 9 | No `tech-vision.md`/`nfr-principles.md` | **Fury / `wize-tech-vision`** → `wize-nfr-principles` |
|
|
58
|
+
| 10 | No `architecture.md` | **Tony / `wize-create-architecture`** |
|
|
59
|
+
| 11 | Web/App overlay active, greenfield, no code scaffold | **Shuri / `wize-web-scaffold`** or `wize-app-scaffold` |
|
|
60
|
+
| 12 | No `stories/**/*.md` | **Tony / `wize-create-epics-and-stories`** |
|
|
61
|
+
| 13 | No `readiness-*.md` | **Tony / `wize-check-implementation-readiness`** (Phase 3 gate) |
|
|
62
|
+
| 14 | No `tea/risk-profile.md` | **Hawkeye / `wize-tea-risk`** |
|
|
63
|
+
| 15 | Stories exist, `sprint-status.yaml` shows no active sprint | **Maria Hill / `wize-sprint-planning`** |
|
|
64
|
+
| 16 | Active sprint, oldest in-flight story has no `tea/.../design.md` | **Hawkeye / `wize-tea-design`** |
|
|
65
|
+
| 17 | In-flight story, no implementation commits | **Shuri / `wize-dev-story`** |
|
|
66
|
+
| 18 | Story has code, no `gate.md` | **Hawkeye / `wize-tea-trace` → `wize-tea-review` → `wize-tea-gate`** |
|
|
67
|
+
| 19 | A story gated **FAIL**, or sprint drifting (blocked/overdue) | **Shuri fix + Maria Hill / `wize-correct-course`** |
|
|
68
|
+
| 20 | All stories gated PASS/CONCERNS, no `ready-for-dev` left | Sprint ended → **Wizer / `wize-retrospective`** + **Pepper+Peggy / `wize-refresh-knowledge`** |
|
|
69
|
+
| 21 | All gated, no new epic pulled | Plan next epic (Tony + Maria Hill), or a roadmap session |
|
|
70
|
+
|
|
71
|
+
**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`).
|
|
72
|
+
|
|
73
|
+
## Step 2.5 — version skew (proactive)
|
|
74
|
+
|
|
75
|
+
Compare `kit_version` (project.toml) vs the installed kit vs (if you have a terminal, 2s timeout) `npm view wize-dev-kit version`:
|
|
76
|
+
|
|
77
|
+
| Condition | Suggest |
|
|
78
|
+
|---|---|
|
|
79
|
+
| installed > project.toml | `npx wize-dev-kit update` |
|
|
80
|
+
| registry > installed | `npx wize-dev-kit@latest update` |
|
|
81
|
+
| all match | nothing |
|
|
86
82
|
|
|
87
|
-
If the user
|
|
83
|
+
Phrase as one short line, not a banner. If the user agrees and you have Bash, run it in the project root.
|
|
88
84
|
|
|
89
85
|
## Step 3 — respond
|
|
90
86
|
|
|
91
|
-
Default
|
|
87
|
+
Default shape (3 lines; greet by `user.name` when present):
|
|
92
88
|
|
|
93
89
|
```
|
|
94
|
-
Welcome back
|
|
95
|
-
You're at: {phase + last
|
|
96
|
-
Next: /{
|
|
90
|
+
Welcome back, [name]. {project} — {profiles}.
|
|
91
|
+
You're at: {phase + last artifact}.
|
|
92
|
+
Next: /{workflow} ({persona}).
|
|
97
93
|
```
|
|
98
94
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
> Welcome back, [USER_NAME]. wize-development-kit — Core + Web.
|
|
102
|
-
> You're at: Phase 3 closeout — architecture signed, no risk profile yet.
|
|
103
|
-
> Next: `/wize-tea-risk` (Hawkeye).
|
|
95
|
+
For `status`, return a table (Phase / Profiles / Last TEA gate / In-flight stories / Active sprint / TEA policy).
|
|
104
96
|
|
|
105
|
-
For `
|
|
106
|
-
|
|
107
|
-
```
|
|
108
|
-
| Item | State |
|
|
109
|
-
|---|---|
|
|
110
|
-
| Phase | … |
|
|
111
|
-
| Profiles | … |
|
|
112
|
-
| Last TEA gate | … (PASS/CONCERNS/FAIL/WAIVED) |
|
|
113
|
-
| In-flight stories | … |
|
|
114
|
-
| Active sprint | … |
|
|
115
|
-
| TEA policy | advisory / enforcing |
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
For `personas`, list only personas whose role applies to active profiles. Always include Wizer, Pepper, Peggy, Maria Hill, Mantis, Fury, Tony, Hawkeye, Shuri (all are profile-independent core roles). If `web-overlay` active, note that **Mantis** has the WCAG/responsive playbook loaded and **Hawkeye** has Playwright/Vitest patterns. If `app-overlay` active, note HIG/Material 3 for Mantis and Detox/Maestro for Hawkeye.
|
|
97
|
+
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 **red-teamer** (offensive pipeline recon → enumerate → exploit → report; only runs against targets authorized in `.wize/security/scope.md`).
|
|
119
98
|
|
|
120
99
|
## Step 4 — offer to act
|
|
121
100
|
|
|
122
|
-
End
|
|
123
|
-
|
|
124
|
-
- "Want me to call {persona}?" — if the next step is clear.
|
|
125
|
-
- "Want me to baseline the repo first?" — if brownfield + no document-project.
|
|
126
|
-
- "Want me to call a party-mode with {persona1} + {persona2}?" — if the next step has a cross-cutting decision.
|
|
101
|
+
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).
|
|
127
102
|
|
|
128
103
|
## Style
|
|
129
104
|
|
|
130
|
-
- Speak
|
|
131
|
-
- One sharp question
|
|
132
|
-
-
|
|
133
|
-
- If user invoked `/wize-help status`, give the table and stop. Don't suggest actions.
|
|
105
|
+
- Speak the user's `communication` language.
|
|
106
|
+
- One sharp question beats three sentences of advice.
|
|
107
|
+
- `/wize-help next` → just the next step, one line. `/wize-help status` → the table, no actions.
|