@prmichaelsen/remember-mcp 3.0.0 → 3.13.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 (208) hide show
  1. package/AGENT.md +296 -250
  2. package/CHANGELOG.md +358 -0
  3. package/README.md +68 -45
  4. package/agent/commands/acp.clarification-create.md +382 -0
  5. package/agent/commands/acp.project-info.md +309 -0
  6. package/agent/commands/acp.project-remove.md +379 -0
  7. package/agent/commands/acp.project-update.md +296 -0
  8. package/agent/commands/acp.task-create.md +17 -9
  9. package/agent/commands/git.commit.md +13 -1
  10. package/agent/design/comment-memory-type.md +2 -2
  11. package/agent/design/local.collaborative-memory-sync.md +265 -0
  12. package/agent/design/local.content-flags.md +210 -0
  13. package/agent/design/local.ghost-persona-system.md +273 -0
  14. package/agent/design/local.group-acl-integration.md +338 -0
  15. package/agent/design/local.memory-acl-schema.md +352 -0
  16. package/agent/design/local.memory-collection-pattern-v2.md +348 -0
  17. package/agent/design/local.moderation-and-space-config.md +257 -0
  18. package/agent/design/local.v2-api-reference.md +621 -0
  19. package/agent/design/local.v2-migration-guide.md +191 -0
  20. package/agent/design/local.v2-usage-examples.md +265 -0
  21. package/agent/design/permissions-storage-architecture.md +11 -3
  22. package/agent/design/trust-escalation-prevention.md +9 -2
  23. package/agent/design/trust-system-implementation.md +12 -3
  24. package/agent/milestones/milestone-14-memory-collection-v2.md +182 -0
  25. package/agent/milestones/milestone-15-moderation-space-config.md +126 -0
  26. package/agent/progress.yaml +628 -49
  27. package/agent/scripts/acp.common.sh +2 -0
  28. package/agent/scripts/acp.install.sh +11 -1
  29. package/agent/scripts/acp.package-install-optimized.sh +454 -0
  30. package/agent/scripts/acp.package-install.sh +247 -300
  31. package/agent/scripts/acp.project-info.sh +218 -0
  32. package/agent/scripts/acp.project-remove.sh +302 -0
  33. package/agent/scripts/acp.project-update.sh +296 -0
  34. package/agent/scripts/acp.yaml-parser.sh +128 -10
  35. package/agent/tasks/milestone-14-memory-collection-v2/task-165-core-infrastructure-setup.md +171 -0
  36. package/agent/tasks/milestone-14-memory-collection-v2/task-166-update-remember-publish.md +191 -0
  37. package/agent/tasks/milestone-14-memory-collection-v2/task-167-update-remember-retract.md +186 -0
  38. package/agent/tasks/milestone-14-memory-collection-v2/task-168-implement-remember-revise.md +184 -0
  39. package/agent/tasks/milestone-14-memory-collection-v2/task-169-update-remember-search-space.md +179 -0
  40. package/agent/tasks/milestone-14-memory-collection-v2/task-170-update-remember-create-update.md +139 -0
  41. package/agent/tasks/milestone-14-memory-collection-v2/task-172-performance-testing-optimization.md +161 -0
  42. package/agent/tasks/milestone-14-memory-collection-v2/task-173-documentation-examples.md +258 -0
  43. package/agent/tasks/milestone-15-moderation-space-config/task-174-add-moderation-schema-fields.md +57 -0
  44. package/agent/tasks/milestone-15-moderation-space-config/task-175-create-space-config-service.md +64 -0
  45. package/agent/tasks/milestone-15-moderation-space-config/task-176-wire-moderation-publish-flow.md +45 -0
  46. package/agent/tasks/milestone-15-moderation-space-config/task-177-add-moderation-search-filters.md +70 -0
  47. package/agent/tasks/milestone-15-moderation-space-config/task-178-create-remember-moderate-tool.md +69 -0
  48. package/agent/tasks/milestone-15-moderation-space-config/task-179-documentation-integration-tests.md +58 -0
  49. package/agent/tasks/milestone-16-ghost-system/task-187-ghost-config-firestore.md +41 -0
  50. package/agent/tasks/milestone-16-ghost-system/task-188-trust-filter-integration.md +44 -0
  51. package/agent/tasks/milestone-16-ghost-system/task-189-ghost-memory-filtering.md +43 -0
  52. package/agent/tasks/milestone-16-ghost-system/task-190-ghost-config-tools.md +45 -0
  53. package/agent/tasks/milestone-16-ghost-system/task-191-escalation-firestore.md +38 -0
  54. package/agent/tasks/milestone-16-ghost-system/task-192-documentation-verification.md +39 -0
  55. package/agent/tasks/milestone-7-trust-permissions/task-180-access-result-permission-types.md +69 -0
  56. package/agent/tasks/milestone-7-trust-permissions/task-181-firestore-permissions-access-logs.md +56 -0
  57. package/agent/tasks/milestone-7-trust-permissions/task-182-trust-enforcement-service.md +68 -0
  58. package/agent/tasks/milestone-7-trust-permissions/task-183-access-control-service.md +70 -0
  59. package/agent/tasks/milestone-7-trust-permissions/task-184-permission-tools.md +79 -0
  60. package/agent/tasks/milestone-7-trust-permissions/task-185-wire-trust-into-search-query.md +55 -0
  61. package/agent/tasks/milestone-7-trust-permissions/task-186-documentation-verification.md +56 -0
  62. package/agent/tasks/task-76-fix-indexnullstate-schema-bug.md +197 -0
  63. package/dist/collections/composite-ids.d.ts +106 -0
  64. package/dist/collections/core-infrastructure.spec.d.ts +11 -0
  65. package/dist/collections/dot-notation.d.ts +106 -0
  66. package/dist/collections/tracking-arrays.d.ts +176 -0
  67. package/dist/constants/content-types.d.ts +1 -0
  68. package/dist/schema/v2-collections-comments.spec.d.ts +8 -0
  69. package/dist/schema/v2-collections.d.ts +210 -0
  70. package/dist/server-factory.d.ts +15 -0
  71. package/dist/server-factory.js +2798 -1029
  72. package/dist/server.js +2526 -1012
  73. package/dist/services/access-control.d.ts +103 -0
  74. package/dist/services/access-control.spec.d.ts +2 -0
  75. package/dist/services/credentials-provider.d.ts +24 -0
  76. package/dist/services/credentials-provider.spec.d.ts +2 -0
  77. package/dist/services/escalation.service.d.ts +22 -0
  78. package/dist/services/escalation.service.spec.d.ts +2 -0
  79. package/dist/services/ghost-config.service.d.ts +55 -0
  80. package/dist/services/ghost-config.service.spec.d.ts +2 -0
  81. package/dist/services/space-config.service.d.ts +23 -0
  82. package/dist/services/space-config.service.spec.d.ts +2 -0
  83. package/dist/services/trust-enforcement.d.ts +83 -0
  84. package/dist/services/trust-enforcement.spec.d.ts +2 -0
  85. package/dist/services/trust-validator.d.ts +43 -0
  86. package/dist/services/trust-validator.spec.d.ts +2 -0
  87. package/dist/tools/confirm-publish-moderation.spec.d.ts +8 -0
  88. package/dist/tools/confirm.d.ts +8 -1
  89. package/dist/tools/create-memory.d.ts +2 -1
  90. package/dist/tools/create-memory.spec.d.ts +10 -0
  91. package/dist/tools/create-relationship.d.ts +2 -1
  92. package/dist/tools/delete-memory.d.ts +2 -1
  93. package/dist/tools/delete-relationship.d.ts +2 -1
  94. package/dist/tools/deny.d.ts +2 -1
  95. package/dist/tools/find-similar.d.ts +2 -1
  96. package/dist/tools/get-preferences.d.ts +2 -1
  97. package/dist/tools/ghost-config.d.ts +27 -0
  98. package/dist/tools/ghost-config.spec.d.ts +2 -0
  99. package/dist/tools/moderate.d.ts +20 -0
  100. package/dist/tools/moderate.spec.d.ts +5 -0
  101. package/dist/tools/publish.d.ts +11 -3
  102. package/dist/tools/query-memory.d.ts +3 -1
  103. package/dist/tools/query-space.d.ts +4 -1
  104. package/dist/tools/retract.d.ts +29 -0
  105. package/dist/tools/revise.d.ts +45 -0
  106. package/dist/tools/revise.spec.d.ts +8 -0
  107. package/dist/tools/search-memory.d.ts +2 -1
  108. package/dist/tools/search-relationship.d.ts +2 -1
  109. package/dist/tools/search-space.d.ts +25 -5
  110. package/dist/tools/search-space.spec.d.ts +9 -0
  111. package/dist/tools/set-preference.d.ts +2 -1
  112. package/dist/tools/update-memory.d.ts +2 -1
  113. package/dist/tools/update-relationship.d.ts +2 -1
  114. package/dist/types/access-result.d.ts +48 -0
  115. package/dist/types/access-result.spec.d.ts +2 -0
  116. package/dist/types/auth.d.ts +46 -0
  117. package/dist/types/ghost-config.d.ts +36 -0
  118. package/dist/types/memory.d.ts +3 -1
  119. package/dist/types/preferences.d.ts +1 -1
  120. package/dist/utils/auth-helpers.d.ts +14 -0
  121. package/dist/utils/auth-helpers.spec.d.ts +2 -0
  122. package/dist/utils/test-data-generator.d.ts +124 -0
  123. package/dist/utils/test-data-generator.spec.d.ts +12 -0
  124. package/dist/v2-performance.e2e.d.ts +17 -0
  125. package/dist/v2-smoke.e2e.d.ts +14 -0
  126. package/dist/weaviate/client.d.ts +5 -8
  127. package/dist/weaviate/space-schema.d.ts +2 -2
  128. package/docs/performance/v2-benchmarks.md +80 -0
  129. package/jest.e2e.config.js +14 -3
  130. package/package.json +1 -1
  131. package/scripts/.collection-recreation-state.yaml +16 -0
  132. package/scripts/.gitkeep +5 -0
  133. package/scripts/README-collection-recreation.md +224 -0
  134. package/scripts/README.md +51 -0
  135. package/scripts/backup-collections.ts +543 -0
  136. package/scripts/delete-collection.ts +137 -0
  137. package/scripts/migrate-recreate-collections.ts +578 -0
  138. package/scripts/migrate-v1-to-v2.ts +1094 -0
  139. package/scripts/package-lock.json +1113 -0
  140. package/scripts/package.json +27 -0
  141. package/src/collections/composite-ids.ts +193 -0
  142. package/src/collections/core-infrastructure.spec.ts +353 -0
  143. package/src/collections/dot-notation.ts +212 -0
  144. package/src/collections/tracking-arrays.ts +298 -0
  145. package/src/constants/content-types.ts +20 -0
  146. package/src/schema/v2-collections-comments.spec.ts +141 -0
  147. package/src/schema/v2-collections.ts +433 -0
  148. package/src/server-factory.ts +89 -20
  149. package/src/server.ts +45 -17
  150. package/src/services/access-control.spec.ts +383 -0
  151. package/src/services/access-control.ts +291 -0
  152. package/src/services/credentials-provider.spec.ts +22 -0
  153. package/src/services/credentials-provider.ts +34 -0
  154. package/src/services/escalation.service.spec.ts +183 -0
  155. package/src/services/escalation.service.ts +150 -0
  156. package/src/services/ghost-config.service.spec.ts +339 -0
  157. package/src/services/ghost-config.service.ts +219 -0
  158. package/src/services/space-config.service.spec.ts +102 -0
  159. package/src/services/space-config.service.ts +79 -0
  160. package/src/services/trust-enforcement.spec.ts +309 -0
  161. package/src/services/trust-enforcement.ts +197 -0
  162. package/src/services/trust-validator.spec.ts +108 -0
  163. package/src/services/trust-validator.ts +105 -0
  164. package/src/tools/confirm-publish-moderation.spec.ts +240 -0
  165. package/src/tools/confirm.ts +869 -135
  166. package/src/tools/create-memory.spec.ts +126 -0
  167. package/src/tools/create-memory.ts +20 -27
  168. package/src/tools/create-relationship.ts +17 -8
  169. package/src/tools/delete-memory.ts +13 -6
  170. package/src/tools/delete-relationship.ts +15 -6
  171. package/src/tools/deny.ts +8 -1
  172. package/src/tools/find-similar.ts +21 -8
  173. package/src/tools/get-preferences.ts +10 -1
  174. package/src/tools/ghost-config.spec.ts +180 -0
  175. package/src/tools/ghost-config.ts +230 -0
  176. package/src/tools/moderate.spec.ts +277 -0
  177. package/src/tools/moderate.ts +219 -0
  178. package/src/tools/publish.ts +99 -41
  179. package/src/tools/query-memory.ts +28 -6
  180. package/src/tools/query-space.ts +39 -4
  181. package/src/tools/retract.ts +292 -0
  182. package/src/tools/revise.spec.ts +146 -0
  183. package/src/tools/revise.ts +283 -0
  184. package/src/tools/search-memory.ts +30 -7
  185. package/src/tools/search-relationship.ts +11 -2
  186. package/src/tools/search-space.spec.ts +341 -0
  187. package/src/tools/search-space.ts +323 -99
  188. package/src/tools/set-preference.ts +10 -1
  189. package/src/tools/update-memory.ts +16 -5
  190. package/src/tools/update-relationship.ts +10 -1
  191. package/src/types/access-result.spec.ts +193 -0
  192. package/src/types/access-result.ts +62 -0
  193. package/src/types/auth.ts +52 -0
  194. package/src/types/ghost-config.ts +46 -0
  195. package/src/types/memory.ts +9 -1
  196. package/src/types/preferences.ts +2 -2
  197. package/src/utils/auth-helpers.spec.ts +75 -0
  198. package/src/utils/auth-helpers.ts +25 -0
  199. package/src/utils/test-data-generator.spec.ts +317 -0
  200. package/src/utils/test-data-generator.ts +292 -0
  201. package/src/utils/weaviate-filters.ts +4 -4
  202. package/src/v2-performance.e2e.ts +173 -0
  203. package/src/v2-smoke.e2e.ts +401 -0
  204. package/src/weaviate/client.spec.ts +5 -5
  205. package/src/weaviate/client.ts +51 -36
  206. package/src/weaviate/schema.ts +11 -256
  207. package/src/weaviate/space-schema.spec.ts +24 -24
  208. package/src/weaviate/space-schema.ts +18 -6
