@cluesmith/codev 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/dist/agent-farm/cli.d.ts.map +1 -1
  2. package/dist/agent-farm/cli.js +19 -0
  3. package/dist/agent-farm/cli.js.map +1 -1
  4. package/dist/agent-farm/commands/cleanup.d.ts.map +1 -1
  5. package/dist/agent-farm/commands/cleanup.js +18 -1
  6. package/dist/agent-farm/commands/cleanup.js.map +1 -1
  7. package/dist/agent-farm/commands/consult.d.ts +16 -0
  8. package/dist/agent-farm/commands/consult.d.ts.map +1 -0
  9. package/dist/agent-farm/commands/consult.js +51 -0
  10. package/dist/agent-farm/commands/consult.js.map +1 -0
  11. package/dist/agent-farm/commands/open.js +6 -6
  12. package/dist/agent-farm/commands/open.js.map +1 -1
  13. package/dist/agent-farm/commands/spawn.d.ts.map +1 -1
  14. package/dist/agent-farm/commands/spawn.js +51 -42
  15. package/dist/agent-farm/commands/spawn.js.map +1 -1
  16. package/dist/agent-farm/commands/start.d.ts.map +1 -1
  17. package/dist/agent-farm/commands/start.js +9 -14
  18. package/dist/agent-farm/commands/start.js.map +1 -1
  19. package/dist/agent-farm/commands/util.js +2 -2
  20. package/dist/agent-farm/commands/util.js.map +1 -1
  21. package/dist/agent-farm/db/errors.d.ts +4 -0
  22. package/dist/agent-farm/db/errors.d.ts.map +1 -1
  23. package/dist/agent-farm/db/errors.js +8 -0
  24. package/dist/agent-farm/db/errors.js.map +1 -1
  25. package/dist/agent-farm/servers/dashboard-server.js +125 -71
  26. package/dist/agent-farm/servers/dashboard-server.js.map +1 -1
  27. package/dist/agent-farm/servers/open-server.d.ts +9 -0
  28. package/dist/agent-farm/servers/open-server.d.ts.map +1 -0
  29. package/dist/agent-farm/servers/{annotate-server.js → open-server.js} +17 -15
  30. package/dist/agent-farm/servers/open-server.js.map +1 -0
  31. package/dist/agent-farm/servers/tower-server.js +4 -7
  32. package/dist/agent-farm/servers/tower-server.js.map +1 -1
  33. package/dist/agent-farm/state.d.ts +5 -0
  34. package/dist/agent-farm/state.d.ts.map +1 -1
  35. package/dist/agent-farm/state.js +17 -0
  36. package/dist/agent-farm/state.js.map +1 -1
  37. package/dist/agent-farm/types.d.ts +1 -1
  38. package/dist/agent-farm/types.d.ts.map +1 -1
  39. package/dist/agent-farm/utils/config.d.ts.map +1 -1
  40. package/dist/agent-farm/utils/config.js +13 -7
  41. package/dist/agent-farm/utils/config.js.map +1 -1
  42. package/dist/agent-farm/utils/port-registry.d.ts +1 -1
  43. package/dist/agent-farm/utils/port-registry.d.ts.map +1 -1
  44. package/dist/agent-farm/utils/port-registry.js +1 -1
  45. package/dist/agent-farm/utils/port-registry.js.map +1 -1
  46. package/dist/agent-farm/utils/shell.d.ts +19 -0
  47. package/dist/agent-farm/utils/shell.d.ts.map +1 -1
  48. package/dist/agent-farm/utils/shell.js +28 -0
  49. package/dist/agent-farm/utils/shell.js.map +1 -1
  50. package/dist/cli.d.ts.map +1 -1
  51. package/dist/cli.js +33 -0
  52. package/dist/cli.js.map +1 -1
  53. package/dist/commands/adopt.d.ts +3 -0
  54. package/dist/commands/adopt.d.ts.map +1 -1
  55. package/dist/commands/adopt.js +31 -25
  56. package/dist/commands/adopt.js.map +1 -1
  57. package/dist/commands/consult/index.d.ts +3 -2
  58. package/dist/commands/consult/index.d.ts.map +1 -1
  59. package/dist/commands/consult/index.js +128 -54
  60. package/dist/commands/consult/index.js.map +1 -1
  61. package/dist/commands/doctor.d.ts.map +1 -1
  62. package/dist/commands/doctor.js +88 -36
  63. package/dist/commands/doctor.js.map +1 -1
  64. package/dist/commands/eject.d.ts +18 -0
  65. package/dist/commands/eject.d.ts.map +1 -0
  66. package/dist/commands/eject.js +149 -0
  67. package/dist/commands/eject.js.map +1 -0
  68. package/dist/commands/import.d.ts +16 -0
  69. package/dist/commands/import.d.ts.map +1 -0
  70. package/dist/commands/import.js +278 -0
  71. package/dist/commands/import.js.map +1 -0
  72. package/dist/commands/init.d.ts +3 -0
  73. package/dist/commands/init.d.ts.map +1 -1
  74. package/dist/commands/init.js +32 -27
  75. package/dist/commands/init.js.map +1 -1
  76. package/dist/lib/projectlist-parser.d.ts +70 -0
  77. package/dist/lib/projectlist-parser.d.ts.map +1 -0
  78. package/dist/lib/projectlist-parser.js +200 -0
  79. package/dist/lib/projectlist-parser.js.map +1 -0
  80. package/dist/lib/skeleton.d.ts +41 -0
  81. package/dist/lib/skeleton.d.ts.map +1 -0
  82. package/dist/lib/skeleton.js +110 -0
  83. package/dist/lib/skeleton.js.map +1 -0
  84. package/dist/lib/templates.d.ts +2 -1
  85. package/dist/lib/templates.d.ts.map +1 -1
  86. package/dist/lib/templates.js +11 -10
  87. package/dist/lib/templates.js.map +1 -1
  88. package/package.json +5 -4
  89. package/{templates → skeleton}/DEPENDENCIES.md +3 -48
  90. package/skeleton/bin/agent-farm +7 -0
  91. package/skeleton/docs/commands/agent-farm.md +469 -0
  92. package/skeleton/docs/commands/codev.md +253 -0
  93. package/skeleton/docs/commands/consult.md +286 -0
  94. package/skeleton/docs/commands/overview.md +108 -0
  95. package/skeleton/maintain/.gitkeep +2 -0
  96. package/{templates → skeleton}/protocols/experiment/protocol.md +2 -2
  97. package/skeleton/protocols/maintain/protocol.md +502 -0
  98. package/skeleton/protocols/maintain/templates/maintenance-run.md +64 -0
  99. package/{templates → skeleton}/protocols/spider/protocol.md +9 -9
  100. package/{templates/protocols/spider-solo → skeleton/protocols/spider}/templates/plan.md +22 -1
  101. package/{templates/protocols/spider-solo → skeleton/protocols/spider}/templates/spec.md +30 -1
  102. package/skeleton/protocols/tick/protocol.md +277 -0
  103. package/skeleton/resources/lessons-learned.md +30 -0
  104. package/skeleton/resources/workflow-reference.md +242 -0
  105. package/skeleton/roles/architect.md +283 -0
  106. package/{templates → skeleton}/roles/builder.md +2 -0
  107. package/skeleton/roles/review-types/impl-review.md +56 -0
  108. package/skeleton/roles/review-types/integration-review.md +68 -0
  109. package/skeleton/roles/review-types/plan-review.md +59 -0
  110. package/skeleton/roles/review-types/pr-ready.md +72 -0
  111. package/skeleton/roles/review-types/spec-review.md +55 -0
  112. package/skeleton/templates/lessons-learned.md +28 -0
  113. package/{templates → skeleton}/templates/projectlist.md +17 -16
  114. package/dist/agent-farm/servers/annotate-server.d.ts +0 -9
  115. package/dist/agent-farm/servers/annotate-server.d.ts.map +0 -1
  116. package/dist/agent-farm/servers/annotate-server.js.map +0 -1
  117. package/templates/agents/architecture-documenter.md +0 -189
  118. package/templates/agents/codev-updater.md +0 -276
  119. package/templates/agents/spider-protocol-updater.md +0 -118
  120. package/templates/annotate.html +0 -903
  121. package/templates/bin/agent-farm +0 -18
  122. package/templates/bin/annotate-server.js +0 -140
  123. package/templates/dashboard-split.html +0 -1679
  124. package/templates/dashboard.html +0 -149
  125. package/templates/protocols/maintain/protocol.md +0 -235
  126. package/templates/protocols/spider/templates/plan.md +0 -169
  127. package/templates/protocols/spider/templates/review.md +0 -207
  128. package/templates/protocols/spider/templates/spec.md +0 -140
  129. package/templates/protocols/spider-solo/protocol.md +0 -619
  130. package/templates/protocols/tick/protocol.md +0 -250
  131. package/templates/roles/architect.md +0 -230
  132. package/templates/tower.html +0 -1032
  133. /package/{templates/AGENTS.md → skeleton/AGENTS.md.template} +0 -0
  134. /package/{templates/CLAUDE.md → skeleton/CLAUDE.md.template} +0 -0
  135. /package/{templates → skeleton}/bin/codev-doctor +0 -0
  136. /package/{templates → skeleton}/builders.md +0 -0
  137. /package/{templates → skeleton}/config.json +0 -0
  138. /package/{templates → skeleton}/plans/.gitkeep +0 -0
  139. /package/{templates → skeleton}/protocols/experiment/templates/notes.md +0 -0
  140. /package/{templates/protocols/spider-solo → skeleton/protocols/spider}/templates/review.md +0 -0
  141. /package/{templates → skeleton}/protocols/tick/templates/plan.md +0 -0
  142. /package/{templates → skeleton}/protocols/tick/templates/review.md +0 -0
  143. /package/{templates → skeleton}/protocols/tick/templates/spec.md +0 -0
  144. /package/{templates → skeleton}/reviews/.gitkeep +0 -0
  145. /package/{templates → skeleton}/roles/consultant.md +0 -0
  146. /package/{templates → skeleton}/specs/.gitkeep +0 -0
