@prmichaelsen/remember-mcp 4.0.2 → 4.1.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 (74) hide show
  1. package/AGENT.md +1 -1
  2. package/CHANGELOG.md +12 -0
  3. package/agent/commands/acp.artifact-glossary.md +22 -0
  4. package/agent/commands/acp.artifact-reference.md +21 -0
  5. package/agent/commands/acp.artifact-research.md +20 -0
  6. package/agent/commands/acp.audit.md +19 -0
  7. package/agent/commands/acp.clarification-address.md +20 -0
  8. package/agent/commands/acp.clarification-capture.md +9 -0
  9. package/agent/commands/acp.clarification-create.md +20 -0
  10. package/agent/commands/acp.command-create.md +20 -0
  11. package/agent/commands/acp.design-create.md +20 -0
  12. package/agent/commands/acp.design-reference.md +9 -0
  13. package/agent/commands/acp.handoff.md +17 -0
  14. package/agent/commands/acp.index.md +23 -0
  15. package/agent/commands/acp.init.md +25 -2
  16. package/agent/commands/acp.package-create.md +14 -0
  17. package/agent/commands/acp.package-info.md +17 -0
  18. package/agent/commands/acp.package-install.md +20 -0
  19. package/agent/commands/acp.package-list.md +20 -0
  20. package/agent/commands/acp.package-publish.md +13 -0
  21. package/agent/commands/acp.package-remove.md +18 -0
  22. package/agent/commands/acp.package-search.md +19 -0
  23. package/agent/commands/acp.package-update.md +21 -0
  24. package/agent/commands/acp.package-validate.md +14 -0
  25. package/agent/commands/acp.pattern-create.md +20 -0
  26. package/agent/commands/acp.plan.md +42 -13
  27. package/agent/commands/acp.proceed.md +55 -21
  28. package/agent/commands/acp.project-create.md +13 -0
  29. package/agent/commands/acp.project-info.md +17 -0
  30. package/agent/commands/acp.project-list.md +19 -0
  31. package/agent/commands/acp.project-remove.md +18 -0
  32. package/agent/commands/acp.project-set.md +16 -0
  33. package/agent/commands/acp.project-update.md +22 -0
  34. package/agent/commands/acp.projects-restore.md +18 -0
  35. package/agent/commands/acp.projects-sync.md +14 -0
  36. package/agent/commands/acp.report.md +15 -0
  37. package/agent/commands/acp.resume.md +15 -0
  38. package/agent/commands/acp.sessions.md +21 -0
  39. package/agent/commands/acp.status.md +15 -0
  40. package/agent/commands/acp.sync.md +15 -0
  41. package/agent/commands/acp.task-create.md +21 -0
  42. package/agent/commands/acp.update.md +15 -0
  43. package/agent/commands/acp.validate.md +25 -2
  44. package/agent/commands/acp.version-check-for-updates.md +13 -0
  45. package/agent/commands/acp.version-check.md +13 -0
  46. package/agent/commands/acp.version-update.md +14 -0
  47. package/agent/commands/command.template.md +33 -0
  48. package/agent/commands/git.commit.md +14 -0
  49. package/agent/commands/git.init.md +13 -0
  50. package/agent/manifest.yaml +3 -3
  51. package/agent/milestones/milestone-24-mcp-elicitation-confirmation.md +99 -0
  52. package/agent/progress.yaml +1406 -1327
  53. package/agent/tasks/milestone-24-mcp-elicitation-confirmation/task-530-create-elicitation-helper.md +78 -0
  54. package/agent/tasks/milestone-24-mcp-elicitation-confirmation/task-531-update-handler-signatures.md +62 -0
  55. package/agent/tasks/milestone-24-mcp-elicitation-confirmation/task-532-implement-elicitation-in-tools.md +113 -0
  56. package/agent/tasks/milestone-24-mcp-elicitation-confirmation/task-533-wire-server-instance.md +62 -0
  57. package/agent/tasks/milestone-24-mcp-elicitation-confirmation/task-534-verification-cleanup.md +60 -0
  58. package/dist/server-factory.js +183 -13
  59. package/dist/server.js +183 -13
  60. package/dist/tools/delete-memory.d.ts +2 -1
  61. package/dist/tools/publish.d.ts +2 -1
  62. package/dist/tools/request-set-trust-level.d.ts +2 -1
  63. package/dist/tools/retract.d.ts +2 -1
  64. package/dist/tools/revise.d.ts +2 -1
  65. package/dist/utils/elicitation.d.ts +31 -0
  66. package/package.json +1 -1
  67. package/src/server-factory.ts +5 -5
  68. package/src/server.ts +5 -5
  69. package/src/tools/delete-memory.ts +51 -3
  70. package/src/tools/publish.ts +37 -1
  71. package/src/tools/request-set-trust-level.ts +35 -4
  72. package/src/tools/retract.ts +37 -1
  73. package/src/tools/revise.ts +39 -1
  74. package/src/utils/elicitation.ts +53 -0
@@ -5,14 +5,19 @@ project:
5
5
  version: 4.0.0
6
6
  started: 2026-02-11
7
7
  status: in_progress
8
- current_milestone: M23
9
- last_updated: 2026-03-20
8
+ current_milestone: M24
9
+ last_updated: 2026-03-23
10
+ description: |
11
+ Multi-tenant memory system MCP server with vector search, relationships,
12
+ shared spaces, trust levels, ghost system, and moderation.
10
13
 
11
14
  milestones:
12
15
  - id: M1
13
16
  name: Project Foundation
17
+ priority: 0
18
+ file: agent/milestones/milestone-1-project-foundation.md
14
19
  status: completed
15
- progress: 100%
20
+ progress: 100
16
21
  started: 2026-02-11
17
22
  completed: 2026-02-11
18
23
  estimated_weeks: 1
@@ -40,8 +45,10 @@ milestones:
40
45
 
41
46
  - id: M2
42
47
  name: Core Memory System
48
+ priority: 1
49
+ file: agent/milestones/milestone-2-core-memory-system.md
43
50
  status: completed
44
- progress: 100%
51
+ progress: 100
45
52
  started: 2026-02-11
46
53
  completed: 2026-02-11
47
54
  estimated_weeks: 2
@@ -65,8 +72,10 @@ milestones:
65
72
 
66
73
  - id: M3
67
74
  name: Relationships & Graph
75
+ priority: 2
76
+ file: agent/milestones/milestone-3-relationships-graph.md
68
77
  status: completed
69
- progress: 100%
78
+ progress: 100
70
79
  started: 2026-02-11
71
80
  completed: 2026-02-11
72
81
  estimated_weeks: 1
@@ -88,8 +97,10 @@ milestones:
88
97
 
89
98
  - id: M4
90
99
  name: User Preferences
100
+ priority: 3
101
+ file: agent/milestones/milestone-4-user-preferences.md
91
102
  status: completed
92
- progress: 100%
103
+ progress: 100
93
104
  started: 2026-02-11
94
105
  completed: 2026-02-11
95
106
  estimated_weeks: 1
@@ -113,20 +124,26 @@ milestones:
113
124
 
114
125
  - id: M5
115
126
  name: Template System
127
+ priority: 4
128
+ file: agent/milestones/milestone-5-template-system.md
116
129
  status: not_started
117
- progress: 0%
130
+ progress: 0
118
131
  estimated_weeks: 2
119
132
 
120
133
  - id: M6
121
134
  name: Auth & Multi-Tenancy
135
+ priority: 5
136
+ file: agent/milestones/milestone-6-auth-multi-tenancy.md
122
137
  status: not_started
123
- progress: 0%
138
+ progress: 0
124
139
  estimated_weeks: 1
125
140
 
126
141
  - id: M10
127
142
  name: Shared Spaces & Confirmation Flow
143
+ priority: 6
144
+ file: agent/milestones/milestone-10-shared-spaces.md
128
145
  status: completed
129
- progress: 100%
146
+ progress: 100
130
147
  started: 2026-02-16
131
148
  completed: 2026-02-16
132
149
  estimated_weeks: 2-3
@@ -144,8 +161,10 @@ milestones:
144
161
 
145
162
  - id: M11
146
163
  name: Unified Public Collection
164
+ priority: 7
165
+ file: agent/milestones/milestone-11-unified-public-collection.md
147
166
  status: completed
148
- progress: 100%
167
+ progress: 100
149
168
  started: 2026-02-16
150
169
  completed: 2026-02-16
151
170
  estimated_weeks: 1-2
@@ -165,8 +184,10 @@ milestones:
165
184
 
166
185
  - id: M12
167
186
  name: Comment System (Phase 1)
187
+ priority: 8
188
+ file: agent/milestones/milestone-12-comment-system.md
168
189
  status: completed
169
- progress: 100%
190
+ progress: 100
170
191
  started: 2026-02-16
171
192
  completed: 2026-02-27
172
193
  estimated_weeks: 1
@@ -183,8 +204,10 @@ milestones:
183
204
 
184
205
  - id: M13
185
206
  name: Soft Delete System
207
+ priority: 9
208
+ file: agent/milestones/milestone-13-soft-delete-system.md
186
209
  status: completed
187
- progress: 100%
210
+ progress: 100
188
211
  started: 2026-02-25
189
212
  completed: 2026-02-25
190
213
  estimated_weeks: 2-3
@@ -207,8 +230,10 @@ milestones:
207
230
 
208
231
  - id: M14
209
232
  name: Memory Collection Pattern v2
233
+ priority: 10
234
+ file: agent/milestones/milestone-14-memory-collection-v2.md
210
235
  status: completed
211
- progress: 100%
236
+ progress: 100
212
237
  started: 2026-02-26
213
238
  completed: 2026-02-27
214
239
  estimated_weeks: 2-3
@@ -243,8 +268,10 @@ milestones:
243
268
 
244
269
  - id: M15
245
270
  name: Moderation & Space Config
271
+ priority: 11
272
+ file: agent/milestones/milestone-15-moderation-space-config.md
246
273
  status: completed
247
- progress: 100%
274
+ progress: 100
248
275
  started: 2026-02-27
249
276
  completed: 2026-03-06
250
277
  estimated_weeks: 2
@@ -264,8 +291,10 @@ milestones:
264
291
 
265
292
  - id: M7
266
293
  name: Trust & Permissions
294
+ priority: 12
295
+ file: agent/milestones/milestone-7-trust-permissions.md
267
296
  status: completed
268
- progress: 100%
297
+ progress: 100
269
298
  estimated_weeks: 2
270
299
  tasks_completed: 4
271
300
  tasks_total: 4
@@ -284,8 +313,10 @@ milestones:
284
313
 
285
314
  - id: M8
286
315
  name: Testing & Quality
316
+ priority: 13
317
+ file: agent/milestones/milestone-8-testing-quality.md
287
318
  status: completed
288
- progress: 100%
319
+ progress: 100
289
320
  estimated_weeks: 2
290
321
  started: 2026-02-25
291
322
  completed: 2026-02-27
@@ -301,8 +332,10 @@ milestones:
301
332
 
302
333
  - id: M16
303
334
  name: Ghost System
335
+ priority: 14
336
+ file: agent/milestones/milestone-16-ghost-system.md
304
337
  status: completed
305
- progress: 100%
338
+ progress: 100
306
339
  estimated_weeks: 2
307
340
  started: 2026-02-27
308
341
  completed: 2026-02-27
@@ -321,14 +354,18 @@ milestones:
321
354
 
322
355
  - id: M9
323
356
  name: Deployment & Documentation
357
+ priority: 15
358
+ file: agent/milestones/milestone-9-deployment-documentation.md
324
359
  status: not_started
325
- progress: 0%
360
+ progress: 0
326
361
  estimated_weeks: 1
327
362
 
328
363
  - id: M17
329
364
  name: remember-core Migration
365
+ priority: 16
366
+ file: agent/milestones/milestone-17-remember-core-migration.md
330
367
  status: completed
331
- progress: 100%
368
+ progress: 100
332
369
  estimated_weeks: 2-3
333
370
  tasks_completed: 8
334
371
  tasks_total: 8
@@ -343,8 +380,10 @@ milestones:
343
380
 
344
381
  - id: M18
345
382
  name: Performance Tuning
383
+ priority: 17
384
+ file: agent/milestones/milestone-18-performance-tuning.md
346
385
  status: in_progress
347
- progress: 87%
386
+ progress: 87
348
387
  estimated_weeks: 1
349
388
  tasks_completed: 7
350
389
  tasks_total: 8
@@ -354,8 +393,10 @@ milestones:
354
393
 
355
394
  - id: M19
356
395
  name: New Search Modes, Ghost Tools & Emotional Exposure
396
+ priority: 18
397
+ file: agent/milestones/milestone-19-new-search-ghost-tools.md
357
398
  status: completed
358
- progress: 100%
399
+ progress: 100
359
400
  estimated_weeks: 2-3
360
401
  tasks_completed: 9
361
402
  tasks_total: 9
@@ -368,8 +409,10 @@ milestones:
368
409
 
369
410
  - id: M20
370
411
  name: Unified Internal Memory Tools
412
+ priority: 19
413
+ file: agent/milestones/milestone-20-unified-internal-memory-tools.md
371
414
  status: in_progress
372
- progress: 100%
415
+ progress: 100
373
416
  status: completed
374
417
  estimated_weeks: 1-2
375
418
  tasks_completed: 7
@@ -383,14 +426,16 @@ milestones:
383
426
 
384
427
  - id: M21
385
428
  name: API Token & OAuth Access
429
+ priority: 20
430
+ file: agent/milestones/milestone-21-api-token-oauth-access.md
386
431
  status: not_started
387
- progress: 0%
432
+ progress: 0
388
433
  estimated_weeks: 1
389
434
  tasks_completed: 5
390
435
  tasks_total: 5
391
436
  completed: 2026-03-14
392
437
  status: completed
393
- progress: 100%
438
+ progress: 100
394
439
  notes: |
395
440
  🎉 MILESTONE COMPLETE! Local CLI access via OAuth token exchange.
396
441
  ✅ Task 515: Auth scheme config (discriminated union, no Zod)
@@ -403,13 +448,15 @@ milestones:
403
448
 
404
449
  - id: M22
405
450
  name: Admin Debugging Tools
451
+ priority: 21
452
+ file: agent/milestones/milestone-22-admin-debugging-tools.md
406
453
  status: not_started
407
- progress: 0%
454
+ progress: 0
408
455
  estimated_weeks: 1
409
456
  tasks_completed: 5
410
457
  tasks_total: 5
411
458
  status: completed
412
- progress: 100%
459
+ progress: 100
413
460
  completed: 2026-03-14
414
461
  notes: |
415
462
  Read-only admin MCP tools gated by ADMIN_USER_IDS env var.
@@ -421,8 +468,9 @@ milestones:
421
468
 
422
469
  - id: M23
423
470
  name: Trust Level Protection (Breaking)
471
+ priority: 22
424
472
  status: completed
425
- progress: 100%
473
+ progress: 100
426
474
  started: 2026-03-20
427
475
  completed: 2026-03-20
428
476
  estimated_weeks: 1
@@ -435,10 +483,27 @@ milestones:
435
483
  update trust scale 0-1 → 1-5, secret_token on confirm/deny.
436
484
  Major breaking version: 3.x → 4.0.0.
437
485
 
486
+ - id: M24
487
+ name: MCP Elicitation Confirmation Flow
488
+ priority: 23
489
+ status: completed
490
+ progress: 100
491
+ started: 2026-03-23
492
+ completed: 2026-03-23
493
+ estimated_weeks: 1
494
+ tasks_completed: 5
495
+ tasks_total: 5
496
+ file: agent/milestones/milestone-24-mcp-elicitation-confirmation.md
497
+ notes: |
498
+ Replace two-phase token+confirm/deny confirmation with MCP elicitation.
499
+ Elicitation prompts the user directly through the client, bypassing the agent.
500
+ Fallback to token flow for clients without elicitation support.
501
+
438
502
  tasks:
439
- milestone_1:
503
+ M1:
440
504
  - id: task-1
441
505
  name: Initialize Project Structure
506
+ priority: 0
442
507
  status: completed
443
508
  file: agent/tasks/task-1-initialize-project-structure.md
444
509
  estimated_hours: 2
@@ -454,6 +519,7 @@ tasks:
454
519
 
455
520
  - id: task-2
456
521
  name: Install Dependencies
522
+ priority: 0
457
523
  status: completed
458
524
  file: agent/tasks/task-2-install-dependencies.md
459
525
  estimated_hours: 1
@@ -466,6 +532,7 @@ tasks:
466
532
 
467
533
  - id: task-3
468
534
  name: Setup Weaviate Client
535
+ priority: 0
469
536
  status: completed
470
537
  file: agent/tasks/task-3-setup-weaviate-client.md
471
538
  estimated_hours: 3
@@ -481,6 +548,7 @@ tasks:
481
548
 
482
549
  - id: task-4
483
550
  name: Setup Firestore Client
551
+ priority: 0
484
552
  status: completed
485
553
  file: agent/tasks/task-4-setup-firestore-client.md
486
554
  estimated_hours: 2
@@ -494,6 +562,7 @@ tasks:
494
562
 
495
563
  - id: task-5
496
564
  name: Create Basic MCP Server
565
+ priority: 0
497
566
  status: completed
498
567
  file: agent/tasks/task-5-create-basic-mcp-server.md
499
568
  estimated_hours: 3
@@ -511,6 +580,7 @@ tasks:
511
580
 
512
581
  - id: task-6
513
582
  name: Create Integration Tests
583
+ priority: 0
514
584
  status: deferred
515
585
  file: agent/tasks/task-6-create-integration-tests.md
516
586
  estimated_hours: 2
@@ -522,6 +592,7 @@ tasks:
522
592
 
523
593
  - id: task-7
524
594
  name: Finalize Milestone 1
595
+ priority: 0
525
596
  status: deferred
526
597
  file: agent/tasks/task-7-finalize-milestone-1.md
527
598
  estimated_hours: 1
@@ -532,6 +603,7 @@ tasks:
532
603
 
533
604
  - id: task-9
534
605
  name: Create Server Factory for mcp-auth
606
+ priority: 0
535
607
  status: completed
536
608
  file: agent/tasks/task-9-create-server-factory.md
537
609
  estimated_hours: 2
@@ -547,9 +619,10 @@ tasks:
547
619
  ✅ Updated README.md with usage examples
548
620
  ✅ Factory export verified working
549
621
 
550
- milestone_2:
622
+ M2:
551
623
  - id: task-10
552
624
  name: Implement Memory Type Definitions
625
+ priority: 0
553
626
  status: completed
554
627
  file: agent/tasks/task-10-memory-types.md
555
628
  estimated_hours: 2
@@ -562,6 +635,7 @@ tasks:
562
635
 
563
636
  - id: task-11
564
637
  name: Implement Weaviate Schema
638
+ priority: 0
565
639
  status: completed
566
640
  file: agent/tasks/task-11-weaviate-schema.md
567
641
  estimated_hours: 3
@@ -575,6 +649,7 @@ tasks:
575
649
 
576
650
  - id: task-12
577
651
  name: Implement remember_create_memory
652
+ priority: 0
578
653
  status: completed
579
654
  file: agent/tasks/task-12-create-memory-tool.md
580
655
  estimated_hours: 3
@@ -588,6 +663,7 @@ tasks:
588
663
 
589
664
  - id: task-13
590
665
  name: Implement remember_search_memory
666
+ priority: 0
591
667
  status: completed
592
668
  file: agent/tasks/task-13-search-memory-tool.md
593
669
  estimated_hours: 4
@@ -602,6 +678,7 @@ tasks:
602
678
 
603
679
  - id: task-14
604
680
  name: Implement remember_delete_memory
681
+ priority: 0
605
682
  status: completed
606
683
  file: agent/tasks/task-14-delete-memory-tool.md
607
684
  estimated_hours: 2
@@ -615,6 +692,7 @@ tasks:
615
692
 
616
693
  - id: task-15
617
694
  name: Implement remember_update_memory
695
+ priority: 0
618
696
  status: completed
619
697
  file: agent/tasks/task-15-update-memory-tool.md
620
698
  estimated_hours: 3
@@ -631,6 +709,7 @@ tasks:
631
709
 
632
710
  - id: task-16
633
711
  name: Implement remember_find_similar
712
+ priority: 0
634
713
  status: completed
635
714
  file: agent/tasks/task-16-find-similar-tool.md
636
715
  estimated_hours: 3
@@ -646,6 +725,7 @@ tasks:
646
725
 
647
726
  - id: task-17
648
727
  name: Implement remember_query_memory
728
+ priority: 0
649
729
  status: completed
650
730
  file: agent/tasks/task-17-query-memory-tool.md
651
731
  estimated_hours: 4
@@ -660,9 +740,10 @@ tasks:
660
740
  ✅ Context inclusion toggle
661
741
  ✅ Integrated into server.ts and server-factory.ts
662
742
 
663
- milestone_12:
743
+ M12:
664
744
  - id: task-55
665
745
  name: Add Comment Fields to Weaviate Schema
746
+ priority: 0
666
747
  status: completed
667
748
  file: agent/tasks/task-55-add-comment-fields-to-schema.md
668
749
  estimated_hours: 2
@@ -676,6 +757,7 @@ tasks:
676
757
 
677
758
  - id: task-56
678
759
  name: Update remember_search_space for Comments
760
+ priority: 0
679
761
  status: completed
680
762
  file: agent/tasks/task-56-update-search-space-for-comments.md
681
763
  estimated_hours: 2
@@ -689,6 +771,7 @@ tasks:
689
771
 
690
772
  - id: task-57
691
773
  name: Update remember_query_space for Comments
774
+ priority: 0
692
775
  status: completed
693
776
  file: agent/tasks/task-57-update-query-space-for-comments.md
694
777
  estimated_hours: 1
@@ -701,6 +784,7 @@ tasks:
701
784
 
702
785
  - id: task-58
703
786
  name: Add Comment Unit Tests
787
+ priority: 0
704
788
  status: completed
705
789
  file: agent/tasks/task-58-add-comment-unit-tests.md
706
790
  estimated_hours: 3
@@ -713,6 +797,7 @@ tasks:
713
797
 
714
798
  - id: task-59
715
799
  name: Update Documentation for Comments
800
+ priority: 0
716
801
  status: completed
717
802
  file: agent/tasks/task-59-update-documentation-for-comments.md
718
803
  estimated_hours: 2
@@ -721,9 +806,10 @@ tasks:
721
806
  ✅ Design doc status set to "Implemented — Phase 1 Complete"
722
807
  ✅ Progress tracking updated (M12 complete)
723
808
 
724
- milestone_15:
809
+ M15:
725
810
  - id: task-174
726
811
  name: Add Moderation Schema Fields
812
+ priority: 0
727
813
  status: completed
728
814
  file: agent/tasks/milestone-15-moderation-space-config/task-174-add-moderation-schema-fields.md
729
815
  estimated_hours: 2-3
@@ -733,6 +819,7 @@ tasks:
733
819
 
734
820
  - id: task-175
735
821
  name: Create SpaceConfig Service
822
+ priority: 0
736
823
  status: completed
737
824
  file: agent/tasks/milestone-15-moderation-space-config/task-175-create-space-config-service.md
738
825
  estimated_hours: 3-4
@@ -742,6 +829,7 @@ tasks:
742
829
 
743
830
  - id: task-176
744
831
  name: Wire Moderation into Publish Flow
832
+ priority: 0
745
833
  status: completed
746
834
  file: agent/tasks/milestone-15-moderation-space-config/task-176-wire-moderation-publish-flow.md
747
835
  estimated_hours: 3-4
@@ -753,6 +841,7 @@ tasks:
753
841
 
754
842
  - id: task-177
755
843
  name: Add Moderation Filters to Search Tools
844
+ priority: 0
756
845
  status: completed
757
846
  file: agent/tasks/milestone-15-moderation-space-config/task-177-add-moderation-search-filters.md
758
847
  estimated_hours: 4-6
@@ -765,6 +854,7 @@ tasks:
765
854
 
766
855
  - id: task-178
767
856
  name: Create remember_moderate Tool
857
+ priority: 0
768
858
  status: completed
769
859
  file: agent/tasks/milestone-15-moderation-space-config/task-178-create-remember-moderate-tool.md
770
860
  estimated_hours: 4-6