@@ -2,11 +2,11 @@
2
2
 
3
3
  project:
4
4
  name: remember-mcp
5
- version: 3.0.0
5
+ version: 3.12.0
6
6
  started: 2026-02-11
7
7
  status: in_progress
8
- current_milestone: M13
9
- last_updated: 2026-02-17
8
+ current_milestone: M16
9
+ last_updated: 2026-02-27
10
10
 
11
11
  milestones:
12
12
  - id: M1
@@ -165,22 +165,21 @@ milestones:
165
165
 
166
166
  - id: M12
167
167
  name: Comment System (Phase 1)
168
- status: in_progress
169
- progress: 60%
168
+ status: completed
169
+ progress: 100%
170
170
  started: 2026-02-16
171
- completed: null
171
+ completed: 2026-02-27
172
172
  estimated_weeks: 1
173
- tasks_completed: 3
173
+ tasks_completed: 5
174
174
  tasks_total: 5
175
175
  notes: |
176
176
  ✅ Task 55: Added 3 comment fields to schema (parent_id, thread_root_id, moderation_flags)
177
177
  ✅ Task 56: Updated remember_search_space with include_comments parameter
178
178
  ✅ Task 57: Updated remember_query_space with include_comments parameter
179
- 📋 Task 58: Add Comment Unit Tests (pending)
180
- 📋 Task 59: Update Documentation for Comments (pending)
179
+ Task 58: Comment unit tests (19 tests: schema fields, filtering, edge cases)
180
+ Task 59: Documentation updated, design doc status set to Implemented
181
181
  ✅ Zero new tools required - reuses existing infrastructure
