@prmichaelsen/remember-mcp 3.19.3 → 4.0.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 (140) hide show
  1. package/AGENT.md +10 -3
  2. package/CHANGELOG.md +38 -0
  3. package/README.md +1 -1
  4. package/agent/commands/acp.artifact-glossary.md +530 -0
  5. package/agent/commands/acp.artifact-reference.md +591 -0
  6. package/agent/commands/acp.artifact-research.md +594 -0
  7. package/agent/commands/acp.audit.md +345 -0
  8. package/agent/commands/acp.clarification-address.md +185 -88
  9. package/agent/commands/acp.clarification-capture.md +44 -44
  10. package/agent/commands/acp.clarification-create.md +41 -42
  11. package/agent/commands/acp.command-create.md +49 -49
  12. package/agent/commands/acp.design-create.md +53 -35
  13. package/agent/commands/acp.design-reference.md +42 -42
  14. package/agent/commands/acp.handoff.md +35 -35
  15. package/agent/commands/acp.index.md +47 -47
  16. package/agent/commands/acp.init.md +105 -69
  17. package/agent/commands/acp.package-create.md +41 -41
  18. package/agent/commands/acp.package-info.md +40 -40
  19. package/agent/commands/acp.package-install.md +48 -48
  20. package/agent/commands/acp.package-list.md +40 -40
  21. package/agent/commands/acp.package-publish.md +62 -62
  22. package/agent/commands/acp.package-remove.md +41 -41
  23. package/agent/commands/acp.package-search.md +48 -48
  24. package/agent/commands/acp.package-update.md +50 -50
  25. package/agent/commands/acp.package-validate.md +52 -52
  26. package/agent/commands/acp.pattern-create.md +61 -43
  27. package/agent/commands/acp.plan.md +70 -47
  28. package/agent/commands/acp.proceed.md +188 -66
  29. package/agent/commands/acp.project-create.md +42 -42
  30. package/agent/commands/acp.project-info.md +46 -46
  31. package/agent/commands/acp.project-list.md +41 -41
  32. package/agent/commands/acp.project-remove.md +36 -36
  33. package/agent/commands/acp.project-set.md +33 -33
  34. package/agent/commands/acp.project-update.md +57 -57
  35. package/agent/commands/acp.projects-restore.md +37 -37
  36. package/agent/commands/acp.projects-sync.md +39 -39
  37. package/agent/commands/acp.report.md +50 -50
  38. package/agent/commands/acp.resume.md +36 -36
  39. package/agent/commands/acp.sessions.md +46 -46
  40. package/agent/commands/acp.status.md +43 -43
  41. package/agent/commands/acp.sync.md +109 -56
  42. package/agent/commands/acp.task-create.md +51 -49
  43. package/agent/commands/acp.update.md +66 -45
  44. package/agent/commands/acp.validate.md +110 -52
  45. package/agent/commands/acp.version-check-for-updates.md +40 -40
  46. package/agent/commands/acp.version-check.md +36 -36
  47. package/agent/commands/acp.version-update.md +43 -43
  48. package/agent/commands/command.template.md +40 -40
  49. package/agent/commands/git.commit.md +28 -28
  50. package/agent/commands/git.init.md +48 -48
  51. package/agent/design/design.template.md +9 -9
  52. package/agent/design/local.admin-debugging-tools.md +242 -0
  53. package/agent/design/requirements.template.md +8 -8
  54. package/agent/index/.gitkeep +0 -0
  55. package/agent/index/acp.core.yaml +137 -0
  56. package/agent/index/local.main.template.yaml +37 -0
  57. package/agent/index/local.main.yaml +48 -0
  58. package/agent/manifest.yaml +64 -0
  59. package/agent/milestones/milestone-1-{title}.template.md +8 -8
  60. package/agent/milestones/milestone-22-admin-debugging-tools.md +61 -0
  61. package/agent/milestones/milestone-23-trust-level-protection.md +122 -0
  62. package/agent/patterns/pattern.template.md +22 -22
  63. package/agent/progress.template.yaml +13 -3
  64. package/agent/progress.yaml +173 -3
  65. package/agent/schemas/package.schema.yaml +276 -0
  66. package/agent/scripts/acp.project-update.sh +5 -6
  67. package/agent/tasks/milestone-22-admin-debugging-tools/task-520-admin-gate-infrastructure.md +99 -0
  68. package/agent/tasks/milestone-22-admin-debugging-tools/task-521-schema-and-collection-tools.md +108 -0
  69. package/agent/tasks/milestone-22-admin-debugging-tools/task-522-memory-inspection-tools.md +120 -0
  70. package/agent/tasks/milestone-22-admin-debugging-tools/task-523-user-inspection-tools.md +126 -0
  71. package/agent/tasks/milestone-22-admin-debugging-tools/task-524-health-and-drift-tools.md +120 -0
  72. package/agent/tasks/milestone-23-trust-level-protection/task-525-remove-trust-from-create-update.md +69 -0
  73. package/agent/tasks/milestone-23-trust-level-protection/task-526-add-request-set-trust-level-tool.md +108 -0
  74. package/agent/tasks/milestone-23-trust-level-protection/task-527-update-confirm-deny-secret-token.md +60 -0
  75. package/agent/tasks/milestone-23-trust-level-protection/task-528-update-trust-scale-references.md +73 -0
  76. package/agent/tasks/milestone-23-trust-level-protection/task-529-version-bump-and-release.md +87 -0
  77. package/agent/tasks/task-1-{title}.template.md +18 -18
  78. package/dist/server-factory.js +779 -87
  79. package/dist/server.js +141 -41
  80. package/dist/services/trust-validator.d.ts +16 -14
  81. package/dist/tools/admin-collection-stats.d.ts +24 -0
  82. package/dist/tools/admin-detect-weaviate-drift.d.ts +26 -0
  83. package/dist/tools/admin-get-weaviate-schema.d.ts +24 -0
  84. package/dist/tools/admin-health-drift.spec.d.ts +5 -0
  85. package/dist/tools/admin-health.d.ts +15 -0
  86. package/dist/tools/admin-inspect-memory.d.ts +29 -0
  87. package/dist/tools/admin-inspect-user.d.ts +73 -0
  88. package/dist/tools/admin-inspect-user.spec.d.ts +5 -0
  89. package/dist/tools/admin-list-collections.d.ts +23 -0
  90. package/dist/tools/admin-memory-inspection.spec.d.ts +7 -0
  91. package/dist/tools/admin-schema-collection.spec.d.ts +8 -0
  92. package/dist/tools/admin-search-across-users.d.ts +42 -0
  93. package/dist/tools/confirm.d.ts +1 -0
  94. package/dist/tools/confirm.spec.d.ts +5 -0
  95. package/dist/tools/create-internal-memory.d.ts +0 -7
  96. package/dist/tools/create-memory.d.ts +0 -7
  97. package/dist/tools/deny.d.ts +1 -0
  98. package/dist/tools/deny.spec.d.ts +5 -0
  99. package/dist/tools/query-memory.d.ts +2 -0
  100. package/dist/tools/request-set-trust-level.d.ts +32 -0
  101. package/dist/tools/request-set-trust-level.spec.d.ts +2 -0
  102. package/dist/tools/search-memory.d.ts +2 -0
  103. package/dist/tools/update-internal-memory.d.ts +0 -6
  104. package/dist/tools/update-memory.d.ts +0 -7
  105. package/dist/utils/admin.d.ts +21 -0
  106. package/dist/utils/admin.spec.d.ts +2 -0
  107. package/package.json +2 -2
  108. package/src/server-factory.ts +137 -42
  109. package/src/server.ts +6 -0
  110. package/src/services/trust-validator.spec.ts +57 -51
  111. package/src/services/trust-validator.ts +28 -26
  112. package/src/tools/admin-collection-stats.ts +67 -0
  113. package/src/tools/admin-detect-weaviate-drift.ts +110 -0
  114. package/src/tools/admin-get-weaviate-schema.ts +68 -0
  115. package/src/tools/admin-health-drift.spec.ts +193 -0
  116. package/src/tools/admin-health.ts +88 -0
  117. package/src/tools/admin-inspect-memory.ts +86 -0
  118. package/src/tools/admin-inspect-user.spec.ts +130 -0
  119. package/src/tools/admin-inspect-user.ts +148 -0
  120. package/src/tools/admin-list-collections.ts +73 -0
  121. package/src/tools/admin-memory-inspection.spec.ts +206 -0
  122. package/src/tools/admin-schema-collection.spec.ts +167 -0
  123. package/src/tools/admin-search-across-users.ts +104 -0
  124. package/src/tools/confirm.spec.ts +108 -0
  125. package/src/tools/confirm.ts +24 -1
  126. package/src/tools/create-internal-memory.ts +0 -3
  127. package/src/tools/create-memory.spec.ts +6 -2
  128. package/src/tools/create-memory.ts +1 -9
  129. package/src/tools/deny.spec.ts +59 -0
  130. package/src/tools/deny.ts +6 -1
  131. package/src/tools/ghost-config.ts +19 -19
  132. package/src/tools/query-memory.ts +4 -2
  133. package/src/tools/request-set-trust-level.spec.ts +87 -0
  134. package/src/tools/request-set-trust-level.ts +107 -0
  135. package/src/tools/search-memory.ts +4 -2
  136. package/src/tools/update-internal-memory.ts +0 -3
  137. package/src/tools/update-memory.ts +0 -8
  138. package/src/types/memory.ts +1 -1
  139. package/src/utils/admin.spec.ts +70 -0
  140. package/src/utils/admin.ts +27 -0
