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.
- package/ARCH.md +24 -77
- package/CHANGELOG.md +24 -0
- package/DECISIONS.md +1 -27
- package/README.md +7 -2
- package/ROSTER.md +3 -11
- package/adapters/README.md +7 -7
- package/adapters/antigravity/README.md +5 -5
- package/adapters/claude-code/README.md +1 -1
- package/adapters/codex/README.md +5 -5
- package/adapters/codex/adapter.yaml +1 -1
- package/adapters/codex/render.js +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/kimi-code/render.js +2 -2
- package/adapters/opencode/README.md +3 -3
- package/adapters/opencode/render.js +1 -27
- 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/app-overlay/wize-app-release-channels/workflow.md +0 -2
- package/src/app-overlay/wize-app-scaffold/workflow.md +0 -2
- package/src/app-overlay/wize-app-store-listing/workflow.md +0 -2
- package/src/builder-skills/wize-create-agent/workflow.md +0 -2
- package/src/builder-skills/wize-create-skill/workflow.md +0 -2
- package/src/builder-skills/wize-create-workflow/workflow.md +0 -2
- package/src/core-skills/module.yaml +3 -0
- package/src/core-skills/wize-advanced-elicitation/skill.md +0 -2
- package/src/core-skills/wize-brainstorming/skill.md +0 -2
- package/src/core-skills/wize-eli5/skill.md +72 -0
- package/src/core-skills/wize-review-adversarial/skill.md +0 -3
- package/src/core-skills/wize-shard-doc/skill.md +0 -2
- package/src/method-skills/1-analysis/wize-agent-analyst/agent.yaml +0 -3
- package/src/method-skills/1-analysis/wize-document-project/workflow.md +20 -213
- package/src/method-skills/1-analysis/wize-prfaq/workflow.md +11 -152
- package/src/method-skills/1-analysis/wize-product-brief/workflow.md +19 -92
- package/src/method-skills/1-analysis/wize-research/workflow.md +12 -39
- package/src/method-skills/1-analysis/wize-trigger-map/workflow.md +16 -82
- package/src/method-skills/2-plan-workflows/wize-create-prd/workflow.md +23 -135
- package/src/method-skills/2-plan-workflows/wize-ux-design/workflow.md +28 -134
- package/src/method-skills/2-plan-workflows/wize-ux-scenarios/workflow.md +15 -93
- package/src/method-skills/2-plan-workflows/wize-validate-prd/workflow.md +12 -108
- package/src/method-skills/3-solutioning/wize-check-implementation-readiness/workflow.md +11 -103
- package/src/method-skills/3-solutioning/wize-create-architecture/workflow.md +48 -55
- package/src/method-skills/3-solutioning/wize-create-epics-and-stories/workflow.md +15 -154
- package/src/method-skills/3-solutioning/wize-design-system/workflow.md +22 -184
- package/src/method-skills/3-solutioning/wize-nfr-principles/workflow.md +17 -145
- package/src/method-skills/3-solutioning/wize-tech-vision/workflow.md +22 -130
- package/src/method-skills/4-implementation/wize-agent-dev/persona.md +0 -12
- package/src/method-skills/4-implementation/wize-code-review/workflow.md +12 -54
- package/src/method-skills/4-implementation/wize-create-story/workflow.md +10 -154
- package/src/method-skills/4-implementation/wize-dev-story/workflow.md +17 -185
- package/src/method-skills/4-implementation/wize-quick-dev/workflow.md +18 -136
- package/src/method-skills/4-implementation/wize-retrospective/workflow.md +10 -114
- package/src/method-skills/4-implementation/wize-sprint-planning/workflow.md +11 -78
- package/src/method-skills/4-implementation/wize-sprint-status/workflow.md +11 -45
- package/src/method-skills/module.yaml +0 -28
- package/src/orchestrator-skills/module.yaml +1 -7
- package/src/orchestrator-skills/wize-help/skill.md +67 -227
- package/src/orchestrator-skills/wize-onboarding/workflow.md +14 -78
- package/src/orchestrator-skills/wize-orchestrator/agent.yaml +0 -2
- package/src/orchestrator-skills/wize-orchestrator/persona.md +3 -44
- package/src/orchestrator-skills/wize-party-mode/workflow.md +0 -2
- package/src/tea-skills/wize-tea-design/workflow.md +13 -107
- package/src/tea-skills/wize-tea-gate/workflow.md +25 -118
- package/src/tea-skills/wize-tea-nfr/workflow.md +14 -107
- package/src/tea-skills/wize-tea-review/workflow.md +13 -123
- package/src/tea-skills/wize-tea-risk/workflow.md +10 -113
- package/src/tea-skills/wize-tea-trace/workflow.md +12 -86
- package/src/web-overlay/wize-web-deploy/workflow.md +0 -2
- package/src/web-overlay/wize-web-scaffold/workflow.md +0 -2
- package/src/web-overlay/wize-web-seo-audit/workflow.md +0 -2
- package/tools/check-eli5-all-adapters.js +50 -0
- package/tools/installer/onboarding.js +20 -14
- package/tools/installer/render-shared.js +14 -158
- package/tools/installer/validators/run-all.js +2 -3
- package/tools/installer/wize-cli.js +70 -499
- package/AGENTS.md +0 -37
- package/README.es.md +0 -294
- package/README.pt-BR.md +0 -292
- package/docs/harnesses/antigravity.md +0 -20
- package/docs/harnesses/antigravity.pt-BR.md +0 -20
- package/docs/harnesses/claude-code.md +0 -23
- package/docs/harnesses/claude-code.pt-BR.md +0 -23
- package/docs/harnesses/codex.md +0 -21
- package/docs/harnesses/codex.pt-BR.md +0 -21
- package/docs/harnesses/continue.md +0 -21
- package/docs/harnesses/continue.pt-BR.md +0 -21
- package/docs/harnesses/cursor.md +0 -22
- package/docs/harnesses/cursor.pt-BR.md +0 -22
- package/docs/harnesses/generic.md +0 -20
- package/docs/harnesses/generic.pt-BR.md +0 -20
- package/docs/harnesses/kimi-code.md +0 -19
- package/docs/harnesses/kimi-code.pt-BR.md +0 -19
- package/docs/harnesses/opencode.md +0 -31
- package/docs/harnesses/opencode.pt-BR.md +0 -31
- package/docs/harnesses/windsurf.md +0 -22
- package/docs/harnesses/windsurf.pt-BR.md +0 -22
- package/src/core-skills/wize-customize/skill.md +0 -116
- package/src/core-skills/wize-editorial-review-prose/skill.md +0 -94
- package/src/core-skills/wize-editorial-review-structure/skill.md +0 -99
- package/src/core-skills/wize-grill/skill.md +0 -77
- package/src/core-skills/wize-index-docs/skill.md +0 -119
- package/src/core-skills/wize-pre-pr-check/skill.md +0 -134
- package/src/core-skills/wize-review-edge-case-hunter/skill.md +0 -115
- package/src/core-skills/wize-spec/assets/headless-schemas.md +0 -39
- package/src/core-skills/wize-spec/assets/spec-template.md +0 -40
- package/src/core-skills/wize-spec/customize.toml +0 -20
- package/src/core-skills/wize-spec/skill.md +0 -112
- package/src/method-skills/1-analysis/wize-document-project/documentation-requirements.csv +0 -12
- package/src/method-skills/1-analysis/wize-document-project/templates/api-contracts-template.md +0 -38
- package/src/method-skills/1-analysis/wize-document-project/templates/architecture-template.md +0 -54
- package/src/method-skills/1-analysis/wize-document-project/templates/component-inventory-template.md +0 -40
- package/src/method-skills/1-analysis/wize-document-project/templates/contribution-guide-template.md +0 -34
- package/src/method-skills/1-analysis/wize-document-project/templates/data-models-template.md +0 -36
- package/src/method-skills/1-analysis/wize-document-project/templates/deep-dive-template.md +0 -312
- package/src/method-skills/1-analysis/wize-document-project/templates/deployment-guide-template.md +0 -42
- package/src/method-skills/1-analysis/wize-document-project/templates/development-guide-template.md +0 -61
- package/src/method-skills/1-analysis/wize-document-project/templates/index-template.md +0 -185
- package/src/method-skills/1-analysis/wize-document-project/templates/project-overview-template.md +0 -110
- package/src/method-skills/1-analysis/wize-document-project/templates/project-scan-report-schema.json +0 -159
- package/src/method-skills/1-analysis/wize-document-project/templates/source-tree-template.md +0 -142
- package/src/method-skills/1-analysis/wize-domain-research/customize.toml +0 -14
- package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-01-init.md +0 -49
- package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-02-domain-analysis.md +0 -39
- package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-03-competitive-landscape.md +0 -39
- package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-04-regulatory-focus.md +0 -39
- package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-05-technical-trends.md +0 -39
- package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-06-research-synthesis.md +0 -43
- package/src/method-skills/1-analysis/wize-domain-research/research.template.md +0 -31
- package/src/method-skills/1-analysis/wize-domain-research/workflow.md +0 -58
- package/src/method-skills/1-analysis/wize-market-research/customize.toml +0 -14
- package/src/method-skills/1-analysis/wize-market-research/research.template.md +0 -31
- package/src/method-skills/1-analysis/wize-market-research/steps/step-01-init.md +0 -57
- package/src/method-skills/1-analysis/wize-market-research/steps/step-02-customer-behavior.md +0 -39
- package/src/method-skills/1-analysis/wize-market-research/steps/step-03-customer-pain-points.md +0 -37
- package/src/method-skills/1-analysis/wize-market-research/steps/step-04-customer-decisions.md +0 -39
- package/src/method-skills/1-analysis/wize-market-research/steps/step-05-competitive-analysis.md +0 -37
- package/src/method-skills/1-analysis/wize-market-research/steps/step-06-research-completion.md +0 -47
- package/src/method-skills/1-analysis/wize-market-research/workflow.md +0 -66
- package/src/method-skills/1-analysis/wize-refresh-knowledge/workflow.md +0 -129
- package/src/method-skills/1-analysis/wize-technical-research/customize.toml +0 -14
- package/src/method-skills/1-analysis/wize-technical-research/research.template.md +0 -31
- package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-01-init.md +0 -49
- package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-02-technical-overview.md +0 -45
- package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-03-integration-patterns.md +0 -39
- package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-04-architectural-patterns.md +0 -39
- package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-05-implementation-research.md +0 -42
- package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-06-research-synthesis.md +0 -46
- package/src/method-skills/1-analysis/wize-technical-research/workflow.md +0 -60
- package/src/method-skills/2-plan-workflows/wize-edit-prd/workflow.md +0 -110
- package/src/method-skills/3-solutioning/wize-create-architecture/architecture-decision-template.md +0 -41
- package/src/method-skills/3-solutioning/wize-create-architecture/customize.toml +0 -20
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-01-init.md +0 -95
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-01b-continue.md +0 -32
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-02-context.md +0 -126
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-03-starter.md +0 -110
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-04-decisions.md +0 -129
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-05-patterns.md +0 -109
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-06-structure.md +0 -97
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-07-validation.md +0 -124
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-08-complete.md +0 -59
- package/src/method-skills/3-solutioning/wize-project-context/workflow.md +0 -120
- package/src/method-skills/4-implementation/wize-changelog/workflow.md +0 -184
- package/src/method-skills/4-implementation/wize-checkpoint-preview/workflow.md +0 -117
- package/src/method-skills/4-implementation/wize-code-review/customize.toml +0 -21
- package/src/method-skills/4-implementation/wize-code-review/steps/step-01-gather-context.md +0 -64
- package/src/method-skills/4-implementation/wize-code-review/steps/step-02-review.md +0 -40
- package/src/method-skills/4-implementation/wize-code-review/steps/step-03-triage.md +0 -43
- package/src/method-skills/4-implementation/wize-code-review/steps/step-04-present.md +0 -100
- package/src/method-skills/4-implementation/wize-correct-course/workflow.md +0 -93
- package/src/method-skills/4-implementation/wize-investigate/workflow.md +0 -123
- package/src/method-skills/4-implementation/wize-release/workflow.md +0 -162
- package/src/orchestrator-skills/wize/skill.md +0 -164
- package/src/orchestrator-skills/wize-check/skill.md +0 -98
- package/src/security-overlay/_shared/allowlist.js +0 -154
- package/src/security-overlay/_shared/backlog.js +0 -169
- package/src/security-overlay/_shared/cli-runner.js +0 -87
- package/src/security-overlay/_shared/cvss.js +0 -108
- package/src/security-overlay/_shared/detect.js +0 -125
- package/src/security-overlay/_shared/install-script.js +0 -205
- package/src/security-overlay/_shared/invoke-phase.js +0 -86
- package/src/security-overlay/_shared/owasp.js +0 -56
- package/src/security-overlay/_shared/partial.js +0 -225
- package/src/security-overlay/_shared/preflight.js +0 -175
- package/src/security-overlay/_shared/scope-gate.js +0 -172
- package/src/security-overlay/_shared/scope-parser.js +0 -147
- package/src/security-overlay/agents/red-teamer/agent.yaml +0 -54
- package/src/security-overlay/agents/red-teamer/persona.md +0 -49
- package/src/security-overlay/data/common.txt +0 -115
- package/src/security-overlay/data/owasp-top10.json +0 -15
- package/src/security-overlay/data/tool-allowlist.json +0 -31
- package/src/security-overlay/skills/wize-sec-enumerate/scripts/run-enumerate.js +0 -180
- package/src/security-overlay/skills/wize-sec-enumerate/skill.md +0 -34
- package/src/security-overlay/skills/wize-sec-exploit/data/common.txt +0 -117
- package/src/security-overlay/skills/wize-sec-exploit/scripts/run-ffuf.js +0 -147
- package/src/security-overlay/skills/wize-sec-exploit/scripts/run-nikto.js +0 -145
- package/src/security-overlay/skills/wize-sec-exploit/scripts/run-nuclei.js +0 -176
- package/src/security-overlay/skills/wize-sec-exploit/scripts/run-sqlmap.js +0 -139
- package/src/security-overlay/skills/wize-sec-pentest/scripts/run-pipeline.js +0 -184
- package/src/security-overlay/skills/wize-sec-pentest/skill.md +0 -54
- package/src/security-overlay/skills/wize-sec-recon/scripts/run-gitleaks.js +0 -139
- package/src/security-overlay/skills/wize-sec-recon/scripts/run-osv.js +0 -227
- package/src/security-overlay/skills/wize-sec-recon/scripts/run-recon.js +0 -162
- package/src/security-overlay/skills/wize-sec-recon/skill.md +0 -37
- package/src/security-overlay/skills/wize-sec-report/scripts/render-report.js +0 -1033
- package/src/security-overlay/skills/wize-sec-scope/scripts/generate-scope.js +0 -106
- package/src/security-overlay/skills/wize-sec-scope/skill.md +0 -52
- package/src/tea-skills/wize-qa-generate-e2e-tests/workflow.md +0 -121
- package/tools/installer/baseline.js +0 -128
- package/tools/installer/commands/agent.js +0 -197
- package/tools/installer/commands/doctor.js +0 -319
- package/tools/installer/commands/document-project.js +0 -93
- package/tools/installer/commands/sync.js +0 -45
- package/tools/installer/commands/update.js +0 -172
- package/tools/installer/document-project/batch-scanner.js +0 -93
- package/tools/installer/document-project/classify.js +0 -170
- package/tools/installer/document-project/modes/deep-dive.js +0 -196
- package/tools/installer/document-project/modes/full-rescan.js +0 -15
- package/tools/installer/document-project/modes/initial-scan.js +0 -100
- package/tools/installer/document-project/modes/quick.js +0 -211
- package/tools/installer/document-project/render-index.js +0 -101
- package/tools/installer/document-project/state.js +0 -110
- package/tools/installer/version-check.js +0 -117
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
# Step 6: Project Structure & Boundaries
|
|
2
|
-
|
|
3
|
-
## Mandatory execution rules
|
|
4
|
-
|
|
5
|
-
- 🛑 Never generate content without user input.
|
|
6
|
-
- ✅ Treat this as collaborative discovery.
|
|
7
|
-
- 🗺️ Create a complete project tree, not generic placeholders.
|
|
8
|
-
- 🗺️ Map requirements/epics to architectural components.
|
|
9
|
-
- ⚠️ No time estimates.
|
|
10
|
-
- ✅ Speak in `{communication_language}`; write artifacts in `{document_output_language}`.
|
|
11
|
-
|
|
12
|
-
## Execution protocols
|
|
13
|
-
|
|
14
|
-
- 🎯 Show analysis before taking action.
|
|
15
|
-
- ⚠️ Present A/P/C menu after generating project structure.
|
|
16
|
-
- 💾 Only save when the user chooses C.
|
|
17
|
-
- 📖 Update frontmatter `stepsCompleted: [1, 2, 3, 4, 5, 6]` before loading the next step.
|
|
18
|
-
|
|
19
|
-
## Collaboration menu (A/P/C)
|
|
20
|
-
|
|
21
|
-
- **A (Advanced Elicitation)** — explore innovative project organization.
|
|
22
|
-
- **P (Party Mode)** — evaluate structure trade-offs.
|
|
23
|
-
- **C (Continue)** — save and move to validation.
|
|
24
|
-
|
|
25
|
-
## Context boundaries
|
|
26
|
-
|
|
27
|
-
- All previous decisions are complete.
|
|
28
|
-
- Implementation patterns are defined.
|
|
29
|
-
- Focus on physical project structure and component boundaries.
|
|
30
|
-
|
|
31
|
-
## Task
|
|
32
|
-
|
|
33
|
-
Define the complete project structure and architectural boundaries based on all decisions made.
|
|
34
|
-
|
|
35
|
-
## Structure sequence
|
|
36
|
-
|
|
37
|
-
### 1. Analyze requirements mapping
|
|
38
|
-
|
|
39
|
-
Map epics or FR categories to directories/services.
|
|
40
|
-
|
|
41
|
-
### 2. Define project directory structure
|
|
42
|
-
|
|
43
|
-
Create a complete, technology-specific tree:
|
|
44
|
-
|
|
45
|
-
- Root configuration files
|
|
46
|
-
- Source code organization
|
|
47
|
-
- Test organization
|
|
48
|
-
- Build and distribution
|
|
49
|
-
|
|
50
|
-
### 3. Define integration boundaries
|
|
51
|
-
|
|
52
|
-
- API boundaries
|
|
53
|
-
- Component boundaries
|
|
54
|
-
- Service boundaries
|
|
55
|
-
- Data boundaries
|
|
56
|
-
|
|
57
|
-
### 4. Map requirements to structure
|
|
58
|
-
|
|
59
|
-
For each epic or feature cluster:
|
|
60
|
-
|
|
61
|
-
```markdown
|
|
62
|
-
Epic: User Management
|
|
63
|
-
- Components: src/components/features/users/
|
|
64
|
-
- Services: src/services/users/
|
|
65
|
-
- API Routes: src/app/api/users/
|
|
66
|
-
- Database: prisma/migrations/...
|
|
67
|
-
- Tests: tests/features/users/
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
## Generate structure content
|
|
71
|
-
|
|
72
|
-
Append to `architecture.md`:
|
|
73
|
-
|
|
74
|
-
```markdown
|
|
75
|
-
## Project Structure & Boundaries
|
|
76
|
-
|
|
77
|
-
### Complete Project Directory Structure
|
|
78
|
-
```
|
|
79
|
-
{{tree}}
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
### Architectural Boundaries
|
|
83
|
-
...
|
|
84
|
-
|
|
85
|
-
### Requirements to Structure Mapping
|
|
86
|
-
...
|
|
87
|
-
|
|
88
|
-
### Integration Points
|
|
89
|
-
...
|
|
90
|
-
|
|
91
|
-
### File Organization Patterns
|
|
92
|
-
...
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
## Next step
|
|
96
|
-
|
|
97
|
-
After C, load `./step-07-validation.md`.
|
package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-07-validation.md
DELETED
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
# Step 7: Architecture Validation & Completion
|
|
2
|
-
|
|
3
|
-
## Mandatory execution rules
|
|
4
|
-
|
|
5
|
-
- 🛑 Never generate content without user input.
|
|
6
|
-
- ✅ Validate all requirements are covered by architectural decisions.
|
|
7
|
-
- ⚠️ No time estimates.
|
|
8
|
-
- ✅ Speak in `{communication_language}`; write artifacts in `{document_output_language}`.
|
|
9
|
-
|
|
10
|
-
## Execution protocols
|
|
11
|
-
|
|
12
|
-
- 🎯 Show analysis before taking action.
|
|
13
|
-
- ✅ Run validation checks on the complete architecture.
|
|
14
|
-
- ⚠️ Present A/P/C menu after generating validation results.
|
|
15
|
-
- 💾 Only save when the user chooses C.
|
|
16
|
-
- 📖 Update frontmatter `stepsCompleted: [1, 2, 3, 4, 5, 6, 7]` before loading the next step.
|
|
17
|
-
|
|
18
|
-
## Collaboration menu (A/P/C)
|
|
19
|
-
|
|
20
|
-
- **A (Advanced Elicitation)** — address complex architectural issues found.
|
|
21
|
-
- **P (Party Mode)** — review validation from multiple perspectives.
|
|
22
|
-
- **C (Continue)** — save validation results and complete the architecture.
|
|
23
|
-
|
|
24
|
-
## Context boundaries
|
|
25
|
-
|
|
26
|
-
- Complete architecture document is available.
|
|
27
|
-
- All decisions, patterns, and structure are defined.
|
|
28
|
-
- Focus on validation, gap analysis, and coherence.
|
|
29
|
-
|
|
30
|
-
## Task
|
|
31
|
-
|
|
32
|
-
Validate the complete architecture for coherence, completeness, and readiness.
|
|
33
|
-
|
|
34
|
-
## Validation sequence
|
|
35
|
-
|
|
36
|
-
### 1. Coherence validation
|
|
37
|
-
|
|
38
|
-
- Decision compatibility
|
|
39
|
-
- Pattern consistency
|
|
40
|
-
- Structure alignment
|
|
41
|
-
|
|
42
|
-
### 2. Requirements coverage validation
|
|
43
|
-
|
|
44
|
-
- Epic/feature coverage
|
|
45
|
-
- Functional requirements coverage
|
|
46
|
-
- Non-functional requirements coverage
|
|
47
|
-
|
|
48
|
-
### 3. Implementation readiness validation
|
|
49
|
-
|
|
50
|
-
- Decision completeness
|
|
51
|
-
- Structure completeness
|
|
52
|
-
- Pattern completeness
|
|
53
|
-
|
|
54
|
-
### 4. Gap analysis
|
|
55
|
-
|
|
56
|
-
Identify critical, important, and nice-to-have gaps.
|
|
57
|
-
|
|
58
|
-
### 5. Generate validation content
|
|
59
|
-
|
|
60
|
-
Append to `architecture.md`:
|
|
61
|
-
|
|
62
|
-
```markdown
|
|
63
|
-
## Architecture Validation Results
|
|
64
|
-
|
|
65
|
-
### Coherence Validation
|
|
66
|
-
...
|
|
67
|
-
|
|
68
|
-
### Requirements Coverage Validation
|
|
69
|
-
...
|
|
70
|
-
|
|
71
|
-
### Implementation Readiness Validation
|
|
72
|
-
...
|
|
73
|
-
|
|
74
|
-
### Gap Analysis Results
|
|
75
|
-
...
|
|
76
|
-
|
|
77
|
-
### Validation Issues Addressed
|
|
78
|
-
...
|
|
79
|
-
|
|
80
|
-
### Architecture Completeness Checklist
|
|
81
|
-
|
|
82
|
-
**Requirements Analysis**
|
|
83
|
-
- [ ] Project context thoroughly analyzed
|
|
84
|
-
- [ ] Scale and complexity assessed
|
|
85
|
-
- [ ] Technical constraints identified
|
|
86
|
-
- [ ] Cross-cutting concerns mapped
|
|
87
|
-
|
|
88
|
-
**Architectural Decisions**
|
|
89
|
-
- [ ] Critical decisions documented with versions
|
|
90
|
-
- [ ] Technology stack fully specified
|
|
91
|
-
- [ ] Integration patterns defined
|
|
92
|
-
- [ ] Performance considerations addressed
|
|
93
|
-
|
|
94
|
-
**Implementation Patterns**
|
|
95
|
-
- [ ] Naming conventions established
|
|
96
|
-
- [ ] Structure patterns defined
|
|
97
|
-
- [ ] Communication patterns specified
|
|
98
|
-
- [ ] Process patterns documented
|
|
99
|
-
|
|
100
|
-
**Project Structure**
|
|
101
|
-
- [ ] Complete directory structure defined
|
|
102
|
-
- [ ] Component boundaries established
|
|
103
|
-
- [ ] Integration points mapped
|
|
104
|
-
- [ ] Requirements to structure mapping complete
|
|
105
|
-
|
|
106
|
-
### Architecture Readiness Assessment
|
|
107
|
-
|
|
108
|
-
**Overall Status:** [READY FOR IMPLEMENTATION / READY WITH MINOR GAPS / NOT READY]
|
|
109
|
-
**Confidence Level:** [high/medium/low]
|
|
110
|
-
**Key Strengths:** ...
|
|
111
|
-
**Areas for Future Enhancement:** ...
|
|
112
|
-
|
|
113
|
-
### Implementation Handoff
|
|
114
|
-
|
|
115
|
-
**AI Agent Guidelines:**
|
|
116
|
-
- Follow all architectural decisions exactly as documented.
|
|
117
|
-
- Use implementation patterns consistently.
|
|
118
|
-
- Respect project structure and boundaries.
|
|
119
|
-
- Refer to this document for all architectural questions.
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
## Next step
|
|
123
|
-
|
|
124
|
-
After C, load `./step-08-complete.md`.
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
# Step 8: Architecture Completion & Handoff
|
|
2
|
-
|
|
3
|
-
## Mandatory execution rules
|
|
4
|
-
|
|
5
|
-
- 🛑 Never generate content without user input.
|
|
6
|
-
- ✅ Treat this as collaborative completion.
|
|
7
|
-
- 🎯 Provide clear next steps for implementation.
|
|
8
|
-
- ⚠️ No time estimates.
|
|
9
|
-
- ✅ Speak in `{communication_language}`; write artifacts in `{document_output_language}`.
|
|
10
|
-
|
|
11
|
-
## Execution protocols
|
|
12
|
-
|
|
13
|
-
- 🎯 Show completion summary and implementation guidance.
|
|
14
|
-
- 📖 Update frontmatter with final workflow state.
|
|
15
|
-
- 🚫 This is the final step.
|
|
16
|
-
|
|
17
|
-
## Task
|
|
18
|
-
|
|
19
|
-
Complete the architecture workflow and guide the user to the next phase.
|
|
20
|
-
|
|
21
|
-
## Completion sequence
|
|
22
|
-
|
|
23
|
-
### 1. Summarize achievements
|
|
24
|
-
|
|
25
|
-
Congratulate the user and summarize what was built together:
|
|
26
|
-
|
|
27
|
-
- Architecture document path
|
|
28
|
-
- Number of ADRs produced
|
|
29
|
-
- Key decisions made
|
|
30
|
-
- Patterns defined
|
|
31
|
-
- Validation status
|
|
32
|
-
|
|
33
|
-
### 2. Update frontmatter
|
|
34
|
-
|
|
35
|
-
```yaml
|
|
36
|
-
status: ready-for-stories
|
|
37
|
-
owner: Tony Stark
|
|
38
|
-
updated: "{{date}}"
|
|
39
|
-
stepsCompleted: [1, 2, 3, 4, 5, 6, 7, 8]
|
|
40
|
-
workflowType: architecture
|
|
41
|
-
lastStep: 8
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
### 3. Next steps guidance
|
|
45
|
-
|
|
46
|
-
```
|
|
47
|
-
Architecture complete. Next:
|
|
48
|
-
1. Hawkeye: run wize-tea-risk to build the global risk profile.
|
|
49
|
-
2. Tony: run wize-create-epics-and-stories to slice the work.
|
|
50
|
-
3. Use `/wize` (or `/wize-help`) anytime to check what comes next.
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
## On complete
|
|
54
|
-
|
|
55
|
-
Run `{workflow.on_complete}` if non-empty.
|
|
56
|
-
|
|
57
|
-
## Workflow complete
|
|
58
|
-
|
|
59
|
-
The architecture is now the single source of truth for all technical decisions, ensuring consistent implementation across the project lifecycle.
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
|
|
3
|
-
code: wize-project-context
|
|
4
|
-
description: "Use quando precisar estabelecer ou atualizar o contexto do projeto (stack, convenções, restrições) para orientar a solução."
|
|
5
|
-
name: Project Context
|
|
6
|
-
phase: 3-solutioning
|
|
7
|
-
owner: wize-agent-architect # Tony Stark
|
|
8
|
-
status: ready
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
# Project Context
|
|
12
|
-
|
|
13
|
-
**Goal.** Consolidate the 5 foundational artifacts (brief, PRD, UX, architecture, risk profile) into a single `.wize/knowledge/project-context.md` so other agents (Shuri, Hawkeye, Mantis, Wizer) can read the project in one shot instead of stitching it from 5 files.
|
|
14
|
-
|
|
15
|
-
Tony drives. Peggy polishes prose. Wizer is on call for cross-cutting drift.
|
|
16
|
-
|
|
17
|
-
## When to run
|
|
18
|
-
|
|
19
|
-
- After Phase 3 closeout (architecture + ADRs + risk profile all exist).
|
|
20
|
-
- After any major change to brief / PRD / architecture (rerun).
|
|
21
|
-
- Before sprint planning if context feels stale.
|
|
22
|
-
|
|
23
|
-
## When NOT to run
|
|
24
|
-
|
|
25
|
-
- During greenfield with no artifacts yet (run only after brief + PRD exist).
|
|
26
|
-
- As a CI step (manual; expensive to run on every commit).
|
|
27
|
-
|
|
28
|
-
## Inputs
|
|
29
|
-
|
|
30
|
-
- `.wize/planning/brief.md` — Vision, Audience.
|
|
31
|
-
- `.wize/planning/prd.md` — Goals, scope.
|
|
32
|
-
- `.wize/planning/ux/ux-design/index.md` — UX stack, key screens.
|
|
33
|
-
- `.wize/solutioning/architecture.md` — Tech stack, components.
|
|
34
|
-
- `.wize/solutioning/adrs/*.md` — Key decisions.
|
|
35
|
-
- `.wize/implementation/tea/risk-profile.md` — Active risks.
|
|
36
|
-
|
|
37
|
-
## Output
|
|
38
|
-
|
|
39
|
-
- `.wize/knowledge/project-context.md` (5 sections, YAML frontmatter, `last_updated` date).
|
|
40
|
-
|
|
41
|
-
## Steps
|
|
42
|
-
|
|
43
|
-
### 1. Vision and Audience
|
|
44
|
-
|
|
45
|
-
Copy from `brief.md` (or `prd.md` if brief is missing). One paragraph each. Mark the source file in a comment.
|
|
46
|
-
|
|
47
|
-
### 2. Tech stack
|
|
48
|
-
|
|
49
|
-
From `architecture.md`, list: runtime, framework, database, key libraries, build tool. One bullet per item. Skip items that are "TBD".
|
|
50
|
-
|
|
51
|
-
### 3. Key ADRs
|
|
52
|
-
|
|
53
|
-
List the 5 most recent ADRs from `.wize/solutioning/adrs/`. For each: title, decision, why. Older ADRs are out of scope; refer to `adrs/index.md` for the full list.
|
|
54
|
-
|
|
55
|
-
### 4. Active risks
|
|
56
|
-
|
|
57
|
-
Copy from `risk-profile.md` the top 5 risks (highest prob × impact). One bullet per risk with the mitigation. Defer the rest.
|
|
58
|
-
|
|
59
|
-
### 5. Active sprint
|
|
60
|
-
|
|
61
|
-
Read `.wize/implementation/sprint-status.yaml` and include: sprint number, capacity, in-progress stories. Skip if no active sprint.
|
|
62
|
-
|
|
63
|
-
### 6. Hand off
|
|
64
|
-
|
|
65
|
-
Output is a markdown file. Wizer uses this file to seed `/wize`, `/wize-help`, `/wize-dev-story`, and `/wize-onboarding` reads.
|
|
66
|
-
|
|
67
|
-
## Output template
|
|
68
|
-
|
|
69
|
-
```markdown
|
|
70
|
-
---
|
|
71
|
-
generated: YYYY-MM-DD
|
|
72
|
-
last_updated: YYYY-MM-DD
|
|
73
|
-
sources:
|
|
74
|
-
- .wize/planning/brief.md
|
|
75
|
-
- .wize/planning/prd.md
|
|
76
|
-
- .wize/planning/ux/ux-design/index.md
|
|
77
|
-
- .wize/solutioning/architecture.md
|
|
78
|
-
- .wize/solutioning/adrs/
|
|
79
|
-
- .wize/implementation/tea/risk-profile.md
|
|
80
|
-
---
|
|
81
|
-
|
|
82
|
-
# Project Context — {project_name}
|
|
83
|
-
|
|
84
|
-
## Vision
|
|
85
|
-
{paragraph from brief.md}
|
|
86
|
-
|
|
87
|
-
## Audience
|
|
88
|
-
{paragraph from brief.md or prd.md}
|
|
89
|
-
|
|
90
|
-
## Tech stack
|
|
91
|
-
- Runtime: {value}
|
|
92
|
-
- Framework: {value}
|
|
93
|
-
- Database: {value}
|
|
94
|
-
- Key libraries: {value}
|
|
95
|
-
- Build: {value}
|
|
96
|
-
|
|
97
|
-
## Key ADRs
|
|
98
|
-
1. **{title}** — {decision}. Why: {why}.
|
|
99
|
-
2. ...
|
|
100
|
-
|
|
101
|
-
## Active risks
|
|
102
|
-
1. **{R-id}** — {description}. Mitigation: {mitigation}.
|
|
103
|
-
2. ...
|
|
104
|
-
|
|
105
|
-
## Active sprint
|
|
106
|
-
- Sprint: {N}
|
|
107
|
-
- Capacity: {days}
|
|
108
|
-
- In-progress: {stories}
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
## Anti-patterns Tony rejects
|
|
112
|
-
|
|
113
|
-
- Reading all 6 sources in full and dumping them. Summarize in 5 sections.
|
|
114
|
-
- Editing the project-context.md by hand. (Always re-run the workflow to keep `last_updated` honest.)
|
|
115
|
-
- Skipping the frontmatter. Other agents parse it.
|
|
116
|
-
- Including items marked "TBD". Surface them in the `Open questions` section instead.
|
|
117
|
-
|
|
118
|
-
## Hand-off
|
|
119
|
-
|
|
120
|
-
> "Project context updated at `.wize/knowledge/project-context.md`. {N} sources, 5 sections, {date}. Next: `/wize-onboarding` (Wizer) reads this for first contact."
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
code: wize-changelog
|
|
3
|
-
description: "Use quando precisar gerar ou atualizar o changelog no formato Keep a Changelog a partir das stories concluídas."
|
|
4
|
-
name: Changelog
|
|
5
|
-
phase: 4-implementation
|
|
6
|
-
owner: wize-agent-dev # Shuri
|
|
7
|
-
status: ready
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# Changelog
|
|
11
|
-
|
|
12
|
-
**Goal.** Gerar `CHANGELOG.md` no formato [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) a partir das stories concluídas no sprint, agrupadas por epic e categoria.
|
|
13
|
-
|
|
14
|
-
Shuri executa. O changelog é gerado em pt-BR (texto voltado ao usuário) e segue a convenção do projeto.
|
|
15
|
-
|
|
16
|
-
## Inputs
|
|
17
|
-
|
|
18
|
-
- `.wize/implementation/sprint-status.yaml` — stories concluídas
|
|
19
|
-
- `.wize/solutioning/stories/{epic}/*.md` — detalhes das stories
|
|
20
|
-
- `.wize/solutioning/epics/*.md` — nomes legíveis dos epics
|
|
21
|
-
- `CHANGELOG.md` — changelog existente (se houver)
|
|
22
|
-
- `git tag --list 'v*' --sort=-v:refname | head -1` — última tag
|
|
23
|
-
|
|
24
|
-
## Output
|
|
25
|
-
|
|
26
|
-
- `CHANGELOG.md` criado ou atualizado com a nova entrada pré-pendida
|
|
27
|
-
|
|
28
|
-
## Formato Keep a Changelog
|
|
29
|
-
|
|
30
|
-
Seguir estritamente o formato [Keep a Changelog 1.1.0](https://keepachangelog.com/en/1.1.0/):
|
|
31
|
-
|
|
32
|
-
```markdown
|
|
33
|
-
# Changelog
|
|
34
|
-
|
|
35
|
-
All notable changes to this project are documented here.
|
|
36
|
-
Format inspired by [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
37
|
-
|
|
38
|
-
## [Unreleased]
|
|
39
|
-
|
|
40
|
-
## [0.12.0] — 2026-08-08
|
|
41
|
-
|
|
42
|
-
### Added
|
|
43
|
-
- **Epic 09 — UX / intent:** Release e changelog skills (`wize-release`, `wize-changelog`). #E09-S07
|
|
44
|
-
|
|
45
|
-
### Changed
|
|
46
|
-
- **Epic 09 — UX / intent:** Roteamento por intenção expandido com release/changelog. #E09-S03
|
|
47
|
-
|
|
48
|
-
### Fixed
|
|
49
|
-
- **Epic 09 — UX / intent:** Descrições de skill corrigidas (block scalars). #E09-S01
|
|
50
|
-
|
|
51
|
-
### Security
|
|
52
|
-
- (vazio se não houver stories de segurança)
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
### Regras de categoria
|
|
56
|
-
|
|
57
|
-
| Categoria | Quando usar |
|
|
58
|
-
|---|---|
|
|
59
|
-
| **Added** | Nova feature, nova skill, nova funcionalidade |
|
|
60
|
-
| **Changed** | Mudança em funcionalidade existente, alteração de comportamento |
|
|
61
|
-
| **Deprecated** | Funcionalidade que será removida em breve |
|
|
62
|
-
| **Removed** | Funcionalidade removida |
|
|
63
|
-
| **Fixed** | Correção de bug |
|
|
64
|
-
| **Security** | Correção de vulnerabilidade, melhoria de segurança |
|
|
65
|
-
|
|
66
|
-
### Regras de agrupamento
|
|
67
|
-
|
|
68
|
-
- Agrupar por **epic** dentro de cada categoria.
|
|
69
|
-
- Cada linha começa com `- **Epic NN — Nome:**` seguido da descrição e `#story_id`.
|
|
70
|
-
- Stories sem epic definido vão sob `- **Geral:**`.
|
|
71
|
-
- Se uma categoria não tiver stories, escrever `- (vazio)` ou omitir (consistente com o changelog existente).
|
|
72
|
-
|
|
73
|
-
## Steps
|
|
74
|
-
|
|
75
|
-
### 1. Coletar stories concluídas
|
|
76
|
-
|
|
77
|
-
Ler `sprint-status.yaml`. Para cada story com status `done`:
|
|
78
|
-
|
|
79
|
-
1. Localizar o arquivo em `.wize/solutioning/stories/{epic}/{story}.md`
|
|
80
|
-
2. Extrair do frontmatter: `story_id`, `epic`
|
|
81
|
-
3. Extrair do corpo: título (linha `# Story:`) e primeira frase da seção `## Context` como sumário
|
|
82
|
-
|
|
83
|
-
Se o arquivo da story não existir, usar apenas o `story_id` como referência.
|
|
84
|
-
|
|
85
|
-
### 2. Classificar por categoria
|
|
86
|
-
|
|
87
|
-
Para cada story, determinar a categoria com base no conteúdo:
|
|
88
|
-
|
|
89
|
-
| Padrão no título/contexto | Categoria |
|
|
90
|
-
|---|---|
|
|
91
|
-
| "Adicionar", "Criar", "Novo", "Added", "Add" | Added |
|
|
92
|
-
| "Corrigir", "Consertar", "Bug", "Fix", "Hotfix", "Correção" | Fixed |
|
|
93
|
-
| "Alterar", "Mudar", "Refatorar", "Change", "Update" | Changed |
|
|
94
|
-
| "Remover", "Deprecar" | Removed / Deprecated |
|
|
95
|
-
| "Segurança", "Vulnerabilidade", "Security", "CVE" | Security |
|
|
96
|
-
|
|
97
|
-
Se ambíguo, default `Added` para stories novas, `Changed` para alterações.
|
|
98
|
-
|
|
99
|
-
### 3. Agrupar por epic
|
|
100
|
-
|
|
101
|
-
Para cada story, resolver o nome do epic:
|
|
102
|
-
|
|
103
|
-
1. Se o frontmatter tem `epic: NN-nome`, usar `Epic NN — Nome`
|
|
104
|
-
2. Buscar em `.wize/solutioning/epics/{epic}.md` o título (`# Epic NN: Nome`)
|
|
105
|
-
3. Fallback: `Epic {epic_id}`
|
|
106
|
-
|
|
107
|
-
Agrupar stories por epic, depois por categoria.
|
|
108
|
-
|
|
109
|
-
### 4. Gerar entrada do changelog
|
|
110
|
-
|
|
111
|
-
Montar a entrada no formato:
|
|
112
|
-
|
|
113
|
-
```markdown
|
|
114
|
-
## [{version}] — {YYYY-MM-DD}
|
|
115
|
-
|
|
116
|
-
{descrição curta do release — 1-2 frases sobre o que esta versão entrega}
|
|
117
|
-
|
|
118
|
-
### Added
|
|
119
|
-
- **{epic_nome}:** {descrição}. #{story_id}
|
|
120
|
-
|
|
121
|
-
### Changed
|
|
122
|
-
- **{epic_nome}:** {descrição}. #{story_id}
|
|
123
|
-
|
|
124
|
-
### Fixed
|
|
125
|
-
- **{epic_nome}:** {descrição}. #{story_id}
|
|
126
|
-
|
|
127
|
-
### Security
|
|
128
|
-
- **{epic_nome}:** {descrição}. #{story_id}
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
### 5. Atualizar CHANGELOG.md
|
|
132
|
-
|
|
133
|
-
Se `CHANGELOG.md` não existir, criar com o cabeçalho padrão:
|
|
134
|
-
|
|
135
|
-
```markdown
|
|
136
|
-
# Changelog
|
|
137
|
-
|
|
138
|
-
All notable changes to this project are documented here.
|
|
139
|
-
Format inspired by [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
140
|
-
|
|
141
|
-
> **Language:** entries are written in **Portuguese (pt-BR)**.
|
|
142
|
-
|
|
143
|
-
## [Unreleased]
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
Se existir:
|
|
147
|
-
1. Localizar a linha `## [Unreleased]`
|
|
148
|
-
2. Inserir a nova entrada entre `## [Unreleased]` e a primeira `## [versão]` existente
|
|
149
|
-
3. Se não houver `## [Unreleased]`, inserir após o cabeçalho
|
|
150
|
-
|
|
151
|
-
### 6. Verificar formatação
|
|
152
|
-
|
|
153
|
-
- A data está no formato `YYYY-MM-DD`
|
|
154
|
-
- A versão segue semver (`X.Y.Z`)
|
|
155
|
-
- Cada story tem referência ao `#story_id`
|
|
156
|
-
- Categorias vazias foram omitidas
|
|
157
|
-
- O link do Keep a Changelog está presente
|
|
158
|
-
|
|
159
|
-
## Exemplo de saída
|
|
160
|
-
|
|
161
|
-
```markdown
|
|
162
|
-
## [0.12.0] — 2026-08-08
|
|
163
|
-
|
|
164
|
-
Release do cluster de ship: skills de release e changelog para o perfil core, roteamento por intenção expandido.
|
|
165
|
-
|
|
166
|
-
### Added
|
|
167
|
-
- **Epic 09 — UX / intent:** Skill `wize-release` para bump de versão, changelog e tag git a partir das stories gated. #E09-S07
|
|
168
|
-
- **Epic 09 — UX / intent:** Skill `wize-changelog` para geração de changelog no formato Keep a Changelog. #E09-S07
|
|
169
|
-
|
|
170
|
-
### Changed
|
|
171
|
-
- **Epic 09 — UX / intent:** Tabela de roteamento por intenção expandida com release, changelog, lançar, publicar, notas de versão. #E09-S03
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
## Anti-patterns
|
|
175
|
-
|
|
176
|
-
- Changelog escrito à mão sem referência às stories — perde rastreabilidade.
|
|
177
|
-
- Categoria "Added" para correção de bug — usar "Fixed".
|
|
178
|
-
- Data fora do formato ISO — usar `YYYY-MM-DD`.
|
|
179
|
-
- Pular stories concluídas — toda story `done` no sprint entra no changelog.
|
|
180
|
-
- Escrever changelog em inglês quando o projeto usa pt-BR — seguir o idioma do changelog existente.
|
|
181
|
-
|
|
182
|
-
## Hand-off
|
|
183
|
-
|
|
184
|
-
> Changelog atualizado em `CHANGELOG.md`. {count} stories de {epic_count} epics registradas. Próximo: `/wize-release` para bump de versão e tag, ou revisão manual do changelog.
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
|
|
3
|
-
code: wize-checkpoint-preview
|
|
4
|
-
description: "Use quando uma story estiver parcialmente implementada e precisar de preview de checkpoint para validar direção antes de continuar."
|
|
5
|
-
name: Checkpoint Preview
|
|
6
|
-
phase: 4-implementation
|
|
7
|
-
owner: wize-agent-dev # Shuri (+ wize-agent-architect Tony on call)
|
|
8
|
-
status: ready
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
# Checkpoint Preview
|
|
12
|
-
|
|
13
|
-
**Goal.** Pause mid-story to validate direction before continuing. For larger stories where the cost of going off-rail is high, a quick checkpoint catches drift before it becomes rework.
|
|
14
|
-
|
|
15
|
-
Shuri drives. Tony on call for architectural drift. Hawkeye on call for test design drift.
|
|
16
|
-
|
|
17
|
-
## When to run
|
|
18
|
-
|
|
19
|
-
- Manually, when a story is running long or feels off-track.
|
|
20
|
-
- After the first 2-3 commits of a larger story.
|
|
21
|
-
- When a new constraint is mentioned (security review, perf budget, vendor change).
|
|
22
|
-
|
|
23
|
-
## When NOT to run
|
|
24
|
-
|
|
25
|
-
- Quick-dev / small stories (overhead exceeds the value).
|
|
26
|
-
- When the story is < 50% done and no surprise has come up yet.
|
|
27
|
-
|
|
28
|
-
## Inputs
|
|
29
|
-
|
|
30
|
-
- The current story file: `.wize/solutioning/stories/{epic}/{story}.md`
|
|
31
|
-
- The git diff: uncommitted + committed since story start
|
|
32
|
-
- The `tea-design.md` for the story
|
|
33
|
-
- The `design-system/` tokens used so far
|
|
34
|
-
|
|
35
|
-
## Output
|
|
36
|
-
|
|
37
|
-
- `.wize/implementation/checkpoints/{story_id}.md` (one file per checkpoint, append over time)
|
|
38
|
-
- A decision: continue / pivot / stop
|
|
39
|
-
|
|
40
|
-
## Steps
|
|
41
|
-
|
|
42
|
-
### 1. Pause
|
|
43
|
-
|
|
44
|
-
Stop writing code. Do not commit any pending work until the checkpoint is recorded.
|
|
45
|
-
|
|
46
|
-
### 2. Snapshot
|
|
47
|
-
|
|
48
|
-
Write 5 lines:
|
|
49
|
-
|
|
50
|
-
- Files touched: (list, max 10)
|
|
51
|
-
- ACs done vs. remaining: (X / Y)
|
|
52
|
-
- Tests added: (count, by split)
|
|
53
|
-
- New dependencies: (list)
|
|
54
|
-
- Commits so far: (count)
|
|
55
|
-
|
|
56
|
-
### 3. Sanity check (3 questions)
|
|
57
|
-
|
|
58
|
-
- **Are we solving the right problem?** Compare the implementation with the story's Context and ACs. If the story's intent was misunderstood, pivot.
|
|
59
|
-
- **Is the design holding?** Compare the code with the architecture. If a new pattern emerged without an ADR, flag it.
|
|
60
|
-
- **Any new constraints?** Did anything new appear (security finding, perf regression, vendor change, new stakeholder)?
|
|
61
|
-
|
|
62
|
-
### 4. Decide
|
|
63
|
-
|
|
64
|
-
One of three:
|
|
65
|
-
|
|
66
|
-
- **Continue** — the path is right. Record the snapshot; resume.
|
|
67
|
-
- **Pivot** — change scope or approach. Open a follow-up story with `wize-create-story`; do not edit the current story's ACs.
|
|
68
|
-
- **Stop** — the story is no longer worth it. Move it to `backlog` via `wize-correct-course`.
|
|
69
|
-
|
|
70
|
-
One decision per checkpoint. Re-run for additional decisions.
|
|
71
|
-
|
|
72
|
-
### 5. Hand off
|
|
73
|
-
|
|
74
|
-
Notify the next workflow:
|
|
75
|
-
|
|
76
|
-
- Continue → `/wize-dev-story` (resume).
|
|
77
|
-
- Pivot → `/wize-create-story` (new story for the pivot).
|
|
78
|
-
- Stop → `/wize-correct-course` (defer the original).
|
|
79
|
-
|
|
80
|
-
## Output template
|
|
81
|
-
|
|
82
|
-
```markdown
|
|
83
|
-
---
|
|
84
|
-
story_id: E04-S02
|
|
85
|
-
checkpoint: 1
|
|
86
|
-
date: 2026-06-16
|
|
87
|
-
author: Shuri
|
|
88
|
-
---
|
|
89
|
-
|
|
90
|
-
# Checkpoint — E04-S02
|
|
91
|
-
|
|
92
|
-
## Snapshot
|
|
93
|
-
- Files touched: src/...
|
|
94
|
-
- ACs done vs. remaining: 1 / 4
|
|
95
|
-
- Tests added: 2 unit, 1 integration
|
|
96
|
-
- New dependencies: none
|
|
97
|
-
- Commits so far: 3
|
|
98
|
-
|
|
99
|
-
## Sanity check
|
|
100
|
-
- Right problem? Yes.
|
|
101
|
-
- Design holding? Yes.
|
|
102
|
-
- New constraints? Vendor X deprecated their API; need a different client lib.
|
|
103
|
-
|
|
104
|
-
## Decision
|
|
105
|
-
**Pivot** — see follow-up E04-S04 (client lib migration).
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
## Anti-patterns Shuri rejects
|
|
109
|
-
|
|
110
|
-
- Skipping the snapshot to "save time" — the snapshot is the artifact.
|
|
111
|
-
- Auto-pivoting (changing scope without an explicit checkpoint).
|
|
112
|
-
- Recording "continue" without the sanity check answers.
|
|
113
|
-
- Bundling multiple pivots in one checkpoint (one decision per run).
|
|
114
|
-
|
|
115
|
-
## Hand-off
|
|
116
|
-
|
|
117
|
-
> "Checkpoint recorded for **{story_id}** (decision: {continue|pivot|stop}). Next: `/wize-dev-story` / `/wize-create-story` / `/wize-correct-course`."
|