fraim-framework 2.0.35 → 2.0.37

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 (159) hide show
  1. package/dist/registry/scripts/cleanup-branch.js +62 -33
  2. package/dist/registry/scripts/generate-engagement-emails.js +119 -44
  3. package/dist/registry/scripts/newsletter-helpers.js +208 -268
  4. package/dist/registry/scripts/profile-server.js +387 -0
  5. package/dist/scripts/build-stub-registry.js +108 -0
  6. package/dist/src/cli/commands/doctor.js +5 -5
  7. package/dist/src/cli/commands/sync.js +33 -19
  8. package/dist/tests/test-client-scripts-validation.js +133 -0
  9. package/dist/tests/test-package-size.js +88 -0
  10. package/dist/tests/test-script-location-independence.js +76 -28
  11. package/dist/tests/test-stub-registry.js +120 -0
  12. package/dist/tests/test-sync-stubs.js +143 -0
  13. package/package.json +7 -9
  14. package/registry/scripts/cleanup-branch.ts +341 -0
  15. package/registry/scripts/generate-engagement-emails.ts +830 -0
  16. package/registry/scripts/markdown-to-pdf.js +7 -3
  17. package/registry/scripts/newsletter-helpers.ts +777 -0
  18. package/registry/scripts/profile-server.ts +424 -0
  19. package/registry/scripts/run-thank-you-workflow.ts +122 -0
  20. package/registry/scripts/send-newsletter-simple.ts +102 -0
  21. package/registry/scripts/send-thank-you-emails.ts +57 -0
  22. package/registry/stubs/workflows/bootstrap/create-architecture.md +11 -0
  23. package/registry/stubs/workflows/bootstrap/detect-broken-windows.md +11 -0
  24. package/registry/stubs/workflows/bootstrap/evaluate-code-quality.md +11 -0
  25. package/registry/stubs/workflows/bootstrap/verify-test-coverage.md +11 -0
  26. package/registry/stubs/workflows/business-development/create-business-plan.md +11 -0
  27. package/registry/stubs/workflows/business-development/ideate-business-opportunity.md +11 -0
  28. package/registry/stubs/workflows/business-development/price-product.md +18 -0
  29. package/registry/stubs/workflows/convert-to-pdf.md +11 -0
  30. package/registry/stubs/workflows/customer-development/insight-analysis.md +11 -0
  31. package/registry/stubs/workflows/customer-development/insight-triage.md +11 -0
  32. package/registry/stubs/workflows/customer-development/interview-preparation.md +11 -0
  33. package/registry/stubs/workflows/customer-development/linkedin-outreach.md +11 -0
  34. package/registry/stubs/workflows/customer-development/strategic-brainstorming.md +11 -0
  35. package/registry/stubs/workflows/customer-development/thank-customers.md +11 -0
  36. package/registry/stubs/workflows/customer-development/weekly-newsletter.md +11 -0
  37. package/registry/stubs/workflows/deploy/cloud-deployment.md +11 -0
  38. package/registry/stubs/workflows/improve-fraim/contribute.md +11 -0
  39. package/registry/stubs/workflows/improve-fraim/file-issue.md +11 -0
  40. package/registry/stubs/workflows/marketing/content-creation.md +11 -0
  41. package/registry/stubs/workflows/marketing/hbr-article.md +11 -0
  42. package/registry/stubs/workflows/marketing/launch-checklist.md +11 -0
  43. package/registry/stubs/workflows/marketing/marketing-strategy.md +11 -0
  44. package/registry/stubs/workflows/marketing/storytelling.md +11 -0
  45. package/registry/stubs/workflows/performance/analyze-performance.md +11 -0
  46. package/registry/stubs/workflows/product-building/design.md +11 -0
  47. package/registry/stubs/workflows/product-building/implement.md +12 -0
  48. package/registry/stubs/workflows/product-building/iterate-on-pr-comments.md +11 -0
  49. package/registry/stubs/workflows/product-building/prep-issue.md +11 -0
  50. package/registry/stubs/workflows/product-building/prototype.md +11 -0
  51. package/registry/stubs/workflows/product-building/resolve.md +11 -0
  52. package/registry/stubs/workflows/product-building/retrospect.md +11 -0
  53. package/registry/stubs/workflows/product-building/spec.md +11 -0
  54. package/registry/stubs/workflows/product-building/test.md +11 -0
  55. package/registry/stubs/workflows/quality-assurance/browser-validation.md +11 -0
  56. package/registry/stubs/workflows/quality-assurance/iterative-improvement-cycle.md +11 -0
  57. package/registry/stubs/workflows/replicate/replicate-discovery.md +11 -0
  58. package/registry/stubs/workflows/replicate/replicate-to-issues.md +11 -0
  59. package/registry/stubs/workflows/reviewer/review-implementation-vs-design-spec.md +11 -0
  60. package/registry/stubs/workflows/reviewer/review-implementation-vs-feature-spec.md +11 -0
  61. package/registry/stubs/workflows/startup-credits/aws-activate-application.md +11 -0
  62. package/registry/stubs/workflows/startup-credits/google-cloud-application.md +11 -0
  63. package/registry/stubs/workflows/startup-credits/microsoft-azure-application.md +11 -0
  64. package/.github/workflows/ci.yml +0 -65
  65. package/.github/workflows/deploy-fraim.yml +0 -87
  66. package/.github/workflows/phase-change.yml +0 -251
  67. package/.github/workflows/status-change.yml +0 -68
  68. package/.github/workflows/sync-on-pr-review.yml +0 -66
  69. package/examples/simple-webapp/TESTING.md +0 -62
  70. package/examples/simple-webapp/example-test.ts +0 -186
  71. package/registry/github/workflows/ci.yml +0 -51
  72. package/registry/github/workflows/phase-change.yml +0 -251
  73. package/registry/github/workflows/status-change.yml +0 -68
  74. package/registry/github/workflows/sync-on-pr-review.yml +0 -66
  75. package/registry/mcp-template.jsonc +0 -29
  76. package/registry/rules/agent-success-criteria.md +0 -52
  77. package/registry/rules/agent-testing-guidelines.md +0 -502
  78. package/registry/rules/architecture.md +0 -52
  79. package/registry/rules/communication.md +0 -122
  80. package/registry/rules/continuous-learning.md +0 -55
  81. package/registry/rules/debugging-multitenancy-issues.md +0 -85
  82. package/registry/rules/ephemeral-execution.md +0 -57
  83. package/registry/rules/git-safe-commands.md +0 -34
  84. package/registry/rules/hitl-ppe-record-analysis.md +0 -302
  85. package/registry/rules/integrity-and-test-ethics.md +0 -275
  86. package/registry/rules/local-development.md +0 -254
  87. package/registry/rules/merge-requirements.md +0 -231
  88. package/registry/rules/simplicity.md +0 -118
  89. package/registry/rules/software-development-lifecycle.md +0 -105
  90. package/registry/rules/spike-first-development.md +0 -205
  91. package/registry/rules/successful-debugging-patterns.md +0 -491
  92. package/registry/rules/telemetry.md +0 -67
  93. package/registry/templates/bootstrap/ARCHITECTURE-TEMPLATE.md +0 -53
  94. package/registry/templates/bootstrap/CODE-QUALITY-REPORT-TEMPLATE.md +0 -37
  95. package/registry/templates/bootstrap/TEST-COVERAGE-REPORT-TEMPLATE.md +0 -35
  96. package/registry/templates/business-development/IDEATION-REPORT-TEMPLATE.md +0 -29
  97. package/registry/templates/business-development/PRICING-STRATEGY-TEMPLATE.md +0 -126
  98. package/registry/templates/customer-development/customer-interview-template.md +0 -99
  99. package/registry/templates/customer-development/follow-up-email-templates.md +0 -132
  100. package/registry/templates/customer-development/insight-analysis-template.md +0 -74
  101. package/registry/templates/customer-development/strategic-recommendations-template.md +0 -53
  102. package/registry/templates/customer-development/thank-you-email-template.html +0 -124
  103. package/registry/templates/customer-development/thank-you-note-template.md +0 -16
  104. package/registry/templates/customer-development/triage-log-template.md +0 -278
  105. package/registry/templates/customer-development/weekly-newsletter-template.html +0 -204
  106. package/registry/templates/evidence/Design-Evidence.md +0 -30
  107. package/registry/templates/evidence/Implementation-BugEvidence.md +0 -86
  108. package/registry/templates/evidence/Implementation-FeatureEvidence.md +0 -121
  109. package/registry/templates/evidence/Spec-Evidence.md +0 -19
  110. package/registry/templates/help/HelpNeeded.md +0 -14
  111. package/registry/templates/marketing/HBR-ARTICLE-TEMPLATE.md +0 -66
  112. package/registry/templates/marketing/STORYTELLING-TEMPLATE.md +0 -130
  113. package/registry/templates/replicate/implementation-checklist.md +0 -39
  114. package/registry/templates/replicate/use-cases-template.md +0 -88
  115. package/registry/templates/retrospective/RETROSPECTIVE-TEMPLATE.md +0 -55
  116. package/registry/templates/specs/BUGSPEC-TEMPLATE.md +0 -37
  117. package/registry/templates/specs/FEATURESPEC-TEMPLATE.md +0 -29
  118. package/registry/templates/specs/TECHSPEC-TEMPLATE.md +0 -39
  119. package/registry/workflows/bootstrap/create-architecture.md +0 -38
  120. package/registry/workflows/bootstrap/evaluate-code-quality.md +0 -36
  121. package/registry/workflows/bootstrap/verify-test-coverage.md +0 -37
  122. package/registry/workflows/business-development/create-business-plan.md +0 -737
  123. package/registry/workflows/business-development/ideate-business-opportunity.md +0 -55
  124. package/registry/workflows/business-development/price-product.md +0 -325
  125. package/registry/workflows/convert-to-pdf.md +0 -235
  126. package/registry/workflows/customer-development/insight-analysis.md +0 -156
  127. package/registry/workflows/customer-development/insight-triage.md +0 -933
  128. package/registry/workflows/customer-development/interview-preparation.md +0 -421
  129. package/registry/workflows/customer-development/linkedin-outreach.md +0 -593
  130. package/registry/workflows/customer-development/strategic-brainstorming.md +0 -146
  131. package/registry/workflows/customer-development/thank-customers.md +0 -203
  132. package/registry/workflows/customer-development/weekly-newsletter.md +0 -366
  133. package/registry/workflows/deploy/cloud-deployment.md +0 -310
  134. package/registry/workflows/improve-fraim/contribute.md +0 -32
  135. package/registry/workflows/improve-fraim/file-issue.md +0 -32
  136. package/registry/workflows/marketing/content-creation.md +0 -37
  137. package/registry/workflows/marketing/hbr-article.md +0 -73
  138. package/registry/workflows/marketing/launch-checklist.md +0 -37
  139. package/registry/workflows/marketing/marketing-strategy.md +0 -45
  140. package/registry/workflows/marketing/storytelling.md +0 -65
  141. package/registry/workflows/performance/analyze-performance.md +0 -65
  142. package/registry/workflows/product-building/design.md +0 -130
  143. package/registry/workflows/product-building/implement.md +0 -315
  144. package/registry/workflows/product-building/iterate-on-pr-comments.md +0 -70
  145. package/registry/workflows/product-building/prep-issue.md +0 -43
  146. package/registry/workflows/product-building/prototype.md +0 -60
  147. package/registry/workflows/product-building/resolve.md +0 -164
  148. package/registry/workflows/product-building/retrospect.md +0 -86
  149. package/registry/workflows/product-building/spec.md +0 -117
  150. package/registry/workflows/product-building/test.md +0 -120
  151. package/registry/workflows/quality-assurance/browser-validation.md +0 -221
  152. package/registry/workflows/quality-assurance/iterative-improvement-cycle.md +0 -562
  153. package/registry/workflows/replicate/replicate-discovery.md +0 -336
  154. package/registry/workflows/replicate/replicate-to-issues.md +0 -319
  155. package/registry/workflows/reviewer/review-implementation-vs-design-spec.md +0 -632
  156. package/registry/workflows/reviewer/review-implementation-vs-feature-spec.md +0 -669
  157. package/registry/workflows/startup-credits/aws-activate-application.md +0 -535
  158. package/registry/workflows/startup-credits/google-cloud-application.md +0 -647
  159. package/registry/workflows/startup-credits/microsoft-azure-application.md +0 -538