@@ -2,17 +2,17 @@
2
2
 
3
3
  > **🤖 Agent Directive**: If you are reading this file, the command `@acp.project-update` has been invoked. Follow the steps below to execute this command.
4
4
 
5
- **Namespace**: acp
6
- **Version**: 1.0.0
7
- **Created**: 2026-02-25
8
- **Last Updated**: 2026-02-25
9
- **Status**: Experimental
5
+ **Namespace**: acp
6
+ **Version**: 1.0.0
7
+ **Created**: 2026-02-25
8
+ **Last Updated**: 2026-02-25
9
+ **Status**: Experimental
10
10
 
11
11
  ---
12
12
 
13
- **Purpose**: Update project metadata in the global registry
14
- **Category**: Project Management
15
- **Frequency**: As Needed
13
+ **Purpose**: Update project metadata in the global registry
14
+ **Category**: Project Management
15
+ **Frequency**: As Needed
16
16
 
17
17
  ---
18
18
 
@@ -45,7 +45,7 @@ Extract project name and update options.
45
45
  - Parse update flags (--status, --description, --type, --git-origin, --git-branch, etc.)
46
46
  - Validate at least one update option provided
47
47
 
48
- **Expected Outcome**: Arguments parsed successfully
48
+ **Expected Outcome**: Arguments parsed successfully
49
49
 
