ultra-builder-pro-cli 0.10.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.
Files changed (137) hide show
  1. package/.ultra-template/specs/architecture.md +54 -223
  2. package/.ultra-template/specs/discovery.md +34 -231
  3. package/.ultra-template/specs/product.md +44 -200
  4. package/.ultra-template/tasks/contexts/TEMPLATE.md +36 -0
  5. package/.ultra-template/tasks/tasks.json +6 -0
  6. package/CHANGELOG.md +86 -1
  7. package/README.md +21 -9
  8. package/adapters/_shared/codex-assets.cjs +24 -342
  9. package/adapters/_shared/handbook.cjs +4 -3
  10. package/adapters/_shared/runtime-assets.cjs +24 -0
  11. package/adapters/_shared/tests/handbook.test.cjs +4 -0
  12. package/adapters/_shared/tests/runtime-assets.test.cjs +11 -4
  13. package/adapters/claude.js +28 -5
  14. package/adapters/kimi.js +15 -138
  15. package/adapters/opencode.js +22 -49
  16. package/adapters/tests/claude.test.cjs +22 -8
  17. package/adapters/tests/codex.test.cjs +21 -8
  18. package/adapters/tests/kimi-hook.test.cjs +1 -1
  19. package/adapters/tests/kimi.test.cjs +11 -11
  20. package/adapters/tests/opencode.test.cjs +47 -8
  21. package/agents/code-reviewer.md +24 -85
  22. package/agents/debugger.md +30 -132
  23. package/agents/review-code.md +24 -104
  24. package/agents/review-comments.md +20 -83
  25. package/agents/review-coordinator.md +40 -137
  26. package/agents/review-design.md +21 -118
  27. package/agents/review-errors.md +22 -70
  28. package/agents/review-spec.md +36 -0
  29. package/agents/review-tests.md +20 -76
  30. package/agents/tdd-runner.md +26 -84
  31. package/commands/learn.md +5 -36
  32. package/commands/ultra-change.md +5 -43
  33. package/commands/ultra-deliver.md +4 -46
  34. package/commands/ultra-dev.md +4 -48
  35. package/commands/ultra-doctor.md +4 -30
  36. package/commands/ultra-init.md +5 -47
  37. package/commands/ultra-plan.md +5 -48
  38. package/commands/ultra-research.md +5 -54
  39. package/commands/ultra-status.md +5 -44
  40. package/commands/ultra-test.md +5 -45
  41. package/commands/ultra-think.md +5 -40
  42. package/docs/AGENT-CONTEXT.md +16 -8
  43. package/docs/ARCHITECTURE.md +32 -5
  44. package/docs/PLAN.zh-CN.md +8 -6
  45. package/docs/ROADMAP.md +5 -3
  46. package/docs/RUNTIME-COMPAT-MATRIX.md +8 -5
  47. package/docs/SKILL-AUTHORING.md +75 -0
  48. package/docs/STATE-DB-ACCESS-POLICY.md +17 -11
  49. package/docs/USER-HANDBOOK-CONTRACT.md +8 -5
  50. package/hooks/README.md +4 -3
  51. package/hooks/adapters/codex.py +1 -1
  52. package/hooks/adapters/kimi.py +1 -1
  53. package/hooks/context_spine.py +120 -16
  54. package/hooks/health_check.py +11 -0
  55. package/hooks/pre_stop_check.py +6 -5
  56. package/mcp-server/lib/baseline-workflow.cjs +415 -0
  57. package/mcp-server/lib/baseline-workflow.test.cjs +225 -0
  58. package/mcp-server/lib/change-workflow.cjs +24 -27
  59. package/mcp-server/lib/change-workflow.test.cjs +202 -6
  60. package/mcp-server/lib/context-spine.cjs +74 -9
  61. package/mcp-server/lib/context-spine.test.cjs +15 -0
  62. package/mcp-server/lib/doctor.cjs +14 -0
  63. package/mcp-server/lib/doctor.test.cjs +25 -1
  64. package/mcp-server/lib/init-project.cjs +49 -14
  65. package/mcp-server/lib/provider-refs.cjs +42 -0
  66. package/mcp-server/lib/spec-learning.test.cjs +5 -0
  67. package/mcp-server/lib/state-db.cjs +63 -4
  68. package/mcp-server/lib/state-db.test.cjs +8 -3
  69. package/mcp-server/server.cjs +48 -3
  70. package/mcp-server/tests/init-project.test.cjs +54 -8
  71. package/mcp-server/tests/server-contract.test.cjs +99 -2
  72. package/mcp-server/tests/state-db.test.cjs +11 -2
  73. package/package.json +3 -2
  74. package/skills/cc-collab/SKILL.md +16 -18
  75. package/skills/code-review-expert/SKILL.md +39 -114
  76. package/skills/code-review-expert/references/correctness-reliability.md +30 -0
  77. package/skills/code-review-expert/references/design-boundaries.md +26 -0
  78. package/skills/code-review-expert/references/removal-plan.md +17 -45
  79. package/skills/codex-collab/SKILL.md +23 -28
  80. package/skills/codex-collab/evals/evals.json +18 -23
  81. package/skills/integration-rules/SKILL.md +28 -67
  82. package/skills/learn/SKILL.md +46 -106
  83. package/skills/security-rules/SKILL.md +34 -56
  84. package/skills/testing-rules/SKILL.md +28 -52
  85. package/skills/ultra-change/SKILL.md +68 -114
  86. package/skills/ultra-deliver/SKILL.md +58 -86
  87. package/skills/ultra-dev/SKILL.md +46 -105
  88. package/skills/ultra-doctor/SKILL.md +45 -72
  89. package/skills/ultra-init/SKILL.md +62 -147
  90. package/skills/ultra-init/references/brownfield-adoption.md +65 -0
  91. package/skills/ultra-plan/SKILL.md +56 -89
  92. package/skills/ultra-research/SKILL.md +64 -152
  93. package/skills/ultra-research/references/architecture.md +38 -0
  94. package/skills/ultra-research/references/problem-product.md +39 -0
  95. package/skills/ultra-research/references/quality-delivery.md +34 -0
  96. package/skills/ultra-research/references/synthesis.md +38 -0
  97. package/skills/ultra-research/references/users-scope.md +40 -0
  98. package/skills/ultra-review/SKILL.md +54 -98
  99. package/skills/ultra-review/references/unified-schema.md +76 -101
  100. package/skills/ultra-review/scripts/review_wait.py +242 -77
  101. package/skills/ultra-status/SKILL.md +41 -56
  102. package/skills/ultra-test/SKILL.md +37 -72
  103. package/skills/ultra-think/SKILL.md +43 -102
  104. package/skills/ultra-verify/SKILL.md +44 -84
  105. package/skills/ultra-verify/evals/evals.json +24 -27
  106. package/spec/cli-protocol.md +4 -0
  107. package/spec/mcp-tools.yaml +223 -4
  108. package/spec/schemas/command-manifest.schema.json +7 -25
  109. package/spec/schemas/mcp-tools.schema.json +1 -1
  110. package/spec/schemas/skill-manifest.schema.json +9 -79
  111. package/spec/schemas/state-db.sql +33 -2
  112. package/ultra-tools/commands/status.cjs +20 -2
  113. package/ultra-tools/commands/task.cjs +4 -1
  114. package/ultra-tools/status-command.test.cjs +20 -0
  115. package/ultra-tools/system-command.test.cjs +5 -0
  116. package/skills/code-review-expert/references/code-quality-checklist.md +0 -112
  117. package/skills/code-review-expert/references/integration-checklist.md +0 -46
  118. package/skills/code-review-expert/references/security-checklist.md +0 -100
  119. package/skills/code-review-expert/references/solid-checklist.md +0 -65
  120. package/skills/ultra-research/steps/step-00-problem-validation.md +0 -154
  121. package/skills/ultra-research/steps/step-01-opportunity-discovery.md +0 -172
  122. package/skills/ultra-research/steps/step-02-market-assessment.md +0 -195
  123. package/skills/ultra-research/steps/step-03-competitive-landscape.md +0 -197
  124. package/skills/ultra-research/steps/step-04-product-strategy.md +0 -196
  125. package/skills/ultra-research/steps/step-05-assumptions-validation.md +0 -234
  126. package/skills/ultra-research/steps/step-10-user-personas.md +0 -169
  127. package/skills/ultra-research/steps/step-11-user-scenarios.md +0 -181
  128. package/skills/ultra-research/steps/step-20-user-stories.md +0 -156
  129. package/skills/ultra-research/steps/step-21-features-scope.md +0 -157
  130. package/skills/ultra-research/steps/step-22-success-metrics.md +0 -195
  131. package/skills/ultra-research/steps/step-30-architecture-context.md +0 -154
  132. package/skills/ultra-research/steps/step-31-solution-strategy.md +0 -172
  133. package/skills/ultra-research/steps/step-32-building-blocks.md +0 -188
  134. package/skills/ultra-research/steps/step-40-deployment.md +0 -123
  135. package/skills/ultra-research/steps/step-41-quality-risks.md +0 -135
  136. package/skills/ultra-research/steps/step-99-synthesis.md +0 -188
  137. package/skills/ultra-review/scripts/review_verdict_update.py +0 -99