182
182
  ✅ Backward compatible - comments excluded by default
183
- ✅ Released v2.6.0 with comment system foundation
184
183
 
185
184
  - id: M13
186
185
  name: Soft Delete System
@@ -206,18 +205,120 @@ milestones:
206
205
  ✅ Prevents updating deleted memories
207
206
  ✅ Breaking change: v2.8.0 → v3.0.0 RELEASED
208
207
 
208
+ - id: M14
209
+ name: Memory Collection Pattern v2
210
+ status: completed
211
+ progress: 100%
212
+ started: 2026-02-26
213
+ completed: 2026-02-27
214
+ estimated_weeks: 2-3
215
+ tasks_completed: 8
216
+ tasks_total: 8
217
+ notes: |
218
+ Foundation for all social features (People Discovery, Memory Feed API).
219
+ Fresh implementation with no migration complexity.
220
+
221
+ ✅ Task 165: Core Infrastructure Setup COMPLETED (2026-02-26)
222
+ ✅ Task 166: Implement remember_publish Tool COMPLETED (2026-02-26)
223
+ ✅ Task 167: Implement remember_retract Tool COMPLETED (2026-02-26)
224
+ ✅ Task 168: Implement remember_revise Tool COMPLETED (2026-02-26)
225
+ ✅ Task 169: remember_search_space Tool COMPLETED (2026-02-27)
226
+ ✅ Task 170: remember_create_memory and remember_update_memory COMPLETED (2026-02-27)
227
+ ✅ Task 172: Performance Testing and Optimization COMPLETED (2026-02-27)
228
+ ✅ Task 173: Documentation and Examples COMPLETED (2026-02-27)
229
+ - Created agent/design/local.v2-api-reference.md (API docs for all 6 v2 tools)
230
+ - Created agent/design/local.v2-migration-guide.md (v1→v2 migration guide)
231
+ - Created agent/design/local.v2-usage-examples.md (real-world usage patterns)
232
+ - Updated README.md (18 tools, v2 architecture, v2 tool listing)
233
+ - Updated local.memory-collection-pattern-v2.md status to Implemented
234
+ - CHANGELOG.md already current through v3.6.0
235
+
236
+ Key Innovations:
237
+ - Dot notation collections: Memory_users_{userId}, Memory_spaces_public, Memory_groups_{groupId}
238
+ - Composite IDs: {userId}.{memoryId} format preserves source reference
239
+ - Tracking arrays: space_ids and group_ids track publication locations
240
+ - Dual publication: Memories can exist in both spaces and groups
241
+ - Revision support: remember_revise updates published memories in-place
242
+ - Orphan strategy: retracted memories preserved for historical reference
243
+
244
+ - id: M15
245
+ name: Moderation & Space Config
246
+ status: completed
247
+ progress: 100%
248
+ started: 2026-02-27
249
+ completed: 2026-02-27
250
+ estimated_weeks: 2
251
+ tasks_completed: 6
252
+ tasks_total: 6
253
+ notes: |
254
+ ✅ Content moderation lifecycle and per-space/group behavioral config.
255
+ ✅ Design: agent/design/local.moderation-and-space-config.md (Implemented)
256
+ ✅ Builds on v3.9.0 AuthContext foundations.
257
+ ✅ Task 174: Add moderation schema fields + can_moderate permission
258
+ ✅ Task 175: SpaceConfig service (Firestore-backed, defaults fallback)
259
+ ✅ Task 176: Publish flow wired with moderation_status from SpaceConfig
260
+ ✅ Task 177: Search/query tools filter by moderation_status (default: approved)
261
+ ✅ Task 178: remember_moderate tool (approve/reject/remove)
262
+ ✅ Task 179: Documentation, CHANGELOG, version bump to 3.10.0
263
+ 📊 20 MCP tools, 281 tests (280 passed, 1 skipped)
264
+
209
265
  - id: M7
210
266
  name: Trust & Permissions
211
- status: not_started
212
- progress: 0%
267
+ status: completed
268
+ progress: 100%
213
269
  estimated_weeks: 2
270
+ tasks_completed: 4
271
+ tasks_total: 4
272
+ completed: 2026-02-27
273
+ notes: |
274
+ M7 complete. Trust & permissions foundations for ghost/persona system:
275
+ ✅ Task 180: Access Result & GhostConfig types + 'ghost' content type (v3.11.0)
276
+ 🔜 Task 181: DEFERRED — Firestore CRUD deferred to M16 (ghost builds it)
277
+ ✅ Task 182: Trust enforcement service (3 modes: query/prompt/hybrid)
278
+ ✅ Task 183: Access control service (escalation, blocking)
279
+ 🔜 Task 184: DEFERRED — Permission tools (ghost/persona model replaces direct access)
280
+ 🔜 Task 185: DEFERRED — Wire trust into search (ghost handles this)
281
+ ✅ Task 186: Documentation & verification
282
+ Synced with ghost/persona design (2026-02-27)
283
+ See: agent/design/local.ghost-persona-system.md
214
284
 
215
285
  - id: M8
216
286
  name: Testing & Quality
217
- status: not_started
218
- progress: 0%
287
+ status: completed
288
+ progress: 100%
219
289
  estimated_weeks: 2
290
+ started: 2026-02-25
291
+ completed: 2026-02-27
292
+ tasks_completed: 3
293
+ tasks_total: 3
294
+ notes: |
295
+ ✅ Task 60: Standardized structured logging (v2.6.1)
296
+ ✅ Task 61: Enhanced confirmation tool safety guidelines (v2.6.2)
297
+ ✅ Task 69: Comprehensive tool debugging — all 18 tools + weaviate client integrated
298
+ ✅ Debug levels: NONE, ERROR, WARN, INFO, DEBUG, TRACE
299
+ ✅ Performance timing on all database operations
300
+ ✅ 394 tests (393 passed, 1 skipped)
220
301
 