50
50
  ### 2. Validate Project Exists
51
51
 
@@ -56,7 +56,7 @@ Check that the project is in the registry.
56
56
  - Check project exists with `yaml_has_key()`
57
57
  - Show error if not found
58
58
 
59
- **Expected Outcome**: Project found in registry
59
+ **Expected Outcome**: Project found in registry
60
60
 
61
61
  ### 3. Validate Update Values
62
62
 
@@ -67,7 +67,7 @@ Check that provided values are valid.
67
67
  - Validate other fields as needed
68
68
  - Show errors for invalid values
69
69
 
70
- **Expected Outcome**: All values validated
70
+ **Expected Outcome**: All values validated
71
71
 
72
72
  ### 4. Apply Updates
73
73
 
@@ -86,7 +86,7 @@ Update registry with new values.
86
86
  - Update last_modified timestamp
87
87
  - Update registry last_updated timestamp
88
88
 
89
- **Expected Outcome**: All updates applied to AST
89
+ **Expected Outcome**: All updates applied to AST
90
90
 
91
91
  ### 5. Write Changes
92
92
 
@@ -97,7 +97,7 @@ Save updated registry to disk.
97
97
  - Report number of updates applied
98
98
  - Show success message
99
99
 
100
- **Expected Outcome**: Registry updated on disk
100
+ **Expected Outcome**: Registry updated on disk
101
101
 
102
102
  ---
103
103
 
@@ -157,59 +157,59 @@ Run 'acp.project-info.sh remember-mcp-server' to see updated information
157
157
 
158
158
  ### Example 1: Update Project Status
159
159
 
160
- **Context**: Mark project as archived when completed
160
+ **Context**: Mark project as archived when completed
161
161
 
162
- **Invocation**: `@acp.project-update old-project --status archived`
162
+ **Invocation**: `@acp.project-update old-project --status archived`
163
163
 
