@polymorphism-tech/morph-spec 7.2.0 → 7.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/CLAUDE.md +1 -1
- package/README.md +2 -2
- package/bin/morph-spec.js +4 -2
- package/claude-plugin.json +1 -1
- package/docs/CHEATSHEET.md +1 -1
- package/docs/QUICKSTART.md +1 -1
- package/framework/CLAUDE.md +2 -2
- package/framework/MORPH.md +29 -12
- package/framework/agents.json +132 -132
- package/framework/commands/morph-apply.md +1 -1
- package/framework/commands/morph-proposal.md +1 -1
- package/framework/evals/rubrics/README.md +9 -8
- package/framework/hooks/README.md +3 -1
- package/framework/hooks/claude-code/core/gate-guard.js +160 -0
- package/framework/hooks/claude-code/core/state-sync.js +15 -3
- package/framework/hooks/claude-code/core/validate-completion.js +241 -136
- package/framework/hooks/shared/state-reader.js +236 -221
- package/framework/phases.json +1 -1
- package/framework/skills/README.md +2 -2
- package/framework/skills/core/morph-apply/SKILL.md +63 -21
- package/framework/skills/core/morph-brainstorming/SKILL.md +5 -1
- package/framework/skills/core/morph-eval/SKILL.md +4 -5
- package/framework/skills/core/morph-implement/SKILL.md +47 -19
- package/framework/skills/core/morph-plan/SKILL.md +8 -2
- package/framework/skills/core/morph-proposal/SKILL.md +1 -1
- package/framework/skills/core/morph-review/SKILL.md +13 -6
- package/framework/skills/core/morph-stack-scan/SKILL.md +1 -1
- package/framework/skills/core/morph-standards/SKILL.md +1 -1
- package/framework/standards/ai-agents/setup.md +258 -244
- package/framework/templates/README.md +708 -709
- package/framework/templates/REGISTRY.json +1 -20
- package/framework/templates/context/CONTEXT-FEATURE.md +276 -276
- package/framework/templates/docs/proposal.md +171 -171
- package/framework/templates/feature/recap.md +145 -145
- package/package.json +1 -1
- package/src/commands/project/doctor.js +941 -946
- package/src/commands/project/init.js +517 -515
- package/src/commands/project/status.js +373 -376
- package/src/commands/state/approve.js +251 -213
- package/src/commands/validation/validate-feature.js +356 -287
- package/src/core/state/state-manager.js +910 -934
- package/src/dashboard/app/App.jsx +29 -31
- package/src/dashboard/app/components/Sidebar.jsx +44 -45
- package/src/dashboard/scanner/index.js +20 -21
- package/src/lib/context/context-builder.js +3 -3
- package/src/lib/generators/context-generator.js +2 -3
- package/src/lib/generators/mandate-generator.js +48 -92
- package/src/lib/generators/metadata-extractor.js +385 -386
- package/src/lib/generators/recap-generator.js +285 -285
- package/src/lib/risk-detector.js +2 -2
- package/src/lib/validators/content/content-validator.js +89 -286
- package/src/lib/validators/content/index.js +0 -1
- package/src/utils/hooks-installer.js +527 -516
- package/framework/templates/feature/tasks.md +0 -199
- package/framework/workflows/README.md +0 -1041
- package/framework/workflows/configs/fast-track.json +0 -46
- package/framework/workflows/configs/full.json +0 -64
- package/framework/workflows/configs/quick.json +0 -32
- package/framework/workflows/configs/standard.json +0 -57
- package/framework/workflows/docs/STORY-DRIVEN-DEVELOPMENT.md +0 -392
- package/framework/workflows/docs/design-impl.md +0 -37
- package/framework/workflows/docs/enforcement-pipeline.md +0 -668
- package/framework/workflows/docs/fast-track.md +0 -29
- package/framework/workflows/docs/full-morph.md +0 -69
- package/framework/workflows/docs/standard.md +0 -49
- package/framework/workflows/docs/ui-refresh.md +0 -39
- package/src/commands/state/index.js +0 -7
- package/src/core/workflows/workflow-detector.js +0 -586
- package/src/core/workflows/workflow-router.js +0 -204
- package/src/dashboard/app/pages/Workflows.jsx +0 -346
- package/src/dashboard/scanner/workflows-scanner.js +0 -18
- package/src/lib/phase-chain/phase-validator.js +0 -359
- package/src/lib/validators/content/cross-phase-validator.js +0 -281
- package/src/lib/validators/spec-validator.js +0 -312
|
@@ -1,171 +1,171 @@
|
|
|
1
|
-
# Feature Proposal: {{titleCase FEATURE_NAME}}
|
|
2
|
-
|
|
3
|
-
> Proposal for a new feature. This document describes WHAT and WHY.
|
|
4
|
-
> For technical details, see `spec.md`.
|
|
5
|
-
|
|
6
|
-
## Metadata
|
|
7
|
-
|
|
8
|
-
| Field | Value |
|
|
9
|
-
|-------|-------|
|
|
10
|
-
| **Proposed** | {{DATE}} |
|
|
11
|
-
| **Author** | {{AUTHOR}} |
|
|
12
|
-
| **Status** | Draft / Under Review / Approved / Rejected |
|
|
13
|
-
| **Priority** | High / Medium / Low |
|
|
14
|
-
{{#if STACK}}| **Stack** | {{STACK}} |{{/if}}
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
## Overview
|
|
19
|
-
|
|
20
|
-
{Brief 2-3 sentence summary of the feature}
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
24
|
-
## Problem Statement
|
|
25
|
-
|
|
26
|
-
### What is the problem?
|
|
27
|
-
|
|
28
|
-
{Describe the problem this feature solves. Be specific.}
|
|
29
|
-
|
|
30
|
-
### Who is affected?
|
|
31
|
-
|
|
32
|
-
{Who suffers from this problem? End users? Developers? Operations?}
|
|
33
|
-
|
|
34
|
-
### What is the impact?
|
|
35
|
-
|
|
36
|
-
{What is the impact of NOT solving this problem?}
|
|
37
|
-
- User productivity loss: {X}
|
|
38
|
-
- Revenue/Cost impact: {X}
|
|
39
|
-
- User satisfaction: {X}
|
|
40
|
-
|
|
41
|
-
---
|
|
42
|
-
|
|
43
|
-
## Proposed Solution
|
|
44
|
-
|
|
45
|
-
### Overview
|
|
46
|
-
|
|
47
|
-
{Describe the proposed solution in 2-3 paragraphs}
|
|
48
|
-
|
|
49
|
-
### Key Features
|
|
50
|
-
|
|
51
|
-
1. **{Feature 1}** - {brief description}
|
|
52
|
-
2. **{Feature 2}** - {brief description}
|
|
53
|
-
3. **{Feature 3}** - {brief description}
|
|
54
|
-
|
|
55
|
-
{{#if (eq STACK "nextjs-neon")}}
|
|
56
|
-
### Technical Approach
|
|
57
|
-
|
|
58
|
-
| Layer | Technology | Role |
|
|
59
|
-
|-------|-----------|------|
|
|
60
|
-
| **Database** | Neon (PostgreSQL + RLS) | {tables, policies, storage} |
|
|
61
|
-
| **Backend API** | .NET 10 Minimal API | {endpoints, business logic} |
|
|
62
|
-
| **Frontend** | Next.js 15 (App Router) | {pages, components, auth} |
|
|
63
|
-
| **Infra** | EasyPanel + Docker | {deployment, SSL} |
|
|
64
|
-
{{/if}}
|
|
65
|
-
|
|
66
|
-
### User Journey
|
|
67
|
-
|
|
68
|
-
```
|
|
69
|
-
1. User {initial action}
|
|
70
|
-
2. System {response}
|
|
71
|
-
3. User {next action}
|
|
72
|
-
4. System {final result}
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
---
|
|
76
|
-
|
|
77
|
-
{{#if (eq STACK "nextjs-neon")}}
|
|
78
|
-
## Cost Estimate
|
|
79
|
-
|
|
80
|
-
| Resource | Provider | Monthly Cost | Notes |
|
|
81
|
-
|----------|----------|-------------|-------|
|
|
82
|
-
| Neon | Free / Launch | $0 - $19 | {DB, Connection Pooling, Branching} |
|
|
83
|
-
| VPS (EasyPanel) | {provider} | ${X} | {API + Web containers} |
|
|
84
|
-
| External APIs | {provider} | ${X} | {if applicable} |
|
|
85
|
-
| **Total** | | **${X}/month** | |
|
|
86
|
-
|
|
87
|
-
---
|
|
88
|
-
|
|
89
|
-
{{/if}}
|
|
90
|
-
## Success Metrics
|
|
91
|
-
|
|
92
|
-
How will we know this feature is successful?
|
|
93
|
-
|
|
94
|
-
| Metric | Current | Target |
|
|
95
|
-
|--------|---------|--------|
|
|
96
|
-
| {Metric 1} | {X} | {Y} |
|
|
97
|
-
| {Metric 2} | {X} | {Y} |
|
|
98
|
-
|
|
99
|
-
---
|
|
100
|
-
|
|
101
|
-
## Scope
|
|
102
|
-
|
|
103
|
-
### In Scope
|
|
104
|
-
|
|
105
|
-
- {Item 1 that is included}
|
|
106
|
-
- {Item 2 that is included}
|
|
107
|
-
- {Item 3 that is included}
|
|
108
|
-
|
|
109
|
-
### Out of Scope
|
|
110
|
-
|
|
111
|
-
- {Item 1 that is NOT included}
|
|
112
|
-
- {Item 2 that is NOT included}
|
|
113
|
-
|
|
114
|
-
### Future Considerations
|
|
115
|
-
|
|
116
|
-
- {Item that could be added later}
|
|
117
|
-
|
|
118
|
-
---
|
|
119
|
-
|
|
120
|
-
## Risks & Concerns
|
|
121
|
-
|
|
122
|
-
| Risk | Likelihood | Impact | Mitigation |
|
|
123
|
-
|------|------------|--------|------------|
|
|
124
|
-
| {Risk 1} | High/Med/Low | High/Med/Low | {mitigation strategy} |
|
|
125
|
-
| {Risk 2} | High/Med/Low | High/Med/Low | {mitigation strategy} |
|
|
126
|
-
|
|
127
|
-
---
|
|
128
|
-
|
|
129
|
-
## Dependencies
|
|
130
|
-
|
|
131
|
-
- [ ] {Dependency 1} - {status}
|
|
132
|
-
- [ ] {Dependency 2} - {status}
|
|
133
|
-
|
|
134
|
-
---
|
|
135
|
-
|
|
136
|
-
## Estimated Effort
|
|
137
|
-
|
|
138
|
-
| Phase | Estimate |
|
|
139
|
-
|-------|----------|
|
|
140
|
-
| Design & Spec | {X}h |
|
|
141
|
-
{{#if (eq STACK "nextjs-neon")}}| Database & Migrations | {X}h |
|
|
142
|
-
| Backend API | {X}h |
|
|
143
|
-
| Frontend | {X}h |
|
|
144
|
-
{{else}}| Implementation | {X}h |
|
|
145
|
-
{{/if}}| Testing | {X}h |
|
|
146
|
-
| **Total** | **{X}h** |
|
|
147
|
-
|
|
148
|
-
---
|
|
149
|
-
|
|
150
|
-
## Questions & Clarifications
|
|
151
|
-
|
|
152
|
-
1. {Question 1 that needs answering}
|
|
153
|
-
2. {Question 2 that needs answering}
|
|
154
|
-
|
|
155
|
-
---
|
|
156
|
-
|
|
157
|
-
## Next Steps
|
|
158
|
-
|
|
159
|
-
Once approved:
|
|
160
|
-
1. Create detailed `spec.md` with technical design
|
|
161
|
-
{{#if (eq STACK "nextjs-neon")}}2. Define contracts (`contracts.cs` + `contracts.ts`)
|
|
162
|
-
3. Record decisions in `decisions.md`
|
|
163
|
-
4. Break down into `tasks.
|
|
164
|
-
5. Begin implementation
|
|
165
|
-
{{else}}2. Break down into `tasks.
|
|
166
|
-
3. Begin implementation
|
|
167
|
-
{{/if}}
|
|
168
|
-
|
|
169
|
-
---
|
|
170
|
-
|
|
171
|
-
*Created with MORPH Framework*
|
|
1
|
+
# Feature Proposal: {{titleCase FEATURE_NAME}}
|
|
2
|
+
|
|
3
|
+
> Proposal for a new feature. This document describes WHAT and WHY.
|
|
4
|
+
> For technical details, see `spec.md`.
|
|
5
|
+
|
|
6
|
+
## Metadata
|
|
7
|
+
|
|
8
|
+
| Field | Value |
|
|
9
|
+
|-------|-------|
|
|
10
|
+
| **Proposed** | {{DATE}} |
|
|
11
|
+
| **Author** | {{AUTHOR}} |
|
|
12
|
+
| **Status** | Draft / Under Review / Approved / Rejected |
|
|
13
|
+
| **Priority** | High / Medium / Low |
|
|
14
|
+
{{#if STACK}}| **Stack** | {{STACK}} |{{/if}}
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Overview
|
|
19
|
+
|
|
20
|
+
{Brief 2-3 sentence summary of the feature}
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Problem Statement
|
|
25
|
+
|
|
26
|
+
### What is the problem?
|
|
27
|
+
|
|
28
|
+
{Describe the problem this feature solves. Be specific.}
|
|
29
|
+
|
|
30
|
+
### Who is affected?
|
|
31
|
+
|
|
32
|
+
{Who suffers from this problem? End users? Developers? Operations?}
|
|
33
|
+
|
|
34
|
+
### What is the impact?
|
|
35
|
+
|
|
36
|
+
{What is the impact of NOT solving this problem?}
|
|
37
|
+
- User productivity loss: {X}
|
|
38
|
+
- Revenue/Cost impact: {X}
|
|
39
|
+
- User satisfaction: {X}
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Proposed Solution
|
|
44
|
+
|
|
45
|
+
### Overview
|
|
46
|
+
|
|
47
|
+
{Describe the proposed solution in 2-3 paragraphs}
|
|
48
|
+
|
|
49
|
+
### Key Features
|
|
50
|
+
|
|
51
|
+
1. **{Feature 1}** - {brief description}
|
|
52
|
+
2. **{Feature 2}** - {brief description}
|
|
53
|
+
3. **{Feature 3}** - {brief description}
|
|
54
|
+
|
|
55
|
+
{{#if (eq STACK "nextjs-neon")}}
|
|
56
|
+
### Technical Approach
|
|
57
|
+
|
|
58
|
+
| Layer | Technology | Role |
|
|
59
|
+
|-------|-----------|------|
|
|
60
|
+
| **Database** | Neon (PostgreSQL + RLS) | {tables, policies, storage} |
|
|
61
|
+
| **Backend API** | .NET 10 Minimal API | {endpoints, business logic} |
|
|
62
|
+
| **Frontend** | Next.js 15 (App Router) | {pages, components, auth} |
|
|
63
|
+
| **Infra** | EasyPanel + Docker | {deployment, SSL} |
|
|
64
|
+
{{/if}}
|
|
65
|
+
|
|
66
|
+
### User Journey
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
1. User {initial action}
|
|
70
|
+
2. System {response}
|
|
71
|
+
3. User {next action}
|
|
72
|
+
4. System {final result}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
{{#if (eq STACK "nextjs-neon")}}
|
|
78
|
+
## Cost Estimate
|
|
79
|
+
|
|
80
|
+
| Resource | Provider | Monthly Cost | Notes |
|
|
81
|
+
|----------|----------|-------------|-------|
|
|
82
|
+
| Neon | Free / Launch | $0 - $19 | {DB, Connection Pooling, Branching} |
|
|
83
|
+
| VPS (EasyPanel) | {provider} | ${X} | {API + Web containers} |
|
|
84
|
+
| External APIs | {provider} | ${X} | {if applicable} |
|
|
85
|
+
| **Total** | | **${X}/month** | |
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
{{/if}}
|
|
90
|
+
## Success Metrics
|
|
91
|
+
|
|
92
|
+
How will we know this feature is successful?
|
|
93
|
+
|
|
94
|
+
| Metric | Current | Target |
|
|
95
|
+
|--------|---------|--------|
|
|
96
|
+
| {Metric 1} | {X} | {Y} |
|
|
97
|
+
| {Metric 2} | {X} | {Y} |
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## Scope
|
|
102
|
+
|
|
103
|
+
### In Scope
|
|
104
|
+
|
|
105
|
+
- {Item 1 that is included}
|
|
106
|
+
- {Item 2 that is included}
|
|
107
|
+
- {Item 3 that is included}
|
|
108
|
+
|
|
109
|
+
### Out of Scope
|
|
110
|
+
|
|
111
|
+
- {Item 1 that is NOT included}
|
|
112
|
+
- {Item 2 that is NOT included}
|
|
113
|
+
|
|
114
|
+
### Future Considerations
|
|
115
|
+
|
|
116
|
+
- {Item that could be added later}
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## Risks & Concerns
|
|
121
|
+
|
|
122
|
+
| Risk | Likelihood | Impact | Mitigation |
|
|
123
|
+
|------|------------|--------|------------|
|
|
124
|
+
| {Risk 1} | High/Med/Low | High/Med/Low | {mitigation strategy} |
|
|
125
|
+
| {Risk 2} | High/Med/Low | High/Med/Low | {mitigation strategy} |
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## Dependencies
|
|
130
|
+
|
|
131
|
+
- [ ] {Dependency 1} - {status}
|
|
132
|
+
- [ ] {Dependency 2} - {status}
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## Estimated Effort
|
|
137
|
+
|
|
138
|
+
| Phase | Estimate |
|
|
139
|
+
|-------|----------|
|
|
140
|
+
| Design & Spec | {X}h |
|
|
141
|
+
{{#if (eq STACK "nextjs-neon")}}| Database & Migrations | {X}h |
|
|
142
|
+
| Backend API | {X}h |
|
|
143
|
+
| Frontend | {X}h |
|
|
144
|
+
{{else}}| Implementation | {X}h |
|
|
145
|
+
{{/if}}| Testing | {X}h |
|
|
146
|
+
| **Total** | **{X}h** |
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## Questions & Clarifications
|
|
151
|
+
|
|
152
|
+
1. {Question 1 that needs answering}
|
|
153
|
+
2. {Question 2 that needs answering}
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
## Next Steps
|
|
158
|
+
|
|
159
|
+
Once approved:
|
|
160
|
+
1. Create detailed `spec.md` with technical design
|
|
161
|
+
{{#if (eq STACK "nextjs-neon")}}2. Define contracts (`contracts.cs` + `contracts.ts`)
|
|
162
|
+
3. Record decisions in `decisions.md`
|
|
163
|
+
4. Break down into `tasks.json`
|
|
164
|
+
5. Begin implementation
|
|
165
|
+
{{else}}2. Break down into `tasks.json`
|
|
166
|
+
3. Begin implementation
|
|
167
|
+
{{/if}}
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
*Created with MORPH Framework*
|
|
@@ -1,145 +1,145 @@
|
|
|
1
|
-
# Feature Recap: {{titleCase FEATURE_NAME}}
|
|
2
|
-
|
|
3
|
-
## Summary
|
|
4
|
-
|
|
5
|
-
| Field | Value |
|
|
6
|
-
|-------|-------|
|
|
7
|
-
| **Feature ID** | {{FEATURE_NAME}} |
|
|
8
|
-
| **Completed** | {{DATE}} |
|
|
9
|
-
| **Total Tasks** | {X} |
|
|
10
|
-
| **Time Spent** | {X}h |
|
|
11
|
-
| **Agents Used** | {list} |
|
|
12
|
-
{{#if STACK}}| **Stack** | {{STACK}} |{{/if}}
|
|
13
|
-
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
## Tasks Completed
|
|
17
|
-
|
|
18
|
-
| ID | Title | Category | Duration |
|
|
19
|
-
|----|-------|----------|----------|
|
|
20
|
-
| T001 | {title} | {{#if (eq STACK "nextjs-neon")}}Database{{else}}{category}{{/if}} | {X}min |
|
|
21
|
-
| T002 | {title} | {{#if (eq STACK "nextjs-neon")}}Backend{{else}}{category}{{/if}} | {X}min |
|
|
22
|
-
| T003 | {title} | {{#if (eq STACK "nextjs-neon")}}Frontend{{else}}{category}{{/if}} | {X}min |
|
|
23
|
-
|
|
24
|
-
---
|
|
25
|
-
|
|
26
|
-
{{#if (eq STACK "nextjs-neon")}}
|
|
27
|
-
## Validation Results
|
|
28
|
-
|
|
29
|
-
| Validator | Status | Details |
|
|
30
|
-
|-----------|--------|---------|
|
|
31
|
-
| contract-compliance | Pass/Fail | {details} |
|
|
32
|
-
| architecture | Pass/Fail | {details} |
|
|
33
|
-
| design-system | Pass/Fail | {details} |
|
|
34
|
-
| coding-standards | Pass/Fail | {details} |
|
|
35
|
-
|
|
36
|
-
---
|
|
37
|
-
|
|
38
|
-
{{/if}}
|
|
39
|
-
## What Was Delivered
|
|
40
|
-
|
|
41
|
-
### Functionality
|
|
42
|
-
- {Functionality 1 delivered}
|
|
43
|
-
- {Functionality 2 delivered}
|
|
44
|
-
- {Functionality 3 delivered}
|
|
45
|
-
|
|
46
|
-
{{#if (eq STACK "nextjs-neon")}}
|
|
47
|
-
### Database (Neon PostgreSQL)
|
|
48
|
-
- Tables: {list}
|
|
49
|
-
- RLS Policies: {count} policies
|
|
50
|
-
- Migrations: {count} files
|
|
51
|
-
|
|
52
|
-
### Backend API (.NET)
|
|
53
|
-
- Endpoints: {count} endpoints
|
|
54
|
-
- Services: {list}
|
|
55
|
-
|
|
56
|
-
### Frontend (Next.js)
|
|
57
|
-
- Pages: {list}
|
|
58
|
-
- Components: {list}
|
|
59
|
-
{{/if}}
|
|
60
|
-
|
|
61
|
-
---
|
|
62
|
-
|
|
63
|
-
## Files Created
|
|
64
|
-
|
|
65
|
-
```
|
|
66
|
-
{{#if (eq STACK "nextjs-neon")}}
|
|
67
|
-
migrations/{files}
|
|
68
|
-
backend/src/{files}
|
|
69
|
-
frontend/src/{files}
|
|
70
|
-
{{else}}
|
|
71
|
-
{list of created files}
|
|
72
|
-
{{/if}}
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
## Files Modified
|
|
76
|
-
|
|
77
|
-
```
|
|
78
|
-
{list of modified files}
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
---
|
|
82
|
-
|
|
83
|
-
## Architecture Decisions
|
|
84
|
-
|
|
85
|
-
| Decision | Rationale |
|
|
86
|
-
|----------|-----------|
|
|
87
|
-
| {Decision 1} | {Reason} |
|
|
88
|
-
| {Decision 2} | {Reason} |
|
|
89
|
-
|
|
90
|
-
See full ADRs in `decisions.md`
|
|
91
|
-
|
|
92
|
-
---
|
|
93
|
-
|
|
94
|
-
## Test Coverage
|
|
95
|
-
|
|
96
|
-
| Type | Files | Coverage |
|
|
97
|
-
|------|-------|----------|
|
|
98
|
-
| {{#if (eq STACK "nextjs-neon")}}Backend Unit{{else}}Unit Tests{{/if}} | {X} | {X}% |
|
|
99
|
-
| {{#if (eq STACK "nextjs-neon")}}Frontend Component{{else}}Integration Tests{{/if}} | {X} | {X}% |
|
|
100
|
-
|
|
101
|
-
---
|
|
102
|
-
|
|
103
|
-
## Lessons Learned
|
|
104
|
-
|
|
105
|
-
### What Went Well
|
|
106
|
-
- {Positive point 1}
|
|
107
|
-
- {Positive point 2}
|
|
108
|
-
|
|
109
|
-
### What Could Be Improved
|
|
110
|
-
- {Improvement point 1}
|
|
111
|
-
- {Improvement point 2}
|
|
112
|
-
|
|
113
|
-
### Recommendations for Future
|
|
114
|
-
- {Recommendation 1}
|
|
115
|
-
- {Recommendation 2}
|
|
116
|
-
|
|
117
|
-
---
|
|
118
|
-
|
|
119
|
-
## Metrics
|
|
120
|
-
|
|
121
|
-
| Metric | Value |
|
|
122
|
-
|--------|-------|
|
|
123
|
-
| Tasks Completed | {X}/{X} |
|
|
124
|
-
| Checkpoints Passed | {X} |
|
|
125
|
-
{{#if (eq STACK "nextjs-neon")}}| Validation Passes | {X}/{X} |
|
|
126
|
-
{{else}}| Code Reviews | {X} |
|
|
127
|
-
{{/if}}| Bugs Found | {X} |
|
|
128
|
-
| Bugs Fixed | {X} |
|
|
129
|
-
|
|
130
|
-
---
|
|
131
|
-
|
|
132
|
-
## Related Resources
|
|
133
|
-
|
|
134
|
-
- **Proposal:** `proposal.md`
|
|
135
|
-
- **Spec:** `spec.md`
|
|
136
|
-
{{#if (eq STACK "nextjs-neon")}}- **Contracts (.NET):** `contracts.cs`
|
|
137
|
-
- **Contracts (TS):** `contracts.ts`
|
|
138
|
-
{{else}}- **Contracts:** `contracts.cs`
|
|
139
|
-
{{/if}}- **Tasks:** `tasks.
|
|
140
|
-
- **Decisions:** `decisions.md`
|
|
141
|
-
- **PR:** {link}
|
|
142
|
-
|
|
143
|
-
---
|
|
144
|
-
|
|
145
|
-
*Generated by MORPH Framework on {{DATE}}*
|
|
1
|
+
# Feature Recap: {{titleCase FEATURE_NAME}}
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
| Field | Value |
|
|
6
|
+
|-------|-------|
|
|
7
|
+
| **Feature ID** | {{FEATURE_NAME}} |
|
|
8
|
+
| **Completed** | {{DATE}} |
|
|
9
|
+
| **Total Tasks** | {X} |
|
|
10
|
+
| **Time Spent** | {X}h |
|
|
11
|
+
| **Agents Used** | {list} |
|
|
12
|
+
{{#if STACK}}| **Stack** | {{STACK}} |{{/if}}
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Tasks Completed
|
|
17
|
+
|
|
18
|
+
| ID | Title | Category | Duration |
|
|
19
|
+
|----|-------|----------|----------|
|
|
20
|
+
| T001 | {title} | {{#if (eq STACK "nextjs-neon")}}Database{{else}}{category}{{/if}} | {X}min |
|
|
21
|
+
| T002 | {title} | {{#if (eq STACK "nextjs-neon")}}Backend{{else}}{category}{{/if}} | {X}min |
|
|
22
|
+
| T003 | {title} | {{#if (eq STACK "nextjs-neon")}}Frontend{{else}}{category}{{/if}} | {X}min |
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
{{#if (eq STACK "nextjs-neon")}}
|
|
27
|
+
## Validation Results
|
|
28
|
+
|
|
29
|
+
| Validator | Status | Details |
|
|
30
|
+
|-----------|--------|---------|
|
|
31
|
+
| contract-compliance | Pass/Fail | {details} |
|
|
32
|
+
| architecture | Pass/Fail | {details} |
|
|
33
|
+
| design-system | Pass/Fail | {details} |
|
|
34
|
+
| coding-standards | Pass/Fail | {details} |
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
{{/if}}
|
|
39
|
+
## What Was Delivered
|
|
40
|
+
|
|
41
|
+
### Functionality
|
|
42
|
+
- {Functionality 1 delivered}
|
|
43
|
+
- {Functionality 2 delivered}
|
|
44
|
+
- {Functionality 3 delivered}
|
|
45
|
+
|
|
46
|
+
{{#if (eq STACK "nextjs-neon")}}
|
|
47
|
+
### Database (Neon PostgreSQL)
|
|
48
|
+
- Tables: {list}
|
|
49
|
+
- RLS Policies: {count} policies
|
|
50
|
+
- Migrations: {count} files
|
|
51
|
+
|
|
52
|
+
### Backend API (.NET)
|
|
53
|
+
- Endpoints: {count} endpoints
|
|
54
|
+
- Services: {list}
|
|
55
|
+
|
|
56
|
+
### Frontend (Next.js)
|
|
57
|
+
- Pages: {list}
|
|
58
|
+
- Components: {list}
|
|
59
|
+
{{/if}}
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Files Created
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
{{#if (eq STACK "nextjs-neon")}}
|
|
67
|
+
migrations/{files}
|
|
68
|
+
backend/src/{files}
|
|
69
|
+
frontend/src/{files}
|
|
70
|
+
{{else}}
|
|
71
|
+
{list of created files}
|
|
72
|
+
{{/if}}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Files Modified
|
|
76
|
+
|
|
77
|
+
```
|
|
78
|
+
{list of modified files}
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## Architecture Decisions
|
|
84
|
+
|
|
85
|
+
| Decision | Rationale |
|
|
86
|
+
|----------|-----------|
|
|
87
|
+
| {Decision 1} | {Reason} |
|
|
88
|
+
| {Decision 2} | {Reason} |
|
|
89
|
+
|
|
90
|
+
See full ADRs in `decisions.md`
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## Test Coverage
|
|
95
|
+
|
|
96
|
+
| Type | Files | Coverage |
|
|
97
|
+
|------|-------|----------|
|
|
98
|
+
| {{#if (eq STACK "nextjs-neon")}}Backend Unit{{else}}Unit Tests{{/if}} | {X} | {X}% |
|
|
99
|
+
| {{#if (eq STACK "nextjs-neon")}}Frontend Component{{else}}Integration Tests{{/if}} | {X} | {X}% |
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## Lessons Learned
|
|
104
|
+
|
|
105
|
+
### What Went Well
|
|
106
|
+
- {Positive point 1}
|
|
107
|
+
- {Positive point 2}
|
|
108
|
+
|
|
109
|
+
### What Could Be Improved
|
|
110
|
+
- {Improvement point 1}
|
|
111
|
+
- {Improvement point 2}
|
|
112
|
+
|
|
113
|
+
### Recommendations for Future
|
|
114
|
+
- {Recommendation 1}
|
|
115
|
+
- {Recommendation 2}
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
## Metrics
|
|
120
|
+
|
|
121
|
+
| Metric | Value |
|
|
122
|
+
|--------|-------|
|
|
123
|
+
| Tasks Completed | {X}/{X} |
|
|
124
|
+
| Checkpoints Passed | {X} |
|
|
125
|
+
{{#if (eq STACK "nextjs-neon")}}| Validation Passes | {X}/{X} |
|
|
126
|
+
{{else}}| Code Reviews | {X} |
|
|
127
|
+
{{/if}}| Bugs Found | {X} |
|
|
128
|
+
| Bugs Fixed | {X} |
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## Related Resources
|
|
133
|
+
|
|
134
|
+
- **Proposal:** `proposal.md`
|
|
135
|
+
- **Spec:** `spec.md`
|
|
136
|
+
{{#if (eq STACK "nextjs-neon")}}- **Contracts (.NET):** `contracts.cs`
|
|
137
|
+
- **Contracts (TS):** `contracts.ts`
|
|
138
|
+
{{else}}- **Contracts:** `contracts.cs`
|
|
139
|
+
{{/if}}- **Tasks:** `tasks.json`
|
|
140
|
+
- **Decisions:** `decisions.md`
|
|
141
|
+
- **PR:** {link}
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
*Generated by MORPH Framework on {{DATE}}*
|