@@ -777,6 +867,7 @@ tasks:
777
867
 
778
868
  - id: task-179
779
869
  name: Documentation and Integration Tests
870
+ priority: 0
780
871
  status: completed
781
872
  file: agent/tasks/milestone-15-moderation-space-config/task-179-documentation-integration-tests.md
782
873
  estimated_hours: 2-3
@@ -787,6 +878,7 @@ tasks:
787
878
 
788
879
  - id: task-202
789
880
  name: Wire LLM Moderation Client to SpaceService
881
+ priority: 0
790
882
  status: completed
791
883
  completed_date: 2026-03-06
792
884
  file: agent/tasks/milestone-15-moderation-space-config/task-202-wire-llm-moderation-client.md
@@ -798,9 +890,10 @@ tasks:
798
890
  📋 Auto-create when ANTHROPIC_API_KEY env var is present
799
891
  📋 ~5 lines of code change
800
892
 
801
- milestone_7:
893
+ M7:
802
894
  - id: task-180
803
895
  name: Access Result & Permission Types
896
+ priority: 0
804
897
  status: completed
805
898
  file: agent/tasks/milestone-7-trust-permissions/task-180-access-result-permission-types.md
806
899
  estimated_hours: 2-3
@@ -810,6 +903,7 @@ tasks:
810
903
 
811
904
  - id: task-181
812
905
  name: Firestore Permissions & Access Logs
906
+ priority: 0
813
907
  status: deferred
814
908
  file: agent/tasks/milestone-7-trust-permissions/task-181-firestore-permissions-access-logs.md
815
909
  estimated_hours: 4-6
@@ -821,6 +915,7 @@ tasks:
821
915
 
822
916
  - id: task-182
823
917
  name: Trust Enforcement Service
918
+ priority: 0
824
919
  status: completed
825
920
  file: agent/tasks/milestone-7-trust-permissions/task-182-trust-enforcement-service.md
826
921
  estimated_hours: 3-4
@@ -831,6 +926,7 @@ tasks:
831
926
 
832
927
  - id: task-183
833
928
  name: Access Control Service
929
+ priority: 0
834
930
  status: completed
835
931
  file: agent/tasks/milestone-7-trust-permissions/task-183-access-control-service.md
836
932
  estimated_hours: 4-6
@@ -842,6 +938,7 @@ tasks:
842
938
 
843
939
  - id: task-184
844
940
  name: Permission Tools (5 tools)
941
+ priority: 0
845
942
  status: deferred
846
943
  file: agent/tasks/milestone-7-trust-permissions/task-184-permission-tools.md
847
944
  estimated_hours: 6-8
@@ -852,6 +949,7 @@ tasks:
852
949
 
853
950
  - id: task-185
854
951
  name: Wire Trust into Search/Query Tools
952
+ priority: 0
855
953
  status: deferred
856
954
  file: agent/tasks/milestone-7-trust-permissions/task-185-wire-trust-into-search-query.md
857
955
  estimated_hours: 4-6
@@ -862,6 +960,7 @@ tasks:
862
960
 
863
961
  - id: task-186
864
962
  name: Documentation & Verification
963
+ priority: 0
865
964
  status: completed
866
965
  file: agent/tasks/milestone-7-trust-permissions/task-186-documentation-verification.md
867
966
  estimated_hours: 2-3
@@ -870,9 +969,10 @@ tasks:
870
969
  📋 CHANGELOG, version bump, design doc status updates
871
970
  📋 All tests pass, build succeeds
872
971
 
873
- milestone_8:
972
+ M8:
874
973
  - id: task-69
875
974
  name: Add Comprehensive Tool Debugging
975
+ priority: 0
876
976
  status: completed
877
977
  file: agent/tasks/task-69-add-comprehensive-tool-debugging.md
878
978
  estimated_hours: 4-6
@@ -892,6 +992,7 @@ tasks:
892
992
 
893
993
  - id: task-60
894
994
  name: Standardize Structured Logging
995
+ priority: 0
895
996
  status: completed
896
997
  file: agent/tasks/task-60-standardize-structured-logging.md
897
998
  estimated_hours: 3
@@ -905,6 +1006,7 @@ tasks:
905
1006
 
906
1007
  - id: task-61
907
1008
  name: Enhance Confirmation Tool Safety Guidelines
1009
+ priority: 0
908
1010
  status: completed
909
1011
  file: agent/tasks/task-61-enhance-confirmation-tool-descriptions.md
910
1012
  estimated_hours: 1
@@ -917,9 +1019,10 @@ tasks:
917
1019
  ✅ Visual indicators (⚠️) for critical requirements
918
1020
  ✅ Released in v2.6.2
919
1021
 
920
- milestone_16:
1022
+ M16:
921
1023
  - id: task-187
922
1024
  name: GhostConfig Firestore CRUD
1025
+ priority: 0
923
1026
  status: completed
924
1027
  file: agent/tasks/milestone-16-ghost-system/task-187-ghost-config-firestore.md
925
1028
  estimated_hours: 3
@@ -934,6 +1037,7 @@ tasks:
934
1037
 
935
1038
  - id: task-188
936
1039
  name: Trust Filter Integration into Search/Query
1040
+ priority: 0
937
1041
  status: completed
938
1042
  file: agent/tasks/milestone-16-ghost-system/task-188-trust-filter-integration.md
939
1043
  estimated_hours: 4
@@ -949,6 +1053,7 @@ tasks:
949
1053
 
950
1054
  - id: task-189
951
1055
  name: Ghost Memory Content Type Filtering
1056
+ priority: 0
952
1057
  status: completed
953
1058
  file: agent/tasks/milestone-16-ghost-system/task-189-ghost-memory-filtering.md
954
1059
  estimated_hours: 3
@@ -964,6 +1069,7 @@ tasks:
964
1069
 
965
1070
  - id: task-190
966
1071
  name: Ghost Configuration MCP Tools
1072
+ priority: 0
967
1073
  status: completed
968
1074
  file: agent/tasks/milestone-16-ghost-system/task-190-ghost-config-tools.md
969
1075
  estimated_hours: 4
@@ -978,6 +1084,7 @@ tasks:
978
1084
 
979
1085
  - id: task-191
980
1086
  name: Escalation Store Firestore Implementation
1087
+ priority: 0
981
1088
  status: completed
982
1089
  file: agent/tasks/milestone-16-ghost-system/task-191-escalation-firestore.md
983
1090
  estimated_hours: 2
@@ -991,6 +1098,7 @@ tasks:
991
1098
 
992
1099
  - id: task-192
993
1100
  name: M16 Documentation & Verification
1101
+ priority: 0
994
1102
  status: completed
995
1103
  file: agent/tasks/milestone-16-ghost-system/task-192-documentation-verification.md
996
1104
  estimated_hours: 1
@@ -1002,9 +1110,10 @@ tasks:
1002
1110
  ✅ Design doc status updated to Implemented
1003
1111
  ✅ 454 tests passing, typecheck clean, build clean
1004
1112
 
1005
- milestone_17:
1113
+ M17:
1006
1114
  - id: task-193
1007
1115
  name: Foundation Setup
1116
+ priority: 0
1008
1117
  status: completed
1009
1118
  file: agent/tasks/milestone-17-remember-core-migration/task-193-foundation-setup.md
1010
1119
  estimated_hours: 2-3
@@ -1016,6 +1125,7 @@ tasks:
1016
1125
 
1017
1126
  - id: task-194
1018
1127
  name: Migrate Relationship Tools
1128
+ priority: 0
1019
1129
  status: completed
1020
1130
  completed_date: 2026-02-28
1021
1131
  file: agent/tasks/milestone-17-remember-core-migration/task-194-migrate-relationship-tools.md
@@ -1026,6 +1136,7 @@ tasks:
1026
1136
 
1027
1137
  - id: task-195
1028
1138
  name: Migrate Preference Tools
1139
+ priority: 0
1029
1140
  status: completed
1030
1141
  completed_date: 2026-02-28
1031
1142
  file: agent/tasks/milestone-17-remember-core-migration/task-195-migrate-preference-tools.md
@@ -1036,6 +1147,7 @@ tasks:
1036
1147
 
1037
1148
  - id: task-196
1038
1149
  name: Migrate Memory Tools
1150
+ priority: 0
1039
1151
  status: completed
1040
1152
  completed_date: 2026-02-28
1041
1153
  file: agent/tasks/milestone-17-remember-core-migration/task-196-migrate-memory-tools.md
@@ -1048,6 +1160,7 @@ tasks:
1048
1160
 
1049
1161
  - id: task-197
1050
1162
  name: Migrate Space Confirmation Tools
1163
+ priority: 0
1051
1164
  status: completed
1052
1165
  completed_date: 2026-02-28
1053
1166
  file: agent/tasks/milestone-17-remember-core-migration/task-197-migrate-space-confirmation-tools.md
@@ -1059,6 +1172,7 @@ tasks:
1059
1172
 
1060
1173
  - id: task-198
1061
1174
  name: Migrate Space Search/Moderate Tools
1175
+ priority: 0
1062
1176
  status: completed
1063
1177
  completed_date: 2026-02-28
1064
1178
  file: agent/tasks/milestone-17-remember-core-migration/task-198-migrate-space-search-moderate.md
@@ -1071,6 +1185,7 @@ tasks:
1071
1185
 
1072
1186
  - id: task-199
1073
1187
  name: Migrate delete_memory Tool
1188
+ priority: 0
1074
1189
  status: completed
1075
1190
  completed_date: 2026-02-28
1076
1191
  file: agent/tasks/milestone-17-remember-core-migration/task-199-migrate-delete-memory.md
@@ -1082,6 +1197,7 @@ tasks:
1082
1197
 
1083
1198
  - id: task-200
1084
1199
  name: Code Cleanup & Verification
1200
+ priority: 0
1085
1201
  status: completed
1086
1202
  completed_date: 2026-02-28
1087
1203
  file: agent/tasks/milestone-17-remember-core-migration/task-200-code-cleanup-verification.md
@@ -1093,9 +1209,10 @@ tasks:
1093
1209
  ✅ Removed empty src/constants/ and src/collections/ directories.
1094
1210
  ✅ Build passing, 390 tests (389 passed, 1 skipped).
1095
1211
 
1096
- milestone_18:
1212
+ M18:
1097
1213
  - id: task-77
1098
1214
  name: Parallelize checkIfFriend Firestore Queries
1215
+ priority: 0
1099
1216
  status: completed
1100
1217
  completed_date: 2026-03-04
1101
1218
  file: agent/tasks/task-77-parallelize-checkiffriend.md
@@ -1105,6 +1222,7 @@ tasks:
1105
1222
 
1106
1223
  - id: task-78
1107
1224
  name: Add TTL Cache to checkIfFriend
1225
+ priority: 0
1108
1226
  status: completed
1109
1227
  completed_date: 2026-03-04
1110
1228
  file: agent/tasks/task-78-cache-checkiffriend.md
@@ -1115,6 +1233,7 @@ tasks:
1115
1233
 
1116
1234
  - id: task-79
1117
1235
  name: Memoize createCoreServices per userId
1236
+ priority: 0
1118
1237
  status: completed
1119
1238
  completed_date: 2026-03-04
1120
1239
  file: agent/tasks/task-79-memoize-core-services.md
@@ -1124,6 +1243,7 @@ tasks:
1124
1243
 
1125
1244
  - id: task-80
1126
1245
  name: Parallelize Startup Health Checks
1246
+ priority: 0
1127
1247
  status: completed
1128
1248
  completed_date: 2026-03-04
1129
1249
  file: agent/tasks/task-80-parallelize-startup-health-checks.md
@@ -1133,6 +1253,7 @@ tasks:
1133
1253
 
1134
1254
  - id: task-81
1135
1255
  name: Optimize ghost-config block/unblock with FieldValue
1256
+ priority: 0
1136
1257
  status: completed
1137
1258
  completed_date: 2026-03-04
1138
1259
  file: agent/tasks/task-81-optimize-ghost-config-block-unblock.md
@@ -1142,6 +1263,7 @@ tasks:
1142
1263
 
1143
1264
  - id: task-82
1144
1265
  name: Use Native Weaviate Offset in search-memory
1266
+ priority: 0
1145
1267
  status: completed
1146
1268
  completed_date: 2026-03-04
1147
1269
  file: agent/tasks/task-82-native-weaviate-offset.md
@@ -1151,6 +1273,7 @@ tasks:
1151
1273
 
1152
1274
  - id: task-83
1153
1275
  name: Eliminate Redundant validateToken in Confirm Flow
1276
+ priority: 0
1154
1277
  status: deferred
1155
1278
  file: agent/tasks/task-83-eliminate-redundant-validatetoken.md
1156
1279
  estimated_hours: 1
@@ -1159,6 +1282,7 @@ tasks:
1159
1282
 
1160
1283
  - id: task-84
1161
1284
  name: Convert Dynamic Imports to Static in server-factory
1285
+ priority: 0
1162
1286
  status: completed
1163
1287
  completed_date: 2026-03-04
1164
1288
  file: agent/tasks/task-84-static-imports-server-factory.md
@@ -1166,9 +1290,10 @@ tasks:
1166
1290
  notes: |
1167
1291
  Static imports for ghost-config and access-control
1168
1292
 
1169
- milestone_19:
1293
+ M19:
1170
1294
  - id: task-203
1171
1295
  name: Create remember_search_by Tool
1296
+ priority: 0
1172
1297
  status: completed
1173
1298
  completed_date: 2026-03-07
1174
1299
  file: agent/tasks/milestone-19-new-search-ghost-tools/task-203-create-search-by-tool.md
@@ -1183,6 +1308,7 @@ tasks:
1183
1308
 
1184
1309
  - id: task-204
1185
1310
  name: Add New Filters to Existing Tool Schemas
1311
+ priority: 0
1186
1312
  status: completed
1187
1313
  completed_date: 2026-03-07
1188
1314
  file: agent/tasks/milestone-19-new-search-ghost-tools/task-204-add-new-filters-existing-tools.md
@@ -1197,6 +1323,7 @@ tasks:
1197
1323
 
1198
1324
  - id: task-205
1199
1325
  name: Add feel_* Fields to create_memory and update_memory
1326
+ priority: 0
1200
1327
  status: completed
1201
1328
  completed_date: 2026-03-07
1202
1329
  file: agent/tasks/milestone-19-new-search-ghost-tools/task-205-add-feel-fields-create-update.md
@@ -1211,6 +1338,7 @@ tasks:
1211
1338
 
1212
1339
  - id: task-206
1213
1340
  name: Add byProperty and bySignificance Modes
1341
+ priority: 0
1214
1342
  status: completed
1215
1343
  completed_date: 2026-03-07
1216
1344
  file: agent/tasks/milestone-19-new-search-ghost-tools/task-206-add-byproperty-bysignificance-modes.md
@@ -1226,6 +1354,7 @@ tasks:
1226
1354
 
1227
1355
  - id: task-207
1228
1356
  name: Add Emotional Composites to Search Results
1357
+ priority: 0
1229
1358
  status: completed
1230
1359
  completed_date: 2026-03-07
1231
1360
  file: agent/tasks/milestone-19-new-search-ghost-tools/task-207-add-emotional-composites-search-results.md
@@ -1240,6 +1369,7 @@ tasks:
1240
1369
 
1241
1370
  - id: task-208
1242
1371
  name: Add byBroad and byRandom Modes
1372
+ priority: 0
1243
1373
  status: completed
1244
1374
  completed_date: 2026-03-07
1245
1375
  file: agent/tasks/milestone-19-new-search-ghost-tools/task-208-add-bybroad-byrandom-modes.md
@@ -1253,6 +1383,7 @@ tasks:
1253
1383
 
1254
1384
  - id: task-209
1255
1385
  name: Create Ghost Memory Tool Suite (5 Tools)
1386
+ priority: 0
1256
1387
  status: completed
1257
1388
  file: agent/tasks/milestone-19-new-search-ghost-tools/task-209-create-ghost-memory-tools.md
1258
1389
  estimated_hours: 4-6
@@ -1265,6 +1396,7 @@ tasks:
1265
1396
 
1266
1397
  - id: task-210
1267
1398
  name: Create remember_get_core Tool
1399
+ priority: 0
1268
1400
  status: completed
1269
1401
  file: agent/tasks/milestone-19-new-search-ghost-tools/task-210-create-get-core-tool.md
1270
1402
  estimated_hours: 2-3
@@ -1276,6 +1408,7 @@ tasks:
1276
1408
 
1277
1409
  - id: task-211
1278
1410
  name: Create remember_search_space_by Tool
1411
+ priority: 0
1279
1412
  status: completed
1280
1413
  file: agent/tasks/milestone-19-new-search-ghost-tools/task-211-create-search-space-by-tool.md
1281
1414
  estimated_hours: 3-4
@@ -1289,6 +1422,7 @@ tasks:
1289
1422
  unassigned:
1290
1423
  - id: task-201
1291
1424
  name: Auto-bump remember-core via GitHub Actions
1425
+ priority: 0
1292
1426
  status: not_started
1293
1427
  file: agent/tasks/unassigned/task-201-auto-bump-remember-core-ci.md
1294
1428
  estimated_hours: 2
@@ -1296,1356 +1430,1301 @@ tasks:
1296
1430
  Set up repository_dispatch CI/CD: remember-core publish triggers remember-mcp bump + publish.
1297
1431
  Draft workflow files already created in both repos (not yet committed).
1298
1432
 
1299
- documentation:
1300
- design_documents: 31
1301
- milestone_documents: 15
1302
- pattern_documents: 7
1303
- task_documents: 101
1433
+ M24:
1434
+ - id: task-530
1435
+ name: Create Elicitation Helper Utility
1436
+ status: completed
1437
+ file: agent/tasks/milestone-24-mcp-elicitation-confirmation/task-530-create-elicitation-helper.md
1438
+ estimated_hours: 1-2
1439
+ started: 2026-03-23T00:55:00Z
1440
+ completed_date: 2026-03-23T01:00:00Z
1441
+ actual_hours: 0.1
1304
1442
 
1305
- progress:
1306
- planning: 100%
1307
- implementation: 80%
1308
- overall: 85%
1443
+ - id: task-531
1444
+ name: Update Protected Tool Handler Signatures
1445
+ status: completed
1446
+ file: agent/tasks/milestone-24-mcp-elicitation-confirmation/task-531-update-handler-signatures.md
1447
+ estimated_hours: 1
1448
+ dependencies: [task-530]
1449
+ started: 2026-03-23T01:00:00Z
1450
+ completed_date: 2026-03-23T01:10:00Z
1451
+ actual_hours: 0.2
1309
1452
 
1310
- recent_work:
1311
- - date: 2026-03-07
1312
- description: M19 Complete — New Search Modes, Ghost Tools & Emotional Exposure
1313
- items:
1314
- - Implemented all 9 tasks (task-203 through task-211)
1315
- - 8 new MCP tools (22 → 30 total): search_by, 5 ghost tools, get_core, search_space_by
1316
- - 29 feel_* emotional dimensions on create/update memory
1317
- - New filters (exclude_types, rating_min) on search/query/space tools
1318
- - 432 tests passing (431 passed, 1 skipped), TypeScript clean, build passing
1319
- - Tool count 21 → 29 (8 new tools + schema enhancements to 3 existing)
1320
- - Authoritative design doc in remember-core/agent/design/local.new-search-tools.md
1321
- - Consolidated get_mood + get_perception → get_core, removed get_classifications (REST API)
1453
+ - id: task-532
1454
+ name: Implement Elicitation in Protected Tools
1455
+ status: completed
1456
+ file: agent/tasks/milestone-24-mcp-elicitation-confirmation/task-532-implement-elicitation-in-tools.md
1457
+ estimated_hours: 3-4
1458
+ dependencies: [task-530, task-531]
1459
+ started: 2026-03-23T01:00:00Z
1460
+ completed_date: 2026-03-23T01:15:00Z
1461
+ actual_hours: 0.3
1322
1462
 
1323
- - date: 2026-03-07
1324
- description: Documentation Sync (@acp.sync)
1325
- items:
1326
- - Updated progress.yaml version 3.12.0 → 3.15.4
1327
- - Updated progress.yaml current_milestone M17 → M18
1328
- - Fixed M16 status in_progress → completed
1329
- - Rewrote complete-tool-set.md to reflect actual 21-tool implementation
1330
- - Updated user-preferences.md status and tool name (remember_update_preferences → remember_set_preference)
1331
- - All 21 tools verified against server-factory.ts implementation
1463
+ - id: task-533
1464
+ name: Wire Server Instance Through Entry Points
1465
+ status: completed
1466
+ file: agent/tasks/milestone-24-mcp-elicitation-confirmation/task-533-wire-server-instance.md
1467
+ estimated_hours: 1-2
1468
+ dependencies: [task-531]
1469
+ started: 2026-03-23T01:10:00Z
1470
+ completed_date: 2026-03-23T01:15:00Z
1471
+ actual_hours: 0.1
1332
1472
 
1333
- - date: 2026-02-28
1334
- description: M17 remember-core Migration COMPLETED
1335
- items:
1336
- - ✅ All 8 tasks completed (task-193 through task-200)
1337
- - ✅ 18 tool handlers migrated to thin adapters calling core services
1338
- - ✅ 10 duplicated files removed, 2 imports updated to use core
1339
- - ✅ Build passing, 390 tests (389 passed, 1 skipped)
1340
- - 📋 3 tools deferred (search_memory, query_memory, ghost_config)
1341
- - 📋 Phased approach: foundation → relationships → preferences → memory → space → cleanup
1473
+ - id: task-534
1474
+ name: Verification and Cleanup
1475
+ status: completed
1476
+ file: agent/tasks/milestone-24-mcp-elicitation-confirmation/task-534-verification-cleanup.md
1477
+ estimated_hours: 1-2
1478
+ dependencies: [task-532, task-533]
1479
+ started: 2026-03-23T01:15:00Z
1480
+ completed_date: 2026-03-23T01:20:00Z
1481
+ actual_hours: 0.1
1342
1482
 
1343
- - date: 2026-02-27
1344
- description: M16 Ghost System COMPLETE (v3.12.0)
1345
- items:
1346
- - ✅ GhostConfig Firestore CRUD service (get, set, setUserTrust, blockUser, etc.)
1347
- - ✅ FirestoreGhostConfigProvider replaces StubGhostConfigProvider for production
1348
- - ✅ FirestoreEscalationStore for persistent trust escalation tracking
1349
- - ✅ Ghost memory filtering — excluded from all default searches
1350
- - ✅ ghost_context parameter on search-memory and query-memory tools
1351
- - ✅ buildTrustFilter wired for cross-user ghost searches
1352
- - ✅ remember_ghost_config tool — 6 actions (get, set, set_trust, remove_trust, block, unblock)
1353
- - ✅ 21 MCP tools, 454 tests (453 passed, 1 skipped)
1354
- - ✅ Version 3.12.0 released
1355
1483
 
1356
- - date: 2026-02-27
1357
- description: M8 Complete — Task 69 Comprehensive Tool Debugging
1358
- items:
1359
- - ✅ Task 69: Added debug logging to all 13 remaining tools
1360
- - ✅ All 18 MCP tools + weaviate client have createDebugLogger integration
1361
- - ✅ Pattern: debug.info at entry, debug.trace for args, debug.error in catch
1362
- - ✅ 394 tests passing, typecheck clean, build passing
1363
- - ✅ M8 Testing & Quality milestone COMPLETE (3/3 tasks)
1364
1484
 