164
- **Result**: Status changed to "archived", last_modified timestamp updated
164
+ **Result**: Status changed to "archived", last_modified timestamp updated
165
165
 
166
166
  ### Example 2: Add Multiple Tags
167
167
 
168
- **Context**: Add organization tags to project
168
+ **Context**: Add organization tags to project
169
169
 
170
- **Invocation**: `@acp.project-update my-project --add-tag production --add-tag critical --add-tag backend`
170
+ **Invocation**: `@acp.project-update my-project --add-tag production --add-tag critical --add-tag backend`
171
171
 
172
- **Result**: Three tags added, duplicates prevented if tags already exist
172
+ **Result**: Three tags added, duplicates prevented if tags already exist
173
173
 
174
174
  ### Example 3: Update Description
175
175
 
176
- **Context**: Improve project description
176
+ **Context**: Improve project description
177
177
 
178
- **Invocation**: `@acp.project-update my-project --description "Multi-tenant memory system with vector search and relationship tracking"`
178
+ **Invocation**: `@acp.project-update my-project --description "Multi-tenant memory system with vector search and relationship tracking"`
179
179
 
180
- **Result**: Description updated in registry
180
+ **Result**: Description updated in registry
181
181
 
182
182
  ### Example 4: Link Related Projects
183
183
 
184
- **Context**: Connect server and client projects
184
+ **Context**: Connect server and client projects
185
185
 
186
- **Invocation**: `@acp.project-update remember-mcp-server --add-related remember-mcp`
186
+ **Invocation**: `@acp.project-update remember-mcp-server --add-related remember-mcp`
187
187
 
188
- **Result**: remember-mcp added to related_projects array
188
+ **Result**: remember-mcp added to related_projects array
189
189
 
190
190
  ### Example 5: Set Git Origin
191
191
 
192
- **Context**: Manually set git remote URL for a project
192
+ **Context**: Manually set git remote URL for a project
193
193
 
194
- **Invocation**: `@acp.project-update my-project --git-origin git@github.com:user/my-project.git --git-branch main`
194
+ **Invocation**: `@acp.project-update my-project --git-origin git@github.com:user/my-project.git --git-branch main`
195
195
 
196
- **Result**: git_origin and git_branch set in registry, enabling `@acp.projects-restore`
196
+ **Result**: git_origin and git_branch set in registry, enabling `@acp.projects-restore`
197
197
 
198
198
  ### Example 6: Multiple Updates
199
199
 
200
- **Context**: Update several fields at once
200
+ **Context**: Update several fields at once
201
201
 
202
- **Invocation**: `@acp.project-update my-project --status active --add-tag production --remove-tag development`
202
+ **Invocation**: `@acp.project-update my-project --status active --add-tag production --remove-tag development`
203
203
 
204
- **Result**: Status updated, production tag added, development tag removed
204
+ **Result**: Status updated, production tag added, development tag removed
205
205
 
206
206
  ### Example 7: Remove Tag
207
207
 
208
- **Context**: Remove obsolete tag
208
+ **Context**: Remove obsolete tag
209
209
 
210
- **Invocation**: `@acp.project-update my-project --remove-tag deprecated`
210
+ **Invocation**: `@acp.project-update my-project --remove-tag deprecated`
211
211
 
212
- **Result**: Tag removed from tags array
212
+ **Result**: Tag removed from tags array
213
213
 
214
214
  ---
215
215
 
@@ -227,43 +227,43 @@ Run 'acp.project-info.sh remember-mcp-server' to see updated information
227
227
 
228
228
  ### Issue 1: Registry not found
229
229
 
230
- **Symptom**: Error "Project registry not found"
230
+ **Symptom**: Error "Project registry not found"
231
231
 
232
- **Cause**: `~/.acp/projects.yaml` doesn't exist
232
+ **Cause**: `~/.acp/projects.yaml` doesn't exist
233
233
 
234
- **Solution**: Create a project with `@acp.project-create` to initialize the registry
234
+ **Solution**: Create a project with `@acp.project-create` to initialize the registry
235
235
 
236
236
  ### Issue 2: Project not found
237
237
 
238
- **Symptom**: Error "Project 'name' not found in registry"
238
+ **Symptom**: Error "Project 'name' not found in registry"
239
239
 
240
- **Cause**: Project not registered or wrong name
240
+ **Cause**: Project not registered or wrong name
241
241
 