@@ -1,250 +1,81 @@
1
- # Architecture Design
1
+ # Architecture Specification
2
2
 
3
- > **Purpose**: This document defines HOW the system is built. Based on arc42 template.
4
- > Generated by `/ultra-research` Steps 30-41
5
- > **Reference**: [arc42.org](https://arc42.org)
3
+ This document defines the accepted system boundaries and implementation constraints.
4
+ Describe the architecture that evidence requires; do not impose a framework or module
5
+ shape that the project does not use.
6
6
 
7
- ---
7
+ ## Scope
8
8
 
9
- ## §1 Quality Goals
9
+ - Repository or system boundary:
10
+ - Product contracts supported:
11
+ - Revision or environment inspected:
10
12
 
11
- | Priority | Quality Attribute | Scenario | Metric |
12
- |----------|------------------|----------|--------|
13
- | 1 | [NEEDS CLARIFICATION] | Concrete scenario | Measurable target |
14
- | 2 | | | |
15
- | 3 | | | |
13
+ ## Observed
16
14
 
17
- ---
15
+ Record current components, dependencies, data paths, runtime behavior, and operational
16
+ constraints confirmed by source or runtime evidence.
18
17
 
19
- ## §2 Constraints
18
+ | Architectural fact | Evidence reference | Consumer or impact |
19
+ |---|---|---|
20
+ | | | |
20
21
 
21
- ### Technical Constraints
22
+ ## Decisions
22
23
 
23
- | Constraint | Rationale | Impact |
24
- |-----------|-----------|--------|
25
- | [NEEDS CLARIFICATION] | Why this exists | What it limits |
24
+ Record an architecture decision only when it has been accepted. Describe alternatives
25
+ only when a real choice was evaluated and the tradeoff matters for maintenance.
26
26
 
27
- ### Organizational Constraints
27
+ | Decision | Constraint or evidence | Consequence | Owner |
28
+ |---|---|---|---|
29
+ | | | | |
28
30
 
29
- | Constraint | Rationale | Impact |
30
- |-----------|-----------|--------|
31
- | [NEEDS CLARIFICATION] | Why this exists | What it limits |
31
+ ## Unknowns
32
32
 
33
- ### Regulatory Constraints
33
+ | Unknown | Risk if unresolved | Blocking | Owner or next check |
34
+ |---|---|---|---|
35
+ | | | | |
34
36
 
35
- | Constraint | Rationale | Impact |
36
- |-----------|-----------|--------|
37
- | [NEEDS CLARIFICATION] | Why this exists | What it limits |
37
+ ## System Boundaries
38
38
 
39
- ---
39
+ | Boundary | Responsibility | Inputs and outputs | Authority | Consumers |
40
+ |---|---|---|---|---|
41
+ | | | | | |
40
42
 
41
- ## §3 System Context
43
+ ## Runtime Paths
42
44
 
43
- ### Users
44
- - [NEEDS CLARIFICATION]: How they interact
45
+ Trace the important behavior from a live entry point through state and side effects.
46
+ Include failure and recovery paths when they are part of the contract.
45
47
 
46
- ### External Systems
48
+ | Path | Entry point | State or dependency | Observable result | Recovery |
49
+ |---|---|---|---|---|
50
+ | | | | | |
47
51
 
48
- | System | Direction | Data | Protocol | Notes |
49
- |--------|-----------|------|----------|-------|
50
- | [NEEDS CLARIFICATION] | Inbound/Outbound | What data | REST/gRPC | |
52
+ ## Data and State Authority
51
53
 
52
- ### Data Flows
53
- - [User] → [System] → [External]: [NEEDS CLARIFICATION]
54
+ | State | Authoritative owner | Writers | Readers | Consistency or migration rule |
55
+ |---|---|---|---|---|
56
+ | | | | | |
54
57
 
55
- ---
58
+ ## Quality and Operational Constraints
56
59
 
57
- ## §4 Solution Strategy
60
+ Include only constraints that are evidenced or explicitly accepted. Give each one a
61
+ verification method rather than an arbitrary score.
58
62
 
59
- ### Technology Decisions
63
+ | Constraint | Source | Verification | Failure response |
64
+ |---|---|---|---|
65
+ | | | | |
60
66
 
61
- #### Language & Runtime
62
- - **Chosen**: [NEEDS CLARIFICATION]
63
- - **Alternatives considered**: Option B, Option C
64
- - **Rationale**: Why — reference §1 quality goals
65
- - **Trade-off**: What we give up
66
- - **Source**: URL
67
+ ## Security and Permissions
67
68
 
68
- #### Web Framework
69
- - **Chosen**: [NEEDS CLARIFICATION]
70
- - **Alternatives considered**:
71
- - **Rationale**:
72
- - **Source**:
69
+ Document trust boundaries, authorization sources, sensitive data handling, and audit
70
+ requirements that apply to this scope.
73
71
 
74
- #### Database
75
- - **Chosen**: [NEEDS CLARIFICATION]
76
- - **Alternatives considered**:
77
- - **Rationale**:
78
- - **Source**:
72
+ ## Deployment and Recovery
79
73
 
80
- #### Authentication
81
- - **Chosen**: [NEEDS CLARIFICATION]
82
- - **Alternatives considered**:
83
- - **Rationale**:
84
- - **Source**:
74
+ Record the environments and release or rollback paths that are actually used. Link to
75
+ external operational sources instead of duplicating their live contents.
85
76
 
86
- #### Hosting & Infrastructure
87
- - **Chosen**: [NEEDS CLARIFICATION]
88
- - **Alternatives considered**:
89
- - **Rationale**:
90
- - **Estimated cost**: $/month at launch scale
91
- - **Source**:
77
+ ## Product Traceability
92
78
 
93
- ### Tech Stack Summary
94
-
95
- | Layer | Technology | Version | Purpose |
96
- |-------|-----------|---------|---------|
97
- | Frontend | [NEEDS CLARIFICATION] | | |
98
- | Backend | | | |
99
- | Database | | | |
100
- | Cache | | | |
101
- | Auth | | | |
102
- | Hosting | | | |
103
- | CI/CD | | | |
104
- | Monitoring | | | |
105
-
106
- ---
107
-
108
- ## §5 Building Block View
109
-
110
- ### Module Decomposition
111
-
112
- | Module | Layer | Responsibility | Dependencies |
113
- |--------|-------|---------------|-------------|
114
- | [NEEDS CLARIFICATION] | Domain | Pure logic | None |
115
- | | Application | Orchestration | Domain |
116
- | | Infrastructure | IO handling | Application |
117
-
118
- ### Code Organization
119
-
120
- ```
121
- src/
122
- ├── domain/ # Functional Core (pure logic)
123
- │ ├── entities/ # Domain objects
124
- │ ├── values/ # Value objects
125
- │ └── services/ # Domain services (pure functions)
126
- ├── application/ # Use cases (orchestration)
127
- │ └── usecases/ # One file per use case
128
- ├── infrastructure/ # Imperative Shell (IO)
129
- │ ├── http/ # HTTP handlers/routes
130
- │ ├── persistence/ # Database repositories
131
- │ └── external/ # External API clients
132
- └── config/ # Configuration
133
- ```
134
-
135
- ### Feature → Module Mapping
136
-
137
- | Feature | Domain | Application | Infrastructure |
138
- |---------|--------|------------|---------------|
139
- | [NEEDS CLARIFICATION] | Entities | UseCases | Handlers, Repos |
140
-
141
- ---
142
-
143
- ## §6 Runtime Scenarios
144
-
145
- ### Scenario 1: [NEEDS CLARIFICATION] (from product.md S1)
146
-
147
- **Trigger**: User action
148
- **Flow**:
149
- 1. User sends request to endpoint
150
- 2. Handler validates input, maps to DTO
151
- 3. UseCase orchestrates: loads Entity via Repository
152
- 4. DomainService applies business logic (pure)
153
- 5. Repository persists result
154
- 6. Handler returns response
155
-
156
- **Error paths**: [NEEDS CLARIFICATION]
157
-
158
- ### Scenario 2: [NEEDS CLARIFICATION]
159
-
160
- [Same structure]
161
-
162
- ---
163
-
164
- ## §7 Deployment View
165
-
166
- ### Environments
167
-
168
- | Environment | Purpose | Infrastructure | URL Pattern |
169
- |------------|---------|---------------|-------------|
170
- | Development | Local dev | [NEEDS CLARIFICATION] | localhost |
171
- | Staging | Pre-prod | | staging.X |
172
- | Production | Live | | X.com |
173
-
174
- ### Production Topology
175
- - **Compute**: [NEEDS CLARIFICATION]
176
- - **Database**: [NEEDS CLARIFICATION]
177
- - **Cache**: [NEEDS CLARIFICATION]
178
- - **CDN**: [NEEDS CLARIFICATION]
179
-
180
- ---
181
-
182
- ## §8 Crosscutting Concerns
183
-
184
- ### Logging
185
- - **Format**: Structured JSON
186
- - **Fields**: timestamp, level, service, traceId, message, context
187
- - **Tool**: [NEEDS CLARIFICATION]
188
-
189
- ### Authentication
190
- - **Method**: [NEEDS CLARIFICATION]
191
- - **Provider**: [NEEDS CLARIFICATION]
192
- - **Session**: [NEEDS CLARIFICATION]
193
-
194
- ### Error Handling
195
- - **Pattern**: Result/Either in domain, global handler in infrastructure
196
- - **Alerting**: [NEEDS CLARIFICATION]
197
-
198
- ---
199
-
200
- ## §9 Cost Estimate
201
-
202
- | Service | Monthly Cost | Annual Cost | Source |
203
- |---------|-------------|------------|--------|
204
- | Compute | [NEEDS CLARIFICATION] | | |
205
- | Database | | | |
206
- | Other | | | |
207
- | **Total** | | | |
208
-
209
- _Assumptions: user count, traffic, storage_
210
-
211
- ---
212
-
213
- ## §10 Quality Scenarios
214
-
215
- | # | Quality Attribute | Scenario | Stimulus | Expected Response | Metric |
216
- |---|------------------|---------|----------|------------------|--------|
217
- | Q1 | Performance | [NEEDS CLARIFICATION] | | | |
218
- | Q2 | Scalability | | | | |
219
- | Q3 | Security | | | | |
220
- | Q4 | Availability | | | | |
221
-
222
- ---
223
-
224
- ## §11 Risks & Technical Debt
225
-
226
- ### Risk Register
227
-
228
- | # | Risk | Category | Probability | Impact | Score | Mitigation | Contingency |
229
- |---|------|----------|------------|--------|-------|-----------|-------------|
230
- | R1 | [NEEDS CLARIFICATION] | Technical | | | | | |
231
- | R2 | | Business | | | | | |
232
-
233
- ### Known Technical Debt
234
-
235
- | # | Debt Item | Reason for Deferral | Impact if Not Addressed | Address By |
236
- |---|----------|--------------------|-----------------------|-----------|
237
- | TD1 | [NEEDS CLARIFICATION] | | | |
238
-
239
- ---
240
-
241
- ## §12 Architecture Decision Records
242
-
243
- | # | Decision | Context | Options | Chosen | Rationale |
244
- |---|---------|---------|---------|--------|-----------|
245
- | ADR-1 | [NEEDS CLARIFICATION] | Why needed | A, B, C | Choice | Why |
246
-
247
- ---
248
-
249
- **Document Status**: Draft
250
- **Last Updated**: [Date]
79
+ | Product behavior | Architecture path | Verification evidence |
80
+ |---|---|---|
81
+ | | | |
@@ -1,248 +1,51 @@
1
- # Product Discovery & Strategy
1
+ # Discovery Record
2
2
 
3
- > Generated by `/ultra-research` Steps 00-05
4
- > Status: [NEEDS CLARIFICATION]
3
+ Use this document for evidence that affects product scope or a baseline decision.
4
+ Leave unsupported sections empty. Link to durable sources instead of copying large
5
+ external payloads.
5
6
 
6
- ---
7
+ ## Scope
7
8
 
8
- ## §0 Problem Validation Summary
9
+ - Repository or product area:
10
+ - Decision this research must unlock:
11
+ - Evidence freshness boundary:
9
12
 
10
- ### Product Stage
11
- - **Stage**: [NEEDS CLARIFICATION] — Pre-product / Has users / Has paying customers / Engineering-Infra
12
- - **Evidence**: [NEEDS CLARIFICATION]
13
+ ## Observed
13
14
 
14
- ### Demand Signal
15
- - **Strength**: [NEEDS CLARIFICATION] — Strong / Moderate / Weak / Unvalidated
16
- - **Evidence**: [NEEDS CLARIFICATION] — Specific behaviors observed
17
- - **Risk**: [NEEDS CLARIFICATION] — What could invalidate this demand
15
+ Record directly observed behavior, user input, repository facts, and sourced external
16
+ facts. Identify the source and observation date.
18
17
 
19
- ### Status Quo Analysis
20
- - **Current solutions**: [NEEDS CLARIFICATION] — What users do today
21
- - **Cost of workaround**: [NEEDS CLARIFICATION] — Time, money, friction
22
- - **Switching motivation**: [NEEDS CLARIFICATION] — Why they'd change
18
+ | Evidence | Source or reference | Finding | Freshness |
19
+ |---|---|---|---|
20
+ | | | | |
23
21
 
24
- ### Target User Profile
25
- - **Primary**: [NEEDS CLARIFICATION] — Specific role/person description
26
- - **Stakes**: [NEEDS CLARIFICATION] — What gets them promoted / fired
27
- - **Pain frequency**: [NEEDS CLARIFICATION] — Daily / Weekly / Occasional
22
+ ## Decisions
28
23
 
29
- ### Narrowest Wedge
30
- - **MVP scope**: [NEEDS CLARIFICATION] — Single feature/workflow
31
- - **Willingness to pay**: [NEEDS CLARIFICATION]
32
- - **Ship timeline**: [NEEDS CLARIFICATION] — Days / Weeks / Months
24
+ Record only accepted decisions. Include the reason, evidence, owner, and the contract
25
+ or specification affected.
33
26
 
34
- ### Validation Confidence
35
- - **Overall**: [NEEDS CLARIFICATION]%
36
- - **Strongest signal**: [NEEDS CLARIFICATION]
37
- - **Biggest risk**: [NEEDS CLARIFICATION]
38
- - **Recommended next step**: [NEEDS CLARIFICATION] — Proceed / Investigate further / Pivot
27
+ | Decision | Reason and evidence | Owner | Affected contract |
28
+ |---|---|---|---|
29
+ | | | | |
39
30
 
40
- ---
31
+ ## Unknowns
41
32
 
42
- ## §1 Opportunity Space
33
+ Separate blocking unknowns from questions that are outside the accepted scope.
43
34
 
44
- ### Desired Outcome
45
- - **Outcome**: [NEEDS CLARIFICATION] — Single measurable outcome
46
- - **Metric**: [NEEDS CLARIFICATION] — How we measure it
47
- - **Timeline**: [NEEDS CLARIFICATION] — When we expect movement
35
+ | Unknown | Why it matters | Blocking | Owner or next evidence |
36
+ |---|---|---|---|
37
+ | | | | |
48
38
 
49
- ### Opportunity Map
39
+ ## Current Behavior Notes
50
40
 
51
- | # | Opportunity (Customer Framing) | Importance | Satisfaction | Score | Source |
52
- |---|-------------------------------|-----------|-------------|-------|--------|
53
- | O1 | [NEEDS CLARIFICATION] | | | | |
54
- | O2 | | | | | |
55
- | O3 | | | | | |
41
+ For an existing project, describe only behavior confirmed from source, tests, runtime,
42
+ or maintained documentation. For a new project, record the accepted problem and
43
+ constraints without inventing current behavior.
56
44
 
57
- > Opportunity Score = Importance × (1 - Satisfaction)
45
+ ## Traceability
58
46
 
59
- ### Prioritized Opportunities (Top 3)
47
+ Link each consequential finding to the product or architecture section it informs.
60
48
 
61
- #### Opportunity 1: [NEEDS CLARIFICATION]
62
- - **Importance**: /10
63
- - **Current satisfaction**: — How users cope today
64
- - **Score**:
65
- - **Evidence**: Source URL
66
-
67
- **Solution Approaches:**
68
- 1. **PM approach**: [NEEDS CLARIFICATION]
69
- 2. **Design approach**: [NEEDS CLARIFICATION]
70
- 3. **Engineering approach**: [NEEDS CLARIFICATION]
71
-
72
- ### Key Insight
73
- [NEEDS CLARIFICATION] — Non-obvious insight from opportunity analysis
74
-
75
- ---
76
-
77
- ## §2 Market Assessment
78
-
79
- ### Market Sizing Summary
80
-
81
- | Metric | Current Estimate | 2-3 Year Projection | Source |
82
- |--------|-----------------|---------------------|--------|
83
- | TAM | [NEEDS CLARIFICATION] | | |
84
- | SAM | [NEEDS CLARIFICATION] | | |
85
- | SOM | [NEEDS CLARIFICATION] | | |
86
-
87
- ### Top-Down Analysis
88
-
89
- #### TAM: [NEEDS CLARIFICATION]
90
- - **Definition**: Market category
91
- - **Source**: Report name + URL
92
- - **Growth**: CAGR
93
-
94
- #### SAM: [NEEDS CLARIFICATION]
95
- - **TAM filter 1**: Geographic
96
- - **TAM filter 2**: Segment
97
- - **TAM filter 3**: Technology fit
98
-
99
- #### SOM: [NEEDS CLARIFICATION]
100
- - **Realistic capture**: % of SAM
101
- - **Basis**: Why achievable
102
- - **Comparable**: Similar company reference
103
-
104
- ### Bottom-Up Analysis
105
-
106
- | Variable | Value | Source |
107
- |----------|-------|--------|
108
- | Target customers | [NEEDS CLARIFICATION] | |
109
- | Conversion rate | [NEEDS CLARIFICATION] | |
110
- | ARPU (annual) | [NEEDS CLARIFICATION] | |
111
- | Retention rate | [NEEDS CLARIFICATION] | |
112
- | **Year 1 Revenue** | **Calculated** | |
113
- | **Year 3 Revenue** | **Calculated** | |
114
-
115
- ### Cross-Validation
116
- - **Top-down SOM**: [NEEDS CLARIFICATION]
117
- - **Bottom-up Year 3**: [NEEDS CLARIFICATION]
118
- - **Ratio**: x
119
- - **Assessment**: [NEEDS CLARIFICATION]
120
-
121
- ### Growth Drivers
122
-
123
- | # | Driver | Direction | Impact | Timeline | Source |
124
- |---|--------|-----------|--------|----------|--------|
125
- | 1 | [NEEDS CLARIFICATION] | | | | |
126
-
127
- ---
128
-
129
- ## §3 Competitive Landscape
130
-
131
- ### Competitive Overview
132
-
133
- | Dimension | Us | Competitor A | Competitor B | Do Nothing |
134
- |-----------|-----|-------------|-------------|------------|
135
- | Core value prop | [NEEDS CLARIFICATION] | | | Status quo |
136
- | Target segment | | | | Everyone |
137
- | Pricing | | | | Free |
138
- | Key strength | | | | Familiar |
139
- | Key weakness | | | | Inefficient |
140
- | Traction | | | | N/A |
141
-
142
- ### Direct Competitors
143
-
144
- #### [NEEDS CLARIFICATION]
145
- - **What they do**:
146
- - **Strengths**:
147
- - **Weaknesses**: — Source: URL
148
- - **Pricing**: — Source: URL
149
- - **Traction**: — Source: URL
150
- - **Threat level**: High / Medium / Low
151
-
152
- ### Indirect Competitors & Alternatives
153
- - [NEEDS CLARIFICATION]
154
- - **Do Nothing**: Cost of inaction
155
-
156
- ### Porter's Five Forces Summary
157
-
158
- | Force | Rating | Assessment |
159
- |-------|--------|-----------|
160
- | Supplier power | [1-5] | [NEEDS CLARIFICATION] |
161
- | Buyer power | [1-5] | |
162
- | New entrant threat | [1-5] | |
163
- | Substitute threat | [1-5] | |
164
- | Rivalry intensity | [1-5] | |
165
-
166
- ### Our Competitive Edge
167
- - **Where we can win**: [NEEDS CLARIFICATION]
168
- - **Where we cannot win**: [NEEDS CLARIFICATION]
169
- - **Unfilled gap**: [NEEDS CLARIFICATION]
170
-
171
- ---
172
-
173
- ## §4 Product Strategy
174
-
175
- ### Vision
176
- [NEEDS CLARIFICATION] — 2-3 sentences, inspiring, specific, ambitious
177
-
178
- ### Target Segments
179
-
180
- #### Primary: [NEEDS CLARIFICATION]
181
- - **Description**: Defined by problem/JTBD
182
- - **Why them**: Why most urgent
183
- - **Value Proposition**: When [situation], they want [motivation], so they can [outcome]
184
-
185
- #### Explicitly NOT Serving
186
- - [NEEDS CLARIFICATION]: Why not
187
-
188
- ### Strategic Trade-offs
189
-
190
- | # | We Choose | Over | Because |
191
- |---|-----------|------|---------|
192
- | 1 | [NEEDS CLARIFICATION] | | |
193
- | 2 | | | |
194
- | 3 | | | |
195
-
196
- ### Defensibility
197
-
198
- | Moat Type | Applicable | Strength (1-5) | Timeline |
199
- |-----------|-----------|----------------|----------|
200
- | Network effects | [NEEDS CLARIFICATION] | | |
201
- | Data advantage | | | |
202
- | Switching costs | | | |
203
- | Brand / trust | | | |
204
- | Technical IP | | | |
205
-
206
- ---
207
-
208
- ## §5 Key Assumptions & Validation Plan
209
-
210
- ### Assumption Inventory
211
-
212
- | # | Assumption | Category | Impact | Uncertainty | Priority |
213
- |---|-----------|----------|--------|-------------|----------|
214
- | A1 | [NEEDS CLARIFICATION] | Value | | | |
215
- | A2 | | Viability | | | |
216
- | A3 | | GTM | | | |
217
- | A4 | | Feasibility | | | |
218
- | A5 | | Usability | | | |
219
-
220
- ### Leap-of-Faith Assumptions (Top 3)
221
-
222
- #### A1: [NEEDS CLARIFICATION]
223
- - **Category**: Value / Viability / GTM
224
- - **Why it matters**: What happens if wrong
225
- - **Current evidence**: From steps 00-04
226
-
227
- **Validation Experiment:**
228
- - **Method**: [NEEDS CLARIFICATION]
229
- - **Success criteria**: Measurable outcome
230
- - **Failure criteria**: Measurable outcome
231
- - **Effort**: Hours/days
232
- - **Timeline**: When results expected
233
-
234
- **Decision Framework:**
235
- - If validated → Proceed to Round 1
236
- - If invalidated → Pivot / Investigate / Kill
237
- - If ambiguous → Additional experiment
238
-
239
- ### Validation Roadmap
240
-
241
- | Week | Experiment | Assumption | Expected Result |
242
- |------|-----------|-----------|----------------|
243
- | 1 | [NEEDS CLARIFICATION] | A1 | |
244
-
245
- ---
246
-
247
- **Document Status**: Draft
248
- **Last Updated**: [Date]
49
+ | Finding | Target specification | Status |
50
+ |---|---|---|
51
+ | | | |