wize-dev-kit 0.11.0 → 0.12.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 +3 -3
- package/CHANGELOG.md +37 -0
- package/README.es.md +3 -1
- package/README.md +3 -1
- package/README.pt-BR.md +3 -1
- package/package.json +1 -1
- package/src/app-overlay/wize-app-release-channels/workflow.md +2 -0
- package/src/app-overlay/wize-app-scaffold/workflow.md +2 -0
- package/src/app-overlay/wize-app-store-listing/workflow.md +2 -0
- package/src/builder-skills/wize-create-agent/workflow.md +2 -0
- package/src/builder-skills/wize-create-skill/workflow.md +2 -0
- package/src/builder-skills/wize-create-workflow/workflow.md +2 -0
- package/src/core-skills/module.yaml +3 -0
- package/src/core-skills/wize-advanced-elicitation/skill.md +2 -0
- package/src/core-skills/wize-brainstorming/skill.md +2 -0
- package/src/core-skills/wize-customize/skill.md +2 -0
- package/src/core-skills/wize-editorial-review-prose/skill.md +2 -0
- package/src/core-skills/wize-editorial-review-structure/skill.md +2 -0
- package/src/core-skills/wize-grill/skill.md +3 -1
- package/src/core-skills/wize-index-docs/skill.md +3 -1
- package/src/core-skills/wize-pre-pr-check/skill.md +134 -0
- package/src/core-skills/wize-review-adversarial/skill.md +2 -0
- package/src/core-skills/wize-review-edge-case-hunter/skill.md +2 -0
- package/src/core-skills/wize-shard-doc/skill.md +2 -0
- package/src/core-skills/wize-spec/skill.md +2 -0
- package/src/method-skills/1-analysis/wize-agent-analyst/agent.yaml +3 -0
- package/src/method-skills/1-analysis/wize-document-project/workflow.md +2 -0
- package/src/method-skills/1-analysis/wize-domain-research/workflow.md +7 -0
- package/src/method-skills/1-analysis/wize-market-research/workflow.md +7 -0
- package/src/method-skills/1-analysis/wize-prfaq/workflow.md +2 -0
- package/src/method-skills/1-analysis/wize-product-brief/workflow.md +2 -0
- package/src/method-skills/1-analysis/wize-refresh-knowledge/workflow.md +3 -1
- package/src/method-skills/1-analysis/wize-research/workflow.md +24 -89
- package/src/method-skills/1-analysis/wize-technical-research/workflow.md +7 -0
- package/src/method-skills/1-analysis/wize-trigger-map/workflow.md +2 -0
- package/src/method-skills/2-plan-workflows/wize-create-prd/workflow.md +2 -0
- package/src/method-skills/2-plan-workflows/wize-edit-prd/workflow.md +3 -1
- package/src/method-skills/2-plan-workflows/wize-ux-design/workflow.md +2 -0
- package/src/method-skills/2-plan-workflows/wize-ux-scenarios/workflow.md +2 -0
- package/src/method-skills/2-plan-workflows/wize-validate-prd/workflow.md +2 -0
- package/src/method-skills/3-solutioning/wize-check-implementation-readiness/workflow.md +2 -0
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-08-complete.md +1 -1
- package/src/method-skills/3-solutioning/wize-create-architecture/workflow.md +2 -0
- package/src/method-skills/3-solutioning/wize-create-epics-and-stories/workflow.md +2 -0
- package/src/method-skills/3-solutioning/wize-design-system/workflow.md +2 -0
- package/src/method-skills/3-solutioning/wize-nfr-principles/workflow.md +3 -1
- package/src/method-skills/3-solutioning/wize-project-context/workflow.md +3 -1
- package/src/method-skills/3-solutioning/wize-tech-vision/workflow.md +3 -1
- package/src/method-skills/4-implementation/wize-changelog/workflow.md +184 -0
- package/src/method-skills/4-implementation/wize-checkpoint-preview/workflow.md +2 -0
- package/src/method-skills/4-implementation/wize-code-review/workflow.md +2 -0
- package/src/method-skills/4-implementation/wize-correct-course/workflow.md +2 -0
- package/src/method-skills/4-implementation/wize-create-story/workflow.md +2 -0
- package/src/method-skills/4-implementation/wize-dev-story/workflow.md +3 -1
- package/src/method-skills/4-implementation/wize-investigate/workflow.md +2 -0
- package/src/method-skills/4-implementation/wize-quick-dev/workflow.md +2 -0
- package/src/method-skills/4-implementation/wize-release/workflow.md +162 -0
- package/src/method-skills/4-implementation/wize-retrospective/workflow.md +2 -0
- package/src/method-skills/4-implementation/wize-sprint-planning/workflow.md +2 -0
- package/src/method-skills/4-implementation/wize-sprint-status/workflow.md +2 -0
- package/src/method-skills/module.yaml +12 -3
- package/src/orchestrator-skills/module.yaml +4 -1
- package/src/orchestrator-skills/wize/skill.md +164 -0
- package/src/orchestrator-skills/wize-help/skill.md +126 -5
- package/src/orchestrator-skills/wize-onboarding/workflow.md +3 -1
- package/src/orchestrator-skills/wize-orchestrator/agent.yaml +1 -0
- package/src/orchestrator-skills/wize-orchestrator/persona.md +29 -4
- package/src/orchestrator-skills/wize-party-mode/workflow.md +2 -0
- package/src/security-overlay/_shared/scope-parser.js +27 -0
- package/src/security-overlay/agents/red-teamer/agent.yaml +2 -0
- package/src/security-overlay/agents/red-teamer/persona.md +6 -0
- package/src/security-overlay/skills/wize-sec-enumerate/skill.md +2 -0
- package/src/security-overlay/skills/wize-sec-pentest/scripts/run-pipeline.js +18 -1
- package/src/security-overlay/skills/wize-sec-pentest/skill.md +2 -0
- package/src/security-overlay/skills/wize-sec-recon/skill.md +2 -0
- package/src/security-overlay/skills/wize-sec-scope/scripts/generate-scope.js +106 -0
- package/src/security-overlay/skills/wize-sec-scope/skill.md +52 -0
- package/src/tea-skills/wize-qa-generate-e2e-tests/workflow.md +2 -0
- package/src/tea-skills/wize-tea-design/workflow.md +3 -0
- package/src/tea-skills/wize-tea-gate/workflow.md +3 -0
- package/src/tea-skills/wize-tea-nfr/workflow.md +3 -0
- package/src/tea-skills/wize-tea-review/workflow.md +3 -0
- package/src/tea-skills/wize-tea-risk/workflow.md +3 -0
- package/src/tea-skills/wize-tea-trace/workflow.md +3 -0
- package/src/web-overlay/wize-web-deploy/workflow.md +2 -0
- package/src/web-overlay/wize-web-scaffold/workflow.md +2 -0
- package/src/web-overlay/wize-web-seo-audit/workflow.md +2 -0
- package/tools/installer/commands/doctor.js +2 -2
- package/tools/installer/onboarding.js +14 -21
- package/tools/installer/render-shared.js +50 -28
- package/tools/installer/validators/run-all.js +3 -2
- package/tools/installer/wize-cli.js +323 -77
|
@@ -0,0 +1,162 @@
|
|
|
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`.
|
|
@@ -99,21 +99,30 @@ agents:
|
|
|
99
99
|
|
|
100
100
|
# Notable skills shipped by method (discovery is automatic via workflow.md/skill.md walkers).
|
|
101
101
|
skills:
|
|
102
|
+
- code: wize-research
|
|
103
|
+
name: "Research"
|
|
104
|
+
description: "Use quando precisar pesquisar algo mas não souber qual tipo de pesquisa se aplica."
|
|
102
105
|
- code: wize-market-research
|
|
103
106
|
name: "Market Research"
|
|
104
|
-
description: "
|
|
107
|
+
description: "Use quando precisar pesquisar mercado, concorrentes, tendências ou posicionamento."
|
|
105
108
|
- code: wize-domain-research
|
|
106
109
|
name: "Domain Research"
|
|
107
|
-
description: "
|
|
110
|
+
description: "Use quando precisar pesquisar um domínio de negócio, indústria ou setor."
|
|
108
111
|
- code: wize-technical-research
|
|
109
112
|
name: "Technical Research"
|
|
110
|
-
description: "
|
|
113
|
+
description: "Use quando precisar pesquisar tecnologias, stacks, bibliotecas ou decisões técnicas."
|
|
111
114
|
- code: wize-create-architecture
|
|
112
115
|
name: "Create Architecture"
|
|
113
116
|
description: "Collaborative step-by-step architecture design with 8 steps."
|
|
114
117
|
- code: wize-code-review
|
|
115
118
|
name: "Code Review"
|
|
116
119
|
description: "Adversarial code review with parallel layers and structured triage."
|
|
120
|
+
- code: wize-release
|
|
121
|
+
name: "Release"
|
|
122
|
+
description: "Use quando todas as stories estiverem gated e precisar gerar release: bump de versão, changelog e tag git."
|
|
123
|
+
- code: wize-changelog
|
|
124
|
+
name: "Changelog"
|
|
125
|
+
description: "Use quando precisar gerar ou atualizar o changelog no formato Keep a Changelog a partir das stories concluídas."
|
|
117
126
|
|
|
118
127
|
# Phase directories (declarative discovery for the installer):
|
|
119
128
|
phases:
|
|
@@ -13,9 +13,12 @@ agents:
|
|
|
13
13
|
description: "Knows the user deeply, parses raw demand, routes to the right specialist. Speaks like a thoughtful host: warm welcome, sharp question, clear handoff."
|
|
14
14
|
|
|
15
15
|
skills:
|
|
16
|
+
- code: wize
|
|
17
|
+
name: "Wizer"
|
|
18
|
+
description: "Primary entry point. Alias for wize-help. Project-state-aware help. Reads .wize/ and tells the user what to do next."
|
|
16
19
|
- code: wize-help
|
|
17
20
|
name: "Help (Wizer)"
|
|
18
|
-
description: "Project-state-aware help. Reads .wize/ and tells the user what to do next. Modes: default, next, status, personas."
|
|
21
|
+
description: "Canonical help skill. Project-state-aware help. Reads .wize/ and tells the user what to do next. Modes: default, next, status, personas."
|
|
19
22
|
- code: wize-onboarding
|
|
20
23
|
name: "Onboarding"
|
|
21
24
|
description: "Post-install triage: greenfield vs brownfield, profile, objective. Delegates to specialists."
|
|
@@ -0,0 +1,164 @@
|
|
|
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,9 +1,12 @@
|
|
|
1
1
|
---
|
|
2
|
+
|
|
2
3
|
code: wize-help
|
|
4
|
+
description: "Use quando o usuário invocar /wize-help para obter snapshot do projeto e o próximo passo recomendado."
|
|
3
5
|
name: Help (Wizer)
|
|
4
6
|
module: orchestrator
|
|
5
7
|
owner: wize-orchestrator
|
|
6
8
|
status: ready
|
|
9
|
+
aliases: []
|
|
7
10
|
---
|
|
8
11
|
|
|
9
12
|
# Wizer · `/wize-help`
|
|
@@ -41,18 +44,40 @@ Read these if they exist (absence is information too):
|
|
|
41
44
|
|
|
42
45
|
## Step 2 — route
|
|
43
46
|
|
|
47
|
+
### Step 2a — first-run detection (check before anything else)
|
|
48
|
+
|
|
49
|
+
If `.wize/planning/brief.md` does NOT exist AND `.wize/knowledge/document-project/` has no `.md` files, this is a **first run**. Do NOT apply the phase heuristic or intent routing. Instead:
|
|
50
|
+
|
|
51
|
+
> "O que você está construindo?"
|
|
52
|
+
|
|
53
|
+
Wait for the answer. Classify as greenfield or brownfield, then route:
|
|
54
|
+
- **Greenfield** → **Pepper / `wize-product-brief`**
|
|
55
|
+
- **Brownfield** → **Pepper / `wize-document-project`**
|
|
56
|
+
|
|
57
|
+
If ambiguous, ask one clarifying question: "Is this a new project or an existing codebase?" Then route. Never show a menu on first run.
|
|
58
|
+
|
|
59
|
+
### Step 2b — classify the demand (not a first run)
|
|
60
|
+
|
|
44
61
|
**First, classify the demand — this is a contract decision, not a shortcut.**
|
|
45
62
|
|
|
46
63
|
| Class | When | Route |
|
|
47
64
|
|---|---|---|
|
|
48
65
|
| **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. |
|
|
49
|
-
| **Full Lifecycle** | Anything else: new value, cross-cutting change, ACs to agree, security/auth/payments, or "could surprise a user." | Apply
|
|
66
|
+
| **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. |
|
|
50
67
|
|
|
51
68
|
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.
|
|
52
69
|
|
|
70
|
+
### Step 2c — intent-based routing (check first)
|
|
71
|
+
|
|
72
|
+
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.
|
|
73
|
+
|
|
74
|
+
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.
|
|
75
|
+
|
|
53
76
|
**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.
|
|
54
77
|
|
|
55
|
-
|
|
78
|
+
### Step 2d — phase heuristic (fallback)
|
|
79
|
+
|
|
80
|
+
When intent is ambiguous or no intent phrase matches, apply this heuristic top-down; stop at the first match:
|
|
56
81
|
|
|
57
82
|
| # | State | Next step |
|
|
58
83
|
|---|---|---|
|
|
@@ -75,11 +100,107 @@ Otherwise apply this heuristic top-down; stop at the first match:
|
|
|
75
100
|
| 17 | In-flight story, no implementation commits | **Shuri / `wize-dev-story`** |
|
|
76
101
|
| 18 | Story has code, no `gate.md` | **Hawkeye / `wize-tea-trace` → `wize-tea-review` → `wize-tea-gate`** |
|
|
77
102
|
| 19 | A story gated **FAIL**, or sprint drifting (blocked/overdue) | **Shuri fix + Maria Hill / `wize-correct-course`** |
|
|
78
|
-
| 20 | All stories gated PASS/CONCERNS, no `ready-for-dev` left
|
|
79
|
-
| 21 |
|
|
103
|
+
| 20 | All stories gated PASS/CONCERNS, no `ready-for-dev` left, no release tag for this sprint | **Shuri + Maria Hill / `wize-release`** (bump + changelog + tag) |
|
|
104
|
+
| 21 | Release tagged, retrospective not done | **Wizer / `wize-retrospective`** + **Pepper+Peggy / `wize-refresh-knowledge`** |
|
|
105
|
+
| 22 | All gated, no new epic pulled | Plan next epic (Tony + Maria Hill), or a roadmap session |
|
|
80
106
|
|
|
81
107
|
**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`).
|
|
82
108
|
|
|
109
|
+
### Intent routing table
|
|
110
|
+
|
|
111
|
+
Match is case-insensitive, substring-based. Longest match wins. When no intent matches, fall back to the phase heuristic (Step 2b).
|
|
112
|
+
|
|
113
|
+
**Research:**
|
|
114
|
+
| Intent phrases | Skill |
|
|
115
|
+
|---|---|
|
|
116
|
+
| "pesquisar mercado", "market research", "concorrência", "competidores", "competition" | `wize-market-research` |
|
|
117
|
+
| "pesquisar domínio", "domain research", "entender o domínio", "domain", "indústria", "industry" | `wize-domain-research` |
|
|
118
|
+
| "pesquisar tecnologia", "tech research", "technical research", "stack research", "ferramentas" | `wize-technical-research` |
|
|
119
|
+
| "pesquisar" (genérico, sem qualificador específico) | `wize-research` (dispatcher) |
|
|
120
|
+
| "PR/FAQ", "press release", "working backwards" | `wize-prfaq` |
|
|
121
|
+
| "documentar projeto", "baseline", "brownfield", "document project" | `wize-document-project` |
|
|
122
|
+
| "trigger map", "mapear gatilhos", "trigger" | `wize-trigger-map` |
|
|
123
|
+
| "refresh knowledge", "atualizar conhecimento", "consolidar docs" | `wize-refresh-knowledge` |
|
|
124
|
+
|
|
125
|
+
**Planning:**
|
|
126
|
+
| Intent phrases | Skill |
|
|
127
|
+
|---|---|
|
|
128
|
+
| "criar brief", "product brief", "briefing", "brief do produto" | `wize-product-brief` |
|
|
129
|
+
| "criar prd", "PRD", "requisitos", "especificação", "product requirements" | `wize-create-prd` |
|
|
130
|
+
| "validar prd", "revisar prd", "validate prd", "prd validation" | `wize-validate-prd` |
|
|
131
|
+
| "editar prd", "atualizar prd", "mudar prd", "edit prd" | `wize-edit-prd` |
|
|
132
|
+
| "cenários de UX", "ux scenarios", "cenários de uso", "user scenarios" | `wize-ux-scenarios` |
|
|
133
|
+
| "design de interface", "ux design", "design system", "interface", "wireframe", "layout" | `wize-ux-design` |
|
|
134
|
+
|
|
135
|
+
**Architecture:**
|
|
136
|
+
| Intent phrases | Skill |
|
|
137
|
+
|---|---|
|
|
138
|
+
| "arquitetura", "architecture", "ADR", "decisão técnica", "design do sistema", "componentes" | `wize-create-architecture` |
|
|
139
|
+
| "tech vision", "visão técnica", "north star", "stack decision", "stack family" | `wize-tech-vision` |
|
|
140
|
+
| "NFR", "non-functional", "requisitos não-funcionais", "nfr principles", "performance", "segurança", "a11y", "accessibility" | `wize-nfr-principles` |
|
|
141
|
+
| "epics", "stories", "histórias", "épicos", "slice", "fatiar", "criar stories" | `wize-create-epics-and-stories` |
|
|
142
|
+
| "design system", "tokens", "component library", "biblioteca de componentes" | `wize-design-system` |
|
|
143
|
+
| "project context", "contexto do projeto", "consolidar artefatos" | `wize-project-context` |
|
|
144
|
+
| "readiness", "pronto para implementar", "implementation readiness", "gate de solução" | `wize-check-implementation-readiness` |
|
|
145
|
+
|
|
146
|
+
**Implementation:**
|
|
147
|
+
| Intent phrases | Skill |
|
|
148
|
+
|---|---|
|
|
149
|
+
| "corrigir bug", "bug fix", "consertar", "hotfix", "arrumar", "corrigir erro" | `wize-quick-dev` |
|
|
150
|
+
| "implementar story", "dev story", "codar", "desenvolver", "implementar", "fazer story" | `wize-dev-story` |
|
|
151
|
+
| "code review", "revisar código", "revisão de código", "peer review" | `wize-code-review` |
|
|
152
|
+
| "investigar", "debug", "problema", "root cause", "causa raiz", "regressão" | `wize-investigate` |
|
|
153
|
+
| "checkpoint", "validar direção", "mid-story check" | `wize-checkpoint-preview` |
|
|
154
|
+
| "criar story", "nova story", "author story", "escrever story" | `wize-create-story` |
|
|
155
|
+
| "sprint planning", "planejar sprint", "planejamento", "plan sprint" | `wize-sprint-planning` |
|
|
156
|
+
| "sprint status", "status do sprint", "como está o sprint" | `wize-sprint-status` |
|
|
157
|
+
| "correct course", "corrigir curso", "sprint drifting", "desbloquear" | `wize-correct-course` |
|
|
158
|
+
| "release", "lançar", "publicar", "deploy core", "bump versão", "tag", "shipping" | `wize-release` |
|
|
159
|
+
| "changelog", "notas de versão", "release notes", "gerar changelog" | `wize-changelog` |
|
|
160
|
+
|
|
161
|
+
**Testing:**
|
|
162
|
+
| Intent phrases | Skill |
|
|
163
|
+
|---|---|
|
|
164
|
+
| "test design", "tea design", "desenhar testes", "test contract", "contrato de teste" | `wize-tea-design` |
|
|
165
|
+
| "gate decision", "tea gate", "decisão de gate", "pass/fail" | `wize-tea-gate` |
|
|
166
|
+
| "risk profile", "perfil de risco", "matriz de risco", "tea risk" | `wize-tea-risk` |
|
|
167
|
+
| "traceability", "trace", "rastreabilidade", "AC trace", "cobertura de AC" | `wize-tea-trace` |
|
|
168
|
+
| "story review", "tea review", "revisão de story", "auditoria de AC" | `wize-tea-review` |
|
|
169
|
+
| "NFR assessment", "avaliação de NFR", "tea nfr", "verificar NFR" | `wize-tea-nfr` |
|
|
170
|
+
| "e2e", "end-to-end", "testes automatizados", "gerar testes e2e", "testes de interface" | `wize-qa-generate-e2e-tests` |
|
|
171
|
+
|
|
172
|
+
**Security:**
|
|
173
|
+
| Intent phrases | Skill |
|
|
174
|
+
|---|---|
|
|
175
|
+
| "pentest", "security test", "teste de segurança", "vulnerabilidade", "scan de segurança", "security scan" | `wize-sec-pentest` |
|
|
176
|
+
| "security recon", "reconhecimento", "mapear superfície" | `wize-sec-recon` |
|
|
177
|
+
| "enumerate", "enumeração", "surface enumeration", "levantar tech" | `wize-sec-enumerate` |
|
|
178
|
+
| "criar escopo", "definir escopo", "scope security", "escopo de segurança", "scope de pentest" | `wize-sec-scope` |
|
|
179
|
+
|
|
180
|
+
**Meta:**
|
|
181
|
+
| Intent phrases | Skill |
|
|
182
|
+
|---|---|
|
|
183
|
+
| "help", "ajuda", "o que fazer", "próximo passo", "what next" | Show status + next step (no skill dispatch) |
|
|
184
|
+
| "status", "como estamos", "onde estamos", "progresso" | Show sprint status / project snapshot |
|
|
185
|
+
| "retrospective", "retrospectiva", "retro", "lições aprendidas" | `wize-retrospective` |
|
|
186
|
+
| "personas", "quem faz o quê", "roster", "equipe" | List personas relevant to active profiles |
|
|
187
|
+
| "mission", "missão", "contrato", "mission contract" | Emit filled mission contract |
|
|
188
|
+
| "grill", "sabatinar", "questionar", "afiar", "elicitation" | `wize-grill` |
|
|
189
|
+
| "brainstorm", "brainstorming", "ideias", "chuva de ideias" | `wize-brainstorming` |
|
|
190
|
+
| "spec", "specification", "especificação formal" | `wize-spec` |
|
|
191
|
+
| "adversarial review", "revisão adversarial", "ataque à solução" | `wize-review-adversarial` |
|
|
192
|
+
| "edge case", "casos de borda", "edge case hunter" | `wize-review-edge-case-hunter` |
|
|
193
|
+
| "editorial", "revisão de texto", "polir prosa", "polish prose" | `wize-editorial-review-prose` |
|
|
194
|
+
| "editorial structure", "revisão estrutural", "estrutura do doc" | `wize-editorial-review-structure` |
|
|
195
|
+
| "index docs", "indexar docs", "índice" | `wize-index-docs` |
|
|
196
|
+
| "shard doc", "quebrar doc", "documento grande" | `wize-shard-doc` |
|
|
197
|
+
| "customize", "customizar", "personalizar kit" | `wize-customize` |
|
|
198
|
+
| "create agent", "criar agente", "novo agente" | `wize-create-agent` |
|
|
199
|
+
| "create skill", "criar skill", "nova skill" | `wize-create-skill` |
|
|
200
|
+
| "create workflow", "criar workflow", "novo workflow" | `wize-create-workflow` |
|
|
201
|
+
| "onboarding", "instalar kit", "primeiro uso" | `wize-onboarding` |
|
|
202
|
+
| "party mode", "multi-agent", "reunir agentes" | `wize-party-mode` |
|
|
203
|
+
|
|
83
204
|
## Step 2.5 — version skew (proactive)
|
|
84
205
|
|
|
85
206
|
Compare `kit_version` (project.toml) vs the installed kit vs (if you have a terminal, 2s timeout) `npm view wize-dev-kit version`:
|
|
@@ -112,7 +233,7 @@ For `mission`, emit the filled **Mission contract** (see the section below) from
|
|
|
112
233
|
|
|
113
234
|
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).
|
|
114
235
|
|
|
115
|
-
## Mission contract (`/wize-help mission`)
|
|
236
|
+
## Mission contract (`/wize mission` or `/wize-help mission`)
|
|
116
237
|
|
|
117
238
|
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.
|
|
118
239
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
+
|
|
2
3
|
code: wize-onboarding
|
|
4
|
+
description: "Use quando o kit for instalado e precisar fazer a triagem inicial: greenfield vs brownfield, perfil, objetivo e roteamento para a persona correta."
|
|
3
5
|
name: Onboarding
|
|
4
6
|
owner: wize-orchestrator # Wizer
|
|
5
7
|
status: ready
|
|
@@ -83,7 +85,7 @@ Never auto-launch the next workflow. The user must confirm.
|
|
|
83
85
|
- Launching the next workflow without confirmation.
|
|
84
86
|
- Re-asking the user’s name when it’s already in `user.toml`.
|
|
85
87
|
- Dumping the full project state to the user. Summarize in ≤ 5 bullets.
|
|
86
|
-
- Suggesting `wize-onboarding` from `/wize-help` once onboarding is complete. (Help should bypass onboarding for return users.)
|
|
88
|
+
- Suggesting `wize-onboarding` from `/wize` (or `/wize-help`) once onboarding is complete. (Help should bypass onboarding for return users.)
|
|
87
89
|
|
|
88
90
|
## Hand-off
|
|
89
91
|
|