302
+ - id: M16
303
+ name: Ghost System
304
+ status: in_progress
305
+ progress: 100%
306
+ estimated_weeks: 2
307
+ started: 2026-02-27
308
+ completed: 2026-02-27
309
+ tasks_completed: 6
310
+ tasks_total: 6
311
+ notes: |
312
+ 🎉 MILESTONE COMPLETE! Ghost/persona system for cross-user memory access.
313
+ See: agent/design/local.ghost-persona-system.md
314
+ ✅ Task 187: GhostConfig Firestore CRUD (v3.12.0)
315
+ ✅ Task 188: Trust filter integration into search/query
316
+ ✅ Task 189: Ghost memory content type filtering
317
+ ✅ Task 190: Ghost configuration MCP tools (remember_ghost_config)
318
+ ✅ Task 191: Escalation store Firestore implementation
319
+ ✅ Task 192: Documentation & verification
320
+ ✅ 21 MCP tools, 454 tests (453 passed, 1 skipped)
321
+
221
322
  - id: M9
222
323
  name: Deployment & Documentation
223
324
  status: not_started
@@ -490,32 +591,170 @@ tasks:
490
591
 
491
592
  - id: task-58
492
593
  name: Add Comment Unit Tests
493
- status: not_started
594
+ status: completed
494
595
  file: agent/tasks/task-58-add-comment-unit-tests.md
495
596
  estimated_hours: 3
597
+ completed_date: 2026-02-27
496
598
  notes: |
497
- 📋 Pending: Schema tests, filtering tests, edge cases
498
- 📋 Test infinite nesting support
499
- 📋 Test moderation flags
599
+ Schema tests: parent_id, thread_root_id, moderation_flags across all collection types
600
+ Comment filtering in buildBaseFilters (exclude default, include opt-in, content_type: comment)
601
+ Edge cases: infinite nesting, per-space moderation flags format, empty flags
602
+ ✅ 19 new tests (300 total: 299 passed, 1 skipped)
500
603
 
501
604
  - id: task-59
502
605
  name: Update Documentation for Comments
503
- status: not_started
606
+ status: completed
504
607
  file: agent/tasks/task-59-update-documentation-for-comments.md
505
608
  estimated_hours: 2
609
+ completed_date: 2026-02-27
506
610
  notes: |
507
- 📋 Pending: README updates, CHANGELOG entry, examples
508
- 📋 Document comment creation workflow
509
- 📋 Add threading examples
611
+ Design doc status set to "Implemented — Phase 1 Complete"
612
+ Progress tracking updated (M12 complete)
510
613
 
614
+ milestone_15:
615
+ - id: task-174
616
+ name: Add Moderation Schema Fields
617
+ status: completed
618
+ file: agent/tasks/milestone-15-moderation-space-config/task-174-add-moderation-schema-fields.md
619
+ estimated_hours: 2-3
620
+ notes: |
621
+ 📋 Add moderation_status, moderated_by, moderated_at to PUBLISHED_MEMORY_PROPERTIES
622
+ 📋 Add can_moderate to GroupPermissions
623
+
624
+ - id: task-175
625
+ name: Create SpaceConfig Service
626
+ status: completed
627
+ file: agent/tasks/milestone-15-moderation-space-config/task-175-create-space-config-service.md
628
+ estimated_hours: 3-4
629
+ notes: |
630
+ 📋 Firestore-backed per-space/group config with defaults
631
+ 📋 getSpaceConfig() and setSpaceConfig()
632
+
633
+ - id: task-176
634
+ name: Wire Moderation into Publish Flow
635
+ status: completed
636
+ file: agent/tasks/milestone-15-moderation-space-config/task-176-wire-moderation-publish-flow.md
637
+ estimated_hours: 3-4
638
+ dependencies: [task-174, task-175]
639
+ notes: |
640
+ ✅ Set moderation_status during executePublishMemory()
641
+ ✅ Read space/group config to determine initial status
642
+ ✅ 7 tests for moderation wiring in publish flow
643
+
644
+ - id: task-177
645
+ name: Add Moderation Filters to Search Tools
646
+ status: completed
647
+ file: agent/tasks/milestone-15-moderation-space-config/task-177-add-moderation-search-filters.md
648
+ estimated_hours: 4-6
649
+ dependencies: [task-174]
650
+ notes: |
651
+ ✅ Default search: approved/null only (backward compat)
652
+ ✅ moderation_filter param with can_moderate permission check
653
+ ✅ buildModerationFilter helper, auth-helpers utility
654
+ ✅ 18 new tests (buildModerationFilter, auth-helpers, schema)
655
+
656
+ - id: task-178
657
+ name: Create remember_moderate Tool
658
+ status: completed
659
+ file: agent/tasks/milestone-15-moderation-space-config/task-178-create-remember-moderate-tool.md
660
+ estimated_hours: 4-6
661
+ dependencies: [task-174, task-177]
662
+ notes: |
663
+ ✅ New MCP tool: approve/reject/remove published memories
664
+ ✅ Permission-gated via canModerate/canModerateAny
665
+ ✅ Registered in server.ts and server-factory.ts
666
+ ✅ 12 tests
667
+
668
+ - id: task-179
669
+ name: Documentation and Integration Tests
670
+ status: completed
671
+ file: agent/tasks/milestone-15-moderation-space-config/task-179-documentation-integration-tests.md
672
+ estimated_hours: 2-3
673
+ dependencies: [task-174, task-175, task-176, task-177, task-178]
674
+ notes: |
675
+ ✅ CHANGELOG, design doc status, version bump 3.9.0→3.10.0
676
+ 📋 Verify all tests pass
677
+
678
+ milestone_7:
679
+ - id: task-180
680
+ name: Access Result & Permission Types
681
+ status: completed
682
+ file: agent/tasks/milestone-7-trust-permissions/task-180-access-result-permission-types.md
683
+ estimated_hours: 2-3
684
+ notes: |
685
+ 📋 AccessResult discriminated union type
686
+ 📋 UserPermission interface for Firestore
687
+
688
+ - id: task-181
689
+ name: Firestore Permissions & Access Logs
690
+ status: deferred
691
+ file: agent/tasks/milestone-7-trust-permissions/task-181-firestore-permissions-access-logs.md
692
+ estimated_hours: 4-6
693
+ dependencies: [task-180]
694
+ notes: |
695
+ 🔜 DEFERRED: Ghost model uses GhostConfig, not UserPermission CRUD
696
+ 📋 Firestore operations built alongside ghost in M16
697
+ 📋 See local.ghost-persona-system.md
698
+
699
+ - id: task-182
700
+ name: Trust Enforcement Service
701
+ status: completed
702
+ file: agent/tasks/milestone-7-trust-permissions/task-182-trust-enforcement-service.md
703
+ estimated_hours: 3-4
704
+ dependencies: [task-180]
705
+ notes: |
706
+ 📋 formatMemoryForPrompt() for 5 trust levels
707
+ 📋 Trust validator and level suggestions
708
+
709
+ - id: task-183
710
+ name: Access Control Service
711
+ status: completed
712
+ file: agent/tasks/milestone-7-trust-permissions/task-183-access-control-service.md
713
+ estimated_hours: 4-6
714
+ dependencies: [task-180, task-182]
715
+ notes: |
716
+ 📋 checkMemoryAccess() → AccessResult
717
+ 📋 Trust escalation prevention (-0.1/attempt, block after 3)
718
+ 📋 Ghost mode: handles escalation tracking, not per-memory filtering
719
+
720
+ - id: task-184
721
+ name: Permission Tools (5 tools)
722
+ status: deferred
723
+ file: agent/tasks/milestone-7-trust-permissions/task-184-permission-tools.md
724
+ estimated_hours: 6-8
725
+ dependencies: [task-181, task-183]
726
+ notes: |
727
+ 🔜 DEFERRED: Ghost/persona model replaces direct permission tools
728
+ 📋 See clarification-2-cross-user-access-model.md
729
+
730
+ - id: task-185
731
+ name: Wire Trust into Search/Query Tools
732
+ status: deferred
733
+ file: agent/tasks/milestone-7-trust-permissions/task-185-wire-trust-into-search-query.md
734
+ estimated_hours: 4-6
735
+ dependencies: [task-182, task-183]
736
+ notes: |
737
+ 🔜 DEFERRED: Ghost/persona handles trust-filtered responses
738
+ 📋 See clarification-2-cross-user-access-model.md
739
+
740
+ - id: task-186
741
+ name: Documentation & Verification
742
+ status: completed
743
+ file: agent/tasks/milestone-7-trust-permissions/task-186-documentation-verification.md
744
+ estimated_hours: 2-3
745
+ dependencies: [task-180, task-181, task-182, task-183, task-184, task-185]
746
+ notes: |
747
+ 📋 CHANGELOG, version bump, design doc status updates
748
+ 📋 All tests pass, build succeeds
749
+
511
750
  milestone_8:
512
751
  - id: task-69
513
752
  name: Add Comprehensive Tool Debugging
514
- status: in_progress
753
+ status: completed
515
754
  file: agent/tasks/task-69-add-comprehensive-tool-debugging.md
516
755
  estimated_hours: 4-6
517
- actual_hours: null
518
- completed_date: null
756
+ actual_hours: 0.1
757
+ completed_date: 2026-02-27
519
758
  notes: |
520
759
  ✅ Core infrastructure complete (Steps 1-2, 5-7)
521
760
  ✅ Debug levels defined in src/config.ts
@@ -524,8 +763,9 @@ tasks:
524
763
  ✅ Documentation updated (.env.example, README.md)
525
764
  ✅ 4 space tools integrated: publish, confirm, search-space, query-space
526
765
  ✅ Weaviate client integrated: fetchMemoryWithAllProperties
527
- 📋 Remaining: 13 tools (memory, relationship, preference tools)
528
- 📋 Progress: ~70% complete
766
+ 13 remaining tools integrated: create-memory, search-memory, delete-memory, update-memory, find-similar, query-memory, deny, create-relationship, update-relationship, search-relationship, delete-relationship, set-preference, get-preferences
767
+ All 18 tools + weaviate client have debug logging
768
+ ✅ 394 tests passing, typecheck clean
529
769
 
530
770
  - id: task-60
531
771
  name: Standardize Structured Logging
@@ -554,18 +794,255 @@ tasks:
554
794
  ✅ Visual indicators (⚠️) for critical requirements
555
795
  ✅ Released in v2.6.2
556
796
 
797
+ milestone_16:
798
+ - id: task-187
799
+ name: GhostConfig Firestore CRUD
800
+ status: completed
801
+ file: agent/tasks/milestone-16-ghost-system/task-187-ghost-config-firestore.md
802
+ estimated_hours: 3
803
+ actual_hours: 0.5
804
+ completed_date: 2026-02-27
805
+ notes: |
806
+ ✅ Created src/services/ghost-config.service.ts
807
+ ✅ GhostConfig CRUD: getGhostConfig, setGhostConfigFields, setUserTrust, removeUserTrust, blockUser, unblockUser, isGhostEnabled
808
+ ✅ validateGhostConfigUpdate for input validation
809
+ ✅ FirestoreGhostConfigProvider implements GhostConfigProvider interface
810
+ ✅ 30 unit tests passing
811
+
812
+ - id: task-188
813
+ name: Trust Filter Integration into Search/Query
814
+ status: completed
815
+ file: agent/tasks/milestone-16-ghost-system/task-188-trust-filter-integration.md
816
+ estimated_hours: 4
817
+ actual_hours: 0.5
818
+ completed_date: 2026-02-27
819
+ notes: |
820
+ ✅ Added ghost_context parameter to search-memory and query-memory tools
821
+ ✅ GhostContext type exported from search-memory.ts
822
+ ✅ buildTrustFilter applied when ghost_context present
823
+ ✅ Ghost mode searches owner's collection (not caller's)
824
+ ✅ Self-access unchanged (no ghost_context = no trust filter)
825
+ ✅ 454 tests passing, typecheck clean
826
+
827
+ - id: task-189
828
+ name: Ghost Memory Content Type Filtering
829
+ status: completed
830
+ file: agent/tasks/milestone-16-ghost-system/task-189-ghost-memory-filtering.md
831
+ estimated_hours: 3
832
+ actual_hours: 0.5
833
+ completed_date: 2026-02-27
834
+ notes: |
835
+ ✅ Ghost memories excluded from default searches (search-memory, query-memory, find-similar)
836
+ ✅ Ghost memories excluded from space searches (search-space, query-space)
837
+ ✅ Explicit content_type filter bypasses ghost exclusion
838
+ ✅ Follows comment exclusion pattern
839
+ ✅ 3 new tests in search-space.spec.ts
840
+ ✅ 427 tests passing
841
+
842
+ - id: task-190
843
+ name: Ghost Configuration MCP Tools
844
+ status: completed
845
+ file: agent/tasks/milestone-16-ghost-system/task-190-ghost-config-tools.md
846
+ estimated_hours: 4
847
+ actual_hours: 0.5
848
+ completed_date: 2026-02-27
849
+ notes: |
850
+ ✅ Created src/tools/ghost-config.ts — remember_ghost_config tool
851
+ ✅ 6 actions: get, set, set_trust, remove_trust, block, unblock
852
+ ✅ Registered in server.ts and server-factory.ts
853
+ ✅ 16 unit tests passing
854
+ ✅ 21 MCP tools total
855
+
856
+ - id: task-191
857
+ name: Escalation Store Firestore Implementation
858
+ status: completed
859
+ file: agent/tasks/milestone-16-ghost-system/task-191-escalation-firestore.md
860
+ estimated_hours: 2
861
+ actual_hours: 0.5
862
+ completed_date: 2026-02-27
863
+ notes: |
864
+ ✅ Created src/services/escalation.service.ts
865
+ ✅ FirestoreEscalationStore implements EscalationStore interface
866
+ ✅ Firestore path: {BASE}.users/{ownerUserId}/ghost_escalation/{accessorUserId}:{memoryId}
867
+ ✅ 11 unit tests passing
868
+
869
+ - id: task-192
870
+ name: M16 Documentation & Verification
871
+ status: completed
872
+ file: agent/tasks/milestone-16-ghost-system/task-192-documentation-verification.md
873
+ estimated_hours: 1
874
+ actual_hours: 0.5
875
+ completed_date: 2026-02-27
876
+ notes: |
877
+ ✅ CHANGELOG.md updated with v3.12.0 entry
878
+ ✅ package.json version bump to 3.12.0
879
+ ✅ Design doc status updated to Implemented
880
+ ✅ 454 tests passing, typecheck clean, build clean
881
+
557
882
  documentation:
558
- design_documents: 30
883
+ design_documents: 31
559
884
  milestone_documents: 12
560
885
  pattern_documents: 7
561
- task_documents: 69
886
+ task_documents: 75
562
887
 
563
888
  progress:
564
889
  planning: 100%
565
- implementation: 50%
566
- overall: 50%
890
+ implementation: 70%
891
+ overall: 75%
567
892
 
568
893
  recent_work:
894
+ - date: 2026-02-27
895
+ description: M16 Ghost System COMPLETE (v3.12.0)
896
+ items:
897
+ - ✅ GhostConfig Firestore CRUD service (get, set, setUserTrust, blockUser, etc.)
898
+ - ✅ FirestoreGhostConfigProvider replaces StubGhostConfigProvider for production
899
+ - ✅ FirestoreEscalationStore for persistent trust escalation tracking
900
+ - ✅ Ghost memory filtering — excluded from all default searches
901
+ - ✅ ghost_context parameter on search-memory and query-memory tools
902
+ - ✅ buildTrustFilter wired for cross-user ghost searches
903
+ - ✅ remember_ghost_config tool — 6 actions (get, set, set_trust, remove_trust, block, unblock)
904
+ - ✅ 21 MCP tools, 454 tests (453 passed, 1 skipped)
905
+ - ✅ Version 3.12.0 released
906
+
907
+ - date: 2026-02-27
908
+ description: M8 Complete — Task 69 Comprehensive Tool Debugging
909
+ items:
910
+ - ✅ Task 69: Added debug logging to all 13 remaining tools
911
+ - ✅ All 18 MCP tools + weaviate client have createDebugLogger integration
912
+ - ✅ Pattern: debug.info at entry, debug.trace for args, debug.error in catch
913
+ - ✅ 394 tests passing, typecheck clean, build passing
914
+ - ✅ M8 Testing & Quality milestone COMPLETE (3/3 tasks)
915
+
916
+ - date: 2026-02-27
917
+ description: V1→V2 Collection Migration Code Switch + Dry Run (v3.8.0)
918
+ items:
919
+ - ✅ Complete V1→V2 code switch across all 22 files (v3.8.0)
920
+ - ✅ Schema reconciliation: v2-collections.ts is superset of v1 (both property names supported)
921
+ - ✅ All tools now use v2 collection names (Memory_users_{userId}, Memory_spaces_public)
922
+ - ✅ All tools now use v2 property names (content_type, trust_score, relationship_ids, etc.)
923
+ - ✅ Migration script built: scripts/migrate-v1-to-v2.ts (--dry-run, --verify-only, --skip-backup)
924
+ - ✅ Dry run tested against production: 3 collections, ~6,596 documents
925
+ - ✅ Collections discovered: Memory_public (11), Memory_MnOyIarhz5b8n06TsTovM582NSG2 (6,584), Memory_Default_user (1)
926
+ - ✅ Fixed migration verify step to skip during dry-run mode
927
+ - ✅ Design doc updated: agent/design/local.v2-migration-guide.md
928
+ - ✅ CHANGELOG.md updated with v3.8.0 entry
929
+ - ✅ 233 tests (232 passed, 1 skipped)
930
+ - ✅ Build passing, pushed to mainline
931
+ - ✅ e1.agentbase.me tested — publish flow working after Firebase credentials fix
932
+ - ⏳ Real migration pending — holding for e1 feature testing
933
+ - 📋 Next: Run real migration, then M7 Trust & Permissions
934
+
935
+ - date: 2026-02-27
936
+ description: Memory-Level ACL Schema Design + M14 Completion
937
+ items:
938
+ - ✅ M14 Memory Collection Pattern v2 COMPLETE (8/8 tasks, v3.7.0)
939
+ - ✅ Created agent/design/local.memory-acl-schema.md (remember-mcp)
940
+ - ✅ 4 new Weaviate fields designed (write_mode, overwrite_allowed_ids, last_revised_by, owner_id)
941
+ - ✅ Three-layer permission resolution algorithm (memory → group credentials → user)
942
+ - ✅ Space configuration Firestore collection designed
943
+ - ✅ Null-fallback migration strategy (zero backfill)
944
+ - ✅ Created local.group-credentials-for-remember-mcp.md (agentbase.me)
945
+ - ✅ Credentials endpoint extended with group_memberships_v2 (resolved permissions)
946
+ - ✅ New editor role defined (between admin and member)
947
+ - ✅ Updated local.v2-api-reference.md with upcoming ACL fields section
948
+ - ✅ Updated local.collaborative-memory-sync.md with ACL schema cross-references
949
+ - ✅ Both commits pushed (remember-mcp mainline, agentbase.me dev/prmichaelsen/e1)
950
+ - 📋 Next: M7 Trust & Permissions (implements the ACL schema)
951
+
952
+ - date: 2026-02-27
953
+ description: M14 Task 169 - remember_search_space Updated to v2 Architecture
954
+ items:
955
+ - ✅ Updated src/tools/search-space.ts for Memory Collection Pattern v2
956
+ - ✅ Now queries Memory_spaces_public (was Memory_public)
957
+ - ✅ Filters by space_ids.containsAny() (was spaces field)
958
+ - ✅ spaces parameter now optional; added groups array parameter
959
+ - ✅ Added search_type parameter (hybrid | bm25 | semantic)
960
+ - ✅ Multi-source merge + dedup by UUID + score-sorted results
961
+ - ✅ All-public fallback when neither spaces nor groups specified
962
+ - ✅ Soft-delete aware (deleted_at isNull filter)
963
+ - ✅ Created src/tools/search-space.spec.ts with 23 unit tests
964
+ - ✅ All 179 tests passing (was 156)
965
+ - 📋 M14 now 62% complete (5/8 tasks)
966
+ - 📋 Next: Task 170 - remember_create_memory + remember_update_memory
967
+
968
+ - date: 2026-02-26
969
+ description: M14 Task 168 - remember_revise Tool Implemented (v3.4.0)
970
+ items:
971
+ - ✅ Created src/tools/revise.ts - direct action tool (no confirmation flow)
972
+ - ✅ parseRevisionHistory() - safe JSON parsing of revision history field
973
+ - ✅ buildRevisionHistory() - prepends old content, trims to 10 entries max
974
+ - ✅ Reads space_ids/group_ids from source memory tracking arrays
975
+ - ✅ Updates Memory_spaces_public and Memory_groups_{groupId} in sequence
976
+ - ✅ Preserves old content in revision_history (JSON string field)
977
+ - ✅ Sets revised_at timestamp and increments revision_count per copy
978
+ - ✅ Partial success: each location reported independently
979
+ - ✅ Registered in src/server.ts and src/server-factory.ts
980
+ - ✅ 19 new unit tests (src/tools/revise.spec.ts)
981
+ - ✅ All 156 tests passing (was 137)
982
+ - ✅ Build passing (v3.4.0)
983
+ - 📋 M14 now 50% complete (4/8 tasks)
984
+ - 📋 Next: Task 169 - remember_search_space updates
985
+
986
+ - date: 2026-02-26
987
+ description: ACP Initialization - M14 Task 167 (remember_retract) Implemented
988
+ items:
989
+ - ✅ ACP init workflow executed - context fully loaded
990
+ - ⚠️ ACP update available (v4.2.1 - critical rule: never force-add gitignored files)
991
+ - ✅ Task 167: Implemented remember_retract tool (src/tools/retract.ts)
992
+ - ✅ Task 167: Added executeRetractMemory() handler in src/tools/confirm.ts
993
+ - ✅ Task 167: Registered retract tool in src/server.ts and src/server-factory.ts
994
+ - ✅ Orphan strategy: retracted memories preserved with cleared tracking arrays
995
+ - ✅ Fixed documentation drift: milestone-14 now shows In Progress
996
+ - ✅ Fixed documentation drift: task-167 now shows Completed
997
+ - ✅ Fixed version drift: progress.yaml now shows v3.2.0
998
+ - ✅ Build: passing (v3.2.0)
999
+ - ✅ Tests: 137 passed, 1 skipped (138 total)
1000
+ - 📋 Uncommitted changes pending (retract.ts + confirm.ts + server registrations)
1001
+ - 📋 Next: Task 168 - Implement remember_revise Tool
1002
+
1003
+ - date: 2026-02-25
1004
+ description: CRITICAL BUG FIX - indexNullState Schema Configuration (v3.0.1)
1005
+ items:
1006
+ - 🐛 CRITICAL: Fixed "Nullstate must be indexed to be filterable" error
1007
+ - ✅ Added indexNullState: true to inverted index configuration
1008
+ - ✅ Fixed src/weaviate/schema.ts (Memory collections)
1009
+ - ✅ Fixed src/weaviate/space-schema.ts (Memory_public collection)
1010
+ - ✅ Used correct API: weaviate.configure.invertedIndex()
1011
+ - ✅ Root cause: Task 70 added deleted_at field without null state indexing
1012
+ - ✅ Impact: All memory searches were failing with gRPC error
1013
+ - ✅ Solution: Collections must be recreated to apply fix
1014
+ - ✅ All 93 tests passing
1015
+ - ✅ TypeScript compiles without errors
1016
+ - ✅ Build successful
1017
+ - ✅ Created Task 76 documentation
1018
+ - ⚠️ Users must delete and recreate collections to apply fix
1019
+ - 📋 Ready for v3.0.1 patch release
1020
+
1021
+ - date: 2026-02-25
1022
+ description: ACP Initialization Complete - Project Context Loaded (v3.0.0)
1023
+ items:
1024
+ - ✅ Executed @acp.init command workflow
1025
+ - ⚠️ ACP updates available (v4.1.1 with task subdirectory structure)
1026
+ - ✅ Global packages discovered: acp-core v3.10.1 (28 commands, 2 patterns, 2 designs)
1027
+ - ✅ All agent documentation reviewed (30 design docs, 13 milestones, 75 tasks, 7 patterns)
1028
+ - ✅ Key source files reviewed (server.ts, progress.yaml, requirements.md, CHANGELOG.md)
1029
+ - ✅ Project status verified - M1-M4, M10-M11, M13 complete (100%), M12 in progress (60%)
1030
+ - ✅ Current version 3.0.0 (latest - soft delete system)
1031
+ - ✅ All 93 unit tests passing (1 skipped integration test)
1032
+ - ✅ Test coverage 33.12% overall
1033
+ - ✅ TypeScript compiles without errors
1034
+ - ✅ Build successful (dual export: server + factory)
1035
+ - ✅ All 17 MCP tools implemented and operational
1036
+ - ✅ Multi-tenant architecture with per-user isolation working
1037
+ - ✅ Vector search (Weaviate) + metadata (Firestore) operational
1038
+ - ✅ Shared spaces with multi-space support functional
1039
+ - ✅ Soft delete system with confirmation flow complete (v3.0.0)
1040
+ - ✅ Comment system foundation implemented (v2.6.0)
1041
+ - 📋 M12 Comment System: 3/5 tasks complete (schema, search, query updates)
1042
+ - 📋 Remaining M12 tasks: Task 58 (unit tests), Task 59 (documentation)
1043
+ - 📋 Ready to complete M12 milestone
1044
+ - 📋 Git status: Clean working directory
1045
+
569
1046
  - date: 2026-02-25