1365
- - date: 2026-02-27
1366
- description: V1→V2 Collection Migration Code Switch + Dry Run (v3.8.0)
1367
- items:
1368
- - ✅ Complete V1→V2 code switch across all 22 files (v3.8.0)
1369
- - ✅ Schema reconciliation: v2-collections.ts is superset of v1 (both property names supported)
1370
- - ✅ All tools now use v2 collection names (Memory_users_{userId}, Memory_spaces_public)
1371
- - ✅ All tools now use v2 property names (content_type, trust_score, relationship_ids, etc.)
1372
- - ✅ Migration script built: scripts/migrate-v1-to-v2.ts (--dry-run, --verify-only, --skip-backup)
1373
- - ✅ Dry run tested against production: 3 collections, ~6,596 documents
1374
- - Collections discovered: Memory_public (11), Memory_MnOyIarhz5b8n06TsTovM582NSG2 (6,584), Memory_Default_user (1)
1375
- - Fixed migration verify step to skip during dry-run mode
1376
- - Design doc updated: agent/design/local.v2-migration-guide.md
1377
- - CHANGELOG.md updated with v3.8.0 entry
1378
- - 233 tests (232 passed, 1 skipped)
1379
- - Build passing, pushed to mainline
1380
- - ✅ e1.agentbase.me tested — publish flow working after Firebase credentials fix
1381
- - Real migration pending — holding for e1 feature testing
1382
- - 📋 Next: Run real migration, then M7 Trust & Permissions
1485
+ M14:
1486
+ - id: task-165
1487
+ name: Core Infrastructure Setup
1488
+ status: completed
1489
+ file: agent/tasks/milestone-14-memory-collection-v2/task-165-core-infrastructure-setup.md
1490
+ estimated_hours: 8-10
1491
+ actual_hours: 10
1492
+ completed_date: 2026-02-26
1493
+ notes: |
1494
+ Dot notation collections (dot-notation.ts)
1495
+ Composite IDs (composite-ids.ts)
1496
+ Tracking arrays (tracking-arrays.ts)
1497
+ Weaviate schema definitions (v2-collections.ts)
1498
+ 44 unit tests passing (79% coverage on collections)
1499
+ Fixed 3 failing tests (ID validation, error messages, return types)
1500
+
1501
+ - id: task-166
1502
+ name: Implement remember_publish Tool
1503
+ status: completed
1504
+ file: agent/tasks/milestone-14-memory-collection-v2/task-166-update-remember-publish.md
1505
+ estimated_hours: 6-8
1506
+ actual_hours: 4
1507
+ completed_date: 2026-02-26
1508
+ notes: |
1509
+ ✅ Multi-space publication to Memory_spaces_public
1510
+ ✅ Multi-group publication to Memory_groups_{groupId}
1511
+ ✅ Composite IDs ({userId}.{memoryId}) for published memories
1512
+ ✅ Tracking arrays (space_ids, group_ids) on source and published memories
1513
+ ✅ Dual publication support (spaces + groups simultaneously)
1514
+ ✅ Error handling with partial success reporting
1515
+ ✅ Updated publish.ts schema with groups parameter
1516
+ ✅ Updated confirm.ts executePublishMemory with v2 logic
1517
+ ✅ All 138 tests passing
1518
+
1519
+ - id: task-167
1520
+ name: Implement remember_retract Tool
1521
+ status: not_started
1522
+ file: agent/tasks/milestone-14-memory-collection-v2/task-167-update-remember-retract.md
1523
+ estimated_hours: 4-6
1524
+ actual_hours: null
1525
+ completed_date: null
1526
+ notes: |
1527
+ Selective retraction from spaces/groups, orphaned memory handling.
1528
+
1529
+ - id: task-168
1530
+ name: Implement remember_revise Tool
1531
+ status: completed
1532
+ file: agent/tasks/milestone-14-memory-collection-v2/task-168-implement-remember-revise.md
1533
+ estimated_hours: 6-8
1534
+ actual_hours: 0.25
1535
+ completed_date: 2026-02-26
1536
+ notes: |
1537
+ New tool for syncing content across all published copies.
1383
1538
 
1384
- - date: 2026-02-27
1385
- description: Memory-Level ACL Schema Design + M14 Completion
1386
- items:
1387
- - ✅ M14 Memory Collection Pattern v2 COMPLETE (8/8 tasks, v3.7.0)
1388
- - ✅ Created agent/design/local.memory-acl-schema.md (remember-mcp)
1389
- - ✅ 4 new Weaviate fields designed (write_mode, overwrite_allowed_ids, last_revised_by, owner_id)
1390
- - ✅ Three-layer permission resolution algorithm (memory → group credentials → user)
1391
- - ✅ Space configuration Firestore collection designed
1392
- - Null-fallback migration strategy (zero backfill)
1393
- - ✅ Created local.group-credentials-for-remember-mcp.md (agentbase.me)
1394
- - Credentials endpoint extended with group_memberships_v2 (resolved permissions)
1395
- - New editor role defined (between admin and member)
1396
- - ✅ Updated local.v2-api-reference.md with upcoming ACL fields section
1397
- - ✅ Updated local.collaborative-memory-sync.md with ACL schema cross-references
1398
- - ✅ Both commits pushed (remember-mcp mainline, agentbase.me dev/prmichaelsen/e1)
1399
- - 📋 Next: M7 Trust & Permissions (implements the ACL schema)
1539
+ - id: task-169
1540
+ name: Implement remember_search_space Tool
1541
+ status: completed
1542
+ file: agent/tasks/milestone-14-memory-collection-v2/task-169-update-remember-search-space.md
1543
+ estimated_hours: 4-6
1544
+ actual_hours: null
1545
+ completed_date: 2026-02-27
1546
+ notes: |
1547
+ Query by space_ids filtering, group searches, deduplication.
1548
+
1549
+ - id: task-170
1550
+ name: Implement remember_create_memory and remember_update_memory Tools
1551
+ status: not_started
1552
+ file: agent/tasks/milestone-14-memory-collection-v2/task-170-update-remember-create-update.md
1553
+ estimated_hours: 3-4
1554
+ actual_hours: null
1555
+ completed_date: null
1556
+ notes: |
1557
+ Initialize and maintain tracking arrays in user memories.
1558
+
1559
+ - id: task-172
1560
+ name: Performance Testing and Optimization
1561
+ status: not_started
1562
+ file: agent/tasks/milestone-14-memory-collection-v2/task-172-performance-testing-optimization.md
1563
+ estimated_hours: 6-8
1564
+ actual_hours: null
1565
+ completed_date: null
1566
+ notes: |
1567
+ Comprehensive performance testing, optimization to meet <200ms targets.
1568
+
1569
+ - id: task-173
1570
+ name: Documentation and Examples
1571
+ status: not_started
1572
+ file: agent/tasks/milestone-14-memory-collection-v2/task-173-documentation-examples.md
1573
+ estimated_hours: 4-6
1574
+ actual_hours: null
1575
+ completed_date: null
1576
+ notes: |
1577
+ API docs, architecture docs, usage examples.
1400
1578
 
1401
- - date: 2026-02-27
1402
- description: M14 Task 169 - remember_search_space Updated to v2 Architecture
1403
- items:
1404
- - ✅ Updated src/tools/search-space.ts for Memory Collection Pattern v2
1405
- - ✅ Now queries Memory_spaces_public (was Memory_public)
1406
- - ✅ Filters by space_ids.containsAny() (was spaces field)
1407
- - ✅ spaces parameter now optional; added groups array parameter
1408
- - ✅ Added search_type parameter (hybrid | bm25 | semantic)
1409
- - ✅ Multi-source merge + dedup by UUID + score-sorted results
1410
- - All-public fallback when neither spaces nor groups specified
1411
- - Soft-delete aware (deleted_at isNull filter)
1412
- - Created src/tools/search-space.spec.ts with 23 unit tests
1413
- - ✅ All 179 tests passing (was 156)
1414
- - 📋 M14 now 62% complete (5/8 tasks)
1415
- - 📋 Next: Task 170 - remember_create_memory + remember_update_memory
1579
+ M20:
1580
+ - id: task-212
1581
+ name: Add InternalContext Type and Agent Content Type
1582
+ status: completed
1583
+ file: agent/tasks/milestone-20-unified-internal-memory-tools/task-212-add-internal-context-type.md
1584
+ estimated_hours: 2-3
1585
+ actual_hours: null
1586
+ completed_date: 2026-03-08
1587
+ notes: |
1588
+ InternalContext interface added to types/auth.ts
1589
+ GhostModeContext removed, fields absorbed into InternalContext
1590
+ AuthContext.ghostMode replaced by AuthContext.internalContext
1416
1591
 
1417
- - date: 2026-02-26
1418
- description: M14 Task 168 - remember_revise Tool Implemented (v3.4.0)
1419
- items:
1420
- - ✅ Created src/tools/revise.ts - direct action tool (no confirmation flow)
1421
- - ✅ parseRevisionHistory() - safe JSON parsing of revision history field
1422
- - ✅ buildRevisionHistory() - prepends old content, trims to 10 entries max
1423
- - ✅ Reads space_ids/group_ids from source memory tracking arrays
1424
- - ✅ Updates Memory_spaces_public and Memory_groups_{groupId} in sequence
1425
- - ✅ Preserves old content in revision_history (JSON string field)
1426
- - Sets revised_at timestamp and increments revision_count per copy
1427
- - Partial success: each location reported independently
1428
- - Registered in src/server.ts and src/server-factory.ts
1429
- - 19 new unit tests (src/tools/revise.spec.ts)
1430
- - ✅ All 156 tests passing (was 137)
1431
- - ✅ Build passing (v3.4.0)
1432
- - 📋 M14 now 50% complete (4/8 tasks)
1433
- - 📋 Next: Task 169 - remember_search_space updates
1592
+ - id: task-213
1593
+ name: Update Server Factory Replace ghostMode with InternalContext
1594
+ status: completed
1595
+ file: agent/tasks/milestone-20-unified-internal-memory-tools/task-213-update-server-factory-internal-context.md
1596
+ estimated_hours: 3-5
1597
+ actual_hours: null
1598
+ completed_date: 2026-03-08
1599
+ dependencies: [task-212]
1600
+ notes: |
1601
+ server-factory.ts: ghostMode internalContext with trust resolution
1602
+ ✅ search-memory.ts, query-memory.ts, search-by.ts: rewired to internalContext
1603
+ e2e-helpers.ts: updated ghost auth context
1604
+ All test fixtures updated, 439 tests passing, TypeScript clean
1434
1605
 
1435
- - date: 2026-02-26
1436
- description: ACP Initialization - M14 Task 167 (remember_retract) Implemented
1437
- items:
1438
- - ✅ ACP init workflow executed - context fully loaded
1439
- - ⚠️ ACP update available (v4.2.1 - critical rule: never force-add gitignored files)
1440
- - ✅ Task 167: Implemented remember_retract tool (src/tools/retract.ts)
1441
- - ✅ Task 167: Added executeRetractMemory() handler in src/tools/confirm.ts
1442
- - ✅ Task 167: Registered retract tool in src/server.ts and src/server-factory.ts
1443
- - ✅ Orphan strategy: retracted memories preserved with cleared tracking arrays
1444
- - Fixed documentation drift: milestone-14 now shows In Progress
1445
- - Fixed documentation drift: task-167 now shows Completed
1446
- - ✅ Fixed version drift: progress.yaml now shows v3.2.0
1447
- - ✅ Build: passing (v3.2.0)
1448
- - ✅ Tests: 137 passed, 1 skipped (138 total)
1449
- - 📋 Uncommitted changes pending (retract.ts + confirm.ts + server registrations)
1450
- - 📋 Next: Task 168 - Implement remember_revise Tool
1606
+ - id: task-214
1607
+ name: Create Tag Builder Utility
1608
+ status: completed
1609
+ file: agent/tasks/milestone-20-unified-internal-memory-tools/task-214-create-tag-builder-utility.md
1610
+ estimated_hours: 2-3
1611
+ actual_hours: null
1612
+ completed_date: 2026-03-08
1613
+ dependencies: [task-212]
1614
+ notes: |
1615
+ buildInternalTags utility in src/utils/internal-tags.ts
1616
+ 8 unit tests covering all tag permutations
1451
1617
 