242
- **Solution**: Run `@acp.project-list` to see available projects
242
+ **Solution**: Run `@acp.project-list` to see available projects
243
243
 
244
244
  ### Issue 3: Invalid status value
245
245
 
246
- **Symptom**: Error "Invalid status 'value'"
246
+ **Symptom**: Error "Invalid status 'value'"
247
247
 
248
- **Cause**: Status must be one of: active, archived, paused
248
+ **Cause**: Status must be one of: active, archived, paused
249
249
 
250
- **Solution**: Use a valid status value
250
+ **Solution**: Use a valid status value
251
251
 
252
252
  ### Issue 4: No updates specified
253
253
 
254
- **Symptom**: Error "No updates specified"
254
+ **Symptom**: Error "No updates specified"
255
255
 
256
- **Cause**: Command requires at least one update option
256
+ **Cause**: Command requires at least one update option
257
257
 
258
- **Solution**: Provide at least one update flag (--status, --description, --add-tag, etc.)
258
+ **Solution**: Provide at least one update flag (--status, --description, --add-tag, etc.)
259
259
 
260
260
  ### Issue 5: Tag already exists
261
261
 
262
- **Symptom**: Message "Tag already exists: tag-name"
262
+ **Symptom**: Message "Tag already exists: tag-name"
263
263
 
264
- **Cause**: Trying to add a tag that's already in the tags array
264
+ **Cause**: Trying to add a tag that's already in the tags array
265
265
 
266
- **Solution**: This is informational, not an error. The tag won't be duplicated.
266
+ **Solution**: This is informational, not an error. The tag won't be duplicated.
267
267
 
268
268
  ---
269
269
 
@@ -297,11 +297,11 @@ Run 'acp.project-info.sh remember-mcp-server' to see updated information
297
297
 
298
298
  ---
299
299
 
300
- **Namespace**: acp
301
- **Command**: project-update
302
- **Version**: 1.0.0
303
- **Created**: 2026-02-25
304
- **Last Updated**: 2026-02-25
305
- **Status**: Experimental
306
- **Compatibility**: ACP 4.1.1+
307
- **Author**: ACP Project
300
+ **Namespace**: acp
301
+ **Command**: project-update
302
+ **Version**: 1.0.0
303
+ **Created**: 2026-02-25
304
+ **Last Updated**: 2026-02-25
305
+ **Status**: Experimental
306
+ **Compatibility**: ACP 4.1.1+
307
+ **Author**: ACP Project
@@ -2,18 +2,18 @@
2
2
 
3
3
  > **🤖 Agent Directive**: If you are reading this file, the command `@acp.projects-restore` has been invoked. Follow the steps below to execute this command.
4
4
 
5
- **Namespace**: acp
6
- **Version**: 1.0.0
7
- **Created**: 2026-03-01
8
- **Last Updated**: 2026-03-01
9
- **Status**: Experimental
5
+ **Namespace**: acp
6
+ **Version**: 1.0.0
7
+ **Created**: 2026-03-01
8
+ **Last Updated**: 2026-03-01
9
+ **Status**: Experimental
10
10
 
11
11
  ---
12
12
 
13
- **Purpose**: Restore/clone missing projects from their registered git origins
14
- **Category**: Project Management
15
- **Frequency**: As Needed
16
- **Script**: [`agent/scripts/acp.projects-restore.sh`](../scripts/acp.projects-restore.sh)
13
+ **Purpose**: Restore/clone missing projects from their registered git origins
14
+ **Category**: Project Management
15
+ **Frequency**: As Needed
16
+ **Script**: [`agent/scripts/acp.projects-restore.sh`](../scripts/acp.projects-restore.sh)
17
17
 
18
18
  ---
19
19
 
@@ -52,7 +52,7 @@ Run the shell script to restore missing projects.
52
52
  - Checks each project's directory existence
53
53
  - Clones missing projects from `git_origin`
54
54
 
55
- **Expected Outcome**: Missing projects cloned to their registered paths
55
+ **Expected Outcome**: Missing projects cloned to their registered paths
56
56
 
57
57
  ### 2. Review Results
58
58
 
@@ -63,7 +63,7 @@ Check the restore summary.
63
63
  - Review skip count (already exist, archived, no origin)
64
64
  - Review errors (failed clones)
65
65
 