570
1047
  description: M13 COMPLETED - Soft Delete System Released (v3.0.0)
571
1048
  items:
@@ -972,6 +1449,18 @@ recent_work:
972
1449
 
973
1450
  - date: 2026-02-15
974
1451
  description: All Production Error Tasks COMPLETED (Tasks 23-25)
1452
+ items:
1453
+ - 🎉 Task 165 (Core Infrastructure Setup) COMPLETED!
1454
+ - ✅ Fixed 3 failing tests in core-infrastructure.spec.ts
1455
+ - ✅ Added ID validation for dots in getCollectionName()
1456
+ - ✅ Updated error message in parseCompositeId() to include "must be exactly 2 parts"
1457
+ - ✅ Changed validateCompositeId() to return true instead of void
1458
+ - ✅ All 138 tests passing (137 passed, 1 skipped)
1459
+ - ✅ 79% coverage on new collections code
1460
+ - 🚀 M14: Memory Collection Pattern v2 now in progress (1/8 tasks complete)
1461
+
1462
+ - date: 2026-02-26
1463
+ description: Task 165 COMPLETED - Core Infrastructure Setup
975
1464
  items:
976
1465
  - 🎉 Task 25 (Fix Update Memory Errors) COMPLETED!
977
1466
  - 🎉 Task 23 (Fix Relationship Creation Errors) COMPLETED!
@@ -1161,21 +1650,18 @@ recent_work:
1161
1650
  - ✅ Build successful
1162
1651
 
1163
1652
  next_steps:
1164
- - Complete Task 58: Add Comment Unit Tests (3 hours)
1165
- - Complete Task 59: Update Documentation for Comments (2 hours)
1166
- - Push 6 commits to origin (v2.6.0, v2.6.1, v2.6.2)
1167
- - Deploy v2.6.2 to Cloud Run
1168
- - Test comment system end-to-end (create, search, thread fetching)
1169
- - Test structured logging in Cloud Run logs
1170
- - Verify confirmation tool safety guidelines in production
1171
- - Complete M12: Comment System (Phase 1)
1172
- - Start M5: Template System (15 default templates + auto-suggestion)
1173
- - Optional: Create integration tests (Task 6)
1174
- - Optional: Add development documentation (Task 7)
1175
- - Consider M6: Auth & Multi-Tenancy
1653
+ - M5: Template System (not started)
1654
+ - M6: Auth & Multi-Tenancy (not started)
1655
+ - M9: Deployment & Documentation (not started)
1656
+ - Run real V1→V2 migration against production (after e1 testing)
1176
1657
 
1177
1658
  notes:
