fraim-framework 2.0.65 → 2.0.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/registry/ai-manager-rules/customer-development-phases/phase1-customer-profiling.md +101 -0
- package/dist/registry/ai-manager-rules/customer-development-phases/phase2-platform-discovery.md +235 -0
- package/dist/registry/ai-manager-rules/customer-development-phases/phase3-prospect-qualification.md +243 -0
- package/dist/registry/ai-manager-rules/customer-development-phases/phase4-inventory-compilation.md +206 -0
- package/dist/registry/ai-manager-rules/design-phases/design-completeness-review.md +73 -0
- package/dist/registry/ai-manager-rules/design-phases/design-design.md +145 -0
- package/dist/registry/ai-manager-rules/design-phases/design.md +108 -0
- package/dist/registry/ai-manager-rules/design-phases/finalize.md +60 -0
- package/dist/registry/ai-manager-rules/design-phases/validate.md +125 -0
- package/dist/registry/ai-manager-rules/design.json +97 -0
- package/dist/registry/ai-manager-rules/implement-phases/code.md +323 -0
- package/dist/registry/ai-manager-rules/implement-phases/completeness-review.md +94 -0
- package/dist/registry/ai-manager-rules/implement-phases/finalize.md +177 -0
- package/dist/registry/ai-manager-rules/implement-phases/implement-code.md +283 -0
- package/dist/registry/ai-manager-rules/implement-phases/implement-completeness-review.md +120 -0
- package/dist/registry/ai-manager-rules/implement-phases/implement-regression.md +173 -0
- package/dist/registry/ai-manager-rules/implement-phases/implement-repro.md +104 -0
- package/dist/registry/ai-manager-rules/implement-phases/implement-scoping.md +100 -0
- package/dist/registry/ai-manager-rules/implement-phases/implement-smoke.md +237 -0
- package/dist/registry/ai-manager-rules/implement-phases/implement-spike.md +121 -0
- package/dist/registry/ai-manager-rules/implement-phases/implement-validate.md +375 -0
- package/dist/registry/ai-manager-rules/implement-phases/quality-review.md +304 -0
- package/dist/registry/ai-manager-rules/implement-phases/regression.md +159 -0
- package/dist/registry/ai-manager-rules/implement-phases/repro.md +101 -0
- package/dist/registry/ai-manager-rules/implement-phases/scoping.md +93 -0
- package/dist/registry/ai-manager-rules/implement-phases/smoke.md +225 -0
- package/dist/registry/ai-manager-rules/implement-phases/spike.md +118 -0
- package/dist/registry/ai-manager-rules/implement-phases/validate.md +347 -0
- package/dist/registry/ai-manager-rules/implement.json +153 -0
- package/dist/registry/ai-manager-rules/retrospective.md +116 -0
- package/dist/registry/ai-manager-rules/shared-phases/address-pr-feedback.md +188 -0
- package/dist/registry/ai-manager-rules/shared-phases/finalize.md +169 -0
- package/dist/registry/ai-manager-rules/shared-phases/submit-pr.md +202 -0
- package/dist/registry/ai-manager-rules/shared-phases/wait-for-pr-review.md +170 -0
- package/dist/registry/ai-manager-rules/spec-phases/finalize.md +60 -0
- package/dist/registry/ai-manager-rules/spec-phases/spec-competitor-analysis.md +105 -0
- package/dist/registry/ai-manager-rules/spec-phases/spec-completeness-review.md +66 -0
- package/dist/registry/ai-manager-rules/spec-phases/spec-spec.md +139 -0
- package/dist/registry/ai-manager-rules/spec-phases/spec.md +102 -0
- package/dist/registry/ai-manager-rules/spec-phases/validate.md +118 -0
- package/dist/registry/ai-manager-rules/spec.json +112 -0
- package/dist/registry/ai-manager-rules/test.json +98 -0
- package/dist/registry/ai-manager-rules/user-survey-phases/phase1-survey-scoping.md +60 -0
- package/dist/registry/ai-manager-rules/user-survey-phases/phase2-survey-build-linkedin.md +23 -0
- package/dist/registry/ai-manager-rules/user-survey-phases/phase3-survey-build-reddit.md +22 -0
- package/dist/registry/ai-manager-rules/user-survey-phases/phase4-survey-build-x.md +21 -0
- package/dist/registry/ai-manager-rules/user-survey-phases/phase5-survey-build-facebook.md +19 -0
- package/dist/registry/ai-manager-rules/user-survey-phases/phase6-survey-build-custom.md +15 -0
- package/dist/registry/ai-manager-rules/user-survey-phases/phase7-survey-dispatch.md +45 -0
- package/dist/registry/delivery/address-feedback.md +83 -0
- package/dist/registry/delivery/retrospective.md +78 -0
- package/dist/registry/delivery/submit.md +79 -0
- package/dist/registry/providers/ado.json +19 -0
- package/dist/registry/providers/delivery-conversation.json +9 -0
- package/dist/registry/providers/delivery-pr.json +9 -0
- package/dist/registry/providers/github.json +19 -0
- package/dist/registry/rules/agent-success-criteria.md +101 -0
- package/dist/registry/rules/agent-testing-guidelines.md +502 -0
- package/dist/registry/rules/architecture.md +126 -0
- package/dist/registry/rules/communication.md +122 -0
- package/dist/registry/rules/continuous-learning.md +55 -0
- package/dist/registry/rules/debugging-multitenancy-issues.md +85 -0
- package/dist/registry/rules/ephemeral-execution.md +54 -0
- package/dist/registry/rules/git-safe-commands.md +34 -0
- package/dist/registry/rules/hitl-ppe-record-analysis.md +302 -0
- package/dist/registry/rules/integrity-and-test-ethics.md +275 -0
- package/dist/registry/rules/local-development.md +275 -0
- package/dist/registry/rules/mandatory-pre-completion-reflection.md +193 -0
- package/dist/registry/rules/merge-requirements.md +238 -0
- package/dist/registry/rules/simplicity.md +118 -0
- package/dist/registry/rules/software-development-lifecycle.md +105 -0
- package/dist/registry/rules/spike-first-development.md +205 -0
- package/dist/registry/rules/successful-debugging-patterns.md +488 -0
- package/dist/registry/scripts/build-scripts-generator.js +205 -0
- package/dist/registry/scripts/cleanup-branch.js +287 -0
- package/dist/registry/scripts/evaluate-code-quality.js +66 -0
- package/dist/registry/scripts/exec-with-timeout.js +142 -0
- package/dist/registry/scripts/fraim-config.js +61 -0
- package/dist/registry/scripts/generate-engagement-emails.js +705 -0
- package/dist/registry/scripts/generic-issues-api.js +100 -0
- package/dist/registry/scripts/newsletter-helpers.js +671 -0
- package/dist/registry/scripts/openapi-generator.js +664 -0
- package/dist/registry/scripts/performance/profile-server.js +390 -0
- package/dist/registry/scripts/profile-server.js +389 -0
- package/dist/registry/scripts/run-thank-you-workflow.js +92 -0
- package/dist/registry/scripts/send-newsletter-simple.js +85 -0
- package/dist/registry/scripts/send-thank-you-emails.js +54 -0
- package/dist/registry/scripts/validate-openapi-limits.js +311 -0
- package/dist/registry/scripts/validate-test-coverage.js +262 -0
- package/dist/registry/scripts/verify-test-coverage.js +66 -0
- package/dist/registry/stubs/workflows/azure/cost-optimization.md +11 -0
- package/dist/registry/stubs/workflows/bootstrap/create-architecture.md +11 -0
- package/dist/registry/stubs/workflows/bootstrap/detect-broken-windows.md +11 -0
- package/dist/registry/stubs/workflows/bootstrap/evaluate-code-quality.md +11 -0
- package/dist/registry/stubs/workflows/bootstrap/verify-test-coverage.md +11 -0
- package/dist/registry/stubs/workflows/brainstorming/blue-sky-brainstorming.md +11 -0
- package/dist/registry/stubs/workflows/brainstorming/codebase-brainstorming.md +11 -0
- package/dist/registry/stubs/workflows/business-development/create-business-plan.md +11 -0
- package/dist/registry/stubs/workflows/business-development/ideate-business-opportunity.md +11 -0
- package/dist/registry/stubs/workflows/business-development/price-product.md +18 -0
- package/dist/registry/stubs/workflows/compliance/detect-compliance-requirements.md +11 -0
- package/dist/registry/stubs/workflows/compliance/generate-audit-evidence.md +11 -0
- package/dist/registry/stubs/workflows/compliance/soc2-evidence-generator.md +11 -0
- package/dist/registry/stubs/workflows/customer-development/insight-analysis.md +11 -0
- package/dist/registry/stubs/workflows/customer-development/insight-triage.md +11 -0
- package/dist/registry/stubs/workflows/customer-development/interview-preparation.md +11 -0
- package/dist/registry/stubs/workflows/customer-development/linkedin-outreach.md +11 -0
- package/dist/registry/stubs/workflows/customer-development/strategic-brainstorming.md +11 -0
- package/dist/registry/stubs/workflows/customer-development/thank-customers.md +11 -0
- package/dist/registry/stubs/workflows/customer-development/user-survey-dispatch.md +11 -0
- package/dist/registry/stubs/workflows/customer-development/users-to-target.md +11 -0
- package/dist/registry/stubs/workflows/customer-development/weekly-newsletter.md +11 -0
- package/dist/registry/stubs/workflows/deploy/cloud-deployment.md +11 -0
- package/dist/registry/stubs/workflows/improve-fraim/contribute.md +11 -0
- package/dist/registry/stubs/workflows/improve-fraim/file-issue.md +11 -0
- package/dist/registry/stubs/workflows/learning/build-skillset.md +11 -0
- package/dist/registry/stubs/workflows/learning/synthesize-learnings.md +11 -0
- package/dist/registry/stubs/workflows/legal/contract-review-analysis.md +11 -0
- package/dist/registry/stubs/workflows/legal/nda.md +11 -0
- package/dist/registry/stubs/workflows/legal/patent-filing.md +11 -0
- package/dist/registry/stubs/workflows/legal/saas-contract-development.md +11 -0
- package/dist/registry/stubs/workflows/legal/trademark-filing.md +11 -0
- package/dist/registry/stubs/workflows/marketing/content-creation.md +11 -0
- package/dist/registry/stubs/workflows/marketing/convert-to-pdf.md +11 -0
- package/dist/registry/stubs/workflows/marketing/create-modern-website.md +11 -0
- package/dist/registry/stubs/workflows/marketing/domain-registration.md +11 -0
- package/dist/registry/stubs/workflows/marketing/evangelize.md +11 -0
- package/dist/registry/stubs/workflows/marketing/hbr-article.md +11 -0
- package/dist/registry/stubs/workflows/marketing/launch-checklist.md +11 -0
- package/dist/registry/stubs/workflows/marketing/marketing-strategy.md +11 -0
- package/dist/registry/stubs/workflows/marketing/storytelling.md +11 -0
- package/dist/registry/stubs/workflows/performance/analyze-performance.md +11 -0
- package/dist/registry/stubs/workflows/product-building/design.md +11 -0
- package/dist/registry/stubs/workflows/product-building/implement.md +11 -0
- package/dist/registry/stubs/workflows/product-building/iterate-on-pr-comments.md +11 -0
- package/dist/registry/stubs/workflows/product-building/prep-issue.md +11 -0
- package/dist/registry/stubs/workflows/product-building/prototype.md +11 -0
- package/dist/registry/stubs/workflows/product-building/resolve.md +11 -0
- package/dist/registry/stubs/workflows/product-building/retrospect.md +11 -0
- package/dist/registry/stubs/workflows/product-building/spec.md +11 -0
- package/dist/registry/stubs/workflows/product-building/test.md +11 -0
- package/dist/registry/stubs/workflows/productivity-report/productivity-report.md +11 -0
- package/dist/registry/stubs/workflows/quality-assurance/browser-validation.md +11 -0
- package/dist/registry/stubs/workflows/quality-assurance/iterative-improvement-cycle.md +11 -0
- package/dist/registry/stubs/workflows/replicate/replicate-discovery.md +11 -0
- package/dist/registry/stubs/workflows/replicate/replicate-to-issues.md +11 -0
- package/dist/registry/stubs/workflows/reviewer/review-implementation-vs-design-spec.md +11 -0
- package/dist/registry/stubs/workflows/reviewer/review-implementation-vs-feature-spec.md +11 -0
- package/dist/registry/stubs/workflows/startup-credits/aws-activate-application.md +11 -0
- package/dist/registry/stubs/workflows/startup-credits/google-cloud-application.md +11 -0
- package/dist/registry/stubs/workflows/startup-credits/microsoft-azure-application.md +11 -0
- package/dist/registry/templates/bootstrap/ARCHITECTURE-TEMPLATE.md +53 -0
- package/dist/registry/templates/bootstrap/CODE-QUALITY-REPORT-TEMPLATE.md +37 -0
- package/dist/registry/templates/bootstrap/TEST-COVERAGE-REPORT-TEMPLATE.md +35 -0
- package/dist/registry/templates/business-development/IDEATION-REPORT-TEMPLATE.md +29 -0
- package/dist/registry/templates/business-development/PRICING-STRATEGY-TEMPLATE.md +126 -0
- package/dist/registry/templates/customer-development/customer-interview-template.md +99 -0
- package/dist/registry/templates/customer-development/customer-persona-template.md +69 -0
- package/dist/registry/templates/customer-development/follow-up-email-templates.md +132 -0
- package/dist/registry/templates/customer-development/insight-analysis-template.md +74 -0
- package/dist/registry/templates/customer-development/prospect-inventory-template.csv +3 -0
- package/dist/registry/templates/customer-development/search-strategy-template.md +123 -0
- package/dist/registry/templates/customer-development/strategic-recommendations-template.md +53 -0
- package/dist/registry/templates/customer-development/thank-you-email-template.html +124 -0
- package/dist/registry/templates/customer-development/thank-you-note-template.md +16 -0
- package/dist/registry/templates/customer-development/triage-log-template.md +278 -0
- package/dist/registry/templates/customer-development/weekly-newsletter-template.html +204 -0
- package/dist/registry/templates/evidence/Design-Evidence.md +30 -0
- package/dist/registry/templates/evidence/Implementation-BugEvidence.md +122 -0
- package/dist/registry/templates/evidence/Implementation-FeatureEvidence.md +160 -0
- package/dist/registry/templates/evidence/Spec-Evidence.md +19 -0
- package/dist/registry/templates/help/HelpNeeded.md +14 -0
- package/dist/registry/templates/legal/NDA-TEMPLATE.md +170 -0
- package/dist/registry/templates/legal/PATENT-TEMPLATE.md +372 -0
- package/dist/registry/templates/legal/TRADEMARK-TEMPLATE.md +339 -0
- package/dist/registry/templates/legal/contract-review-checklist.md +193 -0
- package/dist/registry/templates/legal/review-report-template.md +198 -0
- package/dist/registry/templates/legal/saas-terms-template.md +174 -0
- package/dist/registry/templates/legal/sow-template.md +117 -0
- package/dist/registry/templates/legal/template-variables.md +131 -0
- package/dist/registry/templates/marketing/DOMAIN-REGISTRATION-TEMPLATE.md +194 -0
- package/dist/registry/templates/marketing/EVANGELIZE-TEMPLATE.md +102 -0
- package/dist/registry/templates/marketing/HBR-ARTICLE-TEMPLATE.md +66 -0
- package/dist/registry/templates/marketing/STORYTELLING-TEMPLATE.md +130 -0
- package/dist/registry/templates/marketing/WEBSITE-TEMPLATE.md +262 -0
- package/dist/registry/templates/marketing/github-pages-workflow.yml +64 -0
- package/dist/registry/templates/replicate/implementation-checklist.md +39 -0
- package/dist/registry/templates/replicate/use-cases-template.md +88 -0
- package/dist/registry/templates/retrospective/RETROSPECTIVE-TEMPLATE.md +55 -0
- package/dist/registry/templates/specs/BUGSPEC-TEMPLATE.md +37 -0
- package/dist/registry/templates/specs/FEATURESPEC-TEMPLATE.md +66 -0
- package/dist/registry/templates/specs/TECHSPEC-TEMPLATE.md +39 -0
- package/dist/registry/workflows/azure/cost-optimization.md +772 -0
- package/dist/registry/workflows/bootstrap/create-architecture.md +37 -0
- package/dist/registry/workflows/bootstrap/detect-broken-windows.md +300 -0
- package/dist/registry/workflows/bootstrap/evaluate-code-quality.md +35 -0
- package/dist/registry/workflows/bootstrap/verify-test-coverage.md +36 -0
- package/dist/registry/workflows/brainstorming/blue-sky-brainstorming.md +211 -0
- package/dist/registry/workflows/brainstorming/codebase-brainstorming.md +159 -0
- package/dist/registry/workflows/business-development/create-business-plan.md +737 -0
- package/dist/registry/workflows/business-development/ideate-business-opportunity.md +55 -0
- package/dist/registry/workflows/business-development/price-product.md +325 -0
- package/dist/registry/workflows/compliance/detect-compliance-requirements.md +80 -0
- package/dist/registry/workflows/compliance/generate-audit-evidence.md +80 -0
- package/dist/registry/workflows/compliance/soc2-evidence-generator.md +332 -0
- package/dist/registry/workflows/customer-development/insight-analysis.md +156 -0
- package/dist/registry/workflows/customer-development/insight-triage.md +933 -0
- package/dist/registry/workflows/customer-development/interview-preparation.md +452 -0
- package/dist/registry/workflows/customer-development/linkedin-outreach.md +599 -0
- package/dist/registry/workflows/customer-development/strategic-brainstorming.md +146 -0
- package/dist/registry/workflows/customer-development/thank-customers.md +203 -0
- package/dist/registry/workflows/customer-development/user-survey-dispatch.md +312 -0
- package/dist/registry/workflows/customer-development/users-to-target.md +427 -0
- package/dist/registry/workflows/customer-development/weekly-newsletter.md +366 -0
- package/dist/registry/workflows/deploy/cloud-deployment.md +310 -0
- package/dist/registry/workflows/improve-fraim/contribute.md +32 -0
- package/dist/registry/workflows/improve-fraim/file-issue.md +32 -0
- package/dist/registry/workflows/learning/build-skillset.md +212 -0
- package/dist/registry/workflows/learning/synthesize-learnings.md +369 -0
- package/dist/registry/workflows/legal/contract-review-analysis.md +382 -0
- package/dist/registry/workflows/legal/nda.md +69 -0
- package/dist/registry/workflows/legal/patent-filing.md +76 -0
- package/dist/registry/workflows/legal/saas-contract-development.md +204 -0
- package/dist/registry/workflows/legal/trademark-filing.md +77 -0
- package/dist/registry/workflows/marketing/content-creation.md +40 -0
- package/dist/registry/workflows/marketing/convert-to-pdf.md +265 -0
- package/dist/registry/workflows/marketing/create-modern-website.md +456 -0
- package/dist/registry/workflows/marketing/domain-registration.md +323 -0
- package/dist/registry/workflows/marketing/evangelize.md +426 -0
- package/dist/registry/workflows/marketing/hbr-article.md +73 -0
- package/dist/registry/workflows/marketing/launch-checklist.md +37 -0
- package/dist/registry/workflows/marketing/marketing-strategy.md +45 -0
- package/dist/registry/workflows/marketing/storytelling.md +65 -0
- package/dist/registry/workflows/performance/analyze-performance.md +65 -0
- package/dist/registry/workflows/product-building/design.md +263 -0
- package/dist/registry/workflows/product-building/implement.md +771 -0
- package/dist/registry/workflows/product-building/iterate-on-pr-comments.md +70 -0
- package/dist/registry/workflows/product-building/prep-issue.md +41 -0
- package/dist/registry/workflows/product-building/prototype.md +60 -0
- package/dist/registry/workflows/product-building/resolve.md +175 -0
- package/dist/registry/workflows/product-building/retrospect.md +86 -0
- package/dist/registry/workflows/product-building/spec.md +303 -0
- package/dist/registry/workflows/product-building/test.md +125 -0
- package/dist/registry/workflows/productivity-report/productivity-report.md +263 -0
- package/dist/registry/workflows/quality-assurance/browser-validation.md +221 -0
- package/dist/registry/workflows/quality-assurance/iterative-improvement-cycle.md +562 -0
- package/dist/registry/workflows/replicate/replicate-discovery.md +336 -0
- package/dist/registry/workflows/replicate/replicate-to-issues.md +319 -0
- package/dist/registry/workflows/reviewer/review-implementation-vs-design-spec.md +694 -0
- package/dist/registry/workflows/reviewer/review-implementation-vs-feature-spec.md +734 -0
- package/dist/registry/workflows/startup-credits/aws-activate-application.md +535 -0
- package/dist/registry/workflows/startup-credits/google-cloud-application.md +647 -0
- package/dist/registry/workflows/startup-credits/microsoft-azure-application.md +538 -0
- package/package.json +2 -1
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
# Phase: Finalize
|
|
2
|
+
|
|
3
|
+
## INTENT
|
|
4
|
+
To prepare the work for human review by updating issue labels, creating evidence documentation, and ensuring all artifacts are in place.
|
|
5
|
+
|
|
6
|
+
## OUTCOME
|
|
7
|
+
Work is ready for human review with:
|
|
8
|
+
- Issue labels updated
|
|
9
|
+
- Evidence document created
|
|
10
|
+
- PR ready for review
|
|
11
|
+
- All validation complete
|
|
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
|
+
|
|
41
|
+
**Add:**
|
|
42
|
+
- `status:needs-review`
|
|
43
|
+
|
|
44
|
+
**GitHub Repository Context:**
|
|
45
|
+
Read `.fraim/config.json` for:
|
|
46
|
+
- `git.repoOwner` - GitHub repository owner
|
|
47
|
+
- `git.repoName` - GitHub repository name
|
|
48
|
+
|
|
49
|
+
Use GitHub MCP tools to update labels.
|
|
50
|
+
|
|
51
|
+
### Step 2: Create Evidence Document
|
|
52
|
+
|
|
53
|
+
**File location:**
|
|
54
|
+
```
|
|
55
|
+
docs/evidence/{issue_number}-implementation-evidence.md
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
**Evidence document should include:**
|
|
59
|
+
|
|
60
|
+
#### Summary
|
|
61
|
+
- Issue number and title
|
|
62
|
+
- Issue type (bug or feature)
|
|
63
|
+
- Brief description of changes
|
|
64
|
+
|
|
65
|
+
#### Implementation Details
|
|
66
|
+
- What was implemented
|
|
67
|
+
- Key files changed
|
|
68
|
+
- Approach taken
|
|
69
|
+
|
|
70
|
+
#### Testing
|
|
71
|
+
- Tests created/modified
|
|
72
|
+
- Test results (all passing)
|
|
73
|
+
- Smoke test results
|
|
74
|
+
- Regression test results
|
|
75
|
+
|
|
76
|
+
#### Validation
|
|
77
|
+
- How implementation was validated
|
|
78
|
+
- Validation results
|
|
79
|
+
- Screenshots/output (if applicable)
|
|
80
|
+
|
|
81
|
+
#### Quality Checks
|
|
82
|
+
- TypeScript compilation: ✅ Pass
|
|
83
|
+
- All tests: ✅ Pass (X/X tests)
|
|
84
|
+
- Code quality: ✅ Pass
|
|
85
|
+
- Git status: ✅ Clean
|
|
86
|
+
|
|
87
|
+
#### Design Feedback (if applicable)
|
|
88
|
+
- Feedback items addressed
|
|
89
|
+
- How each was resolved
|
|
90
|
+
|
|
91
|
+
#### Phase Completion
|
|
92
|
+
- All phases completed
|
|
93
|
+
- Evidence from each phase
|
|
94
|
+
- Any iterations or challenges
|
|
95
|
+
|
|
96
|
+
### Step 3: Verify PR Exists
|
|
97
|
+
|
|
98
|
+
The GitHub Action should have created a draft PR when you labeled the issue `phase:impl`.
|
|
99
|
+
|
|
100
|
+
**Verify PR:**
|
|
101
|
+
- PR exists for the feature branch
|
|
102
|
+
- PR title reflects the issue
|
|
103
|
+
- PR description includes context
|
|
104
|
+
|
|
105
|
+
**If PR doesn't exist:**
|
|
106
|
+
- Create PR manually
|
|
107
|
+
- Link to issue
|
|
108
|
+
- Add evidence document link
|
|
109
|
+
|
|
110
|
+
### Step 4: Add PR Comment
|
|
111
|
+
|
|
112
|
+
Add comment to PR with link to evidence:
|
|
113
|
+
```
|
|
114
|
+
Implementation complete. Evidence document: docs/evidence/{issue_number}-implementation-evidence.md
|
|
115
|
+
|
|
116
|
+
All phases completed:
|
|
117
|
+
✅ Scoping
|
|
118
|
+
✅ Repro/Spike
|
|
119
|
+
✅ Implementation
|
|
120
|
+
✅ Validation
|
|
121
|
+
✅ Smoke Tests
|
|
122
|
+
✅ Regression Tests
|
|
123
|
+
✅ Quality Review
|
|
124
|
+
✅ Finalize
|
|
125
|
+
|
|
126
|
+
Ready for human review.
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### Step 5: Final Verification
|
|
130
|
+
|
|
131
|
+
**Checklist:**
|
|
132
|
+
- ✅ Issue labels updated
|
|
133
|
+
- ✅ Evidence document created and complete
|
|
134
|
+
- ✅ PR exists and is ready
|
|
135
|
+
- ✅ PR comment added with evidence link
|
|
136
|
+
- ✅ All tests passing
|
|
137
|
+
- ✅ Git status clean
|
|
138
|
+
|
|
139
|
+
## VALIDATION
|
|
140
|
+
|
|
141
|
+
### Phase Complete When:
|
|
142
|
+
- ✅ Issue has `status:needs-review` label
|
|
143
|
+
- ✅ Issue does not have `status:wip` label
|
|
144
|
+
- ✅ Evidence document exists and is complete
|
|
145
|
+
- ✅ PR exists and is ready for review
|
|
146
|
+
- ✅ PR has comment linking to evidence
|
|
147
|
+
- ✅ All previous phases complete
|
|
148
|
+
|
|
149
|
+
### Phase Incomplete If:
|
|
150
|
+
- ❌ Labels not updated
|
|
151
|
+
- ❌ Evidence document missing or incomplete
|
|
152
|
+
- ❌ PR not ready
|
|
153
|
+
- ❌ Previous phases not complete
|
|
154
|
+
|
|
155
|
+
**Create evidence document:**
|
|
156
|
+
```bash
|
|
157
|
+
touch docs/evidence/{issue_number}-implementation-evidence.md
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
### Report Back:
|
|
161
|
+
When you complete this phase, call:
|
|
162
|
+
|
|
163
|
+
```javascript
|
|
164
|
+
seekCoachingOnNextStep({
|
|
165
|
+
workflowType: "implement",
|
|
166
|
+
issueNumber: "{issue_number}",
|
|
167
|
+
currentPhase: "finalize",
|
|
168
|
+
status: "complete",
|
|
169
|
+
evidence: {
|
|
170
|
+
labelsUpdated: "Issue has status:needs-review label",
|
|
171
|
+
evidenceDocument: "docs/evidence/456-implementation-evidence.md created",
|
|
172
|
+
prStatus: "PR ready for review",
|
|
173
|
+
prComment: "PR comment added with evidence link",
|
|
174
|
+
allPhasesComplete: "All implementation phases completed successfully"
|
|
175
|
+
}
|
|
176
|
+
})
|
|
177
|
+
```
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
# Phase: Code
|
|
2
|
+
|
|
3
|
+
## INTENT
|
|
4
|
+
To write the minimal, testable code needed to fix the bug or implement the feature, following approved designs and established patterns.
|
|
5
|
+
|
|
6
|
+
## OUTCOME
|
|
7
|
+
Working implementation that:
|
|
8
|
+
- Fixes the bug or implements the feature
|
|
9
|
+
- Follows approved design/RFC
|
|
10
|
+
- Includes comprehensive tests
|
|
11
|
+
- Maintains code quality
|
|
12
|
+
- Is ready for validation
|
|
13
|
+
|
|
14
|
+
## 🎯 SUCCESS MINDSET
|
|
15
|
+
|
|
16
|
+
**Your Goal**: Working application that users can actually use, not just passing tests.
|
|
17
|
+
|
|
18
|
+
**Critical Success Factors**:
|
|
19
|
+
- 🔍 **Manual validation is MANDATORY** - You WILL test in browser/API/CLI manually
|
|
20
|
+
- ⚠️ **Every error must be investigated** - No assumptions, no "that's probably fine"
|
|
21
|
+
- 🚫 **No placeholder code** - Implement complete solutions, no task placeholders or "for now" comments
|
|
22
|
+
- 📊 **100% test success required** - 91% is failure, 99% is failure, only 100% is success
|
|
23
|
+
- 🏗️ **Prototype-first** - Build simplest end-to-end solution, then engineer it properly
|
|
24
|
+
|
|
25
|
+
## RULES FOR THIS PHASE
|
|
26
|
+
|
|
27
|
+
### Success Criteria
|
|
28
|
+
Read `registry/rules/agent-success-criteria.md` via `get_fraim_file` for the complete framework. Focus especially on:
|
|
29
|
+
- **Integrity** (never claim tests pass if you didn't run them)
|
|
30
|
+
- **Correctness** (follow architecture, tests must pass, no `any` types)
|
|
31
|
+
- **Completeness** (implement everything in the issue description)
|
|
32
|
+
|
|
33
|
+
### Simplicity Principles
|
|
34
|
+
Read `registry/rules/simplicity.md` via `get_fraim_file` for complete guidelines. Critical for coding phase:
|
|
35
|
+
- **Prototype-First Development**: Build simplest solution that works end-to-end, validate manually, then engineer correctly
|
|
36
|
+
- **Manual Validation Required**: Test with browser/curl before creating automated tests
|
|
37
|
+
- **Resource Waste Prevention**: Maximum 2 retries for expensive operations
|
|
38
|
+
- **NEVER use placeholder comments** like "For now", "task placeholders", "fix-me notes"
|
|
39
|
+
|
|
40
|
+
### Architecture Compliance
|
|
41
|
+
Read `.fraim/config.json` for the architecture document path (`customizations.architectureDoc`), then read the local architecture document to understand the full architecture guidelines. Follow all architectural standards - no shortcuts.
|
|
42
|
+
|
|
43
|
+
### Git Operations (if needed)
|
|
44
|
+
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.
|
|
45
|
+
|
|
46
|
+
### Failure Handling
|
|
47
|
+
- **If implementation fails**: Return to implement-scoping phase to re-understand requirements
|
|
48
|
+
- **If tests fail**: Fix implementation until all tests pass
|
|
49
|
+
- **If architecture violations**: Return to implement-scoping to understand constraints better
|
|
50
|
+
|
|
51
|
+
## PRINCIPLES
|
|
52
|
+
- **Design-Driven**: Follow approved RFCs and design documents
|
|
53
|
+
- **Minimal Implementation**: Write only code needed for this issue
|
|
54
|
+
- **Test-First**: Write tests before or alongside implementation
|
|
55
|
+
- **Quality Focus**: Maintain code quality and follow patterns
|
|
56
|
+
- **Complete**: All aspects of design/spec implemented
|
|
57
|
+
|
|
58
|
+
## 📋 ENHANCED WORKFLOW
|
|
59
|
+
|
|
60
|
+
### Step 1: Prototype-First Development
|
|
61
|
+
|
|
62
|
+
**Build Simplest End-to-End Solution**:
|
|
63
|
+
- Focus on getting something working, not perfect
|
|
64
|
+
- Don't worry about code quality initially
|
|
65
|
+
- Prove the approach works before optimizing
|
|
66
|
+
- Get basic functionality working first
|
|
67
|
+
|
|
68
|
+
**Manual Validation (CRITICAL)**:
|
|
69
|
+
- Test every step manually using browser/curl/CLI
|
|
70
|
+
- Verify each acceptance criteria works
|
|
71
|
+
- Take screenshots/capture output as evidence
|
|
72
|
+
- Fix any issues found immediately
|
|
73
|
+
|
|
74
|
+
### Step 2: Review Design/Spec
|
|
75
|
+
|
|
76
|
+
**For Bugs:**
|
|
77
|
+
- Review bug description and repro test
|
|
78
|
+
- Understand root cause
|
|
79
|
+
- Plan minimal fix
|
|
80
|
+
|
|
81
|
+
**For Features:**
|
|
82
|
+
- Review approved RFC/design document
|
|
83
|
+
- Review spike/POC findings (if applicable)
|
|
84
|
+
- Understand all acceptance criteria
|
|
85
|
+
- Plan implementation approach
|
|
86
|
+
|
|
87
|
+
### Step 3: Check for Design and PR Feedback
|
|
88
|
+
|
|
89
|
+
**CRITICAL**: Before implementing, check for feedback:
|
|
90
|
+
- **Design Review Feedback**: `docs/evidence/{issue_number}-design-reviewer-feedback.md`
|
|
91
|
+
- **Feature Review Feedback**: `docs/evidence/{issue_number}-feature-reviewer-feedback.md`
|
|
92
|
+
- **PR Review Feedback**: `docs/evidence/{issue_number}-implement-feedback.md`
|
|
93
|
+
|
|
94
|
+
**If any feedback exists:**
|
|
95
|
+
- **MUST address all UNADDRESSED items** before proceeding
|
|
96
|
+
- Update feedback files after addressing each item
|
|
97
|
+
- Change status from UNADDRESSED to ADDRESSED with resolution details
|
|
98
|
+
- Cannot skip or defer feedback items
|
|
99
|
+
- Phase cannot complete until all feedback is addressed
|
|
100
|
+
|
|
101
|
+
**PR Feedback File Format** (if exists):
|
|
102
|
+
```markdown
|
|
103
|
+
### Comment X - ADDRESSED
|
|
104
|
+
- **Author**: reviewer_name
|
|
105
|
+
- **Comment**: Original feedback
|
|
106
|
+
- **Status**: ADDRESSED
|
|
107
|
+
- **Resolution**: How you addressed this feedback
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### Step 4: Implement Changes
|
|
111
|
+
|
|
112
|
+
**For Bugs:**
|
|
113
|
+
- Make minimal changes to fix the issue
|
|
114
|
+
- Focus on root cause, not symptoms
|
|
115
|
+
- Avoid unrelated changes
|
|
116
|
+
- Keep diff small and focused
|
|
117
|
+
|
|
118
|
+
**For Features:**
|
|
119
|
+
- Implement all aspects from design/spec
|
|
120
|
+
- Follow existing patterns and architecture
|
|
121
|
+
- Create necessary files/modules
|
|
122
|
+
- Implement all API contracts
|
|
123
|
+
- Implement all data models
|
|
124
|
+
- Implement all user interfaces
|
|
125
|
+
- No placeholder code for core functionality
|
|
126
|
+
|
|
127
|
+
### Step 5: Fix All Errors (MANDATORY)
|
|
128
|
+
|
|
129
|
+
**Error Investigation Requirements**:
|
|
130
|
+
- **Every error in logs must be investigated**
|
|
131
|
+
- **No error is "expected" until proven**
|
|
132
|
+
- **Fix root causes, not symptoms**
|
|
133
|
+
- **Document why any remaining errors are acceptable**
|
|
134
|
+
|
|
135
|
+
**Common Error Sources**:
|
|
136
|
+
- Server startup errors
|
|
137
|
+
- API connection errors
|
|
138
|
+
- Database connection errors
|
|
139
|
+
- TypeScript compilation errors
|
|
140
|
+
- Test execution errors
|
|
141
|
+
|
|
142
|
+
### Step 6: Write Comprehensive Tests
|
|
143
|
+
|
|
144
|
+
**MANDATORY**: Every issue requires tests - no exceptions.
|
|
145
|
+
|
|
146
|
+
**For Bugs:**
|
|
147
|
+
- Verify repro test from implement-repro phase now passes
|
|
148
|
+
- Add additional edge case tests if needed
|
|
149
|
+
- Ensure tests cover the fix
|
|
150
|
+
|
|
151
|
+
**For Features:**
|
|
152
|
+
- Write tests for all acceptance criteria
|
|
153
|
+
- Test main user scenarios
|
|
154
|
+
- Test edge cases
|
|
155
|
+
- Test error conditions
|
|
156
|
+
- Read `.fraim/config.json` for the architecture document path (`customizations.architectureDoc`), then read the local architecture document to understand the full test architecture standards
|
|
157
|
+
|
|
158
|
+
**Test Requirements:**
|
|
159
|
+
- Use shared-server-utils.ts for server tests
|
|
160
|
+
- Unique API keys per test
|
|
161
|
+
- Proper cleanup in finally blocks
|
|
162
|
+
- No individual server instances
|
|
163
|
+
- Proper timeouts (5-10s for network calls)
|
|
164
|
+
- Tests must validate real functionality, not mocks
|
|
165
|
+
- No tests that default to passing
|
|
166
|
+
|
|
167
|
+
**Test Tagging Guidelines:**
|
|
168
|
+
Tag tests appropriately to ensure proper test suite execution:
|
|
169
|
+
|
|
170
|
+
- **`smoke`**: Tag tests as "smoke" if they verify:
|
|
171
|
+
- Core system functionality (CLI commands, server startup, basic workflows)
|
|
172
|
+
- Critical user journeys (init, sync, basic operations)
|
|
173
|
+
- Integration points between major components
|
|
174
|
+
- Functionality that, if broken, would make the system unusable
|
|
175
|
+
|
|
176
|
+
- **`integration`**: Tests that verify multiple components working together
|
|
177
|
+
- **`unit`**: Tests that verify individual functions or classes in isolation
|
|
178
|
+
- **`e2e`**: End-to-end tests that verify complete user workflows
|
|
179
|
+
|
|
180
|
+
### Step 7: Basic Compilation Check
|
|
181
|
+
|
|
182
|
+
**Verify code compiles:**
|
|
183
|
+
|
|
184
|
+
**Build Commands**: Always check `.fraim/config.json` first for `customizations.validation.buildCommand`, use that if available, otherwise default to `npm run build`.
|
|
185
|
+
|
|
186
|
+
**What to Look For**:
|
|
187
|
+
- Exit code 0 (success)
|
|
188
|
+
- No TypeScript compilation errors
|
|
189
|
+
- Clean build output
|
|
190
|
+
|
|
191
|
+
**Must exit with code 0** (no errors)
|
|
192
|
+
|
|
193
|
+
If compilation fails:
|
|
194
|
+
- Fix TypeScript errors
|
|
195
|
+
- Re-compile
|
|
196
|
+
- Iterate until clean
|
|
197
|
+
|
|
198
|
+
**Note**: Full validation, testing, and manual verification will be handled in subsequent phases (implement-validate, implement-smoke, implement-regression).
|
|
199
|
+
|
|
200
|
+
## 📸 EVIDENCE REQUIREMENTS
|
|
201
|
+
|
|
202
|
+
You MUST provide concrete evidence for all claims:
|
|
203
|
+
|
|
204
|
+
1. **Implementation Complete**: Code written per design/spec
|
|
205
|
+
2. **Tests Written**: Comprehensive test coverage for new functionality
|
|
206
|
+
3. **Compilation Success**: TypeScript compiles without errors
|
|
207
|
+
4. **Basic Functionality**: Code implements the required features/fixes
|
|
208
|
+
|
|
209
|
+
**Note**: Screenshots, manual validation, server logs, and API responses will be captured in the implement-validate phase.
|
|
210
|
+
|
|
211
|
+
## VALIDATION
|
|
212
|
+
|
|
213
|
+
### Phase Complete When:
|
|
214
|
+
- ✅ Implementation complete per design/spec
|
|
215
|
+
- ✅ (Bugs) Minimal, focused changes
|
|
216
|
+
- ✅ (Features) All design aspects implemented
|
|
217
|
+
- ✅ Tests written for new functionality
|
|
218
|
+
- ✅ TypeScript compiles cleanly
|
|
219
|
+
- ✅ Design feedback addressed (if applicable)
|
|
220
|
+
- ✅ **PR feedback addressed** (if `docs/evidence/{issue_number}-implement-feedback.md` exists)
|
|
221
|
+
- ✅ Code implements required features/fixes
|
|
222
|
+
|
|
223
|
+
### Phase Incomplete If:
|
|
224
|
+
- ❌ Design/spec not fully implemented
|
|
225
|
+
- ❌ No tests written for new functionality
|
|
226
|
+
- ❌ TypeScript compilation errors
|
|
227
|
+
- ❌ Design feedback not addressed
|
|
228
|
+
- ❌ **PR feedback not addressed** (UNADDRESSED items remain in feedback file)
|
|
229
|
+
- ❌ Code doesn't implement required functionality
|
|
230
|
+
|
|
231
|
+
### Report Back:
|
|
232
|
+
When you complete this phase, call:
|
|
233
|
+
|
|
234
|
+
```javascript
|
|
235
|
+
seekMentoring({
|
|
236
|
+
workflowType: "implement",
|
|
237
|
+
issueNumber: "{issue_number}",
|
|
238
|
+
currentPhase: "implement-code",
|
|
239
|
+
status: "complete",
|
|
240
|
+
findings: {
|
|
241
|
+
issueType: "bug", // or "feature" - Required for phase validation
|
|
242
|
+
evidence: "Brief summary of what you implemented and validated"
|
|
243
|
+
},
|
|
244
|
+
evidence: {
|
|
245
|
+
implementation: "Brief summary of what you implemented",
|
|
246
|
+
testsWritten: "Description of tests created for new functionality",
|
|
247
|
+
compilationStatus: "TypeScript compiles without errors",
|
|
248
|
+
feedbackAddressed: "All design/PR feedback addressed (if applicable)"
|
|
249
|
+
}
|
|
250
|
+
})
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
If implementation incomplete, iterate:
|
|
254
|
+
```javascript
|
|
255
|
+
seekMentoring({
|
|
256
|
+
workflowType: "implement",
|
|
257
|
+
issueNumber: "{issue_number}",
|
|
258
|
+
currentPhase: "implement-code",
|
|
259
|
+
status: "incomplete",
|
|
260
|
+
findings: {
|
|
261
|
+
issueType: "bug", // or "feature" - Required for phase validation
|
|
262
|
+
uncertainties: ["Issues encountered", "What needs to be fixed"]
|
|
263
|
+
}
|
|
264
|
+
})
|
|
265
|
+
```
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
## SCRIPTS
|
|
269
|
+
|
|
270
|
+
**Run tests:**
|
|
271
|
+
```bash
|
|
272
|
+
npm test -- path/to/test.test.ts
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
**Compile TypeScript:**
|
|
276
|
+
```bash
|
|
277
|
+
npx tsc --noEmit --skipLibCheck
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
**Start dev server (for manual testing in validate phase):**
|
|
281
|
+
```bash
|
|
282
|
+
npm run dev
|
|
283
|
+
```
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
# Phase: Implement-Completeness-Review
|
|
2
|
+
|
|
3
|
+
## INTENT
|
|
4
|
+
To verify that all design aspects have been implemented and that the work fully addresses the requirements from the design document or issue specification.
|
|
5
|
+
|
|
6
|
+
## OUTCOME
|
|
7
|
+
Confirmation that:
|
|
8
|
+
- All design aspects implemented
|
|
9
|
+
- All acceptance criteria met
|
|
10
|
+
- Implementation matches design specifications
|
|
11
|
+
- Work is complete and ready for finalization
|
|
12
|
+
|
|
13
|
+
## PRINCIPLES
|
|
14
|
+
- **Design Fidelity**: Implementation must match design specifications
|
|
15
|
+
- **Complete Coverage**: All design aspects must be addressed
|
|
16
|
+
- **Evidence-Based**: Use existing comprehensive review workflows
|
|
17
|
+
|
|
18
|
+
## WORKFLOW
|
|
19
|
+
|
|
20
|
+
### Step 1: Check for PR Feedback to Address
|
|
21
|
+
|
|
22
|
+
- Check for PR feedback file: `docs/evidence/{issue_number}-implement-feedback.md`
|
|
23
|
+
- If feedback file exists, verify all comments have been addressed before proceeding
|
|
24
|
+
|
|
25
|
+
**PR Feedback Validation:**
|
|
26
|
+
- Read the feedback file to see all previous review rounds
|
|
27
|
+
- Ensure all items marked as UNADDRESSED have been resolved
|
|
28
|
+
- Update feedback file with ADDRESSED status and resolution details
|
|
29
|
+
- Cannot proceed until all feedback items are properly addressed
|
|
30
|
+
|
|
31
|
+
**Expected behavior:**
|
|
32
|
+
- All UNADDRESSED items in feedback file must be resolved
|
|
33
|
+
- Each resolved item should have detailed resolution explanation
|
|
34
|
+
- Phase cannot complete with any remaining UNADDRESSED items
|
|
35
|
+
|
|
36
|
+
### Step 2: Execute Design Review Workflow
|
|
37
|
+
|
|
38
|
+
Use the comprehensive design validation workflow:
|
|
39
|
+
- Read `registry/workflows/reviewer/review-implementation-vs-design-spec.md` via `get_fraim_file`
|
|
40
|
+
- Follow the complete systematic review process
|
|
41
|
+
- This workflow provides detailed checklists, validation steps, and templates
|
|
42
|
+
- Works for both bugs and features - all should be reviewed against their design spec
|
|
43
|
+
|
|
44
|
+
### Step 3: Execute Review Workflow
|
|
45
|
+
|
|
46
|
+
**Follow the design review workflow completely:**
|
|
47
|
+
- Use all the checklists provided
|
|
48
|
+
- Execute all validation steps
|
|
49
|
+
- Create feedback documents using the templates
|
|
50
|
+
- Follow the iteration limits (max 3)
|
|
51
|
+
|
|
52
|
+
### Step 4: Architecture Compliance
|
|
53
|
+
|
|
54
|
+
Read `.fraim/config.json` for the architecture document path (`customizations.architectureDoc`), then read the local architecture document to understand the full architecture guidelines. Verify implementation follows all design standards.
|
|
55
|
+
|
|
56
|
+
## VALIDATION
|
|
57
|
+
|
|
58
|
+
### Phase Complete When:
|
|
59
|
+
- ✅ PR comments addressed (if applicable)
|
|
60
|
+
- ✅ PR comment verification script passes (if applicable)
|
|
61
|
+
- ✅ Appropriate review workflow executed completely
|
|
62
|
+
- ✅ All workflow checklists completed
|
|
63
|
+
- ✅ All design aspects verified per workflow
|
|
64
|
+
- ✅ Evidence quality meets workflow standards
|
|
65
|
+
- ✅ Feedback documents created using workflow templates
|
|
66
|
+
- ✅ Architecture compliance verified
|
|
67
|
+
|
|
68
|
+
### Phase Incomplete If:
|
|
69
|
+
- ❌ PR comments not properly addressed
|
|
70
|
+
- ❌ PR comment verification script fails
|
|
71
|
+
- ❌ Review workflow not followed completely
|
|
72
|
+
- ❌ Workflow checklists incomplete
|
|
73
|
+
- ❌ Design aspects not verified per workflow standards
|
|
74
|
+
- ❌ Evidence quality insufficient per workflow criteria
|
|
75
|
+
- ❌ Feedback documents missing or not using templates
|
|
76
|
+
|
|
77
|
+
### Report Back:
|
|
78
|
+
When you complete this phase, call:
|
|
79
|
+
|
|
80
|
+
```javascript
|
|
81
|
+
seekMentoring({
|
|
82
|
+
workflowType: "implement",
|
|
83
|
+
issueNumber: "{issue_number}",
|
|
84
|
+
currentPhase: "implement-completeness-review",
|
|
85
|
+
status: "complete",
|
|
86
|
+
findings: {
|
|
87
|
+
issueType: "bug" // or "feature" - Required for phase validation
|
|
88
|
+
},
|
|
89
|
+
evidence: {
|
|
90
|
+
reviewWorkflowUsed: "review-implementation-vs-design-spec", // Which workflow was used
|
|
91
|
+
workflowChecklistsComplete: "YES", // All checklists from workflow completed?
|
|
92
|
+
designAspectsVerified: "YES", // All design aspects verified per workflow?
|
|
93
|
+
evidenceQualityMet: "YES", // Evidence meets workflow standards?
|
|
94
|
+
feedbackDocumentsCreated: "YES", // Feedback documents created using templates?
|
|
95
|
+
architectureCompliant: "YES", // Architecture compliance verified?
|
|
96
|
+
reviewDecision: "APPROVE", // APPROVE/REQUEST_CHANGES/REJECT per workflow
|
|
97
|
+
summary: "Completed systematic design review using comprehensive workflow. All design aspects verified and documented."
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
If review reveals issues:
|
|
103
|
+
```javascript
|
|
104
|
+
seekMentoring({
|
|
105
|
+
workflowType: "implement",
|
|
106
|
+
issueNumber: "{issue_number}",
|
|
107
|
+
currentPhase: "implement-completeness-review",
|
|
108
|
+
status: "incomplete",
|
|
109
|
+
findings: {
|
|
110
|
+
issueType: "bug" // or "feature" - Required for phase validation
|
|
111
|
+
},
|
|
112
|
+
evidence: {
|
|
113
|
+
reviewWorkflowUsed: "review-implementation-vs-design-spec",
|
|
114
|
+
reviewDecision: "REQUEST_CHANGES", // or "REJECT"
|
|
115
|
+
issuesFound: ["Missing test case X per workflow checklist", "Design requirement Y not implemented"],
|
|
116
|
+
feedbackDocumentLocation: "docs/evidence/{issue}-design-reviewer-feedback.md",
|
|
117
|
+
nextAction: "Implementation agent must address feedback per workflow iteration process"
|
|
118
|
+
}
|
|
119
|
+
})
|
|
120
|
+
```
|