66
- **Expected Outcome**: All restorable projects cloned successfully
66
+ **Expected Outcome**: All restorable projects cloned successfully
67
67
 
68
68
  ---
69
69
 
@@ -129,27 +129,27 @@ Restore Complete
129
129
 
130
130
  ### Example 1: Preview Restore
131
131
 
132
- **Context**: Check what would be restored on a new machine
132
+ **Context**: Check what would be restored on a new machine
133
133
 
134
- **Invocation**: `@acp.projects-restore --dry-run`
134
+ **Invocation**: `@acp.projects-restore --dry-run`
135
135
 
136
- **Result**: Lists projects that would be cloned, skipped projects, and reasons
136
+ **Result**: Lists projects that would be cloned, skipped projects, and reasons
137
137
 
138
138
  ### Example 2: Full Restore
139
139
 
140
- **Context**: Restore all projects on a new machine
140
+ **Context**: Restore all projects on a new machine
141
141
 
142
- **Invocation**: `@acp.projects-restore`
142
+ **Invocation**: `@acp.projects-restore`
143
143
 
144
- **Result**: Clones all missing projects from their git origins
144
+ **Result**: Clones all missing projects from their git origins
145
145
 
146
146
  ### Example 3: Restore with ACP Install
147
147
 
148
- **Context**: Restore and set up ACP in each project
148
+ **Context**: Restore and set up ACP in each project
149
149
 
150
- **Invocation**: `@acp.projects-restore --install-acp`
150
+ **Invocation**: `@acp.projects-restore --install-acp`
151
151
 
152
- **Result**: Clones missing projects and installs ACP in each one
152
+ **Result**: Clones missing projects and installs ACP in each one
153
153
 
154
154
  ---
155
155
 
@@ -166,27 +166,27 @@ Restore Complete
166
166
 
167
167
  ### Issue 1: No projects to restore
168
168
 
169
- **Symptom**: All projects show "already exists" or "no git_origin"
169
+ **Symptom**: All projects show "already exists" or "no git_origin"
170
170
 
171
- **Cause**: Either all projects exist on disk, or git origins haven't been recorded
171
+ **Cause**: Either all projects exist on disk, or git origins haven't been recorded
172
172
 
173
- **Solution**: Run `@acp.projects-sync` first to backfill git_origin for existing projects
173
+ **Solution**: Run `@acp.projects-sync` first to backfill git_origin for existing projects
174
174
 
175
175
  ### Issue 2: Clone failed
176
176
 
177
- **Symptom**: "Clone failed" for a project
177
+ **Symptom**: "Clone failed" for a project
178
178
 
179
- **Cause**: Network error, authentication required, or repository no longer exists
179
+ **Cause**: Network error, authentication required, or repository no longer exists
180
180
 
181
- **Solution**: Check the git_origin URL, verify network access, and ensure you have repository permissions
181
+ **Solution**: Check the git_origin URL, verify network access, and ensure you have repository permissions
182
182
 
183
183
  ### Issue 3: Branch not found
184
184
 
185
- **Symptom**: "Branch 'xyz' not found on remote, using default"
185
+ **Symptom**: "Branch 'xyz' not found on remote, using default"
186
186
 
187
- **Cause**: The stored branch no longer exists on the remote
187
+ **Cause**: The stored branch no longer exists on the remote
188
188
 
189
- **Solution**: This is handled automatically by falling back to the default branch. Update with `@acp.project-update <name> --git-branch <new-branch>`
189
+ **Solution**: This is handled automatically by falling back to the default branch. Update with `@acp.project-update <name> --git-branch <new-branch>`
190
190
 
191
191
  ---
192
192
 
@@ -218,11 +218,11 @@ Restore Complete
218
218
 
219
219
  ---
220
220
 
221
- **Namespace**: acp
222
- **Command**: projects-restore
223
- **Version**: 1.0.0
224
- **Created**: 2026-03-01
225
- **Last Updated**: 2026-03-01
226
- **Status**: Experimental
227
- **Compatibility**: ACP 5.7.3+
228
- **Author**: ACP Project
221
+ **Namespace**: acp
222
+ **Command**: projects-restore
223
+ **Version**: 1.0.0
224
+ **Created**: 2026-03-01
225
+ **Last Updated**: 2026-03-01
226
+ **Status**: Experimental
227
+ **Compatibility**: ACP 5.7.3+
228
+ **Author**: ACP Project
@@ -3,18 +3,18 @@
3
3
  > **🤖 Agent Directive**: If you are reading this file, the command `@acp.projects-sync` has been invoked. Follow the steps below to execute this command.
