wize-dev-kit 0.3.0 → 0.4.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/AGENTS.md +21 -0
- package/ARCH.md +40 -4
- package/CHANGELOG.md +50 -0
- package/DECISIONS.md +13 -0
- package/README.md +11 -2
- package/package.json +3 -2
- package/src/core-skills/module.yaml +4 -0
- package/src/core-skills/wize-spec/assets/headless-schemas.md +39 -0
- package/src/core-skills/wize-spec/assets/spec-template.md +40 -0
- package/src/core-skills/wize-spec/customize.toml +20 -0
- package/src/core-skills/wize-spec/skill.md +110 -0
- package/src/method-skills/1-analysis/wize-document-project/documentation-requirements.csv +12 -0
- package/src/method-skills/1-analysis/wize-document-project/templates/api-contracts-template.md +38 -0
- package/src/method-skills/1-analysis/wize-document-project/templates/architecture-template.md +54 -0
- package/src/method-skills/1-analysis/wize-document-project/templates/component-inventory-template.md +40 -0
- package/src/method-skills/1-analysis/wize-document-project/templates/contribution-guide-template.md +34 -0
- package/src/method-skills/1-analysis/wize-document-project/templates/data-models-template.md +36 -0
- package/src/method-skills/1-analysis/wize-document-project/templates/deep-dive-template.md +312 -0
- package/src/method-skills/1-analysis/wize-document-project/templates/deployment-guide-template.md +42 -0
- package/src/method-skills/1-analysis/wize-document-project/templates/development-guide-template.md +61 -0
- package/src/method-skills/1-analysis/wize-document-project/templates/index-template.md +185 -0
- package/src/method-skills/1-analysis/wize-document-project/templates/project-overview-template.md +110 -0
- package/src/method-skills/1-analysis/wize-document-project/templates/project-scan-report-schema.json +159 -0
- package/src/method-skills/1-analysis/wize-document-project/templates/source-tree-template.md +142 -0
- package/src/method-skills/1-analysis/wize-document-project/workflow.md +23 -0
- package/src/method-skills/1-analysis/wize-domain-research/customize.toml +14 -0
- package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-01-init.md +49 -0
- package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-02-domain-analysis.md +39 -0
- package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-03-competitive-landscape.md +39 -0
- package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-04-regulatory-focus.md +39 -0
- package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-05-technical-trends.md +39 -0
- package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-06-research-synthesis.md +43 -0
- package/src/method-skills/1-analysis/wize-domain-research/research.template.md +31 -0
- package/src/method-skills/1-analysis/wize-domain-research/workflow.md +51 -0
- package/src/method-skills/1-analysis/wize-market-research/customize.toml +14 -0
- package/src/method-skills/1-analysis/wize-market-research/research.template.md +31 -0
- package/src/method-skills/1-analysis/wize-market-research/steps/step-01-init.md +57 -0
- package/src/method-skills/1-analysis/wize-market-research/steps/step-02-customer-behavior.md +39 -0
- package/src/method-skills/1-analysis/wize-market-research/steps/step-03-customer-pain-points.md +37 -0
- package/src/method-skills/1-analysis/wize-market-research/steps/step-04-customer-decisions.md +39 -0
- package/src/method-skills/1-analysis/wize-market-research/steps/step-05-competitive-analysis.md +37 -0
- package/src/method-skills/1-analysis/wize-market-research/steps/step-06-research-completion.md +47 -0
- package/src/method-skills/1-analysis/wize-market-research/workflow.md +59 -0
- package/src/method-skills/1-analysis/wize-technical-research/customize.toml +14 -0
- package/src/method-skills/1-analysis/wize-technical-research/research.template.md +31 -0
- package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-01-init.md +49 -0
- package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-02-technical-overview.md +45 -0
- package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-03-integration-patterns.md +39 -0
- package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-04-architectural-patterns.md +39 -0
- package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-05-implementation-research.md +42 -0
- package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-06-research-synthesis.md +46 -0
- package/src/method-skills/1-analysis/wize-technical-research/workflow.md +53 -0
- package/src/method-skills/3-solutioning/wize-create-architecture/architecture-decision-template.md +41 -0
- package/src/method-skills/3-solutioning/wize-create-architecture/customize.toml +20 -0
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-01-init.md +95 -0
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-01b-continue.md +32 -0
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-02-context.md +126 -0
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-03-starter.md +110 -0
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-04-decisions.md +129 -0
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-05-patterns.md +109 -0
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-06-structure.md +97 -0
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-07-validation.md +124 -0
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-08-complete.md +59 -0
- package/src/method-skills/3-solutioning/wize-create-architecture/workflow.md +38 -201
- package/src/method-skills/4-implementation/wize-code-review/customize.toml +21 -0
- package/src/method-skills/4-implementation/wize-code-review/steps/step-01-gather-context.md +64 -0
- package/src/method-skills/4-implementation/wize-code-review/steps/step-02-review.md +38 -0
- package/src/method-skills/4-implementation/wize-code-review/steps/step-03-triage.md +43 -0
- package/src/method-skills/4-implementation/wize-code-review/steps/step-04-present.md +100 -0
- package/src/method-skills/4-implementation/wize-code-review/workflow.md +34 -89
- package/src/method-skills/module.yaml +19 -0
- package/src/tea-skills/wize-tea-risk/workflow.md +11 -0
- package/tools/installer/commands/doctor.js +27 -1
- package/tools/installer/commands/document-project.js +93 -0
- package/tools/installer/document-project/batch-scanner.js +93 -0
- package/tools/installer/document-project/classify.js +170 -0
- package/tools/installer/document-project/modes/deep-dive.js +196 -0
- package/tools/installer/document-project/modes/full-rescan.js +15 -0
- package/tools/installer/document-project/modes/initial-scan.js +100 -0
- package/tools/installer/document-project/modes/quick.js +211 -0
- package/tools/installer/document-project/render-index.js +101 -0
- package/tools/installer/document-project/state.js +110 -0
- package/tools/installer/wize-cli.js +46 -30
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# Step 4: Core Architectural Decisions
|
|
2
|
+
|
|
3
|
+
## Mandatory execution rules
|
|
4
|
+
|
|
5
|
+
- 🛑 Never generate content without user input.
|
|
6
|
+
- ✅ Treat this as collaborative discovery between peers.
|
|
7
|
+
- 🌐 Search the web to verify current technology versions.
|
|
8
|
+
- ⚠️ No time estimates.
|
|
9
|
+
- ✅ Speak in `{communication_language}`; write artifacts in `{document_output_language}`.
|
|
10
|
+
|
|
11
|
+
## Execution protocols
|
|
12
|
+
|
|
13
|
+
- 🎯 Show analysis before taking action.
|
|
14
|
+
- ⚠️ Present A/P/C menu after each major decision category.
|
|
15
|
+
- 💾 Only save when the user chooses C.
|
|
16
|
+
- 📖 Update frontmatter `stepsCompleted: [1, 2, 3, 4]` before loading the next step.
|
|
17
|
+
|
|
18
|
+
## Collaboration menu (A/P/C)
|
|
19
|
+
|
|
20
|
+
- **A (Advanced Elicitation)** — explore innovative approaches to a specific decision.
|
|
21
|
+
- **P (Party Mode)** — review trade-offs from multiple perspectives.
|
|
22
|
+
- **C (Continue)** — save current decisions and proceed.
|
|
23
|
+
|
|
24
|
+
## Context boundaries
|
|
25
|
+
|
|
26
|
+
- Project context from step 2 is available.
|
|
27
|
+
- Starter template choice from step 3 is available.
|
|
28
|
+
- Focus on decisions not already made by the starter or existing preferences.
|
|
29
|
+
|
|
30
|
+
## Task
|
|
31
|
+
|
|
32
|
+
Facilitate collaborative architectural decision making for the remaining critical choices.
|
|
33
|
+
|
|
34
|
+
## Decision categories
|
|
35
|
+
|
|
36
|
+
### Category 1: Data Architecture
|
|
37
|
+
|
|
38
|
+
- Database choice (if not determined by starter)
|
|
39
|
+
- Data modeling approach
|
|
40
|
+
- Validation strategy
|
|
41
|
+
- Migration approach
|
|
42
|
+
- Caching strategy
|
|
43
|
+
|
|
44
|
+
### Category 2: Authentication & Security
|
|
45
|
+
|
|
46
|
+
- Authentication method
|
|
47
|
+
- Authorization patterns
|
|
48
|
+
- Security middleware
|
|
49
|
+
- Encryption approach
|
|
50
|
+
- API security strategy
|
|
51
|
+
|
|
52
|
+
### Category 3: API & Communication
|
|
53
|
+
|
|
54
|
+
- API design patterns (REST, GraphQL, tRPC, etc.)
|
|
55
|
+
- Error handling standards
|
|
56
|
+
- Rate limiting
|
|
57
|
+
- Inter-service communication
|
|
58
|
+
|
|
59
|
+
### Category 4: Frontend Architecture (if applicable)
|
|
60
|
+
|
|
61
|
+
- State management
|
|
62
|
+
- Component architecture
|
|
63
|
+
- Routing
|
|
64
|
+
- Performance optimization
|
|
65
|
+
|
|
66
|
+
### Category 5: Infrastructure & Deployment
|
|
67
|
+
|
|
68
|
+
- Hosting strategy
|
|
69
|
+
- CI/CD approach
|
|
70
|
+
- Environment configuration
|
|
71
|
+
- Monitoring and logging
|
|
72
|
+
- Scaling strategy
|
|
73
|
+
|
|
74
|
+
## Decision format
|
|
75
|
+
|
|
76
|
+
For each decision, record:
|
|
77
|
+
|
|
78
|
+
- Category
|
|
79
|
+
- Decision
|
|
80
|
+
- Version (if applicable)
|
|
81
|
+
- Rationale
|
|
82
|
+
- Affects (components or epics)
|
|
83
|
+
- Provided by starter? (yes/no)
|
|
84
|
+
|
|
85
|
+
## Generate decisions content
|
|
86
|
+
|
|
87
|
+
Append to `architecture.md`:
|
|
88
|
+
|
|
89
|
+
```markdown
|
|
90
|
+
## Core Architectural Decisions
|
|
91
|
+
|
|
92
|
+
### Decision Priority Analysis
|
|
93
|
+
|
|
94
|
+
**Critical Decisions (block implementation):**
|
|
95
|
+
{{list}}
|
|
96
|
+
|
|
97
|
+
**Important Decisions (shape architecture):**
|
|
98
|
+
{{list}}
|
|
99
|
+
|
|
100
|
+
**Deferred Decisions (post-MVP):**
|
|
101
|
+
{{list}}
|
|
102
|
+
|
|
103
|
+
### Data Architecture
|
|
104
|
+
...
|
|
105
|
+
|
|
106
|
+
### Authentication & Security
|
|
107
|
+
...
|
|
108
|
+
|
|
109
|
+
### API & Communication Patterns
|
|
110
|
+
...
|
|
111
|
+
|
|
112
|
+
### Frontend Architecture
|
|
113
|
+
...
|
|
114
|
+
|
|
115
|
+
### Infrastructure & Deployment
|
|
116
|
+
...
|
|
117
|
+
|
|
118
|
+
### Decision Impact Analysis
|
|
119
|
+
|
|
120
|
+
**Implementation Sequence:**
|
|
121
|
+
{{ordered list}}
|
|
122
|
+
|
|
123
|
+
**Cross-Component Dependencies:**
|
|
124
|
+
{{how decisions affect each other}}
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## Next step
|
|
128
|
+
|
|
129
|
+
After C, load `./step-05-patterns.md`.
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# Step 5: Implementation Patterns & Consistency Rules
|
|
2
|
+
|
|
3
|
+
## Mandatory execution rules
|
|
4
|
+
|
|
5
|
+
- 🛑 Never generate content without user input.
|
|
6
|
+
- ✅ Treat this as collaborative discovery.
|
|
7
|
+
- 🎯 Focus on patterns that prevent AI agent implementation conflicts.
|
|
8
|
+
- 🎯 Emphasize what agents could decide differently if not specified.
|
|
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 patterns content.
|
|
16
|
+
- 💾 Only save when the user chooses C.
|
|
17
|
+
- 📖 Update frontmatter `stepsCompleted: [1, 2, 3, 4, 5]` before loading the next step.
|
|
18
|
+
|
|
19
|
+
## Collaboration menu (A/P/C)
|
|
20
|
+
|
|
21
|
+
- **A (Advanced Elicitation)** — develop additional consistency patterns.
|
|
22
|
+
- **P (Party Mode)** — identify conflict points from multiple perspectives.
|
|
23
|
+
- **C (Continue)** — save and move to project structure.
|
|
24
|
+
|
|
25
|
+
## Context boundaries
|
|
26
|
+
|
|
27
|
+
- Core decisions from step 4 are complete.
|
|
28
|
+
- Technology stack is decided.
|
|
29
|
+
- Focus on HOW agents should implement, not WHAT.
|
|
30
|
+
|
|
31
|
+
## Task
|
|
32
|
+
|
|
33
|
+
Define implementation patterns and consistency rules so multiple AI agents write compatible code.
|
|
34
|
+
|
|
35
|
+
## Pattern categories
|
|
36
|
+
|
|
37
|
+
### Naming patterns
|
|
38
|
+
|
|
39
|
+
- Database table/column naming
|
|
40
|
+
- API endpoint naming
|
|
41
|
+
- File and directory naming
|
|
42
|
+
- Component/function/variable naming
|
|
43
|
+
- Route parameter formats
|
|
44
|
+
|
|
45
|
+
### Structure patterns
|
|
46
|
+
|
|
47
|
+
- Where tests live
|
|
48
|
+
- How components are organized
|
|
49
|
+
- Where utilities and helpers go
|
|
50
|
+
- Configuration file organization
|
|
51
|
+
|
|
52
|
+
### Format patterns
|
|
53
|
+
|
|
54
|
+
- API response wrappers
|
|
55
|
+
- Error response structures
|
|
56
|
+
- Date/time formats
|
|
57
|
+
- JSON field naming (snake_case vs camelCase)
|
|
58
|
+
|
|
59
|
+
### Communication patterns
|
|
60
|
+
|
|
61
|
+
- Event naming conventions
|
|
62
|
+
- Event payload structures
|
|
63
|
+
- State update patterns
|
|
64
|
+
- Action naming conventions
|
|
65
|
+
- Logging formats and levels
|
|
66
|
+
|
|
67
|
+
### Process patterns
|
|
68
|
+
|
|
69
|
+
- Loading state handling
|
|
70
|
+
- Error recovery
|
|
71
|
+
- Retry implementation
|
|
72
|
+
- Authentication flow
|
|
73
|
+
- Validation timing and methods
|
|
74
|
+
|
|
75
|
+
## Generate patterns content
|
|
76
|
+
|
|
77
|
+
Append to `architecture.md`:
|
|
78
|
+
|
|
79
|
+
```markdown
|
|
80
|
+
## Implementation Patterns & Consistency Rules
|
|
81
|
+
|
|
82
|
+
### Naming Patterns
|
|
83
|
+
...
|
|
84
|
+
|
|
85
|
+
### Structure Patterns
|
|
86
|
+
...
|
|
87
|
+
|
|
88
|
+
### Format Patterns
|
|
89
|
+
...
|
|
90
|
+
|
|
91
|
+
### Communication Patterns
|
|
92
|
+
...
|
|
93
|
+
|
|
94
|
+
### Process Patterns
|
|
95
|
+
...
|
|
96
|
+
|
|
97
|
+
### Enforcement Guidelines
|
|
98
|
+
|
|
99
|
+
**All AI agents MUST:**
|
|
100
|
+
- ...
|
|
101
|
+
|
|
102
|
+
### Pattern Examples
|
|
103
|
+
**Good:** ...
|
|
104
|
+
**Anti-patterns:** ...
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
## Next step
|
|
108
|
+
|
|
109
|
+
After C, load `./step-06-structure.md`.
|
|
@@ -0,0 +1,97 @@
|
|
|
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`.
|
|
@@ -0,0 +1,124 @@
|
|
|
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`.
|
|
@@ -0,0 +1,59 @@
|
|
|
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-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.
|