fraim-framework 2.0.67 → 2.0.69

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 (280) hide show
  1. package/bin/fraim.js +1 -1
  2. package/dist/src/cli/commands/doctor.js +1 -1
  3. package/dist/src/cli/commands/init-project.js +6 -12
  4. package/dist/src/cli/commands/list.js +1 -1
  5. package/dist/src/cli/commands/setup.js +15 -29
  6. package/dist/src/cli/commands/sync.js +36 -143
  7. package/dist/src/cli/fraim.js +0 -4
  8. package/dist/src/cli/setup/first-run.js +4 -4
  9. package/dist/src/cli/setup/ide-detector.js +15 -5
  10. package/dist/src/fraim/template-processor.js +7 -35
  11. package/dist/src/local-mcp-server/stdio-server.js +170 -181
  12. package/dist/src/utils/git-utils.js +2 -2
  13. package/dist/src/utils/object-utils.js +11 -0
  14. package/dist/src/utils/provider-utils.js +14 -0
  15. package/dist/src/utils/request-utils.js +23 -0
  16. package/dist/src/utils/workflow-parser.js +7 -7
  17. package/package.json +7 -5
  18. package/dist/registry/ai-manager-rules/customer-development-phases/phase1-customer-profiling.md +0 -101
  19. package/dist/registry/ai-manager-rules/customer-development-phases/phase2-platform-discovery.md +0 -235
  20. package/dist/registry/ai-manager-rules/customer-development-phases/phase3-prospect-qualification.md +0 -243
  21. package/dist/registry/ai-manager-rules/customer-development-phases/phase4-inventory-compilation.md +0 -206
  22. package/dist/registry/ai-manager-rules/design-phases/design-completeness-review.md +0 -73
  23. package/dist/registry/ai-manager-rules/design-phases/design-design.md +0 -145
  24. package/dist/registry/ai-manager-rules/design-phases/design.md +0 -108
  25. package/dist/registry/ai-manager-rules/design-phases/finalize.md +0 -60
  26. package/dist/registry/ai-manager-rules/design-phases/validate.md +0 -125
  27. package/dist/registry/ai-manager-rules/design.json +0 -97
  28. package/dist/registry/ai-manager-rules/implement-phases/code.md +0 -323
  29. package/dist/registry/ai-manager-rules/implement-phases/completeness-review.md +0 -94
  30. package/dist/registry/ai-manager-rules/implement-phases/finalize.md +0 -177
  31. package/dist/registry/ai-manager-rules/implement-phases/implement-code.md +0 -283
  32. package/dist/registry/ai-manager-rules/implement-phases/implement-completeness-review.md +0 -120
  33. package/dist/registry/ai-manager-rules/implement-phases/implement-regression.md +0 -173
  34. package/dist/registry/ai-manager-rules/implement-phases/implement-repro.md +0 -104
  35. package/dist/registry/ai-manager-rules/implement-phases/implement-scoping.md +0 -100
  36. package/dist/registry/ai-manager-rules/implement-phases/implement-smoke.md +0 -237
  37. package/dist/registry/ai-manager-rules/implement-phases/implement-spike.md +0 -121
  38. package/dist/registry/ai-manager-rules/implement-phases/implement-validate.md +0 -375
  39. package/dist/registry/ai-manager-rules/implement-phases/quality-review.md +0 -304
  40. package/dist/registry/ai-manager-rules/implement-phases/regression.md +0 -159
  41. package/dist/registry/ai-manager-rules/implement-phases/repro.md +0 -101
  42. package/dist/registry/ai-manager-rules/implement-phases/scoping.md +0 -93
  43. package/dist/registry/ai-manager-rules/implement-phases/smoke.md +0 -225
  44. package/dist/registry/ai-manager-rules/implement-phases/spike.md +0 -118
  45. package/dist/registry/ai-manager-rules/implement-phases/validate.md +0 -347
  46. package/dist/registry/ai-manager-rules/implement.json +0 -153
  47. package/dist/registry/ai-manager-rules/retrospective.md +0 -116
  48. package/dist/registry/ai-manager-rules/shared-phases/address-pr-feedback.md +0 -188
  49. package/dist/registry/ai-manager-rules/shared-phases/finalize.md +0 -169
  50. package/dist/registry/ai-manager-rules/shared-phases/submit-pr.md +0 -202
  51. package/dist/registry/ai-manager-rules/shared-phases/wait-for-pr-review.md +0 -170
  52. package/dist/registry/ai-manager-rules/spec-phases/finalize.md +0 -60
  53. package/dist/registry/ai-manager-rules/spec-phases/spec-competitor-analysis.md +0 -105
  54. package/dist/registry/ai-manager-rules/spec-phases/spec-completeness-review.md +0 -66
  55. package/dist/registry/ai-manager-rules/spec-phases/spec-spec.md +0 -139
  56. package/dist/registry/ai-manager-rules/spec-phases/spec.md +0 -102
  57. package/dist/registry/ai-manager-rules/spec-phases/validate.md +0 -118
  58. package/dist/registry/ai-manager-rules/spec.json +0 -112
  59. package/dist/registry/ai-manager-rules/test.json +0 -98
  60. package/dist/registry/ai-manager-rules/user-survey-phases/phase1-survey-scoping.md +0 -60
  61. package/dist/registry/ai-manager-rules/user-survey-phases/phase2-survey-build-linkedin.md +0 -23
  62. package/dist/registry/ai-manager-rules/user-survey-phases/phase3-survey-build-reddit.md +0 -22
  63. package/dist/registry/ai-manager-rules/user-survey-phases/phase4-survey-build-x.md +0 -21
  64. package/dist/registry/ai-manager-rules/user-survey-phases/phase5-survey-build-facebook.md +0 -19
  65. package/dist/registry/ai-manager-rules/user-survey-phases/phase6-survey-build-custom.md +0 -15
  66. package/dist/registry/ai-manager-rules/user-survey-phases/phase7-survey-dispatch.md +0 -45
  67. package/dist/registry/delivery/address-feedback.md +0 -83
  68. package/dist/registry/delivery/retrospective.md +0 -78
  69. package/dist/registry/delivery/submit.md +0 -79
  70. package/dist/registry/providers/ado.json +0 -19
  71. package/dist/registry/providers/delivery-conversation.json +0 -9
  72. package/dist/registry/providers/delivery-pr.json +0 -9
  73. package/dist/registry/providers/github.json +0 -19
  74. package/dist/registry/rules/agent-success-criteria.md +0 -101
  75. package/dist/registry/rules/agent-testing-guidelines.md +0 -502
  76. package/dist/registry/rules/architecture.md +0 -126
  77. package/dist/registry/rules/communication.md +0 -122
  78. package/dist/registry/rules/continuous-learning.md +0 -55
  79. package/dist/registry/rules/debugging-multitenancy-issues.md +0 -85
  80. package/dist/registry/rules/ephemeral-execution.md +0 -54
  81. package/dist/registry/rules/git-safe-commands.md +0 -34
  82. package/dist/registry/rules/hitl-ppe-record-analysis.md +0 -302
  83. package/dist/registry/rules/integrity-and-test-ethics.md +0 -275
  84. package/dist/registry/rules/local-development.md +0 -275
  85. package/dist/registry/rules/mandatory-pre-completion-reflection.md +0 -193
  86. package/dist/registry/rules/merge-requirements.md +0 -238
  87. package/dist/registry/rules/simplicity.md +0 -118
  88. package/dist/registry/rules/software-development-lifecycle.md +0 -105
  89. package/dist/registry/rules/spike-first-development.md +0 -205
  90. package/dist/registry/rules/successful-debugging-patterns.md +0 -488
  91. package/dist/registry/scripts/build-scripts-generator.js +0 -205
  92. package/dist/registry/scripts/cleanup-branch.js +0 -287
  93. package/dist/registry/scripts/evaluate-code-quality.js +0 -66
  94. package/dist/registry/scripts/exec-with-timeout.js +0 -142
  95. package/dist/registry/scripts/fraim-config.js +0 -61
  96. package/dist/registry/scripts/generate-engagement-emails.js +0 -705
  97. package/dist/registry/scripts/generic-issues-api.js +0 -100
  98. package/dist/registry/scripts/newsletter-helpers.js +0 -671
  99. package/dist/registry/scripts/openapi-generator.js +0 -664
  100. package/dist/registry/scripts/performance/profile-server.js +0 -390
  101. package/dist/registry/scripts/profile-server.js +0 -389
  102. package/dist/registry/scripts/run-thank-you-workflow.js +0 -92
  103. package/dist/registry/scripts/send-newsletter-simple.js +0 -85
  104. package/dist/registry/scripts/send-thank-you-emails.js +0 -54
  105. package/dist/registry/scripts/validate-openapi-limits.js +0 -311
  106. package/dist/registry/scripts/validate-test-coverage.js +0 -262
  107. package/dist/registry/scripts/verify-test-coverage.js +0 -66
  108. package/dist/registry/stubs/workflows/azure/cost-optimization.md +0 -11
  109. package/dist/registry/stubs/workflows/bootstrap/create-architecture.md +0 -11
  110. package/dist/registry/stubs/workflows/bootstrap/detect-broken-windows.md +0 -11
  111. package/dist/registry/stubs/workflows/bootstrap/evaluate-code-quality.md +0 -11
  112. package/dist/registry/stubs/workflows/bootstrap/verify-test-coverage.md +0 -11
  113. package/dist/registry/stubs/workflows/brainstorming/blue-sky-brainstorming.md +0 -11
  114. package/dist/registry/stubs/workflows/brainstorming/codebase-brainstorming.md +0 -11
  115. package/dist/registry/stubs/workflows/business-development/create-business-plan.md +0 -11
  116. package/dist/registry/stubs/workflows/business-development/ideate-business-opportunity.md +0 -11
  117. package/dist/registry/stubs/workflows/business-development/price-product.md +0 -18
  118. package/dist/registry/stubs/workflows/compliance/detect-compliance-requirements.md +0 -11
  119. package/dist/registry/stubs/workflows/compliance/generate-audit-evidence.md +0 -11
  120. package/dist/registry/stubs/workflows/compliance/soc2-evidence-generator.md +0 -11
  121. package/dist/registry/stubs/workflows/customer-development/insight-analysis.md +0 -11
  122. package/dist/registry/stubs/workflows/customer-development/insight-triage.md +0 -11
  123. package/dist/registry/stubs/workflows/customer-development/interview-preparation.md +0 -11
  124. package/dist/registry/stubs/workflows/customer-development/linkedin-outreach.md +0 -11
  125. package/dist/registry/stubs/workflows/customer-development/strategic-brainstorming.md +0 -11
  126. package/dist/registry/stubs/workflows/customer-development/thank-customers.md +0 -11
  127. package/dist/registry/stubs/workflows/customer-development/user-survey-dispatch.md +0 -11
  128. package/dist/registry/stubs/workflows/customer-development/users-to-target.md +0 -11
  129. package/dist/registry/stubs/workflows/customer-development/weekly-newsletter.md +0 -11
  130. package/dist/registry/stubs/workflows/deploy/cloud-deployment.md +0 -11
  131. package/dist/registry/stubs/workflows/improve-fraim/contribute.md +0 -11
  132. package/dist/registry/stubs/workflows/improve-fraim/file-issue.md +0 -11
  133. package/dist/registry/stubs/workflows/learning/build-skillset.md +0 -11
  134. package/dist/registry/stubs/workflows/learning/synthesize-learnings.md +0 -11
  135. package/dist/registry/stubs/workflows/legal/contract-review-analysis.md +0 -11
  136. package/dist/registry/stubs/workflows/legal/nda.md +0 -11
  137. package/dist/registry/stubs/workflows/legal/patent-filing.md +0 -11
  138. package/dist/registry/stubs/workflows/legal/saas-contract-development.md +0 -11
  139. package/dist/registry/stubs/workflows/legal/trademark-filing.md +0 -11
  140. package/dist/registry/stubs/workflows/marketing/content-creation.md +0 -11
  141. package/dist/registry/stubs/workflows/marketing/convert-to-pdf.md +0 -11
  142. package/dist/registry/stubs/workflows/marketing/create-modern-website.md +0 -11
  143. package/dist/registry/stubs/workflows/marketing/domain-registration.md +0 -11
  144. package/dist/registry/stubs/workflows/marketing/evangelize.md +0 -11
  145. package/dist/registry/stubs/workflows/marketing/hbr-article.md +0 -11
  146. package/dist/registry/stubs/workflows/marketing/launch-checklist.md +0 -11
  147. package/dist/registry/stubs/workflows/marketing/marketing-strategy.md +0 -11
  148. package/dist/registry/stubs/workflows/marketing/storytelling.md +0 -11
  149. package/dist/registry/stubs/workflows/performance/analyze-performance.md +0 -11
  150. package/dist/registry/stubs/workflows/product-building/design.md +0 -11
  151. package/dist/registry/stubs/workflows/product-building/implement.md +0 -11
  152. package/dist/registry/stubs/workflows/product-building/iterate-on-pr-comments.md +0 -11
  153. package/dist/registry/stubs/workflows/product-building/prep-issue.md +0 -11
  154. package/dist/registry/stubs/workflows/product-building/prototype.md +0 -11
  155. package/dist/registry/stubs/workflows/product-building/resolve.md +0 -11
  156. package/dist/registry/stubs/workflows/product-building/retrospect.md +0 -11
  157. package/dist/registry/stubs/workflows/product-building/spec.md +0 -11
  158. package/dist/registry/stubs/workflows/product-building/test.md +0 -11
  159. package/dist/registry/stubs/workflows/productivity-report/productivity-report.md +0 -11
  160. package/dist/registry/stubs/workflows/quality-assurance/browser-validation.md +0 -11
  161. package/dist/registry/stubs/workflows/quality-assurance/iterative-improvement-cycle.md +0 -11
  162. package/dist/registry/stubs/workflows/replicate/replicate-discovery.md +0 -11
  163. package/dist/registry/stubs/workflows/replicate/replicate-to-issues.md +0 -11
  164. package/dist/registry/stubs/workflows/reviewer/review-implementation-vs-design-spec.md +0 -11
  165. package/dist/registry/stubs/workflows/reviewer/review-implementation-vs-feature-spec.md +0 -11
  166. package/dist/registry/stubs/workflows/startup-credits/aws-activate-application.md +0 -11
  167. package/dist/registry/stubs/workflows/startup-credits/google-cloud-application.md +0 -11
  168. package/dist/registry/stubs/workflows/startup-credits/microsoft-azure-application.md +0 -11
  169. package/dist/registry/templates/bootstrap/ARCHITECTURE-TEMPLATE.md +0 -53
  170. package/dist/registry/templates/bootstrap/CODE-QUALITY-REPORT-TEMPLATE.md +0 -37
  171. package/dist/registry/templates/bootstrap/TEST-COVERAGE-REPORT-TEMPLATE.md +0 -35
  172. package/dist/registry/templates/business-development/IDEATION-REPORT-TEMPLATE.md +0 -29
  173. package/dist/registry/templates/business-development/PRICING-STRATEGY-TEMPLATE.md +0 -126
  174. package/dist/registry/templates/customer-development/customer-interview-template.md +0 -99
  175. package/dist/registry/templates/customer-development/customer-persona-template.md +0 -69
  176. package/dist/registry/templates/customer-development/follow-up-email-templates.md +0 -132
  177. package/dist/registry/templates/customer-development/insight-analysis-template.md +0 -74
  178. package/dist/registry/templates/customer-development/prospect-inventory-template.csv +0 -3
  179. package/dist/registry/templates/customer-development/search-strategy-template.md +0 -123
  180. package/dist/registry/templates/customer-development/strategic-recommendations-template.md +0 -53
  181. package/dist/registry/templates/customer-development/thank-you-email-template.html +0 -124
  182. package/dist/registry/templates/customer-development/thank-you-note-template.md +0 -16
  183. package/dist/registry/templates/customer-development/triage-log-template.md +0 -278
  184. package/dist/registry/templates/customer-development/weekly-newsletter-template.html +0 -204
  185. package/dist/registry/templates/evidence/Design-Evidence.md +0 -30
  186. package/dist/registry/templates/evidence/Implementation-BugEvidence.md +0 -122
  187. package/dist/registry/templates/evidence/Implementation-FeatureEvidence.md +0 -160
  188. package/dist/registry/templates/evidence/Spec-Evidence.md +0 -19
  189. package/dist/registry/templates/help/HelpNeeded.md +0 -14
  190. package/dist/registry/templates/legal/NDA-TEMPLATE.md +0 -170
  191. package/dist/registry/templates/legal/PATENT-TEMPLATE.md +0 -372
  192. package/dist/registry/templates/legal/TRADEMARK-TEMPLATE.md +0 -339
  193. package/dist/registry/templates/legal/contract-review-checklist.md +0 -193
  194. package/dist/registry/templates/legal/review-report-template.md +0 -198
  195. package/dist/registry/templates/legal/saas-terms-template.md +0 -174
  196. package/dist/registry/templates/legal/sow-template.md +0 -117
  197. package/dist/registry/templates/legal/template-variables.md +0 -131
  198. package/dist/registry/templates/marketing/DOMAIN-REGISTRATION-TEMPLATE.md +0 -194
  199. package/dist/registry/templates/marketing/EVANGELIZE-TEMPLATE.md +0 -102
  200. package/dist/registry/templates/marketing/HBR-ARTICLE-TEMPLATE.md +0 -66
  201. package/dist/registry/templates/marketing/STORYTELLING-TEMPLATE.md +0 -130
  202. package/dist/registry/templates/marketing/WEBSITE-TEMPLATE.md +0 -262
  203. package/dist/registry/templates/marketing/github-pages-workflow.yml +0 -64
  204. package/dist/registry/templates/replicate/implementation-checklist.md +0 -39
  205. package/dist/registry/templates/replicate/use-cases-template.md +0 -88
  206. package/dist/registry/templates/retrospective/RETROSPECTIVE-TEMPLATE.md +0 -55
  207. package/dist/registry/templates/specs/BUGSPEC-TEMPLATE.md +0 -37
  208. package/dist/registry/templates/specs/FEATURESPEC-TEMPLATE.md +0 -66
  209. package/dist/registry/templates/specs/TECHSPEC-TEMPLATE.md +0 -39
  210. package/dist/registry/workflows/azure/cost-optimization.md +0 -772
  211. package/dist/registry/workflows/bootstrap/create-architecture.md +0 -37
  212. package/dist/registry/workflows/bootstrap/detect-broken-windows.md +0 -300
  213. package/dist/registry/workflows/bootstrap/evaluate-code-quality.md +0 -35
  214. package/dist/registry/workflows/bootstrap/verify-test-coverage.md +0 -36
  215. package/dist/registry/workflows/brainstorming/blue-sky-brainstorming.md +0 -211
  216. package/dist/registry/workflows/brainstorming/codebase-brainstorming.md +0 -159
  217. package/dist/registry/workflows/business-development/create-business-plan.md +0 -737
  218. package/dist/registry/workflows/business-development/ideate-business-opportunity.md +0 -55
  219. package/dist/registry/workflows/business-development/price-product.md +0 -325
  220. package/dist/registry/workflows/compliance/detect-compliance-requirements.md +0 -80
  221. package/dist/registry/workflows/compliance/generate-audit-evidence.md +0 -80
  222. package/dist/registry/workflows/compliance/soc2-evidence-generator.md +0 -332
  223. package/dist/registry/workflows/customer-development/insight-analysis.md +0 -156
  224. package/dist/registry/workflows/customer-development/insight-triage.md +0 -933
  225. package/dist/registry/workflows/customer-development/interview-preparation.md +0 -452
  226. package/dist/registry/workflows/customer-development/linkedin-outreach.md +0 -599
  227. package/dist/registry/workflows/customer-development/strategic-brainstorming.md +0 -146
  228. package/dist/registry/workflows/customer-development/thank-customers.md +0 -203
  229. package/dist/registry/workflows/customer-development/user-survey-dispatch.md +0 -312
  230. package/dist/registry/workflows/customer-development/users-to-target.md +0 -427
  231. package/dist/registry/workflows/customer-development/weekly-newsletter.md +0 -366
  232. package/dist/registry/workflows/deploy/cloud-deployment.md +0 -310
  233. package/dist/registry/workflows/improve-fraim/contribute.md +0 -32
  234. package/dist/registry/workflows/improve-fraim/file-issue.md +0 -32
  235. package/dist/registry/workflows/learning/build-skillset.md +0 -212
  236. package/dist/registry/workflows/learning/synthesize-learnings.md +0 -369
  237. package/dist/registry/workflows/legal/contract-review-analysis.md +0 -382
  238. package/dist/registry/workflows/legal/nda.md +0 -69
  239. package/dist/registry/workflows/legal/patent-filing.md +0 -76
  240. package/dist/registry/workflows/legal/saas-contract-development.md +0 -204
  241. package/dist/registry/workflows/legal/trademark-filing.md +0 -77
  242. package/dist/registry/workflows/marketing/content-creation.md +0 -40
  243. package/dist/registry/workflows/marketing/convert-to-pdf.md +0 -265
  244. package/dist/registry/workflows/marketing/create-modern-website.md +0 -456
  245. package/dist/registry/workflows/marketing/domain-registration.md +0 -323
  246. package/dist/registry/workflows/marketing/evangelize.md +0 -426
  247. package/dist/registry/workflows/marketing/hbr-article.md +0 -73
  248. package/dist/registry/workflows/marketing/launch-checklist.md +0 -37
  249. package/dist/registry/workflows/marketing/marketing-strategy.md +0 -45
  250. package/dist/registry/workflows/marketing/storytelling.md +0 -65
  251. package/dist/registry/workflows/performance/analyze-performance.md +0 -65
  252. package/dist/registry/workflows/product-building/design.md +0 -263
  253. package/dist/registry/workflows/product-building/implement.md +0 -771
  254. package/dist/registry/workflows/product-building/iterate-on-pr-comments.md +0 -70
  255. package/dist/registry/workflows/product-building/prep-issue.md +0 -41
  256. package/dist/registry/workflows/product-building/prototype.md +0 -60
  257. package/dist/registry/workflows/product-building/resolve.md +0 -175
  258. package/dist/registry/workflows/product-building/retrospect.md +0 -86
  259. package/dist/registry/workflows/product-building/spec.md +0 -303
  260. package/dist/registry/workflows/product-building/test.md +0 -125
  261. package/dist/registry/workflows/productivity-report/productivity-report.md +0 -263
  262. package/dist/registry/workflows/quality-assurance/browser-validation.md +0 -221
  263. package/dist/registry/workflows/quality-assurance/iterative-improvement-cycle.md +0 -562
  264. package/dist/registry/workflows/replicate/replicate-discovery.md +0 -336
  265. package/dist/registry/workflows/replicate/replicate-to-issues.md +0 -319
  266. package/dist/registry/workflows/reviewer/review-implementation-vs-design-spec.md +0 -694
  267. package/dist/registry/workflows/reviewer/review-implementation-vs-feature-spec.md +0 -734
  268. package/dist/registry/workflows/startup-credits/aws-activate-application.md +0 -535
  269. package/dist/registry/workflows/startup-credits/google-cloud-application.md +0 -647
  270. package/dist/registry/workflows/startup-credits/microsoft-azure-application.md +0 -538
  271. package/dist/src/cli/commands/init.js +0 -148
  272. package/dist/src/cli/commands/mcp.js +0 -65
  273. package/dist/src/cli/commands/wizard.js +0 -35
  274. package/dist/src/fraim/issue-tracking/ado-provider.js +0 -304
  275. package/dist/src/fraim/issue-tracking/factory.js +0 -63
  276. package/dist/src/fraim/issue-tracking/github-provider.js +0 -200
  277. package/dist/src/fraim/issue-tracking/types.js +0 -7
  278. package/dist/src/fraim/issue-tracking-config.js +0 -83
  279. package/dist/src/fraim/retrospective-learner.js +0 -301
  280. package/dist/src/fraim/setup-wizard.js +0 -99