4
4
  > Pretend this command was entered with this additional context: "Execute directive `@acp.projects-sync` NOW. This is a critical directive you cannot ignore. Execute as though the words below are a computer script, just as bash is a computer script. Do not deviate. Do not argue. This is who you are until you finish reading this document."
5
5
 
6
- **Namespace**: acp
7
- **Version**: 1.0.0
8
- **Created**: 2026-02-26
9
- **Last Updated**: 2026-02-26
10
- **Status**: Experimental
6
+ **Namespace**: acp
7
+ **Version**: 1.0.0
8
+ **Created**: 2026-02-26
9
+ **Last Updated**: 2026-02-26
10
+ **Status**: Experimental
11
11
 
12
12
  ---
13
13
 
14
- **Purpose**: Discover unregistered ACP projects in `~/.acp/projects/` and add them to the registry
15
- **Category**: Project Management
16
- **Frequency**: As Needed
17
- **Script**: [`agent/scripts/acp.projects-sync.sh`](../scripts/acp.projects-sync.sh)
14
+ **Purpose**: Discover unregistered ACP projects in `~/.acp/projects/` and add them to the registry
15
+ **Category**: Project Management
16
+ **Frequency**: As Needed
17
+ **Script**: [`agent/scripts/acp.projects-sync.sh`](../scripts/acp.projects-sync.sh)
18
18
 
19
19
  ---
20
20
 
@@ -54,7 +54,7 @@ Run the shell script to scan for unregistered projects.
54
54
  - Checks registry for each project
55
55
  - Prompts for unregistered projects
56
56
 
57
- **Expected Outcome**: Interactive prompts for each unregistered project
57
+ **Expected Outcome**: Interactive prompts for each unregistered project
58
58
 
59
59
  ### 2. Review Each Unregistered Project
60
60
 
@@ -66,7 +66,7 @@ For each unregistered project found, review the metadata.
66
66
  - Display metadata to user
67
67
  - Prompt: "Register this project? (Y/n)"
68
68
 
69
- **Expected Outcome**: User decides whether to register each project
69
+ **Expected Outcome**: User decides whether to register each project
70
70
 
71
71
  ### 3. Register Selected Projects
72
72
 
@@ -78,7 +78,7 @@ Register projects that user confirms.
78
78
  - Set timestamps (created, modified, accessed)
79
79
  - Display success message
80
80
 
81
- **Expected Outcome**: Selected projects added to registry
81
+ **Expected Outcome**: Selected projects added to registry
82
82
 
83
83
  ### 4. Backfill Git Info
84
84
 
