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,734 +0,0 @@
1
- # Review Implementation vs Feature Spec
2
-
3
- ## INTENT
4
- To systematically verify that the implementation solves the customer problem and delivers the user experience described in the feature spec, ensuring **completeness**, **correctness**, and **quality** of functional requirements and user value.
5
-
6
- ## PRINCIPLES
7
- - **Completeness First**: Verify ALL feature spec components are implemented before checking correctness
8
- - **User-Centric Validation**: Every user scenario must work as specified
9
- - **Problem-Solution Fit**: Implementation must solve the customer problem
10
- - **Experience Fidelity**: UI/UX must match feature spec and mocks
11
- - **Validation Plan Execution**: All validation methods must be executed
12
- - **End-to-End Testing**: Complete user workflows must be validated with authentication
13
- - **Quality Standards**: User experience must meet quality, usability, and documentation standards
14
-
15
- {{include:orchestration/independent-reviewer-guidance.md}}
16
-
17
- ## REVIEW WORKFLOW
18
-
19
- ### Step 1: Issue Identification and Evidence Loading
20
- - Get {issue_number} from context
21
-
22
- - Verify issue has `status:design-review-passed` label
23
- - Locate feature spec: `docs/feature specs/{issue}-*.md`
24
- - If feature spec doesn't exist: ⚠️ Check if this is a bug fix (may not have feature spec). If feature, BLOCKER - request spec phase first.
25
- - **Load Design Review Summary**: Read `docs/evidence/{issue}-design-review-summary.md`
26
- - If summary doesn't exist: ❌ BLOCKER - Design review must complete first
27
- - Review summary to understand what was approved in design review
28
- - **Load Implementation Evidence**: Read `docs/evidence/{issue}-implementation-evidence.md`
29
- - Review evidence for functional/user experience aspects
30
- - **Check for Existing Feedback**: Check if `docs/evidence/{issue}-feature-reviewer-feedback.md` exists
31
- - If exists, this is an iteration (check iteration count)
32
- - Track iteration number (max 3 iterations)
33
-
34
- ### Step 2: Feature Spec Completeness Check
35
-
36
- **CRITICAL**: Before checking functional correctness, verify ALL feature spec components are addressed.
37
-
38
- #### 2.1: Extract Full Feature Spec Scope
39
- **Read the ENTIRE feature spec and extract**:
40
- - All user experience workflow steps
41
- - All UI components/screens described
42
- - All user interactions specified
43
- - All validation methods from Validation Plan
44
- - All UI mocks (if applicable)
45
- - All acceptance criteria
46
- - All alternatives considered (verify chosen approach implemented)
47
-
48
- #### 2.2: Create Completeness Checklist
49
- **Format**:
50
- ```markdown
51
- ## Feature Spec Completeness Checklist
52
-
53
- ### User Experience Workflow
54
- - [ ] Step 1: [description from spec] - [UI/interaction]
55
- - [ ] Step 2: [description from spec] - [UI/interaction]
56
- - [ ] Step 3: [description from spec] - [UI/interaction]
57
-
58
- ### UI Components (if applicable)
59
- - [ ] Screen/Component: [name] - [description from spec]
60
- - [ ] Screen/Component: [name] - [description from spec]
61
-
62
- ### Validation Methods
63
- - [ ] Method 1: [description from Validation Plan]
64
- - [ ] Method 2: [description from Validation Plan]
65
-
66
- ### Acceptance Criteria
67
- - [ ] Criterion 1: [description]
68
- - [ ] Criterion 2: [description]
69
-
70
- **Total Items**: X
71
- ```
72
-
73
- #### 2.3: Verify Each Item
74
- **For each checklist item**:
75
- - ✅ **Implemented**: Point to code/UI/test files that implement it
76
- - ⏸️ **Deferred**: Check if follow-up issue exists and is documented
77
- - ❌ **Missing**: BLOCKER - must be implemented or explicitly deferred
78
-
79
- #### 2.4: Calculate Completeness
80
- ```
81
- Implemented: X/Y items (Z%)
82
- Deferred: A items (with follow-up issues #123, #456)
83
- Missing: B items (BLOCKER if >0 without follow-up issues)
84
- ```
85
-
86
- **If completeness <100%**:
87
- - ❌ REQUEST CHANGES - List all missing items
88
- - Require either implementation or explicit deferral with follow-up issues
89
- - Do NOT proceed to correctness checks until completeness is 100%
90
-
91
- ### Step 3: Feature Spec Analysis (Correctness Check)
92
-
93
- **ONLY proceed here if Step 2 shows 100% completeness**
94
-
95
- **MUST read and extract:**
96
- - Customer problem statement
97
- - Customer's desired outcome
98
- - User experience workflow (step-by-step)
99
- - Validation Plan (all validation methods)
100
- - UI mocks (if applicable): `docs/feature specs/mocks/{issue}-*.png` (or similar)
101
- - Alternatives considered (verify chosen approach)
102
-
103
- **Create a correctness checklist mapping:**
104
- - List each step in user experience workflow
105
- - List each validation method from Validation Plan
106
- - List each UI mock element (if applicable)
107
- - This becomes your correctness review checklist
108
-
109
- ### Step 4: Customer Problem Verification (Correctness Check)
110
- **Verify implementation solves the problem:**
111
- - [ ] Read customer problem statement from spec
112
- - [ ] Understand desired outcome from spec
113
- - [ ] Verify implementation addresses the problem
114
- - Check code solves the stated problem
115
- - Verify solution matches desired outcome
116
- - [ ] Check if solution matches chosen alternative (if alternatives documented)
117
- - Review alternatives table in spec
118
- - Verify implementation matches chosen approach
119
- - Note if different approach was used (and why)
120
-
121
- **Document findings:**
122
- - Problem Statement: [from spec]
123
- - Desired Outcome: [from spec]
124
- - Solution Status: ✅ Addresses problem / ❌ Doesn't address problem
125
- - Notes: [any concerns or deviations]
126
-
127
- ### Step 3.5: Authentication Setup for End-to-End Testing
128
- **🚨 CRITICAL: Set up authentication before testing user workflows**
129
-
130
- **Determine if authentication is needed:**
131
- - [ ] Check if user experience workflow requires authentication
132
- - [ ] Check if validation plan includes browser/UI validation
133
- - [ ] Check if feature requires logged-in user state
134
-
135
- **If authentication is needed, choose one approach:**
136
-
137
- #### Option A: Request Credentials (if applicable)
138
- - [ ] **When to use**: If OAuth/SSO automation is not possible or if testing requires specific test accounts
139
- - [ ] Ask user: "I need credentials to test the end-to-end user workflow. Please provide:"
140
- - Username/email
141
- - Password (or test account credentials)
142
- - Any additional auth requirements (2FA, etc.)
143
- - [ ] Store credentials securely (do not commit to repo)
144
- - [ ] Use credentials to authenticate during testing
145
- - [ ] Document: "Using provided credentials for end-to-end testing"
146
-
147
- #### Option B: Cookie-Driven Browser Session (preferred for UI features)
148
- - [ ] **When to use**: For UI features that require authentication - this is the preferred method
149
- - [ ] Ask user: "I need to test the end-to-end user workflow. Please log in to the application in a browser session I can access, so I can validate the complete user experience. Once you're logged in, I'll use that session for all my validations."
150
- - [ ] **Wait for user confirmation**: User logs in manually (complies with OAuth ToS, avoids bot detection)
151
- - [ ] **Verify login state**:
152
- - Navigate to application URL
153
- - Check for authenticated state (user menu, profile icon, etc.)
154
- - Take snapshot to verify login succeeded
155
- - [ ] **Session persistence**:
156
- - Browser MCP tools automatically maintain cookies between invocations
157
- - Or use Playwright with `storageState` to save/load auth state
158
- - Session persists for all subsequent validations
159
- - [ ] Document: "Using cookie-driven browser session for end-to-end testing (user logged in manually)"
160
-
161
- **Browser Session Setup (if using Option B):**
162
-
163
- **Using Browser MCP Tools (if available):**
164
- - Browser MCP tools (like `browser_navigate`, `browser_snapshot`) automatically maintain session state
165
- - Cookies persist between browser invocations
166
- - User logs in once, agent can reuse session for all validations
167
- - Reference: Read `workflows/customer-development/linkedin-outreach.md` (via `get_fraim_file`) to see this pattern
168
- - **Process**:
169
- 1. Use `browser_navigate` to open application
170
- 2. Use `browser_snapshot` to check if already logged in
171
- 3. If not logged in, ask user to log in manually
172
- 4. Use `browser_wait_for` to detect login success (e.g., wait for "Dashboard" text)
173
- 5. Verify with `browser_snapshot` - should see authenticated UI elements
174
- 6. Session automatically persists for future browser operations
175
-
176
- **Using Playwright (if MCP tools not available):**
177
- - Use Playwright with `storageState` to save/load authentication
178
- - Reference: Look for authentication setup and Playwright configuration in the project's test files.
179
- - **Process**:
180
- 1. Launch browser: `chromium.launch()`
181
- 2. Create context: `browser.newContext()`
182
- 3. Navigate to application
183
- 4. Ask user to log in manually in the browser window
184
- 5. Wait for login success (check URL or UI elements)
185
- 6. Save auth state: `context.storageState({ path: 'auth-state.json' })`
186
- 7. Reuse auth state in future: `browser.newContext({ storageState: 'auth-state.json' })`
187
-
188
- **Setup Steps (General):**
189
- 1. Ask user: "I need to test the end-to-end user workflow. Please log in to the application now. I'll wait for you to complete the login."
190
- 2. Wait for user confirmation that login is complete
191
- 3. Verify login: Navigate to authenticated page, check for user menu/profile/authenticated UI
192
- 4. Document: "Using authenticated browser session for end-to-end validation (user logged in manually)"
193
- 5. Reuse session for all subsequent workflow validations
194
- 6. Take screenshots at key validation points to show authenticated state
195
-
196
- **Verification:**
197
- - [ ] Test authentication works: Navigate to protected page
198
- - [ ] Verify user is logged in (check for user menu, profile, etc.)
199
- - [ ] Confirm session persists across multiple page navigations
200
- - [ ] Document authentication method used in review evidence
201
-
202
- **If authentication setup fails:**
203
- - [ ] Document what prevented authentication
204
- - [ ] Ask user for alternative approach
205
- - [ ] Note in review: "End-to-end testing limited due to authentication setup"
206
- - [ ] Proceed with available validation methods
207
-
208
- ### Step 4: User Experience Validation
209
- **For each step in the user experience workflow:**
210
-
211
- - [ ] **Step Identified**: Map each workflow step from spec
212
- - [ ] **Implementation Verified**: Check code implements the step
213
- - Search codebase for relevant code
214
- - Verify UI components exist (if UI feature)
215
- - Verify API endpoints exist (if API feature)
216
- - [ ] **Functionality Tested**: Actually test the step (browser, API, etc.)
217
- - Use authenticated browser session (from Step 3.5)
218
- - Navigate through workflow step-by-step
219
- - Verify each step works as described
220
- - [ ] **Result Verified**: Ensure step works as described
221
- - Check actual behavior matches spec description
222
- - Verify data appears correctly (not just UI renders)
223
- - Take screenshots at key points
224
-
225
- **Example for UI feature (with authentication):**
226
- - Step: "User clicks on tab X"
227
- - [ ] Verify tab X exists in UI code
228
- - [ ] **Use authenticated browser session** (from Step 3.5)
229
- - [ ] Navigate to page, click tab X
230
- - [ ] Verify tab X actually works (not just exists)
231
- - [ ] Take screenshot for evidence
232
- - Step: "User sees list Y"
233
- - [ ] Verify list Y is rendered
234
- - [ ] **Use authenticated browser session** to check list Y
235
- - [ ] Check list Y shows correct data (verify data matches expected)
236
- - [ ] Verify list Y matches spec description
237
- - [ ] Take screenshot showing list Y with data
238
-
239
- **Example for API feature:**
240
- - Step: "Call API A with params X, Y, Z"
241
- - [ ] Verify API endpoint exists
242
- - [ ] Test with curl: `curl -X POST /api/a -d '{"x":..., "y":..., "z":...}'`
243
- - [ ] Verify response matches expected outcome
244
- - [ ] Include curl output in evidence
245
-
246
- **Document findings:**
247
- - Create table: Step | Description | Status | Evidence | Notes
248
-
249
- ### Step 5: UI Mock Compliance (if applicable)
250
- **If feature spec includes UI mocks:**
251
- - [ ] Locate mocks: `docs/feature specs/mocks/{issue}-*.png` (or similar)
252
- - [ ] Compare implementation to mocks
253
- - Open implementation in browser (with authentication)
254
- - Compare layout to mock
255
- - Compare components to mock
256
- - Compare interactions to mock
257
- - [ ] Verify layout matches
258
- - Check positioning, spacing, colors
259
- - Verify responsive behavior (if specified)
260
- - [ ] Verify components match
261
- - Check all components from mock exist
262
- - Verify component styling matches
263
- - [ ] Verify interactions match
264
- - Test interactions described in spec
265
- - Verify behavior matches mock expectations
266
- - [ ] Document any intentional deviations with rationale
267
- - Note if deviations are acceptable
268
- - Explain why deviations exist
269
-
270
- **Document findings:**
271
- - Create table: Mock Element | Spec | Implementation | Match | Notes
272
-
273
- ### Step 6: Validation Plan Execution
274
- **For each validation method in feature spec Validation Plan:**
275
- - [ ] **Method Identified**: Map each validation method from spec
276
- - [ ] **Execution Verified**: Check evidence shows method was executed
277
- - Look in PR evidence for validation results
278
- - Check for screenshots, curl outputs, test results
279
- - [ ] **Result Verified**: Ensure validation actually passed
280
- - Check evidence shows success, not just attempt
281
- - Verify no "pending" or "TODO" markers
282
- - [ ] **Evidence Quality**: Verify evidence is complete (screenshots, curl output, etc.)
283
- - Screenshots for UI validation
284
- - Curl outputs for API validation
285
- - Database queries for data validation
286
-
287
- **Validation methods typically include:**
288
- - Browser validation (UI testing) - **REQUIRES authentication if feature needs login**
289
- - API validation (curl/Postman) - May require auth tokens
290
- - Database validation (check data state)
291
- - User workflow validation (end-to-end) - **REQUIRES full authentication setup**
292
-
293
- **For browser/UI validation with authentication:**
294
- - [ ] Use authenticated browser session from Step 3.5
295
- - [ ] Navigate through complete user workflow
296
- - [ ] Verify each step works as described in spec
297
- - [ ] Take screenshots at key points
298
- - [ ] Verify data appears correctly (not just UI renders)
299
- - [ ] Test error states if applicable
300
- - [ ] Document any issues found during end-to-end testing
301
-
302
- **Document findings:**
303
- - Create table: Validation Method | Required | Executed | Result | Evidence | Auth Status
304
-
305
- ### Step 7: Edge Cases, Negative Cases, and Error Handling
306
- **🚨 CRITICAL: Validate both positive and negative scenarios**
307
-
308
- #### Positive Case Validation (Already in Step 4)
309
- - [ ] All user workflow steps work (from Step 4)
310
- - [ ] Success states work correctly
311
-
312
- #### Negative Case Validation (What Shouldn't Work)
313
- **For each user workflow step, test negative scenarios:**
314
- - [ ] **Invalid Input Handling**: Test with invalid/malformed inputs
315
- - Example: Empty fields, wrong data types, out-of-range values
316
- - Verify feature rejects invalid inputs gracefully
317
- - Verify error messages are clear and actionable
318
- - [ ] **Unauthorized Access**: Test with wrong permissions/authentication
319
- - Example: Try to access feature without login (if required)
320
- - Example: Try to access another user's data
321
- - Verify proper error handling (401, 403, etc.)
322
- - [ ] **Missing Data Scenarios**: Test with missing required data
323
- - Example: Required fields not provided
324
- - Example: Dependencies not set up
325
- - Verify feature handles missing data gracefully
326
- - [ ] **Boundary Conditions**: Test at limits/edges
327
- - Example: Maximum/minimum values, empty lists, null states
328
- - Verify feature handles boundaries correctly
329
- - [ ] **Concurrent Operations**: Test simultaneous actions (if applicable)
330
- - Example: Multiple users accessing same resource
331
- - Verify no race conditions or data corruption
332
-
333
- **Document findings:**
334
- - Create table: Negative Scenario | Tested | Result | Error Handling | Notes
335
-
336
- #### Edge Cases from Spec
337
- - [ ] Review alternatives considered in spec
338
- - Read alternatives table from spec
339
- - Understand why chosen approach was selected
340
- - [ ] Verify chosen approach is implemented
341
- - Check code matches chosen alternative
342
- - Verify not using discarded alternatives
343
- - [ ] Check if edge cases from spec are handled
344
- - Review spec for edge case mentions
345
- - Verify edge cases are handled in code
346
- - Test each edge case explicitly
347
-
348
- **Document findings:**
349
- - Create table: Edge Case | From Spec | Tested | Result | Notes
350
-
351
- #### Error Handling Validation
352
- - [ ] **Error Messages**: Verify error messages are user-friendly
353
- - Test error scenarios and check messages
354
- - Verify messages explain what went wrong
355
- - Verify messages suggest how to fix (if applicable)
356
- - [ ] **Error States**: Verify error states match spec descriptions
357
- - Check UI shows appropriate error states
358
- - Verify error states don't break the UI
359
- - Verify users can recover from errors
360
- - [ ] **Error Logging**: Verify errors are logged appropriately
361
- - Check server logs for error details
362
- - Verify errors don't expose sensitive information
363
- - Verify errors are actionable for debugging
364
-
365
- **Document findings:**
366
- - Error Handling: ✅ User-friendly / ❌ Confusing
367
- - Error States: ✅ Match spec / ❌ Don't match
368
- - Error Logging: ✅ Appropriate / ❌ Missing or excessive
369
-
370
- ### Step 8: Functional Completeness Check
371
- **Verify feature is functionally complete:**
372
- - [ ] All user workflow steps work
373
- - Test complete workflow end-to-end
374
- - Verify no broken steps
375
- - [ ] No broken links or missing functionality
376
- - Check all links work
377
- - Verify no 404s or missing pages
378
- - [ ] **Positive Cases Work**: Success scenarios function correctly
379
- - Test all success paths
380
- - Verify success feedback is clear
381
- - Verify data is saved/updated correctly
382
- - [ ] **Negative Cases Handled**: Invalid inputs rejected gracefully
383
- - Test invalid inputs (from Step 7)
384
- - Verify proper error handling
385
- - Verify no crashes or data corruption
386
- - [ ] **Edge Cases Handled**: Boundary conditions work correctly
387
- - Test edge cases (from Step 7)
388
- - Verify feature handles limits correctly
389
- - Verify no unexpected behavior at boundaries
390
- - [ ] **Error Recovery**: Users can recover from errors
391
- - Test error scenarios
392
- - Verify users can retry or fix issues
393
- - Verify no dead-end error states
394
-
395
- **Document findings:**
396
- - Positive Cases: ✅ All working / ❌ Some broken
397
- - Negative Cases: ✅ Handled gracefully / ❌ Not handled
398
- - Edge Cases: ✅ Handled / ❌ Issues found
399
- - Error Recovery: ✅ Users can recover / ❌ Dead-ends found
400
-
401
- ### Step 9: Evidence Quality Review
402
- **Verify validation evidence quality:**
403
- - [ ] All validation methods have evidence
404
- - Check each method from validation plan has evidence
405
- - Verify evidence is complete
406
- - [ ] Evidence shows actual execution (not just "tested")
407
- - Check for screenshots, curl outputs, test results
408
- - Verify evidence shows real execution
409
- - [ ] Screenshots/recordings for UI features
410
- - Check screenshots show actual UI
411
- - Verify screenshots show authenticated state (if applicable)
412
- - [ ] API outputs for API features
413
- - Check curl outputs are included
414
- - Verify responses match expected
415
- - [ ] Database state for data features
416
- - Check database queries/results included
417
- - Verify data state matches expected
418
-
419
- **Document findings:**
420
- - List any missing evidence
421
- - Note if evidence quality is sufficient
422
-
423
- ### Step 10: Review Decision and Feedback Creation
424
-
425
- **Check Iteration Count:**
426
- - If `docs/evidence/{issue}-feature-reviewer-feedback.md` exists, check iteration number
427
- - Maximum 3 iterations allowed
428
- - If iteration 3 and still issues: ❌ REJECT (max iterations reached)
429
-
430
- **Options:**
431
- - ✅ **APPROVE**: All user scenarios work, problem solved, evidence complete
432
- - ❌ **REJECT**: User scenarios broken, problem not solved, or evidence incomplete (after max iterations)
433
- - ⚠️ **REQUEST CHANGES**: Minor UX issues or missing validations (iteration < 3)
434
-
435
- **If REQUEST CHANGES (iteration < 3):**
436
- - **Create Feedback Document**: Create `docs/evidence/{issue}-feature-reviewer-feedback.md`
437
- - Use template below for feedback structure
438
- - List specific blockers with evidence locations
439
- - Provide actionable feedback for each issue
440
- - Include iteration number
441
- - Label issue `status:wip` (remove `status:design-review-passed`)
442
- - Add PR comment referencing feedback document
443
- - Implementation agent must address feedback and update evidence
444
- - Implementation agent re-submits by marking `status:design-review-passed` again
445
-
446
- **If REJECT (max iterations reached):**
447
- - Create final feedback document with all remaining issues
448
- - Label issue `status:wip` (remove `status:design-review-passed`)
449
- - Add PR comment with final rejection notice
450
- - Implementation agent must address all issues before re-submission
451
-
452
- **If APPROVE:**
453
- - **Create Final Summary**: Create `docs/evidence/{issue}-feature-review-summary.md`
454
- - Summarize what was reviewed and approved
455
- - Include key findings and evidence locations
456
- - Confirm feature is ready for merge
457
- - Label issue `status:feature-review-passed` (remove `status:design-review-passed`)
458
- - Add PR comment confirming feature spec compliance
459
- - Issue ready for final approval/merge
460
-
461
- ## FEEDBACK DOCUMENT TEMPLATE
462
-
463
- Create `docs/evidence/{issue}-feature-reviewer-feedback.md`:
464
-
465
- ```markdown
466
- # Feature Review Feedback - Issue #{issue}
467
-
468
- ## Iteration Information
469
- - Iteration Number: {1, 2, or 3}
470
- - Review Date: {date}
471
- - Reviewer: Feature Spec Review Agent
472
-
473
- ## Review Summary
474
- - Feature Spec Location: `docs/feature specs/{issue}-*.md`
475
- - Design Review Summary: `docs/evidence/{issue}-design-review-summary.md`
476
- - Evidence Reviewed: `docs/evidence/{issue}-implementation-evidence.md`
477
- - Overall Status: ⚠️ REQUEST CHANGES
478
-
479
- ## Issues Found
480
-
481
- ### Critical Blockers (Must Fix)
482
- 1. **Issue Title**
483
- - **Location**: [UI component, API endpoint, or workflow step]
484
- - **Problem**: [Specific problem description]
485
- - **Expected**: [What feature spec requires]
486
- - **Found**: [What implementation has]
487
- - **Action Required**: [Specific fix needed]
488
-
489
- 2. **Issue Title**
490
- - [Same structure]
491
-
492
- ### User Experience Issues
493
- 1. **Workflow Step**: Step name
494
- - **Feature Spec Section**: [Section reference]
495
- - **Problem**: [What doesn't work]
496
- - **Action Required**: [What needs to be fixed]
497
-
498
- ### UI Mock Compliance Issues
499
- 1. **Mock Element**: Element name
500
- - **Mock Location**: `docs/feature specs/mocks/{issue}-*.png`
501
- - **Problem**: [What doesn't match]
502
- - **Action Required**: [What needs to be updated]
503
-
504
- ### Validation Plan Issues
505
- 1. **Missing Validation**: Method name
506
- - **Feature Spec Validation Plan**: [Reference]
507
- - **Action Required**: [What validation needs to be executed]
508
-
509
- ### Customer Problem Issues
510
- 1. **Problem Not Solved**: [Description]
511
- - **Feature Spec Problem**: [Reference]
512
- - **Action Required**: [What needs to be fixed]
513
-
514
- ### Negative Case Issues
515
- 1. **Invalid Input Not Handled**: [Scenario]
516
- - **Problem**: Feature doesn't reject invalid inputs gracefully
517
- - **Expected**: Clear error message, no crashes
518
- - **Action Required**: Add input validation and error handling
519
-
520
- 2. **Unauthorized Access Not Blocked**: [Scenario]
521
- - **Problem**: Feature allows unauthorized access
522
- - **Expected**: Proper 401/403 errors
523
- - **Action Required**: Add authorization checks
524
-
525
- 3. **Missing Data Not Handled**: [Scenario]
526
- - **Problem**: Feature crashes or behaves incorrectly with missing data
527
- - **Expected**: Graceful handling with clear error messages
528
- - **Action Required**: Add null/undefined checks
529
-
530
- ### Edge Case Issues
531
- 1. **Edge Case Not Handled**: [Edge case from spec]
532
- - **Feature Spec Section**: [Reference]
533
- - **Problem**: [What doesn't work]
534
- - **Action Required**: [What needs to be fixed]
535
-
536
- ### Error Handling Issues
537
- 1. **Error Messages Not User-Friendly**: [Error scenario]
538
- - **Problem**: Error messages are technical or confusing
539
- - **Expected**: Clear, actionable error messages
540
- - **Action Required**: Improve error messages
541
-
542
- 2. **Error Recovery Not Possible**: [Error scenario]
543
- - **Problem**: Users can't recover from errors (dead-end)
544
- - **Expected**: Users can retry or fix issues
545
- - **Action Required**: Add error recovery paths
546
-
547
- ## Action Items for Implementation Agent
548
- - [ ] Fix critical blocker 1
549
- - [ ] Fix critical blocker 2
550
- - [ ] Fix user experience issue X
551
- - [ ] Update UI to match mock Y
552
- - [ ] Execute missing validation Z
553
- - [ ] Update evidence document with fixes
554
-
555
- ## Next Steps
556
- 1. Implementation agent addresses all feedback items
557
- 2. Implementation agent updates `docs/evidence/{issue}-implementation-evidence.md`
558
- 3. Implementation agent marks issue `status:design-review-passed` again
559
- 4. Feature review agent will re-review (iteration {next_number})
560
- ```
561
-
562
- ## FINAL SUMMARY TEMPLATE (When Approving)
563
-
564
- Create `docs/evidence/{issue}-feature-review-summary.md` when approving:
565
-
566
- ```markdown
567
- # Feature Review Summary - Issue #{issue}
568
-
569
- ## Review Outcome
570
- - Status: ✅ APPROVED
571
- - Iterations: {number} (1-3)
572
- - Feature Spec Location: `docs/feature specs/{issue}-*.md`
573
-
574
- ## What Was Reviewed
575
- - Customer Problem: ✅ Solved
576
- - User Experience: All X steps working ✅
577
- - Validation Plan: All Y methods executed ✅
578
- - UI Mocks: Match ✅ (if applicable)
579
- - Authentication: Set up and working ✅
580
-
581
- ## Key Findings
582
- - Customer problem is solved
583
- - All user workflow steps work correctly
584
- - All validation methods executed with evidence
585
- - UI matches mocks (if applicable)
586
- - End-to-end testing completed with authentication
587
-
588
- ## Evidence Locations
589
- - Implementation Evidence: `docs/evidence/{issue}-implementation-evidence.md`
590
- - Design Review Summary: `docs/evidence/{issue}-design-review-summary.md`
591
- - Validation Evidence: [locations]
592
- - Screenshots: [locations]
593
-
594
- ## Final Status
595
- - Technical Review: ✅ Passed (from design review)
596
- - Functional Review: ✅ Passed (this review)
597
- - Ready for merge: ✅ Yes
598
- ```
599
-
600
- ## REVIEW EVIDENCE TEMPLATE (PR Comment)
601
-
602
- Add this as a PR comment:
603
-
604
- ```markdown
605
- # Feature Spec Review - Issue #{issue}
606
-
607
- ## Feature Spec Compliance Summary
608
- - Feature Spec Location: `docs/feature specs/{issue}-*.md`
609
- - Customer Problem: Solved ✅/❌
610
- - User Experience: Complete X/Y steps ✅/❌
611
- - Validation Plan: X/Y methods executed ✅/❌
612
- - UI Mocks: Match ✅/❌ (if applicable)
613
-
614
- ## Detailed Findings
615
-
616
- ### Customer Problem Verification
617
- - Problem Statement: [from spec]
618
- - Desired Outcome: [from spec]
619
- - Solution Status: ✅ Addresses problem / ❌ Doesn't address problem
620
- - Notes: [any concerns]
621
-
622
- ### Authentication Setup
623
- - Method Used: [Credentials provided / Cookie-driven browser session]
624
- - Status: ✅ Authenticated / ❌ Failed / ⚠️ Partial
625
- - Notes: [Any authentication issues encountered]
626
-
627
- ### User Experience Workflow Validation
628
- | Step | Description | Status | Evidence | Notes |
629
- |------|-------------|--------|----------|-------|
630
- | 1 | User clicks tab X | ✅ | Screenshot | Works correctly (tested with auth) |
631
- | 2 | User sees list Y | ❌ | Missing | List not rendering (tested with auth) |
632
- | 3 | User approves item Z | ⚠️ | Partial | Works but slow (tested with auth) |
633
-
634
- ### UI Mock Compliance (if applicable)
635
- | Mock Element | Spec | Implementation | Match | Notes |
636
- |--------------|------|----------------|-------|-------|
637
- | Layout | [description] | [description] | ✅ | Matches |
638
- | Component X | [description] | [description] | ❌ | Missing feature Y |
639
-
640
- ### Validation Plan Execution
641
- | Validation Method | Required | Executed | Result | Evidence | Auth Status |
642
- |------------------|----------|----------|--------|----------|-------------|
643
- | Browser validation | Yes | ✅ | Pass | Screenshot in PR | ✅ Authenticated |
644
- | API validation | Yes | ❌ | Missing | No curl output | ⚠️ Auth token missing |
645
- | Database validation | Yes | ✅ | Pass | DB query results | N/A |
646
- | End-to-end workflow | Yes | ✅ | Pass | Full workflow screenshots | ✅ Cookie session |
647
-
648
- ### Edge Cases, Negative Cases, and Error Handling
649
- - Alternatives Considered: ✅ Matches chosen approach
650
- - Edge Cases: ✅ All tested / ⚠️ Some not tested / ❌ Issues found
651
- - Negative Cases: ✅ All tested / ⚠️ Some not tested / ❌ Issues found
652
- - Error Handling: ✅ User-friendly / ❌ Confusing
653
- - Error Recovery: ✅ Users can recover / ❌ Dead-ends found
654
-
655
- ### Functional Completeness
656
- - All Workflow Steps: ✅ Working
657
- - Broken Links: ✅ None found
658
- - Positive Cases: ✅ All working
659
- - Negative Cases: ✅ Handled gracefully / ❌ Not handled
660
- - Edge Cases: ✅ Handled / ❌ Issues found
661
- - Error States: ✅ Handled gracefully
662
- - Error Recovery: ✅ Users can recover / ❌ Dead-ends found
663
- - Success States: ✅ Work correctly
664
-
665
- ### Evidence Quality
666
- - Validation Evidence: ✅ Complete
667
- - Screenshots: ✅ Included for UI features
668
- - API Outputs: ⚠️ Missing for some endpoints
669
- - Database State: ✅ Included
670
-
671
- ## Decision
672
- ✅ APPROVE / ❌ REJECT / ⚠️ REQUEST CHANGES
673
-
674
- ## Feedback Document
675
- - Location: `docs/evidence/{issue}-feature-reviewer-feedback.md`
676
- - Iteration: {1, 2, or 3}
677
-
678
- ## Blockers (if any)
679
- 1. User workflow step X doesn't work (tested with authentication)
680
- 2. Validation method Y not executed
681
- 3. UI doesn't match mock Z
682
- 4. Customer problem not actually solved
683
-
684
- ## Next Steps (if REQUEST CHANGES)
685
- - [ ] Implementation agent addresses feedback in `docs/evidence/{issue}-feature-reviewer-feedback.md`
686
- - [ ] Implementation agent updates `docs/evidence/{issue}-implementation-evidence.md`
687
- - [ ] Implementation agent marks `status:design-review-passed` for re-review
688
- - [ ] Feature review agent will re-review (max 3 iterations)
689
- ```
690
-
691
- ## EXAMPLES
692
-
693
- ### Good: Complete Review
694
- ```
695
- Issue #533: Feature Spec Review
696
- ✅ Customer Problem: Solved
697
- ✅ User Experience: 5/5 steps working
698
- ✅ Validation Plan: 4/4 methods executed
699
- ✅ UI Mocks: Match
700
- ✅ Authentication: Cookie session working
701
- Decision: ✅ APPROVE
702
- ```
703
-
704
- ### Bad: Incomplete Review
705
- ```
706
- Issue #533: Feature Spec Review
707
- ❌ Customer Problem: Not fully addressed
708
- ⚠️ User Experience: 3/5 steps working (2 broken)
709
- ❌ Validation Plan: 2/4 methods executed (2 missing)
710
- ❌ UI Mocks: Don't match
711
- Decision: ❌ REJECT
712
- Blockers: Broken workflow steps, missing validations
713
- ```
714
-
715
- ## INTEGRATION
716
-
717
- ### Status Label Flow
718
- ```
719
- status:design-review-passed
720
- ↓ (Feature Spec Review)
721
- status:feature-review-passed (or status:wip if rejected)
722
- ↓ (Final approval)
723
- Ready for merge
724
- ```
725
-
726
- ### After This Review
727
- - If APPROVE: Issue ready for final approval/merge
728
- - If REJECT: Issue returns to implementation (status:wip)
729
- - Implementation agent addresses blockers and re-submits
730
-
731
- ### Relationship to Design Spec Review
732
- - Design Spec Review validates technical correctness
733
- - Feature Spec Review validates user value and experience
734
- - Both must pass for issue to be complete