@@ -1,121 +0,0 @@
1
- # Feature: <Title>
2
- Issue: #<issue>
3
- Tech Spec: <Link to tech spec>
4
- PR: <Link to PR>
5
-
6
- ## Completeness Evidence
7
- - All phases of tech spec complete: Yes/No
8
- - Issue tagged with label `phase:impl`: Yes/No
9
- - Issue tagged with label `status:needs-review`: Yes/No
10
- - All files committed/synced to branch: Yes/No
11
- - Table with following columns
12
- - PR Comment
13
- - How Addressed
14
-
15
- ## Implementation Quality Checkpoints
16
- - [ ] Code complexity reviewed (no overengineering)
17
- - [ ] No resource waste (excessive retries, delays, workarounds)
18
- - [ ] Solution based on proven prototype from design phase
19
- - [ ] All new files/functions are actually used
20
-
21
- ## Validation Evidence
22
- - Complete validation performed as suggested in tech spec: Yes/No
23
- - **IMPORTANT**: Post full test output (not just "tests passing ✅")
24
- - Table with following columns
25
- - Validation Step (manual vs automated)
26
- - Validation Result (pass vs fail)
27
- - Failure Analysis (if fail)
28
-
29
- ### Example: Full Test Output
30
- ```
31
- 🚀 Starting Calendar-Goal Analysis API Tests
32
-
33
- Running 3 tests
34
- ✔ Edge case - no goals defined (67.8ms)
35
- ✔ Multi-tenancy data isolation (205.9ms)
36
- ✔ Full analysis flow (passed)
37
-
38
- ❌ Total Failed Tests: 0
39
- ```
40
-
41
- ### Example: Database Objects (if applicable)
42
- ```javascript
43
- {
44
- _id: ObjectId("68e81da2a87a1a0f91589023"),
45
- executive_id: "demo-exec-001",
46
- title: "Increase Enterprise Sales by 30%",
47
- timeframe: "QUARTERLY",
48
- priority: 9,
49
- status: "IN_PROGRESS"
50
- }
51
- ```
52
-
53
- ### Example: API Request/Response (if applicable)
54
- **Request:**
55
- ```http
56
- GET /executive-goals/calendar-analysis?timeframe=backward&period=7
57
- Headers:
58
- x-executive-id: demo-exec-001
59
- ```
60
-
61
- **Response (200 OK):**
62
- ```json
63
- {
64
- "success": true,
65
- "analysis": {
66
- "executive_id": "demo-exec-001",
67
- "total_calendar_hours": 7.5,
68
- "goal_breakdown": [
69
- {
70
- "goal_id": "68e81da2a87a1a0f91589025",
71
- "goal_title": "Launch AI Product Line",
72
- "total_hours": 2.5,
73
- "percentage": 33.3,
74
- "meeting_ids": ["event-002", "event-007"]
75
- }
76
- ]
77
- }
78
- }
79
- ```
80
-
81
- ## New Files/Functions Created
82
- - Table with the following columns
83
- - File/Function Name
84
- - Purpose
85
- - Who is using/importing/calling it
86
- - Is it actually used? (Yes/No - if No, explain why it exists)
87
-
88
- ## New Tests Added
89
- - Added all tests suggested in tech spec: Yes/No
90
- - Table with the following columns
91
- - Test Case Name
92
- - What is test case validating
93
- - Test Result (pass vs fail)
94
- - Failure Analysis (if fail)
95
-
96
- ## Existing Test Suites Run
97
- - Table with following columns
98
- - Test Suite
99
- - Was it Run (if not, why not - it's ok to not run a suite if there is no impact of your work to it as covered in agent-testing-guidelines.md)
100
- - Failing Tests
101
- - Failure Analysis (if any tests fail)
102
-
103
-
104
- ## Pre-Completion Reflection
105
-
106
- [Include reflection analysis here following `get_fraim_file({ path: "rules/mandatory-pre-completion-reflection.md" })`]
107
-
108
- ✅ Reflection Phase 1 (Claim Verification) completed: YES/NO
109
- ✅ Reflection Phase 2 (Risk Analysis) completed: YES/NO
110
- ✅ Reflection Phase 3 (Validation Plan Check) completed: YES/NO
111
- ✅ Reflection Phase 4 (Self-Audit) completed: YES/NO
112
- ✅ All blockers from reflection addressed: YES/NO
113
- ✅ Confidence level: X% (must be ≥ 90% to proceed)
114
-
115
- **Reflection Summary:**
116
- [Brief summary of key findings from reflection]
117
-
118
- ## Continous Learning
119
- - Table with following columns
120
- - Learning
121
- - Agent Rule Updates (what agent rule file was updated to ensure the learning is durable)
@@ -1,19 +0,0 @@
1
- # Feature Specification: <Title>
2
- Issue: #<issue>
3
- PR: <Link to PR>
4
-
5
- ## Completeness Evidence
6
- - Issue tagged with label `phase:spec`: Yes/No
7
- - Issue tagged with label `status:needs-review`: Yes/No
8
- - All specification documents committed/synced to branch: Yes/No
9
- - Table with following columns
10
- - Customer Research Area
11
- - Sources of Information
12
- - Table with following columns
13
- - PR Comment
14
- - How Addressed
15
-
16
- ## Continuous Learning
17
- - Table with following columns
18
- - Learning
19
- - Agent Rule Updates (what agent rule file was updated to ensure the learning is durable)
@@ -1,14 +0,0 @@
1
- # Feature: <Title>
2
- Issue: #<issue>
3
- PR: <Link to PR>
4
-
5
- ## Help Needed
6
- - What help is needed? Be as specific as possible
7
- - What is it blocking?
8
- - What is the impact?
9
-
10
- ## What has been tried
11
- - What solutions have been tried to unblock? What was the result?
12
-
13
- ## What Options exist
14
- - Do you have options in mind? If so, what are the Pros/Cons and what is your suggestion?
@@ -1,66 +0,0 @@
1
- # Template: HBR Article
2
-
3
- Use this template to capture the key checkpoints for every Harvard Business Review (or similar) thought leadership submission so any product team can execute the workflow without re-reading the original issue.
4
-
5
- ## 1. Story Fit & Intent
6
- - **Working Title**:
7
- - **Thesis/Angle**: Why this matters to HBR readers and how it advances the product strategy.
8
- - **Target Section**: (Strategy / Leadership / Technology / etc.)
9
- - **Why Now**: Timeliness, data trend, or customer insight.
10
- - **Assigned Reviewers**: Marketing lead, product lead, exec reviewer.
11
- - **Central Message**:
12
- - **Importance / Usefulness / Counterintuitive Angle**:
13
- - **New Contribution**:
14
- - **Why Leaders Must Know & How to Apply Today**:
15
- - **Source of Authority** (previous work, credentials, experience):
16
-
17
- ## 2. HBR Guideline Checklist
18
- - [ ] Exclusive submission (no simultaneous submissions).
19
- - [ ] Word count within HBR limits (note specific count).
20
- - [ ] Proper byline and contributor list.
21
- - [ ] Conflicts of interest disclosed (partners, competitors, etc.).
22
- - [ ] Tone matches HBR's voice (professional, evidence-based).
23
- - [ ] All supporting data, quotes, and frameworks cite originals.
24
-
25
- ## 3. Research & References
26
- - **Customer Evidence**: List customer stories, interviews, or experiments.
27
- - **Metrics/Data**: Include telemetry or KPIs.
28
- - **Internal Experiments**: Describe what was learned.
29
- - **External Sources**: Link to relevant HBR articles or academic references.
30
- - **Attachments Needed**: Charts, tables, framework diagrams.
31
- - **Research & Examples That Back the Idea**:
32
- - **Academic / Professional / Personal Experience to Draw On**:
33
-
34
- ## 4. Outline Structure
35
- - Hook + symptom/problem framing.
36
- - Diagnostic + evidence blocks.
37
- - Recommendations/practical steps for leaders.
38
- - Closing call to action aligning to the product roadmap.
39
- - Note attachments/reference for each section.
40
-
41
- ## 5. Draft & Versions
42
- - **Draft Link/Location**:
43
- - **Word Count**:
44
- - **Key edits/versions**: (Version 1, 2, etc.)
45
- - **Peer Review Notes**:
46
- - **Exec Review Notes**:
47
- - **Headline Variants**:
48
-
49
- ## 6. Submission Plan
50
- - **Email Synopsis**: Subject line + elevator pitch.
51
- - **Attachments**: Outline, draft, data, disclosure matrix.
52
- - **Target Submission Window**: Date/time.
53
- - **Submission Log**: Who submitted, when, portal used.
54
- - **Follow-up Plan**: Reminder to track publication status and audience engagement.
55
-
56
- ## 7. Launch Collateral
57
- - **Blog Post**: Angle, owner, status.
58
- - **Newsletter Mention**: Message, owner.
59
- - **Exec Update**: Key points.
60
- - **Social/LinkedIn**: Thread plan, owner.
61
- - **Measurement**: Metrics to track (clicks, reads, references).
62
-
63
- ## 8. Post-Publication Notes
64
- - Feedback from reviewers or editors.
65
- - Audience reactions.
66
- - Learnings for the next HBR submission.
@@ -1,130 +0,0 @@
1
- # Template: Marketing Storytelling
2
-
3
- Use this template to transform product development experiences into compelling founder narratives for events and speaking opportunities.
4
-
5
- ## Project Setup
6
- - **Product/Project Name**:
7
- - **Issue Number**:
8
- - **Target Event**:
9
- - **Event Type**: [Conference Talk / Panel / Workshop / Podcast / Accelerator / Meetup]
10
- - **Audience**: [Technical / Business / Mixed]
11
- - **Event Date**:
12
- - **Submission Deadline**:
13
-
14
- ## Story Arc Development
15
-
16
- ### Original Intent
17
- **What was the vision?**
18
-
19
-
20
- **Why did it matter?**
21
-
22
-
23
- **What problem were you solving?**
24
-
25
-
26
- ### Friction Points
27
- **What unexpected challenges emerged?**
28
-
29
-
30
- **What failures or setbacks occurred?**
31
-
32
-
33
- **What assumptions proved wrong?**
34
-
35
-
36
- ### Key Insights
37
- **What "aha moments" happened?**
38
-
39
-
40
- **What counterintuitive discoveries were made?**
41
-
42
-
43
- **What would you do differently?**
44
-
45
-
46
- ### Final Outcome
47
- **What was actually built?**
48
-
49
-
50
- **Why does it work?**
51
-
52
-
53
- **What makes it different/better?**
54
-
55
-
56
- ## Founder Lessons (3-5 key takeaways)
57
-
58
- ### Lesson 1
59
- **Lesson**:
60
- **Context**:
61
- **Application**:
62
-
63
- ### Lesson 2
64
- **Lesson**:
65
- **Context**:
66
- **Application**:
67
-
68
- ### Lesson 3
69
- **Lesson**:
70
- **Context**:
71
- **Application**:
72
-
73
- ## Event Content
74
-
75
- ### Session Title Options
76
- 1.
77
- 2.
78
- 3.
79
-
80
- ### Session Description (1-2 sentences)
81
-
82
-
83
- ### Email Pitch (2-3 paragraphs)
84
-
85
-
86
- ### Speaker Bio (50-100 words)
87
-
88
-
89
- ### Presentation Outline
90
-
91
- #### 5-Minute Version
92
- - **Hook** (1 min):
93
- - **Problem** (1 min):
94
- - **Journey** (2 min):
95
- - **Takeaway** (1 min):
96
-
97
- #### 15-Minute Version
98
- - **Opening** (2 min):
99
- - **Problem Setup** (3 min):
100
- - **Journey/Challenges** (5 min):
101
- - **Insights/Solutions** (3 min):
102
- - **Takeaways** (2 min):
103
-
104
- #### 30-Minute Version
105
- - **Introduction** (3 min):
106
- - **Context/Background** (5 min):
107
- - **Challenge Deep-Dive** (8 min):
108
- - **Solution Journey** (8 min):
109
- - **Lessons & Applications** (4 min):
110
- - **Q&A Prep** (2 min):
111
-
112
- ### Q&A Preparation
113
- **Likely Questions**:
114
- 1. Q:
115
- A:
116
-
117
- 2. Q:
118
- A:
119
-
120
- 3. Q:
121
- A:
122
-
123
- ## Quality Checklist
124
- - [ ] Story is grounded in actual experience
125
- - [ ] Avoids internal jargon
126
- - [ ] Follows clear story arc (intent → friction → insight → outcome)
127
- - [ ] Provides actionable lessons
128
- - [ ] Sounds authentic, not sales-y
129
- - [ ] Matches event format and audience
130
- - [ ] Professional presentation materials ready
@@ -1,39 +0,0 @@
1
- # Implementation Checklist
2
-
3
- **Application**: [Application Name]
4
- **Date**: [Date]
5
-
6
- ## Feature Implementation Status
7
-
8
- ### Authentication & Account Management
9
-
10
- - [ ] **UC-001: User Registration**
11
- - [ ] Database model: User
12
- - [ ] API endpoint: POST /api/users/signup
13
- - [ ] Frontend: SignUpPage component
14
- - [ ] Integration: Connect frontend to API
15
- - [ ] Tests: Server, client, E2E
16
- - [ ] Validation: Test in browser
17
-
18
- - [ ] **UC-002: User Login**
19
- - [ ] API endpoint: POST /api/users/login
20
- - [ ] Frontend: LoginPage component
21
- - [ ] Auth context: Session management
22
- - [ ] Integration: Connect frontend to API
23
- - [ ] Tests: Server, client, E2E
24
- - [ ] Validation: Test in browser
25
-
26
- [Continue with more features...]
27
-
28
- ## Implementation Progress
29
-
30
- **Overall Progress**: [X]% Complete
31
-
32
- - **Not Started**: [Number] features
33
- - **In Progress**: [Number] features
34
- - **Complete**: [Number] features
35
- - **Blocked**: [Number] features
36
-
37
- ## Notes
38
-
39
- - [Add implementation notes, decisions, blockers, etc.]
@@ -1,88 +0,0 @@
1
- # Use Cases Documentation
2
-
3
- **Application**: [Application Name]
4
- **Date**: [Date]
5
- **Version**: [Version]
6
-
7
- ## Overview
8
-
9
- This document contains all identified use cases for the application, organized by category.
10
-
11
- ## Use Case Categories
12
-
13
- - [Authentication & Account Management](#authentication--account-management)
14
- - [Content Discovery & Browsing](#content-discovery--browsing)
15
- - [Content Creation & Management](#content-creation--management)
16
- - [Data Collection & Reporting](#data-collection--reporting)
17
- - [Administration & Configuration](#administration--configuration)
18
- - [Communication & Collaboration](#communication--collaboration)
19
-
20
- ---
21
-
22
- ## Authentication & Account Management
23
-
24
- ### UC-001: User Registration
25
-
26
- **Actor**: Guest User
27
- **Preconditions**: User is not logged in
28
- **Priority**: High
29
-
30
- **Steps**:
31
- 1. Navigate to sign up page
32
- 2. Fill in registration form (name, email, password)
33
- 3. Submit form
34
- 4. Receive confirmation message
35
- 5. Verify email (if required)
36
- 6. Redirect to login or dashboard
37
-
38
- **Postconditions**:
39
- - User account is created
40
- - User can log in
41
- - User profile is initialized
42
-
43
- **Screenshots**: `screenshots/signup_*.png`
44
-
45
- **Related Use Cases**: UC-002
46
-
47
- ---
48
-
49
- ### UC-002: User Login
50
-
51
- **Actor**: Registered User
52
- **Preconditions**: User has an account
53
- **Priority**: High
54
-
55
- **Steps**:
56
- 1. Navigate to login page
57
- 2. Enter email and password
58
- 3. Click "Login" button
59
- 4. System validates credentials
60
- 5. User is redirected to dashboard/home
61
-
62
- **Postconditions**:
63
- - User session is created
64
- - User is authenticated
65
- - User can access protected pages
66
-
67
- **Screenshots**: `screenshots/login_*.png`
68
-
69
- **Related Use Cases**: UC-001, UC-003
70
-
71
- ---
72
-
73
- [Continue with more use cases...]
74
-
75
- ## Use Case Index
76
-
77
- | ID | Name | Actor | Priority | Status |
78
- |----|------|-------|----------|--------|
79
- | UC-001 | User Registration | Guest | High | ✅ Complete |
80
- | UC-002 | User Login | User | High | ✅ Complete |
81
- | ... | ... | ... | ... | ... |
82
-
83
- ## Implementation Status
84
-
85
- - **Total Use Cases**: [Number]
86
- - **Implemented**: [Number]
87
- - **In Progress**: [Number]
88
- - **Not Started**: [Number]
@@ -1,55 +0,0 @@
1
- # Postmortem: {Issue Title} - Issue #{issue-number}
2
-
3
- **Date**: {current_date}
4
- **Duration**: {time_spent}
5
- **Objective**: {issue_description}
6
- **Outcome**: {success/failure/partial}
7
-
8
- ## Executive Summary
9
-
10
- {2-3 sentence summary of what happened and the outcome}
11
-
12
- ## Timeline of Events
13
-
14
- ### Phase 1: {Phase Name}
15
- - ✅/❌ **Action**: Description
16
- - ✅/❌ **Action**: Description
17
-
18
- ### Phase 2: {Phase Name}
19
- - ✅/❌ **Action**: Description
20
- - ✅/❌ **Action**: Description
21
-
22
- ## Root Cause Analysis
23
-
24
- ### 1. **Primary Cause**
25
- **Problem**: {main issue}
26
- **Impact**: {what this caused}
27
-
28
- ### 2. **Contributing Factors**
29
- **Problem**: {secondary issues}
30
- **Impact**: {what these caused}
31
-
32
- ## What Went Wrong
33
-
34
- 1. **Issue 1**: Description
35
- 2. **Issue 2**: Description
36
-
37
- ## What Went Right
38
-
39
- 1. **Success 1**: Description
40
- 2. **Success 2**: Description
41
-
42
- ## Lessons Learned
43
-
44
- 1. **Learning 1**: Description
45
- 2. **Learning 2**: Description
46
-
47
- ## Agent Rule Updates Made to avoid recurrence
48
-
49
- 1. **Rule 1**: Description
50
- 2. **Rule 2**: Description
51
-
52
- ## Enforcement Updates Made to avoid recurrence
53
-
54
- 1. **Improvement 1**: Description
55
- 2. **Improvement 2**: Description
@@ -1,37 +0,0 @@
1
- # Bug: <Title>
2
-
3
- Issue: #<issue>
4
- Owner: <agent>
5
-
6
- ## Customer
7
-
8
- ## Customer Problem being solved
9
-
10
- ## Repro Steps
11
- - Specific steps in the user workflow that reproduce the bug (eg start in dashboard, click on tab x, see list y, approve item z ....)
12
- - Confirm that you have reproduced the bug
13
-
14
- ## Root Cause
15
- - What root cause was identified after repro and code analysis
16
-
17
- ## Fix Details
18
- - UI, API, Service, DB changes: Which files will be modified and for what?
19
-
20
- ## Validation Plan
21
- - Table with following columns
22
- - User Scenario
23
- - Expected outcome
24
- - Validation method (UI validation, API validation, Database validation ...)
25
-
26
- ## Confidence Level
27
- - On a scale of 0 to 100, how confident are you that your fix will work?
28
-
29
- ## Test Matrix
30
- - Unit(as many as needed, mocking ok): what core functionality will be tested. What test suite will be added? Which existing test suites will be modified?
31
- - Integration(only mock external services): what tests will ensure the full stack integration does not regress. What test suite will be added? Which existing test suites will be modified?
32
- - E2E(1 at most, no mocking): If any changes are made to external integrations, what end to end tests will ensure external integrations work as expected.
33
-
34
- ## Future Prevention
35
- - What will prevent future introduction of similar bugs
36
- - What agent rules will you update to ensure similar bugs do not recur
37
- - What enforcement will you create to ensure similar bugs are caught before they are checked in
@@ -1,29 +0,0 @@
1
- # Feature: <Title>
2
-
3
- Issue: #<issue>
4
- Owner: <agent>
5
-
6
- ## Customer
7
-
8
- ## Customer's Desired Outcome
9
-
10
- ## Customer Problem being solved
11
-
12
- ## User Experience that will solve the problem
13
- - Specific steps in the user workflow (eg start in dashboard, click on tab x, see list y, approve item z ....)
14
- - UI mocks showing the desired experience. Put these in the `docs/feature specs/mocks` folder and link to them here.
15
-
16
- ## Validation Plan
17
- - How will you know the feature is working as intended (validate via browser, api, ...)
18
- - What steps will you follow to ensure the feature works
19
-
20
- ## Alternatives
21
- - Table with following columns
22
- - Alternative: What other way could the customer solve their problem?
23
- - Why discard?: Why is this alternative not chosen?
24
-
25
- ## Competitive Landscape
26
- - Table with the following
27
- - Competitor
28
- - How they are solving the same problem
29
- - What do customers say about this solution
@@ -1,39 +0,0 @@
1
- # Feature: <Title>
2
-
3
- Issue: #<issue>
4
- Owner: <agent>
5
-
6
- ## Customer
7
-
8
- ## Customer Problem being solved
9
-
10
- ## User Experience that will solve the problem
11
- - Specific steps in the user workflow
12
- - If UI feature: start on UI page a, click on tab x, see list y, approve item z, achieve outcome ....
13
- - If API feature: call API a with params x, y, z, receive result
14
- - If refactoring/rearchitecture: what is the simpler developer workflow
15
-
16
- ## Technical Details
17
- - UI changes: Which files will be modified and for what?
18
- - API surface (OpenAPI) changes
19
- - Data model / schema changes
20
- - Failure modes & timeouts
21
- - Telemetry & analytics
22
-
23
- ## Confidence Level
24
- - On a scale of 0 to 100, how confident are you that your solution will work?
25
-
26
- ## Validation Plan
27
- - Table with following columns
28
- - User Scenario
29
- - Expected outcome
30
- - Validation method (UI validation, API validation, Database validation ...)
31
-
32
- ## Test Matrix
33
- - Unit(as many as needed, mocking ok): what core functionality will be tested. What test suite will be added? Which existing test suites will be modified?
34
- - Integration(only mock external services): what tests will ensure the full stack integration does not regress. What test suite will be added? Which existing test suites will be modified?
35
- - E2E(1 at most, no mocking): If any changes are made to external integrations, what end to end tests will ensure external integrations work as expected.
36
-
37
- ## Risks & Mitigations
38
-
39
- ## Observability (logs, metrics, alerts)
@@ -1,38 +0,0 @@
1
- # FRAIM Workflow: create-architecture
2
-
3
- ## Intent
4
- To analyze the codebase and author a comprehensive `docs/architecture/architecture.md` document using the standard template. This document captures the system's design, tech stack, and architectural layers to serve as a map for development.
5
-
6
- ## Execution Steps
7
-
8
- 1. **Analyze Project Structure**
9
- - Use `list_dir` to explore the root directory and key subdirectories (src, docs, etc.).
10
- - Use `view_file` on key configuration files (package.json, tsconfig.json, etc.).
11
- - Identify main entry points and architectural patterns.
12
-
13
- 2. **Author Architecture Document**
14
- - Locate the template: `get_fraim_file({ path: "templates/bootstrap/ARCHITECTURE-TEMPLATE.md" })`
15
- - Analyze your findings from Step 1.
16
- - Create a new file at `docs/architecture/architecture.md`.
17
- - Use your intelligence to synthesize the findings into the template:
18
- - **Tech Stack**: Detail specific languages, runtimes, and frameworks used.
19
- - **Architectural Layers**: Define the system's layers (Presentation, Logic, Data, etc.).
20
- - **Key Components**: Map out the core modules and their relationships.
21
- - **Data Flow**: Explain the lifecycle of a typical request or action.
22
-
23
- 3. **Update FRAIM Configuration**
24
- - Read the project configuration file at `.fraim/config.json`.
25
- - Update it to include a reference to the architecture document:
26
- ```json
27
- {
28
- ...
29
- "customizations": {
30
- "architectureDoc": "docs/architecture/architecture.md",
31
- ...
32
- }
33
- }
34
- ```
35
-
36
- 4. **Verify**
37
- - Check that `docs/architecture/architecture.md` exists and is populated.
38
- - Check that `.fraim/config.json` contains the `architectureDoc` field pointing to the correct path.