1178
- - 🚀 Milestone 12 (Comment System Phase 1) IN PROGRESS - 60% complete!
1659
+ - V1→V2 Collection Migration code switch COMPLETE (v3.8.0)
1660
+ - ⏳ V1→V2 data migration pending (dry run tested, ~6,596 docs)
1661
+ - ✅ Milestone 14 (Memory Collection Pattern v2) COMPLETE (8/8 tasks)
1662
+ - ✅ Milestone 15 (Moderation & Space Config) COMPLETE (6/6 tasks)
1663
+ - ✅ Milestone 12 (Comment System Phase 1) COMPLETE (5/5 tasks)
1664
+ - 🚀 Milestone 7 (Trust & Permissions) IN PROGRESS - task breakdown complete (0/7)
1179
1665
  - 🎉 Milestone 11 (Unified Public Collection) COMPLETED!
1180
1666
  - 🎉 Milestone 10 (Shared Spaces & Confirmation Flow) COMPLETED!
1181
1667
  - 🎉 Milestone 4 (User Preferences) COMPLETED!
@@ -1183,17 +1669,16 @@ notes:
1183
1669
  - 🎉 Milestone 2 (Core Memory System) COMPLETED!
1184
1670
  - 🎉 Milestone 1 (Project Foundation) COMPLETED!
1185
1671
  - ✅ All 29 design documents complete and comprehensive
1186
- - ✅ All 11 milestones defined with clear deliverables
1187
1672
  - ✅ M1: 7 tasks complete (Tasks 1-5, 9 complete; Tasks 6-7 deferred)
1188
1673
  - ✅ M2: 6/6 memory tools complete (100% progress)
1189
1674
  - ✅ M3: 4/4 relationship tools complete (100% progress)
1190
1675
  - ✅ M4: 2/2 preference tools complete (100% progress)
1191
1676
  - ✅ M10: 10/10 shared space tools complete (100% progress)
1192
1677
  - ✅ M11: 9/9 multi-space architecture tasks complete (100% progress)
1193
- - 🚀 M12: 3/5 comment system tasks complete (60% progress)
1194
- - ✅ Comment system foundation implemented (v2.6.0)
1195
- - ✅ Structured logging standardized (v2.6.1)
1196
- - ✅ Confirmation tool safety enhanced (v2.6.2)
1678
+ - M12: 5/5 comment system tasks complete (100% progress)
1679
+ - ✅ M13: Soft delete system complete
1680
+ - ✅ M14: Memory Collection v2 complete (8/8 tasks)
1681
+ - ✅ M15: Moderation & Space Config complete (6/6 tasks)
1197
1682
  - ✅ Complete memory CRUD operations (create, read, update, delete)
1198
1683
  - ✅ Complete relationship CRUD operations (create, read, update, delete)
1199
1684
  - ✅ Advanced search capabilities (hybrid, similarity, RAG queries)
@@ -1335,3 +1820,97 @@ task_20_completion:
1335
1820
  - v2.6.0: Minor release with comment system foundation
1336
1821
  - v2.6.1: Patch release with structured logging
1337
1822
  - v2.6.2: Patch release with confirmation tool safety guidelines
1823
+
1824
+ milestone_14:
1825
+ - id: task-165
1826
+ name: Core Infrastructure Setup
1827
+ status: completed
1828
+ file: agent/tasks/milestone-14-memory-collection-v2/task-165-core-infrastructure-setup.md
1829
+ estimated_hours: 8-10
1830
+ actual_hours: 10
1831
+ completed_date: 2026-02-26
1832
+ notes: |
1833
+ ✅ Dot notation collections (dot-notation.ts)
1834
+ ✅ Composite IDs (composite-ids.ts)
1835
+ ✅ Tracking arrays (tracking-arrays.ts)
1836
+ ✅ Weaviate schema definitions (v2-collections.ts)
1837
+ ✅ 44 unit tests passing (79% coverage on collections)
1838
+ ✅ Fixed 3 failing tests (ID validation, error messages, return types)
1839
+
1840
+ - id: task-166
1841
+ name: Implement remember_publish Tool
1842
+ status: completed
1843
+ file: agent/tasks/milestone-14-memory-collection-v2/task-166-update-remember-publish.md
1844
+ estimated_hours: 6-8
1845
+ actual_hours: 4
1846
+ completed_date: 2026-02-26
1847
+ notes: |
1848
+ ✅ Multi-space publication to Memory_spaces_public
1849
+ ✅ Multi-group publication to Memory_groups_{groupId}
1850
+ ✅ Composite IDs ({userId}.{memoryId}) for published memories
1851
+ ✅ Tracking arrays (space_ids, group_ids) on source and published memories
1852
+ ✅ Dual publication support (spaces + groups simultaneously)
1853
+ ✅ Error handling with partial success reporting
1854
+ ✅ Updated publish.ts schema with groups parameter
1855
+ ✅ Updated confirm.ts executePublishMemory with v2 logic
1856
+ ✅ All 138 tests passing
1857
+
1858
+ - id: task-167
1859
+ name: Implement remember_retract Tool
1860
+ status: not_started
1861
+ file: agent/tasks/milestone-14-memory-collection-v2/task-167-update-remember-retract.md
1862
+ estimated_hours: 4-6
1863
+ actual_hours: null
1864
+ completed_date: null
1865
+ notes: |
1866
+ Selective retraction from spaces/groups, orphaned memory handling.
1867
+
1868
+ - id: task-168
1869
+ name: Implement remember_revise Tool
1870
+ status: completed
1871
+ file: agent/tasks/milestone-14-memory-collection-v2/task-168-implement-remember-revise.md
1872
+ estimated_hours: 6-8
1873
+ actual_hours: 0.25
1874
+ completed_date: 2026-02-26
1875
+ notes: |
1876
+ New tool for syncing content across all published copies.
1877
+
1878
+ - id: task-169
1879
+ name: Implement remember_search_space Tool
1880
+ status: completed
1881
+ file: agent/tasks/milestone-14-memory-collection-v2/task-169-update-remember-search-space.md
1882
+ estimated_hours: 4-6
1883
+ actual_hours: null
1884
+ completed_date: 2026-02-27
1885
+ notes: |
1886
+ Query by space_ids filtering, group searches, deduplication.
1887
+
1888
+ - id: task-170
1889
+ name: Implement remember_create_memory and remember_update_memory Tools
1890
+ status: not_started
1891
+ file: agent/tasks/milestone-14-memory-collection-v2/task-170-update-remember-create-update.md
1892
+ estimated_hours: 3-4
1893
+ actual_hours: null
1894
+ completed_date: null
1895
+ notes: |
1896
+ Initialize and maintain tracking arrays in user memories.
1897
+
1898
+ - id: task-172
1899
+ name: Performance Testing and Optimization
1900
+ status: not_started
1901
+ file: agent/tasks/milestone-14-memory-collection-v2/task-172-performance-testing-optimization.md
1902
+ estimated_hours: 6-8
1903
+ actual_hours: null
1904
+ completed_date: null
1905
+ notes: |
1906
+ Comprehensive performance testing, optimization to meet <200ms targets.
1907
+
1908
+ - id: task-173
1909
+ name: Documentation and Examples
1910
+ status: not_started
1911
+ file: agent/tasks/milestone-14-memory-collection-v2/task-173-documentation-examples.md
1912
+ estimated_hours: 4-6
1913
+ actual_hours: null
1914
+ completed_date: null
1915
+ notes: |
1916
+ API docs, architecture docs, usage examples.