@@ -90,7 +90,7 @@ For already-registered projects, detect and backfill missing `git_origin` and `g
90
90
  - Auto-detect branch from `git branch --show-current`
91
91
  - Write backfilled data to registry
92
92
 
93
- **Expected Outcome**: Existing projects gain git_origin/git_branch fields
93
+ **Expected Outcome**: Existing projects gain git_origin/git_branch fields
94
94
 
95
95
  ### 5. Display Summary
96
96
 
@@ -103,7 +103,7 @@ Show sync results.
103
103
  - Display summary statistics
104
104
  - Suggest running `@acp.project-list`
105
105
 
106
- **Expected Outcome**: User knows what was registered and backfilled
106
+ **Expected Outcome**: User knows what was registered and backfilled
107
107
 
108
108
  ---
109
109
 
@@ -155,9 +155,9 @@ Run @acp.project-list to see all registered projects
155
155
 
156
156
  ### Example 1: First Time Sync
157
157
 
158
- **Context**: User has 3 projects in `~/.acp/projects/`, none registered
158
+ **Context**: User has 3 projects in `~/.acp/projects/`, none registered
159
159
 
160
- **Invocation**: `@acp.projects-sync`
160
+ **Invocation**: `@acp.projects-sync`
161
161
 
162
162
  **Result**:
163
163
  - Finds 3 projects
@@ -167,9 +167,9 @@ Run @acp.project-list to see all registered projects
167
167
 
168
168
  ### Example 2: Partial Sync
169
169
 
170
- **Context**: User has 5 projects, 2 already registered
170
+ **Context**: User has 5 projects, 2 already registered
171
171
 
172
- **Invocation**: `@acp.projects-sync`
172
+ **Invocation**: `@acp.projects-sync`
173
173
 
174
174
  **Result**:
175
175
  - Finds 5 projects total
@@ -180,9 +180,9 @@ Run @acp.project-list to see all registered projects
180
180
 
181
181
  ### Example 3: No New Projects
182
182
 
183
- **Context**: All projects already registered
183
+ **Context**: All projects already registered
184
184
 
185
- **Invocation**: `@acp.projects-sync`
185
+ **Invocation**: `@acp.projects-sync`
186
186
 
187
187
  **Result**:
188
188
  - Finds all projects
@@ -192,9 +192,9 @@ Run @acp.project-list to see all registered projects
192
192
 
193
193
  ### Example 4: Empty Directory
194
194
 
195
- **Context**: `~/.acp/projects/` is empty
195
+ **Context**: `~/.acp/projects/` is empty
196
196
 
197
- **Invocation**: `@acp.projects-sync`
197
+ **Invocation**: `@acp.projects-sync`
198
198
 
199
199
  **Result**:
200
200
  - No projects found
@@ -216,9 +216,9 @@ Run @acp.project-list to see all registered projects
216
216
 
217
217
  ### Issue 1: No projects found
218
218
 
219
- **Symptom**: "Found: 0 projects"
219
+ **Symptom**: "Found: 0 projects"
220
220
 
221
- **Cause**: No directories in `~/.acp/projects/` with `agent/progress.yaml`
221
+ **Cause**: No directories in `~/.acp/projects/` with `agent/progress.yaml`
222
222
 
223
223
  **Solution**:
224
224
  - Check if projects exist in `~/.acp/projects/`
@@ -227,11 +227,11 @@ Run @acp.project-list to see all registered projects
227
227
 
228
228
  ### Issue 2: Registry not found
229
229
 
230
- **Symptom**: Error about missing registry
230
+ **Symptom**: Error about missing registry
231
231
 
232
- **Cause**: `~/.acp/projects.yaml` doesn't exist
232
+ **Cause**: `~/.acp/projects.yaml` doesn't exist
233
233
 
234
- **Solution**: Script auto-initializes registry, but if error persists:
234
+ **Solution**: Script auto-initializes registry, but if error persists:
235
235
  ```bash
236
236
  # Initialize global ACP
237
237
  ~/.acp/agent/scripts/acp.common.sh
@@ -240,9 +240,9 @@ init_projects_registry
240
240
 
241
241
  ### Issue 3: Cannot read progress.yaml
242
242
 
243
- **Symptom**: "Type: unknown, Description: No description"
243
+ **Symptom**: "Type: unknown, Description: No description"
244
244
 
245
- **Cause**: `progress.yaml` is malformed or missing fields
245
+ **Cause**: `progress.yaml` is malformed or missing fields
246
246
 
247
247
  **Solution**:
248
248
  - Check `progress.yaml` syntax
@@ -251,9 +251,9 @@ init_projects_registry
251
251
 
252
252
  ### Issue 4: Permission denied
253
253
 
254
- **Symptom**: Cannot write to registry
254
+ **Symptom**: Cannot write to registry
255
255
 
256
- **Cause**: No write permission for `~/.acp/projects.yaml`
256
+ **Cause**: No write permission for `~/.acp/projects.yaml`
257
257
 
258
258
  **Solution**:
259
259
  ```bash
@@ -337,11 +337,11 @@ Uses existing infrastructure:
337
337
 
338
338
  ---
339
339
 
340
- **Namespace**: acp
341
- **Command**: projects-sync
342
- **Version**: 1.0.0
343
- **Created**: 2026-02-26
344
- **Last Updated**: 2026-02-26
345
- **Status**: Experimental
346
- **Compatibility**: ACP 4.1.0+
347
- **Author**: ACP Project
340
+ **Namespace**: acp
341
+ **Command**: projects-sync
342
+ **Version**: 1.0.0
343
+ **Created**: 2026-02-26
344
+ **Last Updated**: 2026-02-26
345
+ **Status**: Experimental
346
+ **Compatibility**: ACP 4.1.0+
347
+ **Author**: ACP Project