1452
- - date: 2026-02-25
1453
- description: CRITICAL BUG FIX - indexNullState Schema Configuration (v3.0.1)
1454
- items:
1455
- - 🐛 CRITICAL: Fixed "Nullstate must be indexed to be filterable" error
1456
- - ✅ Added indexNullState: true to inverted index configuration
1457
- - ✅ Fixed src/weaviate/schema.ts (Memory collections)
1458
- - ✅ Fixed src/weaviate/space-schema.ts (Memory_public collection)
1459
- - Used correct API: weaviate.configure.invertedIndex()
1460
- - ✅ Root cause: Task 70 added deleted_at field without null state indexing
1461
- - Impact: All memory searches were failing with gRPC error
1462
- - Solution: Collections must be recreated to apply fix
1463
- - All 93 tests passing
1464
- - TypeScript compiles without errors
1465
- - Build successful
1466
- - ✅ Created Task 76 documentation
1467
- - ⚠️ Users must delete and recreate collections to apply fix
1468
- - 📋 Ready for v3.0.1 patch release
1469
-
1470
- - date: 2026-02-25
1471
- description: ACP Initialization Complete - Project Context Loaded (v3.0.0)
1472
- items:
1473
- - ✅ Executed @acp.init command workflow
1474
- - ⚠️ ACP updates available (v4.1.1 with task subdirectory structure)
1475
- - ✅ Global packages discovered: acp-core v3.10.1 (28 commands, 2 patterns, 2 designs)
1476
- - All agent documentation reviewed (30 design docs, 13 milestones, 75 tasks, 7 patterns)
1477
- - Key source files reviewed (server.ts, progress.yaml, requirements.md, CHANGELOG.md)
1478
- - Project status verified - M1-M4, M10-M11, M13 complete (100%), M12 in progress (60%)
1479
- - Current version 3.0.0 (latest - soft delete system)
1480
- - ✅ All 93 unit tests passing (1 skipped integration test)
1481
- - Test coverage 33.12% overall
1482
- - TypeScript compiles without errors
1483
- - ✅ Build successful (dual export: server + factory)
1484
- - ✅ All 17 MCP tools implemented and operational
1485
- - ✅ Multi-tenant architecture with per-user isolation working
1486
- - ✅ Vector search (Weaviate) + metadata (Firestore) operational
1487
- - ✅ Shared spaces with multi-space support functional
1488
- - ✅ Soft delete system with confirmation flow complete (v3.0.0)
1489
- - ✅ Comment system foundation implemented (v2.6.0)
1490
- - 📋 M12 Comment System: 3/5 tasks complete (schema, search, query updates)
1491
- - 📋 Remaining M12 tasks: Task 58 (unit tests), Task 59 (documentation)
1492
- - 📋 Ready to complete M12 milestone
1493
- - 📋 Git status: Clean working directory
1494
-
1495
- - date: 2026-02-25
1496
- description: M13 COMPLETED - Soft Delete System Released (v3.0.0)
1497
- items:
1498
- - 🎉 MILESTONE 13 COMPLETE: Soft Delete System
1499
- - ✅ Task 75 COMPLETED: Updated documentation and CHANGELOG
1500
- - ✅ Added comprehensive CHANGELOG entry for v3.0.0
1501
- - ✅ Documented breaking changes and migration guide
1502
- - ✅ Added soft delete workflow section to README.md
1503
- - Documented deletion confirmation flow
1504
- - ✅ Documented deleted_filter parameter usage
1505
- - Updated package.json to v3.0.0
1506
- - Updated progress.yaml to v3.0.0
1507
- - All 93 tests passing
1508
- - TypeScript compiles without errors
1509
- - Build successful
1510
- - 🚀 Ready for v3.0.0 release
1511
- - 📋 Breaking change: Deletion requires confirmation
1512
- - 📋 Breaking change: Deleted memories excluded by default
1513
-
1514
- - date: 2026-02-25
1515
- description: Tasks 70-73 COMPLETED - Soft Delete Core + Validation (67% M13)
1516
- items:
1517
- - 🎉 Task 73 COMPLETED: Updated relationship handling for deleted memories
1518
- - ✅ Added deleted_at validation to remember_create_relationship
1519
- - ✅ Prevents creating relationships with deleted memories
1520
- - ✅ Error message includes deletion timestamp
1521
- - Added deleted_at validation to remember_update_memory
1522
- - ✅ Prevents updating deleted memories
1523
- - Clear error messages with deletion date
1524
- - All 93 tests passing (1 skipped integration test)
1525
- - ✅ TypeScript compiles without errors
1526
- - ✅ Build successful
1527
- - 📋 M13: 67% complete (4/6 tasks done)
1528
- - 📋 Remaining: Task 74 (unit tests), Task 75 (documentation)
1529
-
1530
- - date: 2026-02-25
1531
- description: Tasks 70-72 COMPLETED - Soft Delete Core Implementation (50% M13)
1532
- items:
1533
- - 🎉 Task 72 COMPLETED: Added deleted_filter to all search tools
1534
- - Added deleted_filter parameter to remember_search_memory
1535
- - ✅ Added deleted_filter parameter to remember_query_memory
1536
- - ✅ Added deleted_filter parameter to remember_find_similar
1537
- - ✅ Added deleted_filter parameter to remember_search_relationship
1538
- - ✅ Created buildDeletedFilter helper function
1539
- - ✅ Exported combineFiltersWithAnd for reuse
1540
- - ✅ Added DeletedFilter type to memory.ts
1541
- - Filter applied at Weaviate query level (not post-processing)
1542
- - ✅ Default behavior: exclude deleted memories
1543
- - ✅ Three modes: "exclude", "include", "only"
1544
- - All 93 tests passing (1 skipped integration test)
1545
- - ✅ TypeScript compiles without errors
1546
- - ✅ Build successful
1547
- - 📋 M13: 50% complete (3/6 tasks done)
1548
-
1549
- - date: 2026-02-25
1550
- description: Task 71 COMPLETED - Delete Confirmation Flow Implemented
1551
- items:
1552
- - ✅ Modified remember_delete_memory to create confirmation token
1553
- - Tool now returns preview with content, type, relationship count
1554
- - Preview shows which relationships will be orphaned
1555
- - ✅ Enhanced remember_confirm to handle delete_memory action
1556
- - ✅ Confirmation sets deleted_at, deleted_by, deletion_reason fields
1557
- - ✅ Added executeDeleteMemory function to confirm.ts
1558
- - ✅ Validates memory ownership before deletion
1559
- - Prevents deleting already-deleted memories
1560
- - ✅ Token expires after 5 minutes (reuses existing service)
1561
- - Fixed space-schema test (removed deprecated space_id check)
1562
- - ✅ All 93 tests passing (1 skipped integration test)
1563
- - ✅ TypeScript compiles without errors
1564
- - Build successful
1565
- - 📋 M13: 33% complete (2/6 tasks done)
1566
-
1567
- - date: 2026-02-25
1568
- description: Task 70 COMPLETED - Added Soft Delete Schema Fields
1569
- items:
1570
- - ✅ Added 3 fields to Memory schema (deleted_at, deleted_by, deletion_reason)
1571
- - ✅ Added same 3 fields to Memory_public schema
1572
- - Updated Memory interface in src/types/memory.ts
1573
- - Updated SpaceMemory interface in src/types/space-memory.ts
1574
- - ✅ Added fields to ALL_MEMORY_PROPERTIES constant
1575
- - TypeScript compiles without errors
1576
- - Build successful (dual export: server + factory)
1577
- - ✅ No breaking changes to existing code
1578
- - ✅ Schema ready for soft delete implementation
1579
- - 📋 M13: 17% complete (1/6 tasks done)
1580
-
1581
- - date: 2026-02-25
1582
- description: ACP Initialization Complete - Full Project Context Loaded
1583
- items:
1584
- - Executed @acp.init command workflow
1585
- - ⚠️ ACP updates available (v3.14.0 → current v3.10.1)
1586
- - ✅ Global packages discovered: acp-core v3.10.1 (28 commands, 2 patterns, 2 designs)
1587
- - All agent documentation reviewed (30 design docs, 12 milestones, 69 tasks, 7 patterns)
1588
- - ✅ Key source files reviewed (server.ts, search-space.ts, schema.ts, package.json, README.md)
1589
- - ✅ Project status verified - M1-M4, M10-M11 complete (100%), M12 in progress (60%)
1590
- - ✅ Current version 2.8.0 (latest)
1591
- - ✅ All 93 unit tests passing (1 skipped integration test)
1592
- - ✅ Test coverage 33.12% overall
1593
- - ✅ TypeScript compiles without errors
1594
- - Build successful (dual export: server + factory)
1595
- - All 17 MCP tools implemented and operational
1596
- - ✅ Multi-tenant architecture with per-user isolation working
1597
- - Vector search (Weaviate) + metadata (Firestore) operational
1598
- - Shared spaces with multi-space support functional
1599
- - ✅ Comment system foundation implemented (v2.6.0)
1600
- - ✅ Task 69 IN PROGRESS: Comprehensive Tool Debugging (70% complete)
1601
- - 📋 M12 Comment System: 3/5 tasks complete (schema, search, query updates)
1602
- - 📋 Remaining M12 tasks: Task 58 (unit tests), Task 59 (documentation)
1603
- - 📋 Ready to complete M12 milestone
1604
-
1605
- - date: 2026-02-25
1606
- description: Task 69 IN PROGRESS - Comprehensive Tool Debugging (70% complete)
1607
- items:
1608
- - ✅ Core infrastructure complete (Steps 1-2, 5-7)
1609
- - Added DebugLevel enum and debugConfig to src/config.ts
1610
- - Created src/utils/debug.ts with DebugLogger class
1611
- - ✅ Implemented 5 debug levels: NONE, ERROR, WARN, INFO, DEBUG, TRACE
1612
- - ✅ Added time() method for performance profiling
1613
- - ✅ Added dump() method for parameter inspection (TRACE only)
1614
- - ✅ Created 12 unit tests with 100% coverage on debug utility
1615
- - ✅ Updated .env.example with REMEMBER_MCP_DEBUG_LEVEL variable
1616
- - ✅ Updated README.md with debugging section and examples
1617
- - Integrated 5 tools: publish, confirm, search-space, query-space, weaviate-client
1618
- - All 93 tests passing (12 new debug tests)
1619
- - Build successful, TypeScript compiles without errors
1620
- - Zero performance overhead when debug disabled (NONE)
1621
- - ✅ Space tools now have comprehensive debug tracing
1622
- - ✅ Performance timing on all database operations
1623
- - 📋 Remaining: 12 tools (6 memory, 4 relationship, 2 preference)
1624
- - 📋 Progress: 70% complete (5/17 tools + client integrated)
1625
-
1626
- - date: 2026-02-25
1627
- description: CRITICAL BUG FIX - Missing Space Properties (v2.7.12)
1628
- items:
1629
- - 🐛 CRITICAL: Fixed published memories not appearing in space search results
1630
- - ✅ Added 8 missing space-related properties to ALL_MEMORY_PROPERTIES constant
1631
- - ✅ Properties: spaces, space_id, author_id, ghost_id, attribution, published_at, discovery_count, space_memory_id
1632
- - Root cause: Properties added to schema (v2.4.0) but not to fetch constant (v2.6.3)
1633
- - Impact: Published memories now properly include all space fields
1634
- - Search filtering by spaces array now works correctly
1635
- - Memories now discoverable in The Void and other shared spaces
1636
- - ✅ Build successful, all 81 tests passing
1637
- - Created Task 68 documentation
1638
- - 📋 Ready for v2.7.12 release
1639
-
1640
- - date: 2026-02-25
1641
- description: ACP Initialization Complete - Full Context Loaded
1642
- items:
1643
- - ✅ ACP initialization workflow executed via @acp.init command
1644
- - ⚠️ ACP updates available (v3.14.0 with script-command binding system)
1645
- - ✅ Global ACP packages discovered: acp-core v3.10.1 (28 commands, 2 patterns, 2 designs)
1646
- - ✅ All agent documentation reviewed (30 design docs, 12 milestones, 67 tasks, 7 patterns)
1647
- - Key source files reviewed (server.ts, search-space.ts, schema.ts)
1648
- - Project status verified: M1-M4, M10-M11 complete (100%), M12 in progress (60%)
1649
- - Current version: 2.7.11 (latest published)
1650
- - 81 unit tests passing (1 skipped integration test)
1651
- - ✅ Test coverage: 33.12% overall
1652
- - TypeScript compiles without errors
1653
- - Build successful (dual export: server + factory)
1654
- - ✅ All 17 MCP tools implemented and working
1655
- - ✅ M12 Comment System: 3/5 tasks complete (schema, search, query updates)
1656
- - 📋 Remaining M12 tasks: Task 58 (unit tests), Task 59 (documentation)
1657
- - 📋 Ready to complete M12 milestone
1658
- - 📋 Multi-tenant architecture with per-user isolation operational
1659
- - 📋 Vector search with Weaviate + metadata with Firestore working
1660
- - 📋 Shared spaces with multi-space support functional
1661
- - 📋 Comment system foundation implemented (v2.6.0)
1662
-
1663
- - date: 2026-02-22
1664
- description: ACP Initialization Complete - Project Context Loaded
1665
- items:
1666
- - ACP initialization workflow executed via @acp.init command
1667
- - ⚠️ ACP updates available (v3.9.0 with global package installation system)
1668
- - ✅ All agent documentation reviewed (30 design docs, 12 milestones, 67 tasks, 7 patterns)
1669
- - ✅ Project status verified: M1-M4, M10-M11 complete (100%), M12 in progress (60%)
1670
- - ✅ Current version: 2.7.11 (latest published)
1671
- - ✅ 81 unit tests passing (1 skipped integration test)
1672
- - ✅ Test coverage: 33.12% overall
1673
- - ✅ TypeScript compiles without errors
1674
- - ✅ Build successful (dual export: server + factory)
1675
- - ✅ All 17 MCP tools implemented and working
1676
- - M12 Comment System: 3/5 tasks complete (schema, search, query updates)
1677
- - 📋 Remaining M12 tasks: Task 58 (unit tests), Task 59 (documentation)
1678
- - 📋 Ready to complete M12 milestone
1679
- - 📋 Multi-tenant architecture with per-user isolation operational
1680
- - 📋 Vector search with Weaviate + metadata with Firestore working
1681
- - 📋 Shared spaces with multi-space support functional
1682
- - 📋 Comment system foundation implemented (v2.6.0)
1683
-
1684
- - date: 2026-02-17
1685
- description: CRITICAL BUG FIX - Shared Space Discovery Now Works (v2.7.8)
1618
+ - id: task-215
1619
+ name: Create Unified Internal Memory Tools
1620
+ status: completed
1621
+ file: agent/tasks/milestone-20-unified-internal-memory-tools/task-215-create-unified-internal-memory-tools.md
1622
+ estimated_hours: 6-8
1623
+ actual_hours: null
1624
+ completed_date: 2026-03-08
1625
+ dependencies: [task-212, task-213, task-214]
1626
+ notes: |
1627
+ 5 unified tools: create, update, search, query, search-by
1628
+ Auto-tags via buildInternalTags, auto-scoping via scope tags
1629
+ Error without internalContext
1630
+ Registered in server-factory (34 tools total)
1631
+ 447 tests passing, TypeScript clean
1632
+
1633
+ - id: task-216
1634
+ name: Update Default Search Filters for Agent Exclusion
1635
+ status: completed
1636
+ file: agent/tasks/milestone-20-unified-internal-memory-tools/task-216-update-default-search-filters.md
1637
+ estimated_hours: 2-3
1638
+ actual_hours: null
1639
+ completed_date: 2026-03-08
1640
+ dependencies: [task-212]
1641
+ notes: |
1642
+ search-memory, query-memory: agent excluded alongside ghost
1643
+ find-similar: post-filter excludes agent
1644
+ search-space: agent excluded from space searches
1645
+ 447 tests passing
1646
+
1647
+ - id: task-217
1648
+ name: Delete Standalone Ghost Tools
1649
+ status: completed
1650
+ file: agent/tasks/milestone-20-unified-internal-memory-tools/task-217-delete-standalone-ghost-tools.md
1651
+ estimated_hours: 1-2
1652
+ actual_hours: 1
1653
+ completed_date: '2026-03-08'
1654
+ dependencies: [task-215]
1655
+ notes: |
1656
+ Deleted 5 ghost tool files + ghost-tools.spec.ts
1657
+ Removed imports, tool list entries, and switch cases from server-factory
1658
+ Rewrote ghost-persona.e2e.ts to use unified internal tools
1659
+ Updated tag assertions for ghost source isolation
1660
+ ✅ TypeScript compiles clean, 414 tests pass
1661
+
1662
+ - id: task-218
1663
+ name: Add Unit and Integration Tests
1664
+ status: completed
1665
+ file: agent/tasks/milestone-20-unified-internal-memory-tools/task-218-add-tests-unified-internal-tools.md
1666
+ estimated_hours: 4-6
1667
+ actual_hours: 1
1668
+ completed_date: '2026-03-08'
1669
+ dependencies: [task-214, task-215, task-216, task-217]
1670
+ notes: |
1671
+ 8 tag builder unit tests (task-214, internal-tags.spec.ts)
1672
+ 22 unified tool unit tests (internal-tools.spec.ts)
1673
+ Context validation, content_type derivation, auto-scoping, tag merging
1674
+ Ghost source isolation verified (scope tags filter per ghost type)
1675
+ Agent exclusion from default search verified (task-216)
1676
+ 436 total tests passing
1677
+
1678
+ M21:
1679
+ - id: task-515
1680
+ name: Add Auth Scheme Config
1681
+ status: completed
1682
+ completed_date: 2026-03-14
1683
+ file: agent/tasks/milestone-21-api-token-oauth-access/task-515-add-auth-scheme-config.md
1684
+ estimated_hours: 2
1685
+ dependencies: []
1686
+ notes: |
1687
+ 📋 Add REMEMBER_AUTH_SCHEME, REMEMBER_OAUTH_ENDPOINT, REMEMBER_API_TOKEN to config module
1688
+
1689
+ - id: task-516
1690
+ name: Implement OAuth Token Exchange Client
1691
+ status: completed
1692
+ completed_date: 2026-03-14
1693
+ file: agent/tasks/milestone-21-api-token-oauth-access/task-516-implement-oauth-token-exchange.md
1694
+ estimated_hours: 3
1695
+ dependencies: [task-515]
1696
+ notes: |
1697
+ 📋 Exchange API token for JWT via OAuth endpoint, extract userId from JWT
1698
+
1699
+ - id: task-517
1700
+ name: Implement Local Config Resolution
1701
+ status: completed
1702
+ completed_date: 2026-03-14
1703
+ file: agent/tasks/milestone-21-api-token-oauth-access/task-517-implement-local-config-resolution.md
1704
+ estimated_hours: 2-3
1705
+ dependencies: [task-515]
1706
+ notes: |
1707
+ 📋 .remember/config resolution: project > global > env vars
1708
+
1709
+ - id: task-518
1710
+ name: Wire OAuth into Server Factory
1711
+ status: completed
1712
+ completed_date: 2026-03-14
1713
+ file: agent/tasks/milestone-21-api-token-oauth-access/task-518-wire-oauth-into-server-factory.md
1714
+ estimated_hours: 2-3
1715
+ dependencies: [task-515, task-516, task-517]
1716
+ notes: |
1717
+ 📋 Bootstrap OAuth flow at startup when REMEMBER_AUTH_SCHEME=oauth
1718
+
1719
+ - id: task-519
1720
+ name: Tests and Documentation
1721
+ status: completed
1722
+ completed_date: 2026-03-14
1723
+ file: agent/tasks/milestone-21-api-token-oauth-access/task-519-tests-and-documentation.md
1724
+ estimated_hours: 2-3
1725
+ dependencies: [task-515, task-516, task-517, task-518]
1726
+ notes: |
1727
+ 📋 Unit tests for all auth modules, CHANGELOG, README, version bump
1728
+
1729
+ M22:
1730
+ - id: task-520
1731
+ name: Admin Gate Infrastructure
1732
+ status: completed
1733
+ completed_date: 2026-03-14
1734
+ file: agent/tasks/milestone-22-admin-debugging-tools/task-520-admin-gate-infrastructure.md
1735
+ estimated_hours: 3-4
1736
+ dependencies: []
1737
+ notes: |
1738
+ isAdmin() utility, adminPermissionError(), conditional tool listing in server-factory.ts
1739
+ 9 unit tests passing, 460 total tests (459 passed, 1 skipped)
1740
+
1741
+ - id: task-521
1742
+ name: Schema and Collection Tools
1743
+ status: completed
1744
+ completed_date: 2026-03-14
1745
+ file: agent/tasks/milestone-22-admin-debugging-tools/task-521-schema-and-collection-tools.md
1746
+ estimated_hours: 3-4
1747
+ dependencies: [task-520]
1748
+ notes: |
1749
+ ✅ get_weaviate_schema, list_collections, collection_stats implemented
1750
+ 7 unit tests, 467 total tests
1751
+
1752
+ - id: task-522
1753
+ name: Memory Inspection Tools
1754
+ status: completed
1755
+ completed_date: 2026-03-14
1756
+ file: agent/tasks/milestone-22-admin-debugging-tools/task-522-memory-inspection-tools.md
1757
+ estimated_hours: 3-4
1758
+ dependencies: [task-520]
1759
+ notes: |
1760
+ inspect_memory (UUID via index lookup, include_vector flag), search_across_users (user_id array)
1761
+ 10 unit tests, 477 total tests
1762
+
1763
+ - id: task-523
1764
+ name: User Inspection Tools
1765
+ status: completed
1766
+ completed_date: 2026-03-14
1767
+ file: agent/tasks/milestone-22-admin-debugging-tools/task-523-user-inspection-tools.md
1768
+ estimated_hours: 2-3
1769
+ dependencies: [task-520]
1770
+ notes: |
1771
+ 4 granular inspect_user tools: preferences, ghost_configs, escalation_records, api_tokens
1772
+ api_tokens strips token_hash from response
1773
+ ✅ 10 unit tests, 487 total tests
1774
+
1775
+ - id: task-524
1776
+ name: Health and Drift Tools
1777
+ status: completed
1778
+ completed_date: 2026-03-14
1779
+ file: agent/tasks/milestone-22-admin-debugging-tools/task-524-health-and-drift-tools.md
1780
+ estimated_hours: 2-3
1781
+ dependencies: [task-520]
1782
+ notes: |
1783
+ health (Weaviate + Firestore connectivity with latency, overall status)
1784
+ detect_weaviate_drift (expected vs actual schema comparison per collection)
1785
+ 10 unit tests, 497 total tests
1786
+ CHANGELOG, README updated
1787
+
1788
+ M23:
1789
+ - id: task-525
1790
+ name: Remove Trust from Create/Update Tools
1791
+ status: completed
1792
+ file: agent/tasks/milestone-23-trust-level-protection/task-525-remove-trust-from-create-update.md
1793
+ estimated_hours: 2-3
1794
+ started: 2026-03-20T10:00:00Z
1795
+ completed_date: 2026-03-20T10:30:00Z
1796
+ actual_hours: 0.5
1797
+ notes: |
1798
+ Removed trust from create-memory, update-memory, create-internal-memory, update-internal-memory
1799
+ Updated tool description to reference remember_request_set_trust_level
1800
+ Updated create-memory.spec.ts (trust no longer in schema)
1801
+ 502 tests passing
1802
+
1803
+ - id: task-526
1804
+ name: Add remember_request_set_trust_level Tool
1805
+ status: completed
1806
+ file: agent/tasks/milestone-23-trust-level-protection/task-526-add-request-set-trust-level-tool.md
1807
+ estimated_hours: 3-4
1808
+ dependencies: [task-525]
1809
+ started: 2026-03-20T10:30:00Z
1810
+ completed_date: 2026-03-20T11:00:00Z
1811
+ actual_hours: 0.5
1812
+ notes: |
1813
+ Created request-set-trust-level.ts with tool and handler
1814
+ Registered in server.ts and server-factory.ts
1815
+ 7 tests (schema validation, valid request, invalid trust levels)
1816
+ 510 tests passing
1817
+
1818
+ - id: task-527
1819
+ name: Update Confirm/Deny for Secret Token
1820
+ status: completed
1821
+ file: agent/tasks/milestone-23-trust-level-protection/task-527-update-confirm-deny-secret-token.md
1822
+ estimated_hours: 2-3
1823
+ started: 2026-03-20T10:00:00Z
1824
+ completed_date: 2026-03-20T10:30:00Z
1825
+ actual_hours: 0.5
1826
+ notes: |
1827
+ Added secret_token to confirm and deny tool schemas
1828
+ ✅ Added set_trust_level action handler in confirm tool
1829
+ Created confirm.spec.ts (3 tests) and deny.spec.ts (2 tests)
1830
+ 502 tests passing
1831
+
1832
+ - id: task-528
1833
+ name: Update Trust Scale References
1834
+ status: completed
1835
+ file: agent/tasks/milestone-23-trust-level-protection/task-528-update-trust-scale-references.md
1836
+ estimated_hours: 2-3
1837
+ dependencies: [task-525]
1838
+ started: 2026-03-20T10:30:00Z
1839
+ completed_date: 2026-03-20T11:00:00Z
1840
+ actual_hours: 0.5
1841
+ notes: |
1842
+ trust-validator.ts rewritten for 1-5 integer scale
1843
+ ✅ trust-validator.spec.ts updated (all tests pass)
1844
+ ✅ search-memory, query-memory trust_min schemas updated
1845
+ ✅ ghost-config tool descriptions and schemas updated to 1-5
1846
+ types/memory.ts trust comment updated
1847
+ 510 tests passing
1848
+
1849
+ - id: task-529
1850
+ name: Version Bump and Release
1851
+ status: completed
1852
+ file: agent/tasks/milestone-23-trust-level-protection/task-529-version-bump-and-release.md
1853
+ estimated_hours: 2-3
1854
+ dependencies: [task-525, task-526, task-527, task-528]
1855
+ started: 2026-03-20T11:00:00Z
1856
+ completed_date: 2026-03-20T11:30:00Z
1857
+ actual_hours: 0.5
1858
+ notes: |
1859
+ ✅ remember-core updated to 1.0.0 (has requestSetTrustLevel, confirmSetTrustLevel, secret_token)
1860
+ ✅ Removed all `as any` casts — proper types now
1861
+ ✅ Version bumped to 4.0.0
1862
+ ✅ CHANGELOG.md with breaking change documentation
1863
+ ✅ 510 tests passing
1864
+ documentation:
1865
+ design_documents: 31
1866
+ milestone_documents: 24
1867
+ pattern_documents: 7
1868
+ task_documents: 101
1869
+ command_documents: 48
1870
+ last_updated: 2026-03-23
1871
+
1872
+ progress:
1873
+ planning: 100
1874
+ implementation: 80
1875
+ overall: 85
1876
+
1877
+ recent_work:
1878
+ - date: 2026-03-07
1879
+ description: M19 Complete — New Search Modes, Ghost Tools & Emotional Exposure
1686
1880
  items:
1687
- - 🐛 CRITICAL: Fixed shared space discovery bug
1688
- - Search/query tools now filter by doc_type: 'memory' (was 'space_memory')
1689
- - space_memory concept was removed from architecture
1690
- - All users can now discover memories in The Void
1691
- - Root cause: search-space.ts and query-space.ts filtered for wrong doc_type
1692
- - Changed filters from 'space_memory' to 'memory'
1693
- - Build successful, all 81 tests passing
1694
- - No data migration needed - existing memories are correct
1695
- - 📋 Released v2.7.8 with critical bug fix
1696
-
1697
- - date: 2026-02-17
1698
- description: Fixed Build Error & Completed Task 66 - Comment Field Initialization
1881
+ - Implemented all 9 tasks (task-203 through task-211)
1882
+ - 8 new MCP tools (22 30 total): search_by, 5 ghost tools, get_core, search_space_by
1883
+ - 29 feel_* emotional dimensions on create/update memory
1884
+ - New filters (exclude_types, rating_min) on search/query/space tools
1885
+ - 432 tests passing (431 passed, 1 skipped), TypeScript clean, build passing
1886
+ - Tool count 21 29 (8 new tools + schema enhancements to 3 existing)
1887
+ - Authoritative design doc in remember-core/agent/design/local.new-search-tools.md
1888
+ - Consolidated get_mood + get_perception get_core, removed get_classifications (REST API)
1889
+
1890
+ - date: 2026-03-07
1891
+ description: Documentation Sync (@acp.sync)
1699
1892
  items:
1700
- - Fixed critical TypeScript build error in content-types.ts
1701
- - Added missing 'poetry' content type metadata
1702
- - Build now successful - TypeScript compiles without errors
1703
- - Task 66 COMPLETED: Initialize comment fields in create/update tools
1704
- - Updated remember_create_memory tool schema with comment fields
1705
- - Updated CreateMemoryArgs interface with parent_id, thread_root_id, moderation_flags
1706
- - ✅ Initialized comment fields to defaults in handleCreateMemory (null, null, [])
1707
- - Updated remember_update_memory tool schema with comment fields
1708
- - Updated UpdateMemoryArgs interface with comment fields
1709
- - ✅ Added comment field update logic in handleUpdateMemory
1710
- - ✅ All 81 tests passing (1 skipped integration test)
1711
- - ✅ Test coverage: 33.12% overall
1712
- - ✅ New memories now created with comment fields initialized
1713
- - ✅ Can create comments with parent_id and thread_root_id set
1714
- - Can update comment fields via remember_update_memory
1715
- - 📋 Ready for M12 completion: Tasks 58-59 remaining
1893
+ - Updated progress.yaml version 3.12.0 3.15.4
1894
+ - Updated progress.yaml current_milestone M17 M18
1895
+ - Fixed M16 status in_progress completed
1896
+ - Rewrote complete-tool-set.md to reflect actual 21-tool implementation
1897
+ - Updated user-preferences.md status and tool name (remember_update_preferences remember_set_preference)
1898
+ - All 21 tools verified against server-factory.ts implementation
1899
+
1900
+ - date: 2026-02-28
1901
+ description: M17 remember-core Migration COMPLETED
1902
+ items:
1903
+ - ✅ All 8 tasks completed (task-193 through task-200)
1904
+ - ✅ 18 tool handlers migrated to thin adapters calling core services
1905
+ - ✅ 10 duplicated files removed, 2 imports updated to use core
1906
+ - ✅ Build passing, 390 tests (389 passed, 1 skipped)
1907
+ - 📋 3 tools deferred (search_memory, query_memory, ghost_config)
1908
+ - 📋 Phased approach: foundation relationships preferences → memory → space → cleanup
1909
+
1910
+ - date: 2026-02-27
1911
+ description: M16 Ghost System COMPLETE (v3.12.0)
1912
+ items:
1913
+ - ✅ GhostConfig Firestore CRUD service (get, set, setUserTrust, blockUser, etc.)
1914
+ - ✅ FirestoreGhostConfigProvider replaces StubGhostConfigProvider for production
1915
+ - ✅ FirestoreEscalationStore for persistent trust escalation tracking
1916
+ - ✅ Ghost memory filtering — excluded from all default searches
1917
+ - ✅ ghost_context parameter on search-memory and query-memory tools
1918
+ - ✅ buildTrustFilter wired for cross-user ghost searches
1919
+ - ✅ remember_ghost_config tool — 6 actions (get, set, set_trust, remove_trust, block, unblock)
1920
+ - ✅ 21 MCP tools, 454 tests (453 passed, 1 skipped)
1921
+ - ✅ Version 3.12.0 released
1922
+
1923
+ - date: 2026-02-27
1924
+ description: M8 Complete — Task 69 Comprehensive Tool Debugging
1925
+ items:
1926
+ - ✅ Task 69: Added debug logging to all 13 remaining tools
1927
+ - ✅ All 18 MCP tools + weaviate client have createDebugLogger integration
1928
+ - ✅ Pattern: debug.info at entry, debug.trace for args, debug.error in catch
1929
+ - ✅ 394 tests passing, typecheck clean, build passing
1930
+ - ✅ M8 Testing & Quality milestone COMPLETE (3/3 tasks)
1931
+
1932
+ - date: 2026-02-27
1933
+ description: V1→V2 Collection Migration Code Switch + Dry Run (v3.8.0)
1934
+ items:
1935
+ - ✅ Complete V1→V2 code switch across all 22 files (v3.8.0)
1936
+ - ✅ Schema reconciliation: v2-collections.ts is superset of v1 (both property names supported)
1937
+ - ✅ All tools now use v2 collection names (Memory_users_{userId}, Memory_spaces_public)
1938
+ - ✅ All tools now use v2 property names (content_type, trust_score, relationship_ids, etc.)
1939
+ - ✅ Migration script built: scripts/migrate-v1-to-v2.ts (--dry-run, --verify-only, --skip-backup)
1940
+ - ✅ Dry run tested against production: 3 collections, ~6,596 documents
1941
+ - ✅ Collections discovered: Memory_public (11), Memory_MnOyIarhz5b8n06TsTovM582NSG2 (6,584), Memory_Default_user (1)
1942
+ - ✅ Fixed migration verify step to skip during dry-run mode
1943
+ - ✅ Design doc updated: agent/design/local.v2-migration-guide.md
1944
+ - ✅ CHANGELOG.md updated with v3.8.0 entry
1945
+ - ✅ 233 tests (232 passed, 1 skipped)
1946
+ - ✅ Build passing, pushed to mainline
1947
+ - ✅ e1.agentbase.me tested — publish flow working after Firebase credentials fix
1948
+ - ⏳ Real migration pending — holding for e1 feature testing
1949
+ - 📋 Next: Run real migration, then M7 Trust & Permissions
1950
+
1951
+ - date: 2026-02-27
1952
+ description: Memory-Level ACL Schema Design + M14 Completion
1953
+ items:
1954
+ - ✅ M14 Memory Collection Pattern v2 COMPLETE (8/8 tasks, v3.7.0)
1955
+ - ✅ Created agent/design/local.memory-acl-schema.md (remember-mcp)
1956
+ - ✅ 4 new Weaviate fields designed (write_mode, overwrite_allowed_ids, last_revised_by, owner_id)
1957
+ - ✅ Three-layer permission resolution algorithm (memory → group credentials → user)
1958
+ - ✅ Space configuration Firestore collection designed
1959
+ - ✅ Null-fallback migration strategy (zero backfill)
1960
+ - ✅ Created local.group-credentials-for-remember-mcp.md (agentbase.me)
1961
+ - ✅ Credentials endpoint extended with group_memberships_v2 (resolved permissions)
1962
+ - ✅ New editor role defined (between admin and member)
1963
+ - ✅ Updated local.v2-api-reference.md with upcoming ACL fields section
1964
+ - ✅ Updated local.collaborative-memory-sync.md with ACL schema cross-references
1965
+ - ✅ Both commits pushed (remember-mcp mainline, agentbase.me dev/prmichaelsen/e1)
1966
+ - 📋 Next: M7 Trust & Permissions (implements the ACL schema)
1967
+
1968
+ - date: 2026-02-27
1969
+ description: M14 Task 169 - remember_search_space Updated to v2 Architecture
1970
+ items:
1971
+ - ✅ Updated src/tools/search-space.ts for Memory Collection Pattern v2
1972
+ - ✅ Now queries Memory_spaces_public (was Memory_public)
1973
+ - ✅ Filters by space_ids.containsAny() (was spaces field)
1974
+ - ✅ spaces parameter now optional; added groups array parameter
1975
+ - ✅ Added search_type parameter (hybrid | bm25 | semantic)
1976
+ - ✅ Multi-source merge + dedup by UUID + score-sorted results
1977
+ - ✅ All-public fallback when neither spaces nor groups specified
1978
+ - ✅ Soft-delete aware (deleted_at isNull filter)
1979
+ - ✅ Created src/tools/search-space.spec.ts with 23 unit tests
1980
+ - ✅ All 179 tests passing (was 156)
1981
+ - 📋 M14 now 62% complete (5/8 tasks)
1982
+ - 📋 Next: Task 170 - remember_create_memory + remember_update_memory
1983
+
1984
+ - date: 2026-02-26
1985
+ description: M14 Task 168 - remember_revise Tool Implemented (v3.4.0)
1986
+ items:
1987
+ - ✅ Created src/tools/revise.ts - direct action tool (no confirmation flow)
1988
+ - ✅ parseRevisionHistory() - safe JSON parsing of revision history field
1989
+ - ✅ buildRevisionHistory() - prepends old content, trims to 10 entries max
1990
+ - ✅ Reads space_ids/group_ids from source memory tracking arrays
1991
+ - ✅ Updates Memory_spaces_public and Memory_groups_{groupId} in sequence
1992
+ - ✅ Preserves old content in revision_history (JSON string field)
1993
+ - ✅ Sets revised_at timestamp and increments revision_count per copy
1994
+ - ✅ Partial success: each location reported independently
1995
+ - ✅ Registered in src/server.ts and src/server-factory.ts
1996
+ - ✅ 19 new unit tests (src/tools/revise.spec.ts)
1997
+ - ✅ All 156 tests passing (was 137)
1998
+ - ✅ Build passing (v3.4.0)
1999
+ - 📋 M14 now 50% complete (4/8 tasks)
2000
+ - 📋 Next: Task 169 - remember_search_space updates
2001
+
2002
+ - date: 2026-02-26
2003
+ description: ACP Initialization - M14 Task 167 (remember_retract) Implemented
2004
+ items:
2005
+ - ✅ ACP init workflow executed - context fully loaded
2006
+ - ⚠️ ACP update available (v4.2.1 - critical rule: never force-add gitignored files)
2007
+ - ✅ Task 167: Implemented remember_retract tool (src/tools/retract.ts)
2008
+ - ✅ Task 167: Added executeRetractMemory() handler in src/tools/confirm.ts
2009
+ - ✅ Task 167: Registered retract tool in src/server.ts and src/server-factory.ts
2010
+ - ✅ Orphan strategy: retracted memories preserved with cleared tracking arrays
2011
+ - ✅ Fixed documentation drift: milestone-14 now shows In Progress
2012
+ - ✅ Fixed documentation drift: task-167 now shows Completed
2013
+ - ✅ Fixed version drift: progress.yaml now shows v3.2.0
2014
+ - ✅ Build: passing (v3.2.0)
2015
+ - ✅ Tests: 137 passed, 1 skipped (138 total)
2016
+ - 📋 Uncommitted changes pending (retract.ts + confirm.ts + server registrations)
2017
+ - 📋 Next: Task 168 - Implement remember_revise Tool
2018
+
2019
+ - date: 2026-02-25
2020
+ description: CRITICAL BUG FIX - indexNullState Schema Configuration (v3.0.1)
2021
+ items:
2022
+ - 🐛 CRITICAL: Fixed "Nullstate must be indexed to be filterable" error
2023
+ - ✅ Added indexNullState: true to inverted index configuration
2024
+ - ✅ Fixed src/weaviate/schema.ts (Memory collections)
2025
+ - ✅ Fixed src/weaviate/space-schema.ts (Memory_public collection)
2026
+ - ✅ Used correct API: weaviate.configure.invertedIndex()
2027
+ - ✅ Root cause: Task 70 added deleted_at field without null state indexing
2028
+ - ✅ Impact: All memory searches were failing with gRPC error
2029
+ - ✅ Solution: Collections must be recreated to apply fix
2030
+ - ✅ All 93 tests passing
2031
+ - ✅ TypeScript compiles without errors
2032
+ - ✅ Build successful
2033
+ - ✅ Created Task 76 documentation
2034
+ - ⚠️ Users must delete and recreate collections to apply fix
2035
+ - 📋 Ready for v3.0.1 patch release
1716
2036
 