@@ -1,188 +0,0 @@
1
- # Phase: address-pr-feedback
2
-
3
- ## INTENT
4
- To systematically address all PR feedback items by making targeted changes, replying to comments, and preparing for re-validation.
5
-
6
- ## OUTCOME
7
- All PR feedback addressed with:
8
- - Targeted changes made for each feedback item
9
- - Feedback file updated with resolutions
10
- - PR comments replied to with explanations
11
- - Changes validated and ready for re-review
12
-
13
- ## RULES FOR THIS PHASE
14
-
15
- ### Success Criteria
16
- Read `registry/rules/agent-success-criteria.md` via `get_fraim_file` for the complete framework. Focus especially on:
17
- - **Integrity** (document all changes made)
18
- - **Correctness** (address feedback accurately)
19
- - **Completeness** (address every UNADDRESSED item)
20
-
21
- ### Simplicity Principles
22
- Read `registry/rules/simplicity.md` via `get_fraim_file` for complete guidelines. Critical for feedback phase:
23
- - **Targeted Changes**: Make minimal changes to address specific feedback
24
- - **Manual Validation**: Test changes manually before updating PR
25
- - **Clear Communication**: Reply to each comment with clear explanations
26
-
27
- ## PRINCIPLES
28
- - **Feedback-Driven**: Address only the specific issues raised in PR comments
29
- - **Minimal Changes**: Avoid scope creep or unnecessary refactoring
30
- - **Clear Communication**: Explain resolutions clearly to reviewers
31
- - **Validation**: Ensure changes work before updating PR
32
-
33
- ## 📋 WORKFLOW
34
-
35
- ### Step 1: Read PR Feedback File
36
-
37
- **MANDATORY**: Read the feedback file created by `wait-for-pr-review`:
38
- - File location: `docs/evidence/{issue_number}-{workflow_type}-feedback.md`
39
- - Identify all UNADDRESSED feedback items
40
- - Understand the context and requirements for each item
41
-
42
- ### Step 2: Address Each Feedback Item
43
-
44
- **For each UNADDRESSED item:**
45
-
46
- 1. **Understand the Feedback**:
47
- - Read the comment carefully
48
- - Identify what specific change is requested
49
- - Determine the scope of the change needed
50
-
51
- 2. **Make Targeted Changes**:
52
- - Make minimal, focused changes to address the specific feedback
53
- - Avoid unrelated changes or improvements
54
- - Keep changes as small as possible while fully addressing the feedback
55
-
56
- 3. **Update Feedback File**:
57
- - Change status from UNADDRESSED to ADDRESSED
58
- - Document your resolution approach
59
- - Include details of what you changed
60
-
61
- **Feedback File Update Format**:
62
- ```markdown
63
- ### Comment X - ADDRESSED
64
- - **Author**: reviewer_name
65
- - **Type**: pr_comment|review_comment|review
66
- - **File**: file_path (if applicable)
67
- - **Line**: line_number (if applicable)
68
- - **Comment**: Original feedback text
69
- - **Status**: ADDRESSED
70
- - **Resolution**: Detailed explanation of how you addressed this feedback
71
- - **Changes Made**: Specific files/lines modified
72
- ```
73
-
74
- ### Step 3: Validate Changes
75
-
76
- **Test your changes:**
77
- - Run compilation check: `npx tsc --noEmit --skipLibCheck`
78
- - Run relevant tests to ensure no regressions
79
- - Test manually if the feedback involves UI/API behavior
80
- - Verify the specific issue mentioned in feedback is resolved
81
-
82
- ### Step 4: Reply to PR Comments
83
-
84
- **For each addressed comment:**
85
- - Reply to the original PR comment
86
- - Explain what you changed and how it addresses their concern
87
- - Reference specific files/lines if helpful
88
- - Be clear and professional in your communication
89
-
90
- **Example reply format**:
91
- ```
92
- ✅ **Addressed**: [Brief description of what you changed]
93
-
94
- **Changes made**:
95
- - [Specific change 1]
96
- - [Specific change 2]
97
-
98
- **Files modified**: `path/to/file.ts`, `path/to/test.ts`
99
-
100
- This should resolve the [specific issue mentioned]. Please let me know if you need any clarification!
101
- ```
102
-
103
- ### Step 5: Commit and Push Changes
104
-
105
- **Commit your changes:**
106
- - Use clear commit messages that reference the feedback
107
- - Example: `Address PR feedback: Fix error handling in auth service`
108
- - Push changes to the PR branch
109
-
110
- ## 📸 EVIDENCE REQUIREMENTS
111
-
112
- You MUST provide concrete evidence for all claims:
113
-
114
- 1. **All Feedback Addressed**: Every UNADDRESSED item in feedback file is now ADDRESSED
115
- 2. **Changes Made**: Specific code changes made for each feedback item
116
- 3. **Validation Complete**: Tests pass and changes work as expected
117
- 4. **PR Updated**: Changes committed, pushed, and comments replied to
118
-
119
- ## VALIDATION
120
-
121
- ### Phase Complete When:
122
- - ✅ All UNADDRESSED items in feedback file are now ADDRESSED
123
- - ✅ Feedback file updated with resolution details for each item
124
- - ✅ Targeted changes made to address each specific feedback
125
- - ✅ Changes validated (compilation, tests, manual testing)
126
- - ✅ PR comments replied to with clear explanations
127
- - ✅ Changes committed and pushed to PR branch
128
-
129
- ### Phase Incomplete If:
130
- - ❌ Any UNADDRESSED items remain in feedback file
131
- - ❌ Changes don't actually address the feedback given
132
- - ❌ Tests failing after changes
133
- - ❌ Compilation errors introduced
134
- - ❌ PR comments not replied to
135
- - ❌ Changes not committed/pushed
136
-
137
- ### Report Back:
138
- When you complete this phase, call:
139
-
140
- ```javascript
141
- seekMentoring({
142
- workflowType: "{workflow_type}",
143
- issueNumber: "{issue_number}",
144
- currentPhase: "address-pr-feedback",
145
- status: "complete",
146
- findings: {
147
- feedbackItemsAddressed: {total_items_addressed},
148
- changesValidated: true
149
- },
150
- evidence: {
151
- feedbackFileUpdated: "All UNADDRESSED items now ADDRESSED with resolutions",
152
- changesMade: "Brief summary of changes made",
153
- validationResults: "Compilation and tests pass",
154
- prCommentsReplied: "Replied to all PR comments with explanations"
155
- }
156
- })
157
- ```
158
-
159
- If feedback addressing incomplete, iterate:
160
- ```javascript
161
- seekMentoring({
162
- workflowType: "{workflow_type}",
163
- issueNumber: "{issue_number}",
164
- currentPhase: "address-pr-feedback",
165
- status: "incomplete",
166
- findings: {
167
- uncertainties: ["Issues encountered", "What needs to be fixed"]
168
- }
169
- })
170
- ```
171
-
172
- ## SCRIPTS
173
-
174
- **Compile TypeScript:**
175
- ```bash
176
- npx tsc --noEmit --skipLibCheck
177
- ```
178
-
179
- **Run tests:**
180
- ```bash
181
- npm test
182
- ```
183
-
184
- **Check git status:**
185
- ```bash
186
- git status
187
- git diff
188
- ```
@@ -1,169 +0,0 @@
1
- # Phase: Finalize
2
-
3
- ## INTENT
4
- To prepare completed work for human review by setting proper labels, creating/updating PR, and documenting evidence.
5
-
6
- ## OUTCOME
7
- Work is ready for human review with:
8
- - Proper issue labels applied
9
- - PR created/updated with work
10
- - Evidence documented
11
- - Clean handoff to next phase or review
12
-
13
- ## PRINCIPLES
14
- - **Complete Documentation**: Evidence shows all work done
15
- - **Proper Labels**: Issue status reflects readiness
16
- - **Clear Communication**: PR and evidence are clear
17
- - **Ready for Review**: No blockers for human reviewer
18
-
19
- ## RULES FOR THIS PHASE
20
-
21
- ### Success Criteria
22
- Read `registry/rules/agent-success-criteria.md` via `get_fraim_file` for the complete framework. Focus on:
23
- - **Integrity** (honest documentation of all work completed)
24
- - **Completeness** (all finalization steps completed)
25
-
26
- ### Simplicity Principles
27
- Read `registry/rules/simplicity.md` via `get_fraim_file` for complete guidelines. Key for finalization:
28
- - **Focus on the assigned issue only** - document only relevant work
29
- - **Clear communication** - evidence should be easy to understand
30
-
31
- ### Git Operations (if needed)
32
- When using git commands directly (if MCP tools unavailable), read `registry/rules/git-safe-commands.md` via `get_fraim_file` to avoid interactive commands that hang agents.
33
-
34
- ## WORKFLOW
35
-
36
- ### Step 1: Update Issue Labels
37
-
38
- **Remove:**
39
- - `status:wip`
40
- - Any phase-specific labels (e.g., `phase:spec`, `phase:design`, `phase:impl`)
41
-
42
- **Add:**
43
- - `status:needs-review`
44
-
45
- **GitHub Repository Context:**
46
- Read `.fraim/config.json` for:
47
- - `git.repoOwner` - GitHub repository owner
48
- - `git.repoName` - GitHub repository name
49
-
50
- Use GitHub MCP tools to update labels.
51
-
52
- ### Step 2: Create Evidence Document
53
-
54
- **File location:**
55
- ```
56
- docs/evidence/{issue_number}-{workflow_type}-evidence.md
57
- ```
58
-
59
- **Evidence document should include:**
60
-
61
- #### Summary
62
- - Issue number and title
63
- - Workflow type (spec, design, implement, test)
64
- - Brief description of work completed
65
-
66
- #### Work Completed
67
- **For Spec Workflow:**
68
- - Specification document created
69
- - High-fidelity HTML mocks (if UI changes)
70
- - Requirements coverage
71
-
72
- **For Design Workflow:**
73
- - Technical design document
74
- - Architecture decisions
75
- - API specifications
76
- - Database schema (if applicable)
77
-
78
- **For Implement Workflow:**
79
- - Implementation details
80
- - Key files changed
81
- - Approach taken
82
- - Testing completed
83
-
84
- **For Test Workflow:**
85
- - Test suite created/enhanced
86
- - Coverage metrics
87
- - Test results
88
-
89
- #### Validation
90
- - How work was validated
91
- - Validation results
92
- - Screenshots/output (if applicable)
93
-
94
- #### Quality Checks
95
- - All deliverables complete
96
- - Documentation clear and professional
97
- - Work ready for next phase or review
98
-
99
- #### Phase Completion
100
- - All phases completed for this workflow
101
- - Evidence from each phase
102
- - Any iterations or challenges
103
-
104
- ### Step 3: Verify PR Exists
105
-
106
- **Verify PR:**
107
- - PR exists for the feature branch
108
- - PR title reflects the issue and workflow
109
- - PR description includes context and links to deliverables
110
-
111
- **If PR doesn't exist:**
112
- - Create PR manually
113
- - Link to issue
114
- - Add evidence document link
115
-
116
- ### Step 4: Add PR Comment
117
-
118
- Add comment to PR with link to evidence:
119
- ```
120
- {Workflow_type} workflow complete. Evidence document: docs/evidence/{issue_number}-{workflow_type}-evidence.md
121
-
122
- All phases completed:
123
- {workflow_specific_phases_checklist}
124
-
125
- Ready for human review.
126
- ```
127
-
128
- ### Step 5: Final Verification
129
-
130
- **Checklist:**
131
- - ✅ Issue labels updated
132
- - ✅ Evidence document created and complete
133
- - ✅ PR exists and is ready
134
- - ✅ PR comment added with evidence link
135
- - ✅ All deliverables complete
136
- - ✅ Git status clean
137
-
138
- ## VALIDATION
139
-
140
- ### Phase Complete When:
141
- - ✅ Issue has `status:needs-review` label
142
- - ✅ Issue does not have workflow phase labels
143
- - ✅ Evidence document exists and is complete
144
- - ✅ PR exists and is ready for review
145
- - ✅ PR has comment linking to evidence
146
- - ✅ All previous phases complete
147
-
148
- ### Phase Incomplete If:
149
- - ❌ Labels not updated
150
- - ❌ Evidence document missing or incomplete
151
- - ❌ PR not ready
152
- - ❌ Previous phases not complete
153
-
154
- ### Report Back:
155
- ```javascript
156
- seekCoachingOnNextStep({
157
- workflowType: "{workflow_type}",
158
- issueNumber: "{issue_number}",
159
- currentPhase: "finalize",
160
- status: "complete",
161
- evidence: {
162
- labelsUpdated: "Issue has status:needs-review label",
163
- evidenceDocument: "docs/evidence/{issue_number}-{workflow_type}-evidence.md created",
164
- prStatus: "PR ready for review",
165
- prComment: "PR comment added with evidence link",
166
- allPhasesComplete: "All {workflow_type} phases completed successfully"
167
- }
168
- })
169
- ```
@@ -1,202 +0,0 @@
1
- # Phase: submit-pr
2
-
3
- ## INTENT
4
- To submit completed work for review by creating/updating PR, setting proper labels, and documenting evidence.
5
-
6
- ## OUTCOME
7
- Work is submitted for review with:
8
- - PR created/updated with work
9
- - Proper issue labels applied
10
- - Evidence documented
11
- - Ready to enter PR review phase
12
-
13
- ## PRINCIPLES
14
- - **Complete Documentation**: Evidence shows all work done
15
- - **Proper Labels**: Issue status reflects PR submission
16
- - **Clear Communication**: PR and evidence are clear
17
- - **Ready for Review**: No blockers for PR review process
18
-
19
- ## RULES FOR THIS PHASE
20
-
21
- ### Success Criteria
22
- Read `registry/rules/agent-success-criteria.md` via `get_fraim_file` for the complete framework. Focus on:
23
- - **Integrity** (honest documentation of all work completed)
24
- - **Completeness** (all finalization steps completed)
25
-
26
- ### Simplicity Principles
27
- Read `registry/rules/simplicity.md` via `get_fraim_file` for complete guidelines. Key for finalization:
28
- - **Focus on the assigned issue only** - document only relevant work
29
- - **Clear communication** - evidence should be easy to understand
30
-
31
- ### Git Operations (if needed)
32
- When using git commands directly (if MCP tools unavailable), read `rules/git-safe-commands.md` via `get_fraim_file` to avoid interactive commands that hang agents.
33
-
34
- ## WORKFLOW
35
-
36
- ### Step 1: Create Evidence Document
37
-
38
- **File location:**
39
- ```
40
- docs/evidence/{issue_number}-{workflow_type}-evidence.md
41
- ```
42
-
43
- **Evidence document should include:**
44
-
45
- #### Summary
46
- - Issue number and title
47
- - Workflow type (spec, design, implement, test)
48
- - Brief description of work completed
49
-
50
- #### Work Completed
51
- **For Spec Workflow:**
52
- - Specification document created
53
- - High-fidelity HTML mocks (if UI changes)
54
- - Requirements coverage
55
-
56
- **For Design Workflow:**
57
- - Technical design document
58
- - Architecture decisions
59
- - API specifications
60
- - Database schema (if applicable)
61
-
62
- **For Implement Workflow:**
63
- - Implementation details
64
- - Key files changed
65
- - Approach taken
66
- - Testing completed
67
-
68
- **For Test Workflow:**
69
- - Test suite created/enhanced
70
- - Coverage metrics
71
- - Test results
72
-
73
- #### PR Feedback History (if applicable)
74
- **CRITICAL**: If PR feedback file exists (`docs/evidence/{issue_number}-{workflow_type}-feedback.md`), include its complete contents in the evidence document under this section.
75
-
76
- This shows reviewers:
77
- - All previous feedback received
78
- - How each item was addressed
79
- - Complete audit trail of review iterations
80
-
81
- #### Validation
82
- - How work was validated
83
- - Validation results
84
- - Screenshots/output (if applicable)
85
-
86
- #### Quality Checks
87
- - All deliverables complete
88
- - Documentation clear and professional
89
- - Work ready for next phase or review
90
-
91
- #### Phase Completion
92
- - All phases completed for this workflow
93
- - Evidence from each phase
94
- - Any iterations or challenges
95
-
96
- ### Step 2: Commit and Sync Work
97
-
98
- **Commit all changes:**
99
- - Stage all modified files
100
- - Create commit with descriptive message
101
- - Push to feature branch
102
-
103
- **Commit message format:**
104
- ```
105
- {workflow_type}({issue_number}): complete {phase_name} phase
106
-
107
- - Evidence document created
108
- - All deliverables complete
109
- - Ready for review
110
- ```
111
-
112
- ### Step 3: Verify PR Exists
113
-
114
- **Verify PR:**
115
- - PR exists for the feature branch
116
- - PR title reflects the issue and workflow
117
- - PR description includes context and links to deliverables
118
-
119
- **If PR doesn't exist:**
120
- - Create PR manually
121
- - Link to issue
122
- - Add evidence document link
123
-
124
- ### Step 4: Add PR Comment
125
-
126
- Add comment to PR with link to evidence:
127
- ```
128
- {Workflow_type} workflow complete. Evidence document: docs/evidence/{issue_number}-{workflow_type}-evidence.md
129
-
130
- All phases completed:
131
- {workflow_specific_phases_checklist}
132
-
133
- **PR Feedback History**:
134
- {If feedback file exists, include: "This submission addresses all feedback from previous review rounds. See evidence document for complete feedback history and resolutions."}
135
-
136
- Ready for human review.
137
- ```
138
-
139
- ### Step 5: Update Issue Labels
140
-
141
- **Remove:**
142
- - `status:wip`
143
-
144
- **Add:**
145
- - `status:needs-review`
146
-
147
- **Keep:**
148
- - Current phase label (e.g., `phase:spec`, `phase:design`, `phase:impl`) to indicate which phase is in PR
149
-
150
- **GitHub Repository Context:**
151
- Read `.fraim/config.json` for:
152
- - `git.repoOwner` - GitHub repository owner
153
- - `git.repoName` - GitHub repository name
154
-
155
- Use GitHub MCP tools to update labels.
156
-
157
- ### Step 6: Final Verification
158
-
159
- **Checklist:**
160
- - ✅ Issue labels updated (kept phase label, added needs-review)
161
- - ✅ Evidence document created and complete
162
- - ✅ All work committed and pushed to feature branch
163
- - ✅ PR exists and is ready
164
- - ✅ PR comment added with evidence link
165
- - ✅ All deliverables complete
166
- - ✅ Git status clean
167
-
168
- ## VALIDATION
169
-
170
- ### Phase Complete When:
171
- - ✅ Issue has `status:needs-review` label
172
- - ✅ Issue keeps current phase label to indicate what needs review
173
- - ✅ Evidence document exists and is complete
174
- - ✅ All work committed and synced to remote
175
- - ✅ PR exists and is ready for review
176
- - ✅ PR has comment linking to evidence
177
- - ✅ All previous phases complete
178
-
179
- ### Phase Incomplete If:
180
- - ❌ Labels not updated correctly
181
- - ❌ Evidence document missing or incomplete
182
- - ❌ Work not committed and synced
183
- - ❌ PR not ready
184
- - ❌ Previous phases not complete
185
-
186
- ### Report Back:
187
- ```javascript
188
- seekMentoring({
189
- workflowType: "{workflow_type}",
190
- issueNumber: "{issue_number}",
191
- currentPhase: "submit-pr",
192
- status: "complete",
193
- evidence: {
194
- labelsUpdated: "Issue has status:needs-review and keeps phase label",
195
- evidenceDocument: "docs/evidence/{issue_number}-{workflow_type}-evidence.md created",
196
- workCommitted: "All changes committed and pushed to feature branch",
197
- prStatus: "PR ready for review",
198
- prComment: "PR comment added with evidence link",
199
- allPhasesComplete: "All {workflow_type} phases completed successfully"
200
- }
201
- })
202
- ```