@@ -1,207 +0,0 @@
1
- # Review: [Feature/Project Name]
2
-
3
- ## Metadata
4
- - **Date**: [YYYY-MM-DD]
5
- - **Specification**: [Link to codev/specs/spec-file.md]
6
- - **Plan**: [Link to codev/plans/plan-file.md]
7
-
8
- ## Executive Summary
9
- [Brief overview of what was built, how it went, and key outcomes]
10
-
11
- ## Specification Compliance
12
-
13
- ### Success Criteria Assessment
14
- | Criterion | Status | Evidence | Notes |
15
- |-----------|--------|----------|-------|
16
- | [Criterion 1] | ✅/❌/⚠️ | [Link/description] | [Any context] |
17
- | [Criterion 2] | ✅/❌/⚠️ | [Link/description] | [Any context] |
18
- | [All tests pass >90% coverage] | ✅/❌/⚠️ | [Coverage report] | [Details] |
19
- | [Performance benchmarks met] | ✅/❌/⚠️ | [Metrics] | [Details] |
20
-
21
- ### Deviations from Specification
22
- | Original Requirement | What Was Built | Reason for Deviation |
23
- |---------------------|----------------|---------------------|
24
- | [If any] | [Actual] | [Justification] |
25
-
26
- ## Plan Execution Review
27
-
28
- ### Phase Completion
29
- | Phase | Status | Notes |
30
- |-------|--------|-------|
31
- | Phase 1 | Complete | [Context] |
32
- | Phase 2 | Complete | [Context] |
33
-
34
- ### Deliverables Checklist
35
- - [x] All planned features implemented
36
- - [x] Test coverage achieved
37
- - [x] Documentation updated
38
- - [x] Performance requirements met
39
- - [ ] [Any incomplete items]
40
-
41
- ## Code Quality Assessment
42
-
43
- ### Architecture Impact
44
- - **Positive Changes**: [Improvements made to architecture]
45
- - **Technical Debt Incurred**: [Any shortcuts taken]
46
- - **Future Considerations**: [What should be refactored later]
47
-
48
- ### Code Metrics
49
- - **Lines of Code**: [Added/Modified/Removed]
50
- - **Test Coverage**: [Percentage and areas covered]
51
- - **Code Complexity**: [Cyclomatic complexity if measured]
52
- - **Documentation Coverage**: [Public APIs documented?]
53
-
54
- ### Security Review
55
- - **Vulnerabilities Found**: [None/List]
56
- - **Security Best Practices**: [Followed/Exceptions]
57
- - **Sensitive Data Handling**: [Properly secured?]
58
-
59
- ## Performance Analysis
60
-
61
- ### Benchmarks
62
- | Metric | Target | Achieved | Status |
63
- |--------|--------|----------|---------|
64
- | Response Time (p95) | <200ms | [Actual] | ✅/❌ |
65
- | Throughput | 1000 rps | [Actual] | ✅/❌ |
66
- | Memory Usage | <500MB | [Actual] | ✅/❌ |
67
-
68
- ### Load Testing Results
69
- [Summary of load testing outcomes, if performed]
70
-
71
- ## Testing Summary
72
-
73
- ### Test Execution
74
- - **Unit Tests**: [X passed, Y failed]
75
- - **Integration Tests**: [X passed, Y failed]
76
- - **E2E Tests**: [X passed, Y failed]
77
- - **Manual Testing**: [Scenarios tested]
78
-
79
- ### Issues Found During Testing
80
- | Issue | Severity | Resolution |
81
- |-------|----------|------------|
82
- | [Bug 1] | Critical/High/Medium/Low | [Fixed/Deferred] |
83
-
84
- ## Lessons Learned
85
-
86
- ### What Went Well
87
- 1. [Success point 1 - be specific]
88
- 2. [Success point 2 - include why it worked]
89
- 3. [Success point 3 - note for future replication]
90
-
91
- ### What Was Challenging
92
- 1. [Challenge 1 - describe the issue]
93
- - **Root Cause**: [Why it happened]
94
- - **Resolution**: [How it was addressed]
95
- - **Prevention**: [How to avoid in future]
96
-
97
- 2. [Challenge 2]
98
- - **Root Cause**:
99
- - **Resolution**:
100
- - **Prevention**:
101
-
102
- ### What Would You Do Differently
103
- 1. [Improvement 1 - be actionable]
104
- 2. [Improvement 2 - be specific]
105
- 3. [Improvement 3 - be realistic]
106
-
107
- ## Methodology Feedback
108
-
109
- ### SP(IDE)R Protocol Effectiveness
110
- - **Specification Phase**: [Was it thorough enough? Too detailed?]
111
- - **Planning Phase**: [Were estimates accurate? Phases well-sized?]
112
- - **Implementation Loop**: [Did IDE cycle work well?]
113
- - **Review Process**: [Is this review capturing the right information?]
114
-
115
- ### Suggested Improvements
116
- 1. **Template Updates**: [Any template improvements needed?]
117
- 2. **Process Changes**: [Any step modifications recommended?]
118
- 3. **Tool Needs**: [Any automation opportunities?]
119
-
120
- ## Resource Analysis
121
-
122
- ### Time Investment
123
- - **Planned**: [X person-days]
124
- - **Actual**: [Y person-days]
125
- - **Variance Explanation**: [Why different?]
126
-
127
- ### Team Feedback
128
- - [Feedback from team members]
129
- - [Collaboration insights]
130
- - [Communication effectiveness]
131
-
132
- ## Follow-Up Actions
133
-
134
- ### Immediate (This Week)
135
- - [ ] [Action 1 - owner]
136
- - [ ] [Action 2 - owner]
137
-
138
- ### Short-term (This Month)
139
- - [ ] [Action 1 - owner]
140
- - [ ] [Action 2 - owner]
141
-
142
- ### Long-term (Future Consideration)
143
- - [ ] [Improvement opportunity 1]
144
- - [ ] [Technical debt to address]
145
-
146
- ## Risk Retrospective
147
-
148
- ### Identified Risks That Materialized
149
- | Risk | Impact | How Handled | Prevention for Future |
150
- |------|--------|-------------|----------------------|
151
- | [Risk] | [What happened] | [Resolution] | [Learning] |
152
-
153
- ### Unforeseen Issues
154
- | Issue | Impact | How Handled | How to Predict |
155
- |-------|--------|-------------|----------------|
156
- | [Issue] | [Impact] | [Resolution] | [Detection method] |
157
-
158
- ## Documentation Updates
159
-
160
- ### Completed
161
- - [x] API documentation updated
162
- - [x] README updated
163
- - [x] Architecture diagrams revised
164
- - [ ] [Pending items]
165
-
166
- ### Knowledge Transfer
167
- - **Wiki/Confluence Updates**: [Links]
168
- - **Team Presentations**: [Scheduled/Completed]
169
- - **Runbooks Created**: [Links]
170
-
171
- ## Stakeholder Feedback
172
- - **Product Owner**: [Feedback]
173
- - **End Users**: [Feedback if available]
174
- - **Support Team**: [Readiness assessment]
175
-
176
- ## Final Recommendations
177
-
178
- ### For Future Similar Projects
179
- 1. [Recommendation 1]
180
- 2. [Recommendation 2]
181
-
182
- ### For Methodology Evolution
183
- 1. [Suggestion 1]
184
- 2. [Suggestion 2]
185
-
186
- ## Conclusion
187
- [Summary statement about the project success, key achievements, and main learnings]
188
-
189
- ## Appendix
190
-
191
- ### Links
192
- - **Code**: [Repository links, PRs]
193
- - **Documentation**: [All related docs]
194
- - **Metrics Dashboards**: [Monitoring links]
195
- - **Test Reports**: [CI/CD links]
196
-
197
- ### Expert Consultation Summary
198
- [If expert AI review was performed post-implementation]
199
- - **Model**: [Which model]
200
- - **Feedback**: [Key points]
201
- - **Incorporated Changes**: [What was acted upon]
202
-
203
- ## Sign-off
204
- - [ ] Technical Lead Review
205
- - [ ] Team Retrospective Completed
206
- - [ ] Lessons Documented
207
- - [ ] Methodology Updates Proposed
@@ -1,140 +0,0 @@
1
- # Specification: [Title]
2
-
3
- ## Metadata
4
- - **ID**: spec-[YYYY-MM-DD]-[short-name]
5
- - **Status**: draft
6
- - **Created**: [YYYY-MM-DD]
7
-
8
- ## Clarifying Questions Asked
9
- <!-- Document the questions you asked the user/stakeholder and their answers -->
10
- [List the questions you asked to understand the problem better and the responses received. This shows the discovery process.]
11
-
12
- ## Problem Statement
13
- [Clearly articulate the problem being solved. Include context about why this is important, who is affected, and what the current pain points are.]
14
-
15
- ## Current State
16
- [Describe how things work today. What are the limitations? What workarounds exist? Include specific examples.]
17
-
18
- ## Desired State
19
- [Describe the ideal solution. How should things work after implementation? What specific improvements will users see?]
20
-
21
- ## Stakeholders
22
- - **Primary Users**: [Who will directly use this feature?]
23
- - **Secondary Users**: [Who else is affected?]
24
- - **Technical Team**: [Who will implement and maintain this?]
25
- - **Business Owners**: [Who has decision authority?]
26
-
27
- ## Success Criteria
28
- - [ ] [Specific, measurable criterion 1]
29
- - [ ] [Specific, measurable criterion 2]
30
- - [ ] [Specific, measurable criterion 3]
31
- - [ ] All tests pass with >90% coverage
32
- - [ ] Performance benchmarks met (specify below)
33
- - [ ] Documentation updated
34
-
35
- ## Constraints
36
- ### Technical Constraints
37
- - [Existing system limitations]
38
- - [Technology stack requirements]
39
- - [Integration points]
40
-
41
- ### Business Constraints
42
- - [Timeline requirements]
43
- - [Budget considerations]
44
- - [Compliance requirements]
45
-
46
- ## Assumptions
47
- - [List assumptions being made]
48
- - [Include dependencies on other work]
49
- - [Note any prerequisites]
50
-
51
- ## Solution Approaches
52
-
53
- ### Approach 1: [Name]
54
- **Description**: [Brief overview of this approach]
55
-
56
- **Pros**:
57
- - [Advantage 1]
58
- - [Advantage 2]
59
-
60
- **Cons**:
61
- - [Disadvantage 1]
62
- - [Disadvantage 2]
63
-
64
- **Estimated Complexity**: [Low/Medium/High]
65
- **Risk Level**: [Low/Medium/High]
66
-
67
- ### Approach 2: [Name]
68
- [Repeat structure for additional approaches]
69
-
70
- [Add as many approaches as appropriate for the problem]
71
-
72
- ## Open Questions
73
-
74
- ### Critical (Blocks Progress)
75
- - [ ] [Question that must be answered before proceeding]
76
-
77
- ### Important (Affects Design)
78
- - [ ] [Question that influences technical decisions]
79
-
80
- ### Nice-to-Know (Optimization)
81
- - [ ] [Question that could improve the solution]
82
-
83
- ## Performance Requirements
84
- - **Response Time**: [e.g., <200ms p95]
85
- - **Throughput**: [e.g., 1000 requests/second]
86
- - **Resource Usage**: [e.g., <500MB memory]
87
- - **Availability**: [e.g., 99.9% uptime]
88
-
89
- ## Security Considerations
90
- - [Authentication requirements]
91
- - [Authorization model]
92
- - [Data privacy concerns]
93
- - [Audit requirements]
94
-
95
- ## Test Scenarios
96
- ### Functional Tests
97
- 1. [Scenario 1: Happy path]
98
- 2. [Scenario 2: Edge case]
99
- 3. [Scenario 3: Error condition]
100
-
101
- ### Non-Functional Tests
102
- 1. [Performance test scenario]
103
- 2. [Security test scenario]
104
- 3. [Load test scenario]
105
-
106
- ## Dependencies
107
- - **External Services**: [List any external APIs or services]
108
- - **Internal Systems**: [List internal dependencies]
109
- - **Libraries/Frameworks**: [List required libraries]
110
-
111
- ## References
112
- - [Link to relevant documentation in codev/ref/]
113
- - [Link to related specifications]
114
- - [Link to architectural diagrams]
115
- - [Link to research materials]
116
-
117
- ## Risks and Mitigation
118
- | Risk | Probability | Impact | Mitigation Strategy |
119
- |------|------------|--------|-------------------|
120
- | [Risk 1] | Low/Med/High | Low/Med/High | [How to address] |
121
- | [Risk 2] | Low/Med/High | Low/Med/High | [How to address] |
122
-
123
- ## Expert Consultation
124
- <!-- Only if user requested multi-agent consultation -->
125
- **Date**: [YYYY-MM-DD]
126
- **Models Consulted**: [e.g., GPT-5 and Gemini Pro]
127
- **Sections Updated**:
128
- - [Section name]: [Brief description of change based on consultation]
129
- - [Section name]: [Brief description of change based on consultation]
130
-
131
- Note: All consultation feedback has been incorporated directly into the relevant sections above.
132
-
133
- ## Approval
134
- - [ ] Technical Lead Review
135
- - [ ] Product Owner Review
136
- - [ ] Stakeholder Sign-off
137
- - [ ] Expert AI Consultation Complete
138
-
139
- ## Notes
140
- [Any additional context or considerations not covered above]