1717
- - date: 2026-02-17
1718
- description: ACP Initialization Complete - Ready for M12 Completion
2037
+ - date: 2026-02-25
2038
+ description: ACP Initialization Complete - Project Context Loaded (v3.0.0)
1719
2039
  items:
1720
- - ✅ ACP initialization workflow executed via @acp.init command
1721
- - ⚠️ ACP updates available (v1.4.3 with improved script color output)
1722
- - ✅ All agent documentation reviewed (30 design docs, 12 milestones, 67 tasks, 7 patterns)
1723
- - ✅ Project status verified: M1-M4, M10-M11 complete (100%), M12 in progress (60%)
1724
- - ✅ Version 2.7.7 confirmed (latest release)
1725
- - ✅ 81 unit tests passing (1 skipped integration test)
1726
- - ✅ Test coverage: 33.12% overall
2040
+ - ✅ Executed @acp.init command workflow
2041
+ - ⚠️ ACP updates available (v4.1.1 with task subdirectory structure)
2042
+ - ✅ Global packages discovered: acp-core v3.10.1 (28 commands, 2 patterns, 2 designs)
2043
+ - ✅ All agent documentation reviewed (30 design docs, 13 milestones, 75 tasks, 7 patterns)
2044
+ - ✅ Key source files reviewed (server.ts, progress.yaml, requirements.md, CHANGELOG.md)
2045
+ - ✅ Project status verified - M1-M4, M10-M11, M13 complete (100%), M12 in progress (60%)
2046
+ - ✅ Current version 3.0.0 (latest - soft delete system)
2047
+ - ✅ All 93 unit tests passing (1 skipped integration test)
2048
+ - ✅ Test coverage 33.12% overall
1727
2049
  - ✅ TypeScript compiles without errors
1728
2050
  - ✅ Build successful (dual export: server + factory)
1729
- - ✅ All 17 MCP tools implemented and working
1730
- - ✅ M12 Comment System: 3/5 tasks complete (schema, search, query updates)
1731
- - ✅ Task 66 completed: Comment fields initialized in create/update tools
2051
+ - ✅ All 17 MCP tools implemented and operational
2052
+ - ✅ Multi-tenant architecture with per-user isolation working
2053
+ - ✅ Vector search (Weaviate) + metadata (Firestore) operational
2054
+ - ✅ Shared spaces with multi-space support functional
2055
+ - ✅ Soft delete system with confirmation flow complete (v3.0.0)
2056
+ - ✅ Comment system foundation implemented (v2.6.0)
2057
+ - 📋 M12 Comment System: 3/5 tasks complete (schema, search, query updates)
1732
2058
  - 📋 Remaining M12 tasks: Task 58 (unit tests), Task 59 (documentation)
1733
2059
  - 📋 Ready to complete M12 milestone
1734
- - 📋 Multi-tenant architecture with per-user isolation operational
1735
- - 📋 Vector search with Weaviate + metadata with Firestore working
1736
- - 📋 Shared spaces with multi-space support functional
1737
-
1738
- - date: 2026-02-16
1739
- description: Comment System, Structured Logging, and Safety Guidelines (v2.6.0-v2.6.2)
1740
- items:
1741
- - 🎉 M12 STARTED: Comment System (Phase 1) - 60% complete (3/5 tasks)
1742
- - ✅ Task 55: Added 3 comment fields to Weaviate schema
1743
- - ✅ parent_id, thread_root_id, moderation_flags fields added
1744
- - ✅ Enables infinite comment nesting with no depth limit
1745
- - ✅ Per-space moderation flags support
1746
- - ✅ Task 56: Updated remember_search_space with include_comments parameter
1747
- - ✅ Comments excluded by default for clean discovery
1748
- - ✅ Opt-in via include_comments: true
1749
- - ✅ Task 57: Updated remember_query_space with include_comments parameter
1750
- - ✅ Same filtering logic as search_space
1751
- - ✅ Released v2.6.0 with comment system foundation
1752
- - ✅ Task 60: Standardized structured logging across 8 files
1753
- - ✅ Replaced 54 console.log/error/warn calls with logger.info/error/warn/debug
1754
- - ✅ All logs include context objects (service, module, tool names)
1755
- - ✅ Fixed circular dependency in config.ts with dynamic import
1756
- - ✅ Released v2.6.1 with structured logging
1757
- - ✅ Task 61: Enhanced confirmation tool safety guidelines
1758
- - ✅ Added 5 critical safety requirements to remember_confirm and remember_deny
1759
- - ✅ Prevents agents from chaining confirmations without user consent
1760
- - ✅ Visual indicators (⚠️) and JSDoc comments added
1761
- - ✅ Released v2.6.2 with safety enhancements
1762
- - 📋 Next: Complete M12 with Tasks 58-59 (tests + documentation)
1763
- - 📋 6 commits ready to push to origin
2060
+ - 📋 Git status: Clean working directory
1764
2061
 
1765
- - date: 2026-02-16
1766
- description: ACP Initialization Complete - Multi-Space Architecture Verified (v2.5.1)
2062
+ - date: 2026-02-25
2063
+ description: M13 COMPLETED - Soft Delete System Released (v3.0.0)
1767
2064
  items:
1768
- - ACP initialization workflow executed via @acp.init command
1769
- - ✅ AGENT.md confirmed up-to-date (v1.0.3)
1770
- - ✅ All agent documentation reviewed (29 design docs, 11 milestones, 54 tasks, 5 patterns)
1771
- - ✅ Project status verified: M1-M4, M10-M11 complete (100%)
1772
- - ✅ Version 2.5.1 confirmed (latest release with error handling fix)
1773
- - ✅ All unit tests passing
1774
- - ✅ TypeScript compiles without errors
1775
- - ✅ Build successful (dual export: server + factory)
1776
- - ✅ All 17 MCP tools implemented and working
1777
- - 🎉 M10 COMPLETED: Shared Spaces & Confirmation Flow
1778
- - ✅ Token-based confirmation system operational
1779
- - ✅ 5 space tools: publish, confirm, deny, search_space, query_space
1780
- - ✅ Confirmation token service with 5-minute expiry and comprehensive error handling
1781
- - ✅ Firestore request validation and diagnostic logging
1782
- - 🎉 M11 COMPLETED: Unified Public Collection Architecture
1783
- - ✅ Multi-space architecture implemented (spaces: string[] array)
1784
- - ✅ Memory_public unified collection replaces per-space collections
1785
- - ✅ Multi-space search with containsAny filter
1786
- - ✅ No memory duplication across spaces
1787
- - ✅ remember_publish supports publishing to multiple spaces
1788
- - ✅ remember_search_space supports multi-space queries
1789
- - ✅ remember_query_space supports multi-space RAG
1790
- - ✅ All tests updated for multi-space support
1791
- - ✅ Documentation updated with multi-space examples
1792
- - ✅ Multi-tenant architecture with per-user isolation
1793
- - ✅ Vector search with Weaviate + metadata with Firestore
1794
- - ✅ 45 content types with dynamic descriptions
1795
- - ✅ N-way relationships with bidirectional tracking
1796
- - ✅ User preferences system (6 categories)
1797
- - 📋 Ready for deployment testing and verification
1798
- - 📋 Next: Deploy v2.5.1 and test multi-space functionality
1799
-
1800
- - date: 2026-02-16
1801
- description: ACP Initialization Complete - Project Status Verified
1802
- items:
1803
- - ✅ ACP initialization workflow executed via @acp.init command
1804
- - ⚠️ ACP updates available (v1.2.1 with new command format)
1805
- - ✅ All agent documentation reviewed (23 design docs, 10 milestones, 33 tasks, 5 patterns)
1806
- - ✅ Project status verified: M1-M4 complete (100%), M10 in progress
1807
- - ✅ Version 2.3.1 confirmed (latest patch release)
1808
- - ✅ 53 unit tests passing (1 skipped integration test)
1809
- - ✅ Test coverage: 29.76% overall
2065
+ - 🎉 MILESTONE 13 COMPLETE: Soft Delete System
2066
+ - ✅ Task 75 COMPLETED: Updated documentation and CHANGELOG
2067
+ - ✅ Added comprehensive CHANGELOG entry for v3.0.0
2068
+ - ✅ Documented breaking changes and migration guide
2069
+ - ✅ Added soft delete workflow section to README.md
2070
+ - ✅ Documented deletion confirmation flow
2071
+ - ✅ Documented deleted_filter parameter usage
2072
+ - ✅ Updated package.json to v3.0.0
2073
+ - ✅ Updated progress.yaml to v3.0.0
2074
+ - All 93 tests passing
1810
2075
  - ✅ TypeScript compiles without errors
1811
- - ✅ Build successful (dual export: server + factory)
1812
- - All 17 MCP tools implemented and working
1813
- - M10 Shared Spaces: 5 tools implemented (publish, confirm, deny, search_space, query_space)
1814
- - Token-based confirmation system operational
1815
- - ✅ Space collections: Memory_the_void with snake_case naming
1816
- - ✅ Confirmation token service with 5-minute expiry
1817
- - ✅ Space memory types and schema complete
1818
- - ✅ Multi-tenant architecture with per-user isolation
1819
- - ✅ Vector search with Weaviate + metadata with Firestore
1820
- - ✅ 45 content types with dynamic descriptions
1821
- - ✅ N-way relationships with bidirectional tracking
1822
- - ✅ User preferences system (6 categories)
1823
- - 📋 M10 implementation appears complete - needs verification
1824
- - 📋 Ready to verify M10 completion and update documentation
1825
-
1826
- - date: 2026-02-16
1827
- description: Created Milestone 10 and Tasks for Shared Spaces
1828
- items:
1829
- - ✅ Created M10: Shared Spaces & Confirmation Flow milestone
1830
- - ✅ Created Task 34: Confirmation Token Service
1831
- - ✅ Created Task 35: Space Memory Types and Schema
1832
- - ✅ Created Task 36: Implement remember_publish
1833
- - ✅ Created Task 37: Implement remember_confirm
1834
- - ✅ Created Task 38: Implement remember_deny
1835
- - ✅ Created Task 39: Implement remember_search_space
1836
- - ✅ Created Task 40: Implement remember_query_space
1837
- - ✅ Created Task 41: Configure Firestore TTL
1838
- - ✅ Created Task 42: Create Tests
1839
- - ✅ Created Task 43: Update Documentation
1840
- - ✅ Updated naming convention: snake_case for space IDs
1841
- - ✅ "The Void" → `the_void` → `Memory_the_void`
1842
- - ✅ Token-based confirmation pattern documented
1843
- - ✅ 5 new tools planned (publish, confirm, deny, search_space, query_space)
1844
- - 📋 Ready to begin M10 implementation
1845
- - 📋 10 tasks, estimated 30 hours total
2076
+ - ✅ Build successful
2077
+ - 🚀 Ready for v3.0.0 release
2078
+ - 📋 Breaking change: Deletion requires confirmation
2079
+ - 📋 Breaking change: Deleted memories excluded by default
1846
2080
 
1847
- - date: 2026-02-16
1848
- description: ACP Initialization Complete - Firebase SDK Reverted
2081
+ - date: 2026-02-25
2082
+ description: Tasks 70-73 COMPLETED - Soft Delete Core + Validation (67% M13)
1849
2083
  items:
1850
- - AGENT.md confirmed up-to-date (v1.0.3)
1851
- - ⚠️ ACP updates available (v1.0.3 with new templates and scripts)
1852
- - ✅ All agent documentation reviewed and current
1853
- - ✅ Project status verified: 4 milestones complete (M1-M4: 100%)
1854
- - ✅ Version 2.2.1 confirmed (latest release)
1855
- - ✅ Reverted commit 328abd3 (Firebase Admin SDK migration)
1856
- - ✅ Restored @prmichaelsen/firebase-admin-sdk-v8@2.2.0
1857
- - ✅ 53 unit tests passing (1 skipped integration test)
1858
- - ✅ Test coverage: 29.76% overall
2084
+ - 🎉 Task 73 COMPLETED: Updated relationship handling for deleted memories
2085
+ - Added deleted_at validation to remember_create_relationship
2086
+ - ✅ Prevents creating relationships with deleted memories
2087
+ - ✅ Error message includes deletion timestamp
2088
+ - ✅ Added deleted_at validation to remember_update_memory
2089
+ - ✅ Prevents updating deleted memories
2090
+ - ✅ Clear error messages with deletion date
2091
+ - ✅ All 93 tests passing (1 skipped integration test)
1859
2092
  - ✅ TypeScript compiles without errors
1860
2093
  - ✅ Build successful
1861
- - All 12 MCP tools implemented and working
1862
- - Comprehensive error handling framework in place
1863
- - ✅ Dual export: standalone server + factory for mcp-auth
1864
- - ✅ Multi-tenant architecture with per-user isolation
1865
- - ✅ Vector search with Weaviate + metadata with Firestore
1866
- - ✅ 45 content types with dynamic descriptions
1867
- - ✅ N-way relationships with bidirectional tracking
1868
- - ✅ User preferences system (6 categories)
1869
- - 📋 Ready to begin M5: Template System
1870
- - 📋 Project structure follows ACP and bootstrap patterns
1871
- - 📋 Documentation comprehensive and accurate
2094
+ - 📋 M13: 67% complete (4/6 tasks done)
2095
+ - 📋 Remaining: Task 74 (unit tests), Task 75 (documentation)
1872
2096
 
1873
- - date: 2026-02-16
1874
- description: ACP Initialization - Complete Project Context Review
2097
+ - date: 2026-02-25
2098
+ description: Tasks 70-72 COMPLETED - Soft Delete Core Implementation (50% M13)
1875
2099
  items:
1876
- - AGENT.md confirmed up-to-date (v1.0.3)
1877
- - ✅ All agent documentation reviewed and current
1878
- - ✅ Project status verified: 4 milestones complete (M1-M4: 100%)
1879
- - ✅ Version 2.2.1 confirmed (latest release)
1880
- - ✅ 53 unit tests passing (1 skipped integration test)
1881
- - ✅ Test coverage: 24.68% overall
2100
+ - 🎉 Task 72 COMPLETED: Added deleted_filter to all search tools
2101
+ - ✅ Added deleted_filter parameter to remember_search_memory
2102
+ - ✅ Added deleted_filter parameter to remember_query_memory
2103
+ - ✅ Added deleted_filter parameter to remember_find_similar
2104
+ - ✅ Added deleted_filter parameter to remember_search_relationship
2105
+ - ✅ Created buildDeletedFilter helper function
2106
+ - ✅ Exported combineFiltersWithAnd for reuse
2107
+ - ✅ Added DeletedFilter type to memory.ts
2108
+ - ✅ Filter applied at Weaviate query level (not post-processing)
2109
+ - ✅ Default behavior: exclude deleted memories
2110
+ - '✅ Three modes: "exclude", "include", "only"'
2111
+ - ✅ All 93 tests passing (1 skipped integration test)
1882
2112
  - ✅ TypeScript compiles without errors
1883
2113
  - ✅ Build successful
1884
- - All 12 MCP tools implemented and working
1885
- - ✅ Comprehensive error handling framework in place
1886
- - ✅ Dual export: standalone server + factory for mcp-auth
1887
- - ✅ Multi-tenant architecture with per-user isolation
1888
- - ✅ Vector search with Weaviate + metadata with Firestore
1889
- - ✅ 45 content types with dynamic descriptions
1890
- - ✅ N-way relationships with bidirectional tracking
1891
- - ✅ User preferences system (6 categories)
1892
- - ✅ LLM provider abstraction (Bedrock implemented)
1893
- - ✅ Background job service for async operations
1894
- - ✅ Production-ready with Cloud Run deployment
1895
- - 📋 Ready to begin M5: Template System
1896
- - 📋 Project structure follows ACP and bootstrap patterns
1897
- - 📋 Documentation comprehensive and accurate
1898
-
1899
- - date: 2026-02-15
1900
- description: All Production Error Tasks COMPLETED (Tasks 23-25)
1901
- items:
1902
- - 🎉 Task 165 (Core Infrastructure Setup) COMPLETED!
1903
- - ✅ Fixed 3 failing tests in core-infrastructure.spec.ts
1904
- - ✅ Added ID validation for dots in getCollectionName()
1905
- - ✅ Updated error message in parseCompositeId() to include "must be exactly 2 parts"
1906
- - ✅ Changed validateCompositeId() to return true instead of void
1907
- - ✅ All 138 tests passing (137 passed, 1 skipped)
1908
- - ✅ 79% coverage on new collections code
1909
- - 🚀 M14: Memory Collection Pattern v2 now in progress (1/8 tasks complete)
2114
+ - 📋 M13: 50% complete (3/6 tasks done)
1910
2115
 
1911
- - date: 2026-02-26
1912
- description: Task 165 COMPLETED - Core Infrastructure Setup
2116
+ - date: 2026-02-25
2117
+ description: Task 71 COMPLETED - Delete Confirmation Flow Implemented
1913
2118
  items:
1914
- - 🎉 Task 25 (Fix Update Memory Errors) COMPLETED!
1915
- - 🎉 Task 23 (Fix Relationship Creation Errors) COMPLETED!
1916
- - 🎉 Task 24 (Fix Weaviate Filter Path Error) COMPLETED!
1917
- - ✅ All 3 production error categories addressed
1918
- - ✅ Enhanced error logging across all affected tools
1919
- - ✅ Standardized error handling with handleToolError
1920
- - ✅ Added detailed context to all error messages
1921
- - ✅ Fixed critical Weaviate v3 filter API bug
1922
- - ✅ All 53 tests passing
2119
+ - Modified remember_delete_memory to create confirmation token
2120
+ - Tool now returns preview with content, type, relationship count
2121
+ - Preview shows which relationships will be orphaned
2122
+ - ✅ Enhanced remember_confirm to handle delete_memory action
2123
+ - ✅ Confirmation sets deleted_at, deleted_by, deletion_reason fields
2124
+ - ✅ Added executeDeleteMemory function to confirm.ts
2125
+ - ✅ Validates memory ownership before deletion
2126
+ - ✅ Prevents deleting already-deleted memories
2127
+ - ✅ Token expires after 5 minutes (reuses existing service)
2128
+ - ✅ Fixed space-schema test (removed deprecated space_id check)
2129
+ - ✅ All 93 tests passing (1 skipped integration test)
1923
2130
  - ✅ TypeScript compiles without errors
1924
2131
  - ✅ Build successful
1925
- - 📊 Production errors should now have actionable diagnostics
2132
+ - 📋 M13: 33% complete (2/6 tasks done)
1926
2133
 
1927
- - date: 2026-02-15
1928
- description: Task 24 COMPLETED - Fixed Weaviate Filter Path Error
2134
+ - date: 2026-02-25
2135
+ description: Task 70 COMPLETED - Added Soft Delete Schema Fields
1929
2136
  items:
1930
- - 🎉 Task 24 (Fix Weaviate Filter Path Error) COMPLETED!
1931
- - 🐛 Fixed critical "paths needs to have a uneven number of components" gRPC error
1932
- - ✅ Updated search-relationship.ts to use Weaviate v3 filter API
1933
- - ✅ Replaced old v2 format (path/operator/valueText) with v3 fluent API
1934
- - ✅ Now uses collection.filter.byProperty() and Filters.and()/or()
1935
- - ✅ Fixed method name: greaterThanOrEqual -> greaterOrEqual
1936
- - ✅ Root cause: search-relationship.ts was never updated in Task 20
1937
- - ✅ All 53 tests passing
2137
+ - Added 3 fields to Memory schema (deleted_at, deleted_by, deletion_reason)
2138
+ - Added same 3 fields to Memory_public schema
2139
+ - ✅ Updated Memory interface in src/types/memory.ts
2140
+ - ✅ Updated SpaceMemory interface in src/types/space-memory.ts
2141
+ - ✅ Added fields to ALL_MEMORY_PROPERTIES constant
1938
2142
  - ✅ TypeScript compiles without errors
1939
- - ✅ Build successful
1940
- - 🚀 remember_search_relationship tool now works correctly
2143
+ - ✅ Build successful (dual export: server + factory)
2144
+ - No breaking changes to existing code
2145
+ - ✅ Schema ready for soft delete implementation
2146
+ - 📋 M13: 17% complete (1/6 tasks done)
1941
2147
 
1942
- - date: 2026-02-15
1943
- description: Production Error Analysis - Created Task Documents
2148
+ - date: 2026-02-25
2149
+ description: ACP Initialization Complete - Full Project Context Loaded
1944
2150
  items:
1945
- - 📊 Analyzed 300 Cloud Run logs from remember-mcp-server
1946
- - 🔍 Identified 63 error occurrences across 3 categories
1947
- - ✅ Created Task 23: Fix Relationship Creation Errors (High Priority)
1948
- - ✅ Created Task 24: Fix Weaviate Filter Path Error (Critical Priority)
1949
- - ✅ Created Task 25: Fix Update Memory Errors (Medium Priority)
1950
- - 📋 Service is operational but has intermittent errors
1951
- - 📋 Most errors in relationship creation (~20+ occurrences)
1952
- - 📋 Critical Weaviate filter path error still occurring (supposedly fixed in v1.0.2)
1953
- - 📋 Update memory errors less frequent but need attention
1954
- - 📋 All errors documented with reproduction steps and verification criteria
1955
- - 📋 Ready to begin debugging and fixes
2151
+ - Executed @acp.init command workflow
2152
+ - ⚠️ ACP updates available (v3.14.0 current v3.10.1)
2153
+ - ✅ Global packages discovered: acp-core v3.10.1 (28 commands, 2 patterns, 2 designs)
2154
+ - ✅ All agent documentation reviewed (30 design docs, 12 milestones, 69 tasks, 7 patterns)
2155
+ - ✅ Key source files reviewed (server.ts, search-space.ts, schema.ts, package.json, README.md)
2156
+ - Project status verified - M1-M4, M10-M11 complete (100%), M12 in progress (60%)
2157
+ - Current version 2.8.0 (latest)
2158
+ - All 93 unit tests passing (1 skipped integration test)
2159
+ - Test coverage 33.12% overall
2160
+ - TypeScript compiles without errors
2161
+ - Build successful (dual export: server + factory)
2162
+ - ✅ All 17 MCP tools implemented and operational
2163
+ - ✅ Multi-tenant architecture with per-user isolation working
2164
+ - ✅ Vector search (Weaviate) + metadata (Firestore) operational
2165
+ - ✅ Shared spaces with multi-space support functional
2166
+ - ✅ Comment system foundation implemented (v2.6.0)
2167
+ - ✅ Task 69 IN PROGRESS: Comprehensive Tool Debugging (70% complete)
2168
+ - 📋 M12 Comment System: 3/5 tasks complete (schema, search, query updates)
2169
+ - 📋 Remaining M12 tasks: Task 58 (unit tests), Task 59 (documentation)
2170
+ - 📋 Ready to complete M12 milestone
1956
2171
 
1957
- - date: 2026-02-15
1958
- description: ACP Initialization - Comprehensive Project Review
2172
+ - date: 2026-02-25
2173
+ description: Task 69 IN PROGRESS - Comprehensive Tool Debugging (70% complete)
1959
2174
  items:
1960
- - 📊 Complete ACP initialization workflow executed
1961
- - ✅ AGENT.md confirmed up-to-date (v1.0.3)
1962
- - ✅ All agent documentation reviewed and current
1963
- - ✅ Project status verified: 4 milestones complete (M1-M4: 100%)
1964
- - ✅ 53 unit tests passing (1 skipped integration test)
1965
- - ✅ Test coverage: 29.9% overall
1966
- - ✅ TypeScript compiles without errors
1967
- - ✅ Build successful (v2.0.2)
1968
- - ✅ All 12 MCP tools implemented and working
1969
- - ✅ Comprehensive error handling framework in place
1970
- - ✅ Dual export: standalone server + factory for mcp-auth
1971
- - ✅ Multi-tenant architecture with per-user isolation
1972
- - ✅ Vector search with Weaviate + metadata with Firestore
1973
- - ✅ 45 content types with dynamic descriptions
1974
- - ✅ N-way relationships with bidirectional tracking
1975
- - User preferences system (6 categories)
1976
- - Production-ready with Cloud Run deployment
1977
- - 📋 Ready to begin M5: Template System
1978
- - 📋 Project structure follows ACP and bootstrap patterns
1979
- - 📋 Documentation comprehensive and accurate
2175
+ - Core infrastructure complete (Steps 1-2, 5-7)
2176
+ - ✅ Added DebugLevel enum and debugConfig to src/config.ts
2177
+ - ✅ Created src/utils/debug.ts with DebugLogger class
2178
+ - ✅ Implemented 5 debug levels: NONE, ERROR, WARN, INFO, DEBUG, TRACE
2179
+ - ✅ Added time() method for performance profiling
2180
+ - ✅ Added dump() method for parameter inspection (TRACE only)
2181
+ - ✅ Created 12 unit tests with 100% coverage on debug utility
2182
+ - ✅ Updated .env.example with REMEMBER_MCP_DEBUG_LEVEL variable
2183
+ - ✅ Updated README.md with debugging section and examples
2184
+ - ✅ Integrated 5 tools: publish, confirm, search-space, query-space, weaviate-client
2185
+ - ✅ All 93 tests passing (12 new debug tests)
2186
+ - ✅ Build successful, TypeScript compiles without errors
2187
+ - ✅ Zero performance overhead when debug disabled (NONE)
2188
+ - ✅ Space tools now have comprehensive debug tracing
2189
+ - ✅ Performance timing on all database operations
2190
+ - 📋 Remaining: 12 tools (6 memory, 4 relationship, 2 preference)
2191
+ - 📋 Progress: 70% complete (5/17 tools + client integrated)
1980
2192
 
1981
- - date: 2026-02-14
1982
- description: v2.0.2 Released - Comprehensive Error Handling
2193
+ - date: 2026-02-25
2194
+ description: CRITICAL BUG FIX - Missing Space Properties (v2.7.12)
1983
2195
  items:
1984
- - 🎉 v2.0.2 RELEASED - Patch release with comprehensive error handling
1985
- - ✅ Applied centralized error handler to all 12 MCP tools
1986
- - ✅ All tools now use handleToolError() from error-handler.ts
1987
- - ✅ Consistent error logging with full context across all operations
1988
- - ✅ Stack traces included in all error messages
1989
- - ✅ Tool-specific context (userId, IDs, operation details) in every error
1990
- - ✅ Production debugging significantly enhanced
1991
- - ✅ Build successful
1992
- - ✅ All tests passing
2196
+ - 🐛 CRITICAL: Fixed published memories not appearing in space search results
2197
+ - ✅ Added 8 missing space-related properties to ALL_MEMORY_PROPERTIES constant
2198
+ - ✅ Properties: spaces, space_id, author_id, ghost_id, attribution, published_at, discovery_count, space_memory_id
2199
+ - ✅ Root cause: Properties added to schema (v2.4.0) but not to fetch constant (v2.6.3)
2200
+ - ✅ Impact: Published memories now properly include all space fields
2201
+ - ✅ Search filtering by spaces array now works correctly
2202
+ - ✅ Memories now discoverable in The Void and other shared spaces
2203
+ - ✅ Build successful, all 81 tests passing
2204
+ - ✅ Created Task 68 documentation
2205
+ - 📋 Ready for v2.7.12 release
1993
2206
 
1994
- - date: 2026-02-14
1995
- description: v2.0.1 Released - Enhanced Error Logging Framework
2207
+ - date: 2026-02-25
2208
+ description: ACP Initialization Complete - Full Context Loaded
1996
2209
  items:
1997
- - 🎉 v2.0.1 RELEASED - Patch release with error handling improvements
1998
- - Created centralized error-handler utility (src/utils/error-handler.ts)
1999
- - ✅ Enhanced error logging in remember_update_memory
2000
- - ✅ Detailed error context: userId, memoryId, operation, stack traces
2001
- - ✅ Separate error handling for fetch and update operations
2002
- - ✅ Error messages now include full context for Cloud Run debugging
2003
- - ✅ Framework ready for application to all 12 tools
2004
- - ✅ Build successful
2005
- - ✅ All tests passing
2006
- - 📋 Production error diagnostics significantly improved
2210
+ - ACP initialization workflow executed via @acp.init command
2211
+ - ⚠️ ACP updates available (v3.14.0 with script-command binding system)
2212
+ - ✅ Global ACP packages discovered: acp-core v3.10.1 (28 commands, 2 patterns, 2 designs)
2213
+ - ✅ All agent documentation reviewed (30 design docs, 12 milestones, 67 tasks, 7 patterns)
2214
+ - ✅ Key source files reviewed (server.ts, search-space.ts, schema.ts)
2215
+ - ✅ Project status verified: M1-M4, M10-M11 complete (100%), M12 in progress (60%)
2216
+ - ✅ Current version: 2.7.11 (latest published)
2217
+ - ✅ 81 unit tests passing (1 skipped integration test)
2218
+ - ✅ Test coverage: 33.12% overall
2219
+ - TypeScript compiles without errors
2220
+ - ✅ Build successful (dual export: server + factory)
2221
+ - ✅ All 17 MCP tools implemented and working
2222
+ - ✅ M12 Comment System: 3/5 tasks complete (schema, search, query updates)
2223
+ - 📋 Remaining M12 tasks: Task 58 (unit tests), Task 59 (documentation)
2224
+ - 📋 Ready to complete M12 milestone
2225
+ - 📋 Multi-tenant architecture with per-user isolation operational
2226
+ - 📋 Vector search with Weaviate + metadata with Firestore working
2227
+ - 📋 Shared spaces with multi-space support functional
2228
+ - 📋 Comment system foundation implemented (v2.6.0)
2007
2229
 
2008
- - date: 2026-02-14
2009
- description: Project Status Review - ACP Initialization
2230
+ - date: 2026-02-22
2231
+ description: ACP Initialization Complete - Project Context Loaded
2010
2232
  items:
2011
- - 📊 Comprehensive project review completed via ACP initialization
2012
- - All 12 MCP tools implemented and working
2013
- - ✅ 54 tests passing (53 passed, 1 skipped integration test)
2014
- - ✅ Test coverage: 29.26% overall
2233
+ - ACP initialization workflow executed via @acp.init command
2234
+ - ⚠️ ACP updates available (v3.9.0 with global package installation system)
2235
+ - ✅ All agent documentation reviewed (30 design docs, 12 milestones, 67 tasks, 7 patterns)
2236
+ - ✅ Project status verified: M1-M4, M10-M11 complete (100%), M12 in progress (60%)
2237
+ - ✅ Current version: 2.7.11 (latest published)
2238
+ - ✅ 81 unit tests passing (1 skipped integration test)
2239
+ - ✅ Test coverage: 33.12% overall
2015
2240
  - ✅ TypeScript compiles without errors
2016
- - ✅ Build successful (v2.0.0)
2017
- - ✅ 30 TypeScript source files in project (added error-handler.ts)
2018
- - ✅ Dual export: standalone server + factory for mcp-auth
2019
- - All 4 milestones complete (M1-M4: 100%)
2020
- - Ready to begin M5: Template System
2021
- - 📋 Project structure follows ACP and bootstrap patterns
2022
- - 📋 Documentation comprehensive and up-to-date
2241
+ - ✅ Build successful (dual export: server + factory)
2242
+ - ✅ All 17 MCP tools implemented and working
2243
+ - ✅ M12 Comment System: 3/5 tasks complete (schema, search, query updates)
2244
+ - 📋 Remaining M12 tasks: Task 58 (unit tests), Task 59 (documentation)
2245
+ - 📋 Ready to complete M12 milestone
2246
+ - 📋 Multi-tenant architecture with per-user isolation operational
2247
+ - 📋 Vector search with Weaviate + metadata with Firestore working
2248
+ - 📋 Shared spaces with multi-space support functional
2249
+ - 📋 Comment system foundation implemented (v2.6.0)
2023
2250
 
2024
- - date: 2026-02-12
2025
- description: v1.0.1 Released - Or Operator Bug Fix
2251
+ - date: 2026-02-17
2252
+ description: CRITICAL BUG FIX - Shared Space Discovery Now Works (v2.7.8)
2026
2253
  items:
2027
- - 🎉 v1.0.1 RELEASED - Patch release with bug fix
2028
- - 🐛 Fixed "no children for operator Or" error
2029
- - ✅ Added validation to filter out undefined/null values in filter combinations
2030
- - ✅ Updated combineFiltersWithOr to validate operands
2031
- - ✅ Updated combineFiltersWithAnd to validate operands
2032
- - ✅ Added 3 new edge case tests for undefined/null handling
2033
- - ✅ All 57 tests passing (up from 54)
2034
- - ✅ Code coverage: 90.56% on weaviate-filters.ts
2035
- - Build successful
2036
- - ✅ CHANGELOG.md updated
2254
+ - 🐛 CRITICAL: Fixed shared space discovery bug
2255
+ - '✅ Search/query tools now filter by doc_type: ''memory'' (was ''space_memory'')'
2256
+ - ✅ space_memory concept was removed from architecture
2257
+ - ✅ All users can now discover memories in The Void
2258
+ - ✅ Root cause: search-space.ts and query-space.ts filtered for wrong doc_type
2259
+ - ✅ Changed filters from 'space_memory' to 'memory'
2260
+ - ✅ Build successful, all 81 tests passing
2261
+ - ✅ No data migration needed - existing memories are correct
2262
+ - 📋 Released v2.7.8 with critical bug fix
2037
2263
 
2038
- - date: 2026-02-12
2039
- description: v1.0.0 Released - Major Version with Breaking Changes
2264
+ - date: 2026-02-17
2265
+ description: Fixed Build Error & Completed Task 66 - Comment Field Initialization
2040
2266
  items:
2041
- - 🎉 v1.0.0 RELEASED - First stable release
2042
- - 🚨 BREAKING: createServer is now async (returns Promise<Server>)
2043
- - ✅ Database initialization now uses await pattern
2044
- - ✅ Server factory properly waits for databases before accepting requests
2045
- - ✅ Updated all server-factory tests for async
2046
- - ✅ All 54 tests passing
2047
- - ✅ CHANGELOG.md created with migration guide
2267
+ - Fixed critical TypeScript build error in content-types.ts
2268
+ - Added missing 'poetry' content type metadata
2269
+ - ✅ Build now successful - TypeScript compiles without errors
2270
+ - ✅ Task 66 COMPLETED: Initialize comment fields in create/update tools
2271
+ - ✅ Updated remember_create_memory tool schema with comment fields
2272
+ - ✅ Updated CreateMemoryArgs interface with parent_id, thread_root_id, moderation_flags
2273
+ - ✅ Initialized comment fields to defaults in handleCreateMemory (null, null, [])
2274
+ - ✅ Updated remember_update_memory tool schema with comment fields
2275
+ - ✅ Updated UpdateMemoryArgs interface with comment fields
2276
+ - ✅ Added comment field update logic in handleUpdateMemory
2277
+ - ✅ All 81 tests passing (1 skipped integration test)
2278
+ - ✅ Test coverage: 33.12% overall
2279
+ - ✅ New memories now created with comment fields initialized
2280
+ - ✅ Can create comments with parent_id and thread_root_id set
2281
+ - ✅ Can update comment fields via remember_update_memory
2282
+ - 📋 Ready for M12 completion: Tasks 58-59 remaining
2048
2283
 
2049
- - date: 2026-02-12
2050
- description: Task 20 COMPLETED - Weaviate v3 Filters & Relationship Search
2284
+ - date: 2026-02-17
2285
+ description: ACP Initialization Complete - Ready for M12 Completion
2051
2286
  items:
2052
- - 🎉 Task 20 (Fix Weaviate v3 Filters) COMPLETED!
2053
- - Created src/utils/weaviate-filters.ts with v3 filter builders
2054
- - ✅ Implemented buildCombinedSearchFilters() with OR logic
2055
- - ✅ Implemented buildMemoryOnlyFilters() for backward compatibility
2056
- - ✅ Implemented buildRelationshipOnlyFilters() for relationship-only search
2057
- - ✅ Updated search-memory.ts to use v3 filters
2058
- - ✅ Updated search-memory.ts to search BOTH memories AND relationships by default
2059
- - ✅ Updated query-memory.ts to use v3 filters
2060
- - ✅ Results now separated into memories and relationships arrays
2061
- - ✅ 29 new unit tests for filter builders
2062
- - ✅ Build successful
2287
+ - ACP initialization workflow executed via @acp.init command
2288
+ - ⚠️ ACP updates available (v1.4.3 with improved script color output)
2289
+ - ✅ All agent documentation reviewed (30 design docs, 12 milestones, 67 tasks, 7 patterns)
2290
+ - ✅ Project status verified: M1-M4, M10-M11 complete (100%), M12 in progress (60%)
2291
+ - ✅ Version 2.7.7 confirmed (latest release)
2292
+ - ✅ 81 unit tests passing (1 skipped integration test)
2293
+ - ✅ Test coverage: 33.12% overall
2063
2294
  - ✅ TypeScript compiles without errors
2064
- - 🔧 Fixed gRPC "paths needs to have an uneven number of components" error
2065
- - 🔧 Replaced old v2 filter format (path/operator/valueText) with v3 fluent API
2295
+ - Build successful (dual export: server + factory)
2296
+ - All 17 MCP tools implemented and working
2297
+ - ✅ M12 Comment System: 3/5 tasks complete (schema, search, query updates)
2298
+ - ✅ Task 66 completed: Comment fields initialized in create/update tools
2299
+ - 📋 Remaining M12 tasks: Task 58 (unit tests), Task 59 (documentation)
2300
+ - 📋 Ready to complete M12 milestone
2301
+ - 📋 Multi-tenant architecture with per-user isolation operational
2302
+ - 📋 Vector search with Weaviate + metadata with Firestore working
2303
+ - 📋 Shared spaces with multi-space support functional
2066
2304
 
2067
- - date: 2026-02-12
2068
- description: Project Status Review & Documentation Update
2305
+ - date: 2026-02-16
2306
+ description: Comment System, Structured Logging, and Safety Guidelines (v2.6.0-v2.6.2)
2069
2307
  items:
2070
- - 📊 Comprehensive project review completed
2071
- - ✅ All 12 MCP tools implemented and working
2072
- - ✅ 28 TypeScript source files in project (added weaviate-filters.ts)
2073
- - ✅ 25 unit tests passing (1 skipped)
2074
- - ✅ Build successful (v0.2.5)
2075
- - ✅ TypeScript compiles without errors
2076
- - ⚠️ CRITICAL: Weaviate v3 filter API issue identified (Task 20)
2077
- - ⚠️ Old v2 filter format used in search-memory.ts and query-memory.ts
2078
- - ⚠️ Will cause gRPC errors when filters are used
2079
- - 📋 Task 20 created: Fix Weaviate v3 Filters
2308
+ - 🎉 M12 STARTED: Comment System (Phase 1) - 60% complete (3/5 tasks)
2309
+ - ✅ Task 55: Added 3 comment fields to Weaviate schema
2310
+ - ✅ parent_id, thread_root_id, moderation_flags fields added
2311
+ - ✅ Enables infinite comment nesting with no depth limit
2312
+ - ✅ Per-space moderation flags support
2313
+ - ✅ Task 56: Updated remember_search_space with include_comments parameter
2314
+ - Comments excluded by default for clean discovery
2315
+ - Opt-in via include_comments: true
2316
+ - Task 57: Updated remember_query_space with include_comments parameter
2317
+ - Same filtering logic as search_space
2318
+ - ✅ Released v2.6.0 with comment system foundation
2319
+ - ✅ Task 60: Standardized structured logging across 8 files
2320
+ - ✅ Replaced 54 console.log/error/warn calls with logger.info/error/warn/debug
2321
+ - ✅ All logs include context objects (service, module, tool names)
2322
+ - ✅ Fixed circular dependency in config.ts with dynamic import
2323
+ - ✅ Released v2.6.1 with structured logging
2324
+ - ✅ Task 61: Enhanced confirmation tool safety guidelines
2325
+ - ✅ Added 5 critical safety requirements to remember_confirm and remember_deny
2326
+ - ✅ Prevents agents from chaining confirmations without user consent
2327
+ - ✅ Visual indicators (⚠️) and JSDoc comments added
2328
+ - ✅ Released v2.6.2 with safety enhancements
2329
+ - 📋 Next: Complete M12 with Tasks 58-59 (tests + documentation)
2330
+ - 📋 6 commits ready to push to origin
2080
2331
 
2081
- - date: 2026-02-11
2082
- description: M4 Complete - User Preferences
2332
+ - date: 2026-02-16
2333
+ description: ACP Initialization Complete - Multi-Space Architecture Verified (v2.5.1)
2083
2334
  items:
2084
- - 🎉 Milestone 4 (User Preferences) COMPLETED!
2085
- - 🎉 Milestone 3 (Relationships & Graph) COMPLETED!
2086
- - 🎉 Milestone 2 (Core Memory System) COMPLETED!
2087
- - 🎉 Milestone 1 (Project Foundation) COMPLETED!
2088
- - ✅ UserPreferences type with 6 categories
2089
- - ✅ remember_set_preference tool implemented
2090
- - ✅ remember_get_preferences tool implemented
2091
- - ✅ Preference validation (path and value types)
2092
- - ✅ Default preferences for all categories
2093
- - User-friendly change messages
2094
- - ✅ Firestore integration using firebase-admin-sdk-v8
2095
- - ✅ Dot-notation path updates (e.g., "templates.auto_suggest")
2096
- - ✅ Automatic defaults when preferences don't exist
2097
- - ✅ All tools integrated into server.ts and server-factory.ts
2098
- - TypeScript compiles without errors
2099
- - ✅ Build successful
2100
-
2101
- next_steps:
2102
- - M5: Template System (not started)
2103
- - M6: Auth & Multi-Tenancy (not started)
2104
- - M9: Deployment & Documentation (not started)
2105
- - Run real V1→V2 migration against production (after e1 testing)
2106
-
2107
- notes:
2108
- - ✅ V1→V2 Collection Migration code switch COMPLETE (v3.8.0)
2109
- - V1→V2 data migration pending (dry run tested, ~6,596 docs)
2110
- - ✅ Milestone 14 (Memory Collection Pattern v2) COMPLETE (8/8 tasks)
2111
- - ✅ Milestone 15 (Moderation & Space Config) COMPLETE (6/6 tasks)
2112
- - ✅ Milestone 12 (Comment System Phase 1) COMPLETE (5/5 tasks)
2113
- - 🚀 Milestone 7 (Trust & Permissions) IN PROGRESS - task breakdown complete (0/7)
2114
- - 🎉 Milestone 11 (Unified Public Collection) COMPLETED!
2115
- - 🎉 Milestone 10 (Shared Spaces & Confirmation Flow) COMPLETED!
2116
- - 🎉 Milestone 4 (User Preferences) COMPLETED!
2117
- - 🎉 Milestone 3 (Relationships & Graph) COMPLETED!
2118
- - 🎉 Milestone 2 (Core Memory System) COMPLETED!
2119
- - 🎉 Milestone 1 (Project Foundation) COMPLETED!
2120
- - All 29 design documents complete and comprehensive
2121
- - ✅ M1: 7 tasks complete (Tasks 1-5, 9 complete; Tasks 6-7 deferred)
2122
- - ✅ M2: 6/6 memory tools complete (100% progress)
2123
- - ✅ M3: 4/4 relationship tools complete (100% progress)
2124
- - ✅ M4: 2/2 preference tools complete (100% progress)
2125
- - ✅ M10: 10/10 shared space tools complete (100% progress)
2126
- - ✅ M11: 9/9 multi-space architecture tasks complete (100% progress)
2127
- - ✅ M12: 5/5 comment system tasks complete (100% progress)
2128
- - ✅ M13: Soft delete system complete
2129
- - ✅ M14: Memory Collection v2 complete (8/8 tasks)
2130
- - ✅ M15: Moderation & Space Config complete (6/6 tasks)
2131
- - ✅ Complete memory CRUD operations (create, read, update, delete)
2132
- - ✅ Complete relationship CRUD operations (create, read, update, delete)
2133
- - ✅ Advanced search capabilities (hybrid, similarity, RAG queries)
2134
- - ✅ Relationship semantic search on observations
2135
- - ✅ Module name mapping (@/) configured across TypeScript, Jest, and esbuild
2136
- - ✅ Project structure follows bootstrap.md pattern
2137
- - ✅ All dependencies installed (497 packages with firebase-admin-sdk-v8)
2138
- - ✅ Build tools verified and working
2139
- - Database client infrastructure complete (Weaviate + Firestore)
2140
- - 25 unit tests passing (1 skipped integration test)
2141
- - ✅ Test coverage: 30.37% overall
2142
- - Key design decisions documented (service layer, unified memory+relationship storage)
2143
- - Logger uses no-op pattern (safe for stdio MCP transport)
2144
- - ✅ Dual build: standalone server + library factory
2145
- - ✅ mcp-auth compatibility via server factory
2146
- - ✅ 45 content types with dynamic descriptions
2147
- - ✅ Comprehensive type system (Memory, Relationship, Location, Context)
2148
- - ✅ Hybrid search with filters (type, tags, weight, trust, date)
2149
- - ✅ Vector similarity search for finding related memories
2150
- - ✅ RAG-optimized queries with detailed and compact formats
2151
- - ✅ N-way relationships connecting 2...N memories
2152
- - ✅ Bidirectional relationship tracking (memories know their relationships)
2153
- - ✅ Free-form relationship types (inspired_by, contradicts, caused_by, etc.)
2154
- - ✅ Relationship observations vectorized for semantic search
2155
- - ✅ User preferences system with 6 categories
2156
- - ✅ Conversational preference management (set/get via natural language)
2157
- - ✅ Preference validation and defaults
2158
- - ✅ Firestore storage for user preferences
2159
- - 📋 Ready for M5: Template System
2160
-
2161
- current_blockers:
2162
- - ✅ RESOLVED: Weaviate v3 filter API fixed (Task 20 completed)
2163
- - No Weaviate instance running for end-to-end testing
2164
- - Environment variables need to be configured (.env file with WEAVIATE_URL, OPENAI_APIKEY, etc.)
2165
- - M5 not started: Template System
2166
-
2167
- environment_configured:
2168
- - ⚠️ .env file needs to be created from .env.example
2169
- - ⚠️ WEAVIATE_URL needs to be set (e.g., http://localhost:8080)
2170
- - ⚠️ OPENAI_APIKEY needs to be set (for text-embedding-3-small)
2171
- - ⚠️ FIREBASE_ADMIN_SERVICE_ACCOUNT_KEY needs to be set (path to JSON file)
2172
- - ⚠️ FIREBASE_PROJECT_ID needs to be set
2173
- - 📋 Weaviate instance needs to be started (local Docker or cloud)
2174
- - 📋 Firebase project needs to be created with Firestore enabled
2175
-
2176
- test_status:
2177
- - ✅ 53 unit tests passing
2178
- - ✅ 1 test skipped (integration test requiring live Weaviate)
2179
- - ✅ Test coverage: 29.26% overall
2180
- - ✅ All critical paths covered: config, client, factory, paths, content-types, weaviate-filters
2181
- - ✅ 32 tests for weaviate-filters (filter builders and edge cases)
2182
- - ✅ 9 tests for server-factory (async initialization)
2183
- - ✅ 7 tests for firestore paths
2184
- - ✅ 5 tests for weaviate client
2185
- - 📋 Integration tests deferred (Task 6)
2186
- - 📋 E2E tests not yet created
2187
-
2188
- build_status:
2189
- - TypeScript compiles without errors
2190
- - ESLint configured (not blocking)
2191
- - ✅ Dual build successful: dist/server.js + dist/server-factory.js
2192
- - ✅ Source maps generated
2193
- - ✅ Type definitions generated (.d.ts files)
2194
- - ✅ Package exports configured for both entry points
2195
- - ✅ Version 2.6.2 published (patch release - safety guidelines)
2196
- - ✅ Version 2.6.1 published (patch release - structured logging)
2197
- - ✅ Version 2.6.0 published (minor release - comment system)
2198
- - ✅ 30 TypeScript source files
2199
- - ✅ All 12 tools implemented
2200
- - ✅ Weaviate v3 filter API implemented
2201
- - ✅ Or/And operator validation implemented
2202
- - ✅ Async createServer pattern (breaking change in v2.0.0)
2203
- - ✅ Centralized error handling framework
2204
-
2205
- tools_status:
2206
- memory_tools:
2207
- - ✅ remember_create_memory (src/tools/create-memory.ts)
2208
- - ✅ remember_search_memory (src/tools/search-memory.ts) - v3 filters + searches relationships!
2209
- - ✅ remember_delete_memory (src/tools/delete-memory.ts)
2210
- - ✅ remember_update_memory (src/tools/update-memory.ts)
2211
- - remember_find_similar (src/tools/find-similar.ts)
2212
- - remember_query_memory (src/tools/query-memory.ts) - v3 filters
2213
- relationship_tools:
2214
- - ✅ remember_create_relationship (src/tools/create-relationship.ts)
2215
- - remember_update_relationship (src/tools/update-relationship.ts)
2216
- - remember_search_relationship (src/tools/search-relationship.ts)
2217
- - ✅ remember_delete_relationship (src/tools/delete-relationship.ts)
2218
- preference_tools:
2219
- - ✅ remember_set_preference (src/tools/set-preference.ts)
2220
- - ✅ remember_get_preferences (src/tools/get-preferences.ts)
2221
- space_tools:
2222
- - ✅ remember_publish (src/tools/publish.ts) - Multi-space support
2223
- - ✅ remember_confirm (src/tools/confirm.ts) - Enhanced safety guidelines
2224
- - ✅ remember_deny (src/tools/deny.ts) - Enhanced safety guidelines
2225
- - remember_search_space (src/tools/search-space.ts) - Comment filtering
2226
- - ✅ remember_query_space (src/tools/query-space.ts) - Comment filtering
2227
-
2228
- implementation_notes:
2229
- - All 12 core tools implemented and integrated
2230
- - Server supports both stdio (standalone) and factory (mcp-auth) modes
2231
- - Dual export: main server + factory for multi-tenant
2232
- - README.md has comprehensive setup instructions
2233
- - Works with Claude Desktop, standalone, or mcp-auth wrapper
2234
- - ✅ Weaviate v3 filter API implemented with OR logic for combined search
2235
- - ✅ remember_search_memory now searches BOTH memories AND relationships
2236
- - ✅ Results separated into memories and relationships arrays
2237
- - ✅ Backward compatible: can search only memories with include_relationships: false
2238
- - Filter builder utility (src/utils/weaviate-filters.ts) provides reusable filter construction
2239
-
2240
- task_20_completion:
2241
- status: completed
2242
- date: 2026-02-12
2243
- files_created:
2244
- - src/utils/weaviate-filters.ts
2245
- - src/utils/weaviate-filters.spec.ts
2246
- - CHANGELOG.md
2247
- files_modified:
2248
- - src/tools/search-memory.ts
2249
- - src/tools/query-memory.ts
2250
- - src/server-factory.ts
2251
- - src/server-factory.spec.ts
2252
- - tsconfig.json
2253
- - package.json
2254
- key_changes:
2255
- - Replaced v2 filter format with v3 fluent API
2256
- - Implemented OR logic to search both memories and relationships
2257
- - Added buildCombinedSearchFilters() function
2258
- - Added buildMemoryOnlyFilters() for backward compatibility
2259
- - Updated search-memory to return both memories and relationships
2260
- - Fixed gRPC "paths needs to have an uneven number of components" error
2261
- - Fixed "no children for operator Or" error with validation
2262
- - Made createServer async for proper initialization (BREAKING CHANGE)
2263
- - Added 32 new unit tests (29 filter tests + 3 edge case tests)
2264
- tests_passing: 57/58 (1 skipped integration test)
2265
- build_status: successful
2266
- releases:
2267
- - v1.0.0: Major release with breaking change (async createServer)
2268
- - v1.0.1: Patch release with Or operator bug fix
2269
- - v2.6.0: Minor release with comment system foundation
2270
- - v2.6.1: Patch release with structured logging
2271
- - v2.6.2: Patch release with confirmation tool safety guidelines
2272
-
2273
- milestone_14:
2274
- - id: task-165
2275
- name: Core Infrastructure Setup
2276
- status: completed
2277
- file: agent/tasks/milestone-14-memory-collection-v2/task-165-core-infrastructure-setup.md
2278
- estimated_hours: 8-10
2279
- actual_hours: 10
2280
- completed_date: 2026-02-26
2281
- notes: |
2282
- Dot notation collections (dot-notation.ts)
2283
- Composite IDs (composite-ids.ts)
2284
- Tracking arrays (tracking-arrays.ts)
2285
- Weaviate schema definitions (v2-collections.ts)
2286
- 44 unit tests passing (79% coverage on collections)
2287
- Fixed 3 failing tests (ID validation, error messages, return types)
2288
-
2289
- - id: task-166
2290
- name: Implement remember_publish Tool
2291
- status: completed
2292
- file: agent/tasks/milestone-14-memory-collection-v2/task-166-update-remember-publish.md
2293
- estimated_hours: 6-8
2294
- actual_hours: 4
2295
- completed_date: 2026-02-26
2296
- notes: |
2297
- ✅ Multi-space publication to Memory_spaces_public
2298
- Multi-group publication to Memory_groups_{groupId}
2299
- ✅ Composite IDs ({userId}.{memoryId}) for published memories
2300
- Tracking arrays (space_ids, group_ids) on source and published memories
2301
- Dual publication support (spaces + groups simultaneously)
2302
- Error handling with partial success reporting
2303
- Updated publish.ts schema with groups parameter
2304
- Updated confirm.ts executePublishMemory with v2 logic
2305
- All 138 tests passing
2306
-
2307
- - id: task-167
2308
- name: Implement remember_retract Tool
2309
- status: not_started
2310
- file: agent/tasks/milestone-14-memory-collection-v2/task-167-update-remember-retract.md
2311
- estimated_hours: 4-6
2312
- actual_hours: null
2313
- completed_date: null
2314
- notes: |
2315
- Selective retraction from spaces/groups, orphaned memory handling.
2316
-
2317
- - id: task-168
2318
- name: Implement remember_revise Tool
2319
- status: completed
2320
- file: agent/tasks/milestone-14-memory-collection-v2/task-168-implement-remember-revise.md
2321
- estimated_hours: 6-8
2322
- actual_hours: 0.25
2323
- completed_date: 2026-02-26
2324
- notes: |
2325
- New tool for syncing content across all published copies.
2326
-
2327
- - id: task-169
2328
- name: Implement remember_search_space Tool
2329
- status: completed
2330
- file: agent/tasks/milestone-14-memory-collection-v2/task-169-update-remember-search-space.md
2331
- estimated_hours: 4-6
2332
- actual_hours: null
2333
- completed_date: 2026-02-27
2334
- notes: |
2335
- Query by space_ids filtering, group searches, deduplication.
2336
-
2337
- - id: task-170
2338
- name: Implement remember_create_memory and remember_update_memory Tools
2339
- status: not_started
2340
- file: agent/tasks/milestone-14-memory-collection-v2/task-170-update-remember-create-update.md
2341
- estimated_hours: 3-4
2342
- actual_hours: null
2343
- completed_date: null
2344
- notes: |
2345
- Initialize and maintain tracking arrays in user memories.
2346
-
2347
- - id: task-172
2348
- name: Performance Testing and Optimization
2349
- status: not_started
2350
- file: agent/tasks/milestone-14-memory-collection-v2/task-172-performance-testing-optimization.md
2351
- estimated_hours: 6-8
2352
- actual_hours: null
2353
- completed_date: null
2354
- notes: |
2355
- Comprehensive performance testing, optimization to meet <200ms targets.
2356
-
2357
- - id: task-173
2358
- name: Documentation and Examples
2359
- status: not_started
2360
- file: agent/tasks/milestone-14-memory-collection-v2/task-173-documentation-examples.md
2361
- estimated_hours: 4-6
2362
- actual_hours: null
2363
- completed_date: null
2364
- notes: |
2365
- API docs, architecture docs, usage examples.
2366
-
2367
- milestone_20:
2368
- - id: task-212
2369
- name: Add InternalContext Type and Agent Content Type
2370
- status: completed
2371
- file: agent/tasks/milestone-20-unified-internal-memory-tools/task-212-add-internal-context-type.md
2372
- estimated_hours: 2-3
2373
- actual_hours: null
2374
- completed_date: 2026-03-08
2375
- notes: |
2376
- InternalContext interface added to types/auth.ts
2377
- GhostModeContext removed, fields absorbed into InternalContext
2378
- AuthContext.ghostMode replaced by AuthContext.internalContext
2379
-
2380
- - id: task-213
2381
- name: Update Server Factory Replace ghostMode with InternalContext
2382
- status: completed
2383
- file: agent/tasks/milestone-20-unified-internal-memory-tools/task-213-update-server-factory-internal-context.md
2384
- estimated_hours: 3-5
2385
- actual_hours: null
2386
- completed_date: 2026-03-08
2387
- dependencies: [task-212]
2388
- notes: |
2389
- server-factory.ts: ghostMode internalContext with trust resolution
2390
- search-memory.ts, query-memory.ts, search-by.ts: rewired to internalContext
2391
- e2e-helpers.ts: updated ghost auth context
2392
- All test fixtures updated, 439 tests passing, TypeScript clean
2393
-
2394
- - id: task-214
2395
- name: Create Tag Builder Utility
2396
- status: completed
2397
- file: agent/tasks/milestone-20-unified-internal-memory-tools/task-214-create-tag-builder-utility.md
2398
- estimated_hours: 2-3
2399
- actual_hours: null
2400
- completed_date: 2026-03-08
2401
- dependencies: [task-212]
2402
- notes: |
2403
- buildInternalTags utility in src/utils/internal-tags.ts
2404
- 8 unit tests covering all tag permutations
2405
-
2406
- - id: task-215
2407
- name: Create Unified Internal Memory Tools
2408
- status: completed
2409
- file: agent/tasks/milestone-20-unified-internal-memory-tools/task-215-create-unified-internal-memory-tools.md
2410
- estimated_hours: 6-8
2411
- actual_hours: null
2412
- completed_date: 2026-03-08
2413
- dependencies: [task-212, task-213, task-214]
2414
- notes: |
2415
- 5 unified tools: create, update, search, query, search-by
2416
- ✅ Auto-tags via buildInternalTags, auto-scoping via scope tags
2417
- ✅ Error without internalContext
2418
- ✅ Registered in server-factory (34 tools total)
2419
- ✅ 447 tests passing, TypeScript clean
2420
-
2421
- - id: task-216
2422
- name: Update Default Search Filters for Agent Exclusion
2423
- status: completed
2424
- file: agent/tasks/milestone-20-unified-internal-memory-tools/task-216-update-default-search-filters.md
2425
- estimated_hours: 2-3
2426
- actual_hours: null
2427
- completed_date: 2026-03-08
2428
- dependencies: [task-212]
2429
- notes: |
2430
- ✅ search-memory, query-memory: agent excluded alongside ghost
2431
- ✅ find-similar: post-filter excludes agent
2432
- ✅ search-space: agent excluded from space searches
2433
- ✅ 447 tests passing
2434
-
2435
- - id: task-217
2436
- name: Delete Standalone Ghost Tools
2437
- status: completed
2438
- file: agent/tasks/milestone-20-unified-internal-memory-tools/task-217-delete-standalone-ghost-tools.md
2439
- estimated_hours: 1-2
2440
- actual_hours: 1
2441
- completed_date: '2026-03-08'
2442
- dependencies: [task-215]
2443
- notes: |
2444
- ✅ Deleted 5 ghost tool files + ghost-tools.spec.ts
2445
- ✅ Removed imports, tool list entries, and switch cases from server-factory
2446
- ✅ Rewrote ghost-persona.e2e.ts to use unified internal tools
2447
- ✅ Updated tag assertions for ghost source isolation
2448
- ✅ TypeScript compiles clean, 414 tests pass
2449
-
2450
- - id: task-218
2451
- name: Add Unit and Integration Tests
2452
- status: completed
2453
- file: agent/tasks/milestone-20-unified-internal-memory-tools/task-218-add-tests-unified-internal-tools.md
2454
- estimated_hours: 4-6
2455
- actual_hours: 1
2456
- completed_date: '2026-03-08'
2457
- dependencies: [task-214, task-215, task-216, task-217]
2458
- notes: |
2459
- ✅ 8 tag builder unit tests (task-214, internal-tags.spec.ts)
2460
- ✅ 22 unified tool unit tests (internal-tools.spec.ts)
2461
- ✅ Context validation, content_type derivation, auto-scoping, tag merging
2462
- ✅ Ghost source isolation verified (scope tags filter per ghost type)
2463
- ✅ Agent exclusion from default search verified (task-216)
2464
- ✅ 436 total tests passing
2465
-
2466
- milestone_21:
2467
- - id: task-515
2468
- name: Add Auth Scheme Config
2469
- status: completed
2470
- completed_date: 2026-03-14
2471
- file: agent/tasks/milestone-21-api-token-oauth-access/task-515-add-auth-scheme-config.md
2472
- estimated_hours: 2
2473
- dependencies: []
2474
- notes: |
2475
- 📋 Add REMEMBER_AUTH_SCHEME, REMEMBER_OAUTH_ENDPOINT, REMEMBER_API_TOKEN to config module
2476
-
2477
- - id: task-516
2478
- name: Implement OAuth Token Exchange Client
2479
- status: completed
2480
- completed_date: 2026-03-14
2481
- file: agent/tasks/milestone-21-api-token-oauth-access/task-516-implement-oauth-token-exchange.md
2482
- estimated_hours: 3
2483
- dependencies: [task-515]
2484
- notes: |
2485
- 📋 Exchange API token for JWT via OAuth endpoint, extract userId from JWT
2486
-
2487
- - id: task-517
2488
- name: Implement Local Config Resolution
2489
- status: completed
2490
- completed_date: 2026-03-14
2491
- file: agent/tasks/milestone-21-api-token-oauth-access/task-517-implement-local-config-resolution.md
2492
- estimated_hours: 2-3
2493
- dependencies: [task-515]
2494
- notes: |
2495
- 📋 .remember/config resolution: project > global > env vars
2496
-
2497
- - id: task-518
2498
- name: Wire OAuth into Server Factory
2499
- status: completed
2500
- completed_date: 2026-03-14
2501
- file: agent/tasks/milestone-21-api-token-oauth-access/task-518-wire-oauth-into-server-factory.md
2502
- estimated_hours: 2-3
2503
- dependencies: [task-515, task-516, task-517]
2504
- notes: |
2505
- 📋 Bootstrap OAuth flow at startup when REMEMBER_AUTH_SCHEME=oauth
2506
-
2507
- - id: task-519
2508
- name: Tests and Documentation
2509
- status: completed
2510
- completed_date: 2026-03-14
2511
- file: agent/tasks/milestone-21-api-token-oauth-access/task-519-tests-and-documentation.md
2512
- estimated_hours: 2-3
2513
- dependencies: [task-515, task-516, task-517, task-518]
2514
- notes: |
2515
- 📋 Unit tests for all auth modules, CHANGELOG, README, version bump
2516
-
2517
- milestone_22:
2518
- - id: task-520
2519
- name: Admin Gate Infrastructure
2520
- status: completed
2521
- completed_date: 2026-03-14
2522
- file: agent/tasks/milestone-22-admin-debugging-tools/task-520-admin-gate-infrastructure.md
2523
- estimated_hours: 3-4
2524
- dependencies: []
2525
- notes: |
2526
- ✅ isAdmin() utility, adminPermissionError(), conditional tool listing in server-factory.ts
2527
- ✅ 9 unit tests passing, 460 total tests (459 passed, 1 skipped)
2528
-
2529
- - id: task-521
2530
- name: Schema and Collection Tools
2531
- status: completed
2532
- completed_date: 2026-03-14
2533
- file: agent/tasks/milestone-22-admin-debugging-tools/task-521-schema-and-collection-tools.md
2534
- estimated_hours: 3-4
2535
- dependencies: [task-520]
2536
- notes: |
2537
- ✅ get_weaviate_schema, list_collections, collection_stats implemented
2538
- ✅ 7 unit tests, 467 total tests
2539
-
2540
- - id: task-522
2541
- name: Memory Inspection Tools
2542
- status: completed
2543
- completed_date: 2026-03-14
2544
- file: agent/tasks/milestone-22-admin-debugging-tools/task-522-memory-inspection-tools.md
2545
- estimated_hours: 3-4
2546
- dependencies: [task-520]
2547
- notes: |
2548
- ✅ inspect_memory (UUID via index lookup, include_vector flag), search_across_users (user_id array)
2549
- ✅ 10 unit tests, 477 total tests
2550
-
2551
- - id: task-523
2552
- name: User Inspection Tools
2553
- status: completed
2554
- completed_date: 2026-03-14
2555
- file: agent/tasks/milestone-22-admin-debugging-tools/task-523-user-inspection-tools.md
2556
- estimated_hours: 2-3
2557
- dependencies: [task-520]
2558
- notes: |
2559
- ✅ 4 granular inspect_user tools: preferences, ghost_configs, escalation_records, api_tokens
2560
- ✅ api_tokens strips token_hash from response
2561
- ✅ 10 unit tests, 487 total tests
2562
-
2563
- - id: task-524
2564
- name: Health and Drift Tools
2565
- status: completed
2566
- completed_date: 2026-03-14
2567
- file: agent/tasks/milestone-22-admin-debugging-tools/task-524-health-and-drift-tools.md
2568
- estimated_hours: 2-3
2569
- dependencies: [task-520]
2570
- notes: |
2571
- ✅ health (Weaviate + Firestore connectivity with latency, overall status)
2572
- ✅ detect_weaviate_drift (expected vs actual schema comparison per collection)
2573
- ✅ 10 unit tests, 497 total tests
2574
- ✅ CHANGELOG, README updated
2575
-
2576
- milestone_23:
2577
- - id: task-525
2578
- name: Remove Trust from Create/Update Tools
2579
- status: completed
2580
- file: agent/tasks/milestone-23-trust-level-protection/task-525-remove-trust-from-create-update.md
2581
- estimated_hours: 2-3
2582
- started: 2026-03-20T10:00:00Z
2583
- completed_date: 2026-03-20T10:30:00Z
2584
- actual_hours: 0.5
2585
- notes: |
2586
- ✅ Removed trust from create-memory, update-memory, create-internal-memory, update-internal-memory
2587
- ✅ Updated tool description to reference remember_request_set_trust_level
2588
- ✅ Updated create-memory.spec.ts (trust no longer in schema)
2589
- ✅ 502 tests passing
2590
-
2591
- - id: task-526
2592
- name: Add remember_request_set_trust_level Tool
2593
- status: completed
2594
- file: agent/tasks/milestone-23-trust-level-protection/task-526-add-request-set-trust-level-tool.md
2595
- estimated_hours: 3-4
2596
- dependencies: [task-525]
2597
- started: 2026-03-20T10:30:00Z
2598
- completed_date: 2026-03-20T11:00:00Z
2599
- actual_hours: 0.5
2600
- notes: |
2601
- ✅ Created request-set-trust-level.ts with tool and handler
2602
- ✅ Registered in server.ts and server-factory.ts
2603
- ✅ 7 tests (schema validation, valid request, invalid trust levels)
2604
- ✅ 510 tests passing
2335
+ - ACP initialization workflow executed via @acp.init command
2336
+ - AGENT.md confirmed up-to-date (v1.0.3)
2337
+ - All agent documentation reviewed (29 design docs, 11 milestones, 54 tasks, 5 patterns)
2338
+ - Project status verified: M1-M4, M10-M11 complete (100%)
2339
+ - ✅ Version 2.5.1 confirmed (latest release with error handling fix)
2340
+ - ✅ All unit tests passing
2341
+ - ✅ TypeScript compiles without errors
2342
+ - ✅ Build successful (dual export: server + factory)
2343
+ - ✅ All 17 MCP tools implemented and working
2344
+ - 🎉 M10 COMPLETED: Shared Spaces & Confirmation Flow
2345
+ - ✅ Token-based confirmation system operational
2346
+ - ✅ 5 space tools: publish, confirm, deny, search_space, query_space
2347
+ - ✅ Confirmation token service with 5-minute expiry and comprehensive error handling
2348
+ - ✅ Firestore request validation and diagnostic logging
2349
+ - 🎉 M11 COMPLETED: Unified Public Collection Architecture
2350
+ - ✅ Multi-space architecture implemented (spaces: string[] array)
2351
+ - ✅ Memory_public unified collection replaces per-space collections
2352
+ - ✅ Multi-space search with containsAny filter
2353
+ - No memory duplication across spaces
2354
+ - remember_publish supports publishing to multiple spaces
2355
+ - remember_search_space supports multi-space queries
2356
+ - remember_query_space supports multi-space RAG
2357
+ - ✅ All tests updated for multi-space support
2358
+ - ✅ Documentation updated with multi-space examples
2359
+ - ✅ Multi-tenant architecture with per-user isolation
2360
+ - Vector search with Weaviate + metadata with Firestore
2361
+ - ✅ 45 content types with dynamic descriptions
2362
+ - ✅ N-way relationships with bidirectional tracking
2363
+ - ✅ User preferences system (6 categories)
2364
+ - 📋 Ready for deployment testing and verification
2365
+ - 📋 Next: Deploy v2.5.1 and test multi-space functionality
2366
+
2367
+ - date: 2026-02-16
2368
+ description: ACP Initialization Complete - Project Status Verified
2369
+ items:
2370
+ - ACP initialization workflow executed via @acp.init command
2371
+ - ⚠️ ACP updates available (v1.2.1 with new command format)
2372
+ - ✅ All agent documentation reviewed (23 design docs, 10 milestones, 33 tasks, 5 patterns)
2373
+ - ✅ Project status verified: M1-M4 complete (100%), M10 in progress
2374
+ - ✅ Version 2.3.1 confirmed (latest patch release)
2375
+ - ✅ 53 unit tests passing (1 skipped integration test)
2376
+ - ✅ Test coverage: 29.76% overall
2377
+ - ✅ TypeScript compiles without errors
2378
+ - ✅ Build successful (dual export: server + factory)
2379
+ - ✅ All 17 MCP tools implemented and working
2380
+ - ✅ M10 Shared Spaces: 5 tools implemented (publish, confirm, deny, search_space, query_space)
2381
+ - ✅ Token-based confirmation system operational
2382
+ - ✅ Space collections: Memory_the_void with snake_case naming
2383
+ - ✅ Confirmation token service with 5-minute expiry
2384
+ - ✅ Space memory types and schema complete
2385
+ - ✅ Multi-tenant architecture with per-user isolation
2386
+ - ✅ Vector search with Weaviate + metadata with Firestore
2387
+ - ✅ 45 content types with dynamic descriptions
2388
+ - ✅ N-way relationships with bidirectional tracking
2389
+ - ✅ User preferences system (6 categories)
2390
+ - 📋 M10 implementation appears complete - needs verification
2391
+ - 📋 Ready to verify M10 completion and update documentation
2392
+
2393
+ - date: 2026-02-16
2394
+ description: Created Milestone 10 and Tasks for Shared Spaces
2395
+ items:
2396
+ - ✅ Created M10: Shared Spaces & Confirmation Flow milestone
2397
+ - ✅ Created Task 34: Confirmation Token Service
2398
+ - ✅ Created Task 35: Space Memory Types and Schema
2399
+ - ✅ Created Task 36: Implement remember_publish
2400
+ - ✅ Created Task 37: Implement remember_confirm
2401
+ - ✅ Created Task 38: Implement remember_deny
2402
+ - ✅ Created Task 39: Implement remember_search_space
2403
+ - ✅ Created Task 40: Implement remember_query_space
2404
+ - ✅ Created Task 41: Configure Firestore TTL
2405
+ - ✅ Created Task 42: Create Tests
2406
+ - ✅ Created Task 43: Update Documentation
2407
+ - ✅ Updated naming convention: snake_case for space IDs
2408
+ - ✅ "The Void" `the_void` → `Memory_the_void`
2409
+ - ✅ Token-based confirmation pattern documented
2410
+ - 5 new tools planned (publish, confirm, deny, search_space, query_space)
2411
+ - 📋 Ready to begin M10 implementation
2412
+ - 📋 10 tasks, estimated 30 hours total
2413
+
2414
+ - date: 2026-02-16
2415
+ description: ACP Initialization Complete - Firebase SDK Reverted
2416
+ items:
2417
+ - ✅ AGENT.md confirmed up-to-date (v1.0.3)
2418
+ - ⚠️ ACP updates available (v1.0.3 with new templates and scripts)
2419
+ - All agent documentation reviewed and current
2420
+ - '✅ Project status verified: 4 milestones complete (M1-M4: 100%)'
2421
+ - Version 2.2.1 confirmed (latest release)
2422
+ - Reverted commit 328abd3 (Firebase Admin SDK migration)
2423
+ - Restored @prmichaelsen/firebase-admin-sdk-v8@2.2.0
2424
+ - 53 unit tests passing (1 skipped integration test)
2425
+ - Test coverage: 29.76% overall
2426
+ - ✅ TypeScript compiles without errors
2427
+ - ✅ Build successful
2428
+ - ✅ All 12 MCP tools implemented and working
2429
+ - ✅ Comprehensive error handling framework in place
2430
+ - ✅ Dual export: standalone server + factory for mcp-auth
2431
+ - ✅ Multi-tenant architecture with per-user isolation
2432
+ - ✅ Vector search with Weaviate + metadata with Firestore
2433
+ - ✅ 45 content types with dynamic descriptions
2434
+ - ✅ N-way relationships with bidirectional tracking
2435
+ - ✅ User preferences system (6 categories)
2436
+ - 📋 Ready to begin M5: Template System
2437
+ - 📋 Project structure follows ACP and bootstrap patterns
2438
+ - 📋 Documentation comprehensive and accurate
2439
+
2440
+ - date: 2026-02-16
2441
+ description: ACP Initialization - Complete Project Context Review
2442
+ items:
2443
+ - ✅ AGENT.md confirmed up-to-date (v1.0.3)
2444
+ - ✅ All agent documentation reviewed and current
2445
+ - 'Project status verified: 4 milestones complete (M1-M4: 100%)'
2446
+ - ✅ Version 2.2.1 confirmed (latest release)
2447
+ - ✅ 53 unit tests passing (1 skipped integration test)
2448
+ - ✅ Test coverage: 24.68% overall
2449
+ - ✅ TypeScript compiles without errors
2450
+ - ✅ Build successful
2451
+ - ✅ All 12 MCP tools implemented and working
2452
+ - ✅ Comprehensive error handling framework in place
2453
+ - ✅ Dual export: standalone server + factory for mcp-auth
2454
+ - ✅ Multi-tenant architecture with per-user isolation
2455
+ - ✅ Vector search with Weaviate + metadata with Firestore
2456
+ - ✅ 45 content types with dynamic descriptions
2457
+ - ✅ N-way relationships with bidirectional tracking
2458
+ - ✅ User preferences system (6 categories)
2459
+ - ✅ LLM provider abstraction (Bedrock implemented)
2460
+ - ✅ Background job service for async operations
2461
+ - ✅ Production-ready with Cloud Run deployment
2462
+ - 📋 Ready to begin M5: Template System
2463
+ - 📋 Project structure follows ACP and bootstrap patterns
2464
+ - 📋 Documentation comprehensive and accurate
2465
+
2466
+ - date: 2026-02-15
2467
+ description: All Production Error Tasks COMPLETED (Tasks 23-25)
2468
+ items:
2469
+ - 🎉 Task 165 (Core Infrastructure Setup) COMPLETED!
2470
+ - ✅ Fixed 3 failing tests in core-infrastructure.spec.ts
2471
+ - ✅ Added ID validation for dots in getCollectionName()
2472
+ - ✅ Updated error message in parseCompositeId() to include "must be exactly 2 parts"
2473
+ - ✅ Changed validateCompositeId() to return true instead of void
2474
+ - ✅ All 138 tests passing (137 passed, 1 skipped)
2475
+ - ✅ 79% coverage on new collections code
2476
+ - 🚀 M14: Memory Collection Pattern v2 now in progress (1/8 tasks complete)
2477
+
2478
+ - date: 2026-02-26
2479
+ description: Task 165 COMPLETED - Core Infrastructure Setup
2480
+ items:
2481
+ - 🎉 Task 25 (Fix Update Memory Errors) COMPLETED!
2482
+ - 🎉 Task 23 (Fix Relationship Creation Errors) COMPLETED!
2483
+ - 🎉 Task 24 (Fix Weaviate Filter Path Error) COMPLETED!
2484
+ - All 3 production error categories addressed
2485
+ - ✅ Enhanced error logging across all affected tools
2486
+ - ✅ Standardized error handling with handleToolError
2487
+ - ✅ Added detailed context to all error messages
2488
+ - ✅ Fixed critical Weaviate v3 filter API bug
2489
+ - All 53 tests passing
2490
+ - ✅ TypeScript compiles without errors
2491
+ - ✅ Build successful
2492
+ - 📊 Production errors should now have actionable diagnostics
2493
+
2494
+ - date: 2026-02-15
2495
+ description: Task 24 COMPLETED - Fixed Weaviate Filter Path Error
2496
+ items:
2497
+ - 🎉 Task 24 (Fix Weaviate Filter Path Error) COMPLETED!
2498
+ - 🐛 Fixed critical "paths needs to have a uneven number of components" gRPC error
2499
+ - ✅ Updated search-relationship.ts to use Weaviate v3 filter API
2500
+ - ✅ Replaced old v2 format (path/operator/valueText) with v3 fluent API
2501
+ - ✅ Now uses collection.filter.byProperty() and Filters.and()/or()
2502
+ - ✅ Fixed method name: greaterThanOrEqual -> greaterOrEqual
2503
+ - ✅ Root cause: search-relationship.ts was never updated in Task 20
2504
+ - ✅ All 53 tests passing
2505
+ - ✅ TypeScript compiles without errors
2506
+ - Build successful
2507
+ - 🚀 remember_search_relationship tool now works correctly
2508
+
2509
+ - date: 2026-02-15
2510
+ description: Production Error Analysis - Created Task Documents
2511
+ items:
2512
+ - 📊 Analyzed 300 Cloud Run logs from remember-mcp-server
2513
+ - 🔍 Identified 63 error occurrences across 3 categories
2514
+ - Created Task 23: Fix Relationship Creation Errors (High Priority)
2515
+ - ✅ Created Task 24: Fix Weaviate Filter Path Error (Critical Priority)
2516
+ - ✅ Created Task 25: Fix Update Memory Errors (Medium Priority)
2517
+ - 📋 Service is operational but has intermittent errors
2518
+ - 📋 Most errors in relationship creation (~20+ occurrences)
2519
+ - 📋 Critical Weaviate filter path error still occurring (supposedly fixed in v1.0.2)
2520
+ - 📋 Update memory errors less frequent but need attention
2521
+ - 📋 All errors documented with reproduction steps and verification criteria
2522
+ - 📋 Ready to begin debugging and fixes
2523
+
2524
+ - date: 2026-02-15
2525
+ description: ACP Initialization - Comprehensive Project Review
2526
+ items:
2527
+ - 📊 Complete ACP initialization workflow executed
2528
+ - ✅ AGENT.md confirmed up-to-date (v1.0.3)
2529
+ - ✅ All agent documentation reviewed and current
2530
+ - '✅ Project status verified: 4 milestones complete (M1-M4: 100%)'
2531
+ - ✅ 53 unit tests passing (1 skipped integration test)
2532
+ - ✅ Test coverage: 29.9% overall
2533
+ - TypeScript compiles without errors
2534
+ - Build successful (v2.0.2)
2535
+ - All 12 MCP tools implemented and working
2536
+ - Comprehensive error handling framework in place
2537
+ - Dual export: standalone server + factory for mcp-auth
2538
+ - Multi-tenant architecture with per-user isolation
2539
+ - ✅ Vector search with Weaviate + metadata with Firestore
2540
+ - 45 content types with dynamic descriptions
2541
+ - N-way relationships with bidirectional tracking
2542
+ - ✅ User preferences system (6 categories)
2543
+ - ✅ Production-ready with Cloud Run deployment
2544
+ - 📋 Ready to begin M5: Template System
2545
+ - 📋 Project structure follows ACP and bootstrap patterns
2546
+ - 📋 Documentation comprehensive and accurate
2547
+
2548
+ - date: 2026-02-14
2549
+ description: v2.0.2 Released - Comprehensive Error Handling
2550
+ items:
2551
+ - 🎉 v2.0.2 RELEASED - Patch release with comprehensive error handling
2552
+ - Applied centralized error handler to all 12 MCP tools
2553
+ - All tools now use handleToolError() from error-handler.ts
2554
+ - Consistent error logging with full context across all operations
2555
+ - Stack traces included in all error messages
2556
+ - Tool-specific context (userId, IDs, operation details) in every error
2557
+ - ✅ Production debugging significantly enhanced
2558
+ - Build successful
2559
+ - All tests passing
2560
+
2561
+ - date: 2026-02-14
2562
+ description: v2.0.1 Released - Enhanced Error Logging Framework
2563
+ items:
2564
+ - 🎉 v2.0.1 RELEASED - Patch release with error handling improvements
2565
+ - ✅ Created centralized error-handler utility (src/utils/error-handler.ts)
2566
+ - Enhanced error logging in remember_update_memory
2567
+ - ✅ Detailed error context: userId, memoryId, operation, stack traces
2568
+ - Separate error handling for fetch and update operations
2569
+ - Error messages now include full context for Cloud Run debugging
2570
+ - ✅ Framework ready for application to all 12 tools
2571
+ - ✅ Build successful
2572
+ - ✅ All tests passing
2573
+ - 📋 Production error diagnostics significantly improved
2574
+
2575
+ - date: 2026-02-14
2576
+ description: Project Status Review - ACP Initialization
2577
+ items:
2578
+ - 📊 Comprehensive project review completed via ACP initialization
2579
+ - All 12 MCP tools implemented and working
2580
+ - ✅ 54 tests passing (53 passed, 1 skipped integration test)
2581
+ - ✅ Test coverage: 29.26% overall
2582
+ - ✅ TypeScript compiles without errors
2583
+ - ✅ Build successful (v2.0.0)
2584
+ - ✅ 30 TypeScript source files in project (added error-handler.ts)
2585
+ - ✅ Dual export: standalone server + factory for mcp-auth
2586
+ - All 4 milestones complete (M1-M4: 100%)
2587
+ - ✅ Ready to begin M5: Template System
2588
+ - 📋 Project structure follows ACP and bootstrap patterns
2589
+ - 📋 Documentation comprehensive and up-to-date
2590
+
2591
+ - date: 2026-02-12
2592
+ description: v1.0.1 Released - Or Operator Bug Fix
2593
+ items:
2594
+ - 🎉 v1.0.1 RELEASED - Patch release with bug fix
2595
+ - 🐛 Fixed "no children for operator Or" error
2596
+ - Added validation to filter out undefined/null values in filter combinations
2597
+ - ✅ Updated combineFiltersWithOr to validate operands
2598
+ - Updated combineFiltersWithAnd to validate operands
2599
+ - Added 3 new edge case tests for undefined/null handling
2600
+ - ✅ All 57 tests passing (up from 54)
2601
+ - ✅ Code coverage: 90.56% on weaviate-filters.ts
2602
+ - ✅ Build successful
2603
+ - ✅ CHANGELOG.md updated
2604
+
2605
+ - date: 2026-02-12
2606
+ description: v1.0.0 Released - Major Version with Breaking Changes
2607
+ items:
2608
+ - 🎉 v1.0.0 RELEASED - First stable release
2609
+ - 🚨 BREAKING: createServer is now async (returns Promise<Server>)
2610
+ - ✅ Database initialization now uses await pattern
2611
+ - ✅ Server factory properly waits for databases before accepting requests
2612
+ - ✅ Updated all server-factory tests for async
2613
+ - ✅ All 54 tests passing
2614
+ - ✅ CHANGELOG.md created with migration guide
2615
+
2616
+ - date: 2026-02-12
2617
+ description: Task 20 COMPLETED - Weaviate v3 Filters & Relationship Search
2618
+ items:
2619
+ - 🎉 Task 20 (Fix Weaviate v3 Filters) COMPLETED!
2620
+ - Created src/utils/weaviate-filters.ts with v3 filter builders
2621
+ - ✅ Implemented buildCombinedSearchFilters() with OR logic
2622
+ - ✅ Implemented buildMemoryOnlyFilters() for backward compatibility
2623
+ - ✅ Implemented buildRelationshipOnlyFilters() for relationship-only search
2624
+ - ✅ Updated search-memory.ts to use v3 filters
2625
+ - ✅ Updated search-memory.ts to search BOTH memories AND relationships by default
2626
+ - ✅ Updated query-memory.ts to use v3 filters
2627
+ - Results now separated into memories and relationships arrays
2628
+ - 29 new unit tests for filter builders
2629
+ - Build successful
2630
+ - ✅ TypeScript compiles without errors
2631
+ - 🔧 Fixed gRPC "paths needs to have an uneven number of components" error
2632
+ - 🔧 Replaced old v2 filter format (path/operator/valueText) with v3 fluent API
2633
+
2634
+ - date: 2026-02-12
2635
+ description: Project Status Review & Documentation Update
2636
+ items:
2637
+ - 📊 Comprehensive project review completed
2638
+ - ✅ All 12 MCP tools implemented and working
2639
+ - ✅ 28 TypeScript source files in project (added weaviate-filters.ts)
2640
+ - 25 unit tests passing (1 skipped)
2641
+ - Build successful (v0.2.5)
2642
+ - TypeScript compiles without errors
2643
+ - ⚠️ CRITICAL: Weaviate v3 filter API issue identified (Task 20)
2644
+ - ⚠️ Old v2 filter format used in search-memory.ts and query-memory.ts
2645
+ - ⚠️ Will cause gRPC errors when filters are used
2646
+ - 📋 Task 20 created: Fix Weaviate v3 Filters
2647
+
2648
+ - date: 2026-02-11
2649
+ description: M4 Complete - User Preferences
2650
+ items:
2651
+ - 🎉 Milestone 4 (User Preferences) COMPLETED!
2652
+ - 🎉 Milestone 3 (Relationships & Graph) COMPLETED!
2653
+ - 🎉 Milestone 2 (Core Memory System) COMPLETED!
2654
+ - 🎉 Milestone 1 (Project Foundation) COMPLETED!
2655
+ - UserPreferences type with 6 categories
2656
+ - ✅ remember_set_preference tool implemented
2657
+ - remember_get_preferences tool implemented
2658
+ - Preference validation (path and value types)
2659
+ - ✅ Default preferences for all categories
2660
+ - ✅ User-friendly change messages
2661
+ - ✅ Firestore integration using firebase-admin-sdk-v8
2662
+ - ✅ Dot-notation path updates (e.g., "templates.auto_suggest")
2663
+ - ✅ Automatic defaults when preferences don't exist
2664
+ - All tools integrated into server.ts and server-factory.ts
2665
+ - ✅ TypeScript compiles without errors
2666
+ - Build successful
2605
2667
 
2606
- - id: task-527
2607
- name: Update Confirm/Deny for Secret Token
2608
- status: completed
2609
- file: agent/tasks/milestone-23-trust-level-protection/task-527-update-confirm-deny-secret-token.md
2610
- estimated_hours: 2-3
2611
- started: 2026-03-20T10:00:00Z
2612
- completed_date: 2026-03-20T10:30:00Z
2613
- actual_hours: 0.5
2614
- notes: |
2615
- ✅ Added secret_token to confirm and deny tool schemas
2616
- ✅ Added set_trust_level action handler in confirm tool
2617
- ✅ Created confirm.spec.ts (3 tests) and deny.spec.ts (2 tests)
2618
- ✅ 502 tests passing
2668
+ next_steps:
2669
+ - M24: MCP Elicitation Confirmation Flow (not started)
2670
+ - M5: Template System (not started)
2671
+ - M6: Auth & Multi-Tenancy (not started)
2672
+ - M9: Deployment & Documentation (not started)
2673
+ - Run real V1→V2 migration against production (after e1 testing)
2619
2674
 
2620
- - id: task-528
2621
- name: Update Trust Scale References
2622
- status: completed
2623
- file: agent/tasks/milestone-23-trust-level-protection/task-528-update-trust-scale-references.md
2624
- estimated_hours: 2-3
2625
- dependencies: [task-525]
2626
- started: 2026-03-20T10:30:00Z
2627
- completed_date: 2026-03-20T11:00:00Z
2628
- actual_hours: 0.5
2629
- notes: |
2630
- ✅ trust-validator.ts rewritten for 1-5 integer scale
2631
- ✅ trust-validator.spec.ts updated (all tests pass)
2632
- ✅ search-memory, query-memory trust_min schemas updated
2633
- ghost-config tool descriptions and schemas updated to 1-5
2634
- types/memory.ts trust comment updated
2635
- 510 tests passing
2675
+ notes:
2676
+ - V1→V2 Collection Migration code switch COMPLETE (v3.8.0)
2677
+ - ⏳ V1→V2 data migration pending (dry run tested, ~6,596 docs)
2678
+ - ✅ Milestone 14 (Memory Collection Pattern v2) COMPLETE (8/8 tasks)
2679
+ - ✅ Milestone 15 (Moderation & Space Config) COMPLETE (6/6 tasks)
2680
+ - ✅ Milestone 12 (Comment System Phase 1) COMPLETE (5/5 tasks)
2681
+ - 🚀 Milestone 7 (Trust & Permissions) IN PROGRESS - task breakdown complete (0/7)
2682
+ - 🎉 Milestone 11 (Unified Public Collection) COMPLETED!
2683
+ - 🎉 Milestone 10 (Shared Spaces & Confirmation Flow) COMPLETED!
2684
+ - 🎉 Milestone 4 (User Preferences) COMPLETED!
2685
+ - 🎉 Milestone 3 (Relationships & Graph) COMPLETED!
2686
+ - 🎉 Milestone 2 (Core Memory System) COMPLETED!
2687
+ - 🎉 Milestone 1 (Project Foundation) COMPLETED!
2688
+ - All 29 design documents complete and comprehensive
2689
+ - M1: 7 tasks complete (Tasks 1-5, 9 complete; Tasks 6-7 deferred)
2690
+ - M2: 6/6 memory tools complete (100% progress)
2691
+ - ✅ M3: 4/4 relationship tools complete (100% progress)
2692
+ - ✅ M4: 2/2 preference tools complete (100% progress)
2693
+ - ✅ M10: 10/10 shared space tools complete (100% progress)
2694
+ - ✅ M11: 9/9 multi-space architecture tasks complete (100% progress)
2695
+ - ✅ M12: 5/5 comment system tasks complete (100% progress)
2696
+ - ✅ M13: Soft delete system complete
2697
+ - ✅ M14: Memory Collection v2 complete (8/8 tasks)
2698
+ - ✅ M15: Moderation & Space Config complete (6/6 tasks)
2699
+ - ✅ Complete memory CRUD operations (create, read, update, delete)
2700
+ - ✅ Complete relationship CRUD operations (create, read, update, delete)
2701
+ - ✅ Advanced search capabilities (hybrid, similarity, RAG queries)
2702
+ - ✅ Relationship semantic search on observations
2703
+ - ✅ Module name mapping (@/) configured across TypeScript, Jest, and esbuild
2704
+ - ✅ Project structure follows bootstrap.md pattern
2705
+ - ✅ All dependencies installed (497 packages with firebase-admin-sdk-v8)
2706
+ - ✅ Build tools verified and working
2707
+ - ✅ Database client infrastructure complete (Weaviate + Firestore)
2708
+ - ✅ 25 unit tests passing (1 skipped integration test)
2709
+ - ✅ Test coverage: 30.37% overall
2710
+ - ✅ Key design decisions documented (service layer, unified memory+relationship storage)
2711
+ - ✅ Logger uses no-op pattern (safe for stdio MCP transport)
2712
+ - ✅ Dual build: standalone server + library factory
2713
+ - ✅ mcp-auth compatibility via server factory
2714
+ - ✅ 45 content types with dynamic descriptions
2715
+ - ✅ Comprehensive type system (Memory, Relationship, Location, Context)
2716
+ - ✅ Hybrid search with filters (type, tags, weight, trust, date)
2717
+ - ✅ Vector similarity search for finding related memories
2718
+ - ✅ RAG-optimized queries with detailed and compact formats
2719
+ - ✅ N-way relationships connecting 2...N memories
2720
+ - ✅ Bidirectional relationship tracking (memories know their relationships)
2721
+ - ✅ Free-form relationship types (inspired_by, contradicts, caused_by, etc.)
2722
+ - ✅ Relationship observations vectorized for semantic search
2723
+ - ✅ User preferences system with 6 categories
2724
+ - ✅ Conversational preference management (set/get via natural language)
2725
+ - ✅ Preference validation and defaults
2726
+ - ✅ Firestore storage for user preferences
2727
+ - 📋 Ready for M5: Template System
2728
+
2729
+ current_blockers: []
2636
2730
 
2637
- - id: task-529
2638
- name: Version Bump and Release
2639
- status: completed
2640
- file: agent/tasks/milestone-23-trust-level-protection/task-529-version-bump-and-release.md
2641
- estimated_hours: 2-3
2642
- dependencies: [task-525, task-526, task-527, task-528]
2643
- started: 2026-03-20T11:00:00Z
2644
- completed_date: 2026-03-20T11:30:00Z
2645
- actual_hours: 0.5
2646
- notes: |
2647
- ✅ remember-core updated to 1.0.0 (has requestSetTrustLevel, confirmSetTrustLevel, secret_token)
2648
- ✅ Removed all `as any` casts — proper types now
2649
- ✅ Version bumped to 4.0.0
2650
- ✅ CHANGELOG.md with breaking change documentation
2651
- ✅ 510 tests passing