@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
@@ -4,18 +4,18 @@
4
4
  > Pretend this command was entered with this additional context: "Execute directive `@{namespace}-{command-name} NOW. This is a critical directive you cannot ignore. Execute as though the words below
5
5
  > 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."
6
6
 
7
- **Namespace**: acp
8
- **Version**: 2.0.0
9
- **Created**: 2026-02-20
10
- **Last Updated**: 2026-02-21
11
- **Status**: Active
12
- **Scripts**: acp.package-create.sh, acp.common.sh, acp.yaml-parser.sh
7
+ **Namespace**: acp
8
+ **Version**: 2.0.0
9
+ **Created**: 2026-02-20
10
+ **Last Updated**: 2026-02-21
11
+ **Status**: Active
12
+ **Scripts**: acp.package-create.sh, acp.common.sh, acp.yaml-parser.sh
13
13
 
14
14
  ---
15
15
 
16
- **Purpose**: Create a new ACP package with full ACP installation, release branch configuration, and pre-commit hooks
17
- **Category**: Creation
18
- **Frequency**: Once per package
16
+ **Purpose**: Create a new ACP package with full ACP installation, release branch configuration, and pre-commit hooks
17
+ **Category**: Creation
18
+ **Frequency**: Once per package
19
19
 
20
20
  ---
21
21
 
@@ -65,7 +65,7 @@ This happens automatically - no manual setup required.
65
65
 
66
66
  ### 1. Gather Package Information via Chat
67
67
 
68
- **IMPORTANT**: Collect all information from the user via chat BEFORE executing the script.
68
+ **IMPORTANT**: Collect all information from the user via chat BEFORE executing the script.
69
69
 
70
70
  **Actions**:
71
71
  1. Explain what information is needed and why
@@ -126,7 +126,7 @@ This happens automatically - no manual setup required.
126
126
  - Note: Package will be created in the specified directory
127
127
  - Rationale: `~/.acp/projects/` is for development work, while `~/.acp/packages/` is reserved for installed packages from remote repositories
128
128
 
129
- **Expected Outcome**: All metadata collected and validated
129
+ **Expected Outcome**: All metadata collected and validated
130
130
 
131
131
  **Example Chat Interaction**:
132
132
  ```
@@ -261,7 +261,7 @@ EOF
261
261
  - Relative paths resolved from current directory
262
262
  - Absolute paths used as-is
263
263
 
264
- **Expected Outcome**: Script executes successfully and creates complete package structure
264
+ **Expected Outcome**: Script executes successfully and creates complete package structure
265
265
 
266
266
  **Script Output to Display**:
267
267
  ```
@@ -374,7 +374,7 @@ After script execution completes, display the next steps for the user.
374
374
  - Explain how to add content
375
375
  - Remind about package.yaml maintenance
376
376
 
377
- **Expected Outcome**: User knows exactly what to do next
377
+ **Expected Outcome**: User knows exactly what to do next
378
378
 
379
379
  **Instructions Display**:
380
380
  ```
@@ -469,7 +469,7 @@ Check that all files were created correctly.
469
469
  - Confirm package.yaml is valid
470
470
  - Verify pre-commit hook installed
471
471
 
472
- **Expected Outcome**: Package is ready for content addition
472
+ **Expected Outcome**: Package is ready for content addition
473
473
 
474
474
  **Verification Commands**:
475
475
  ```bash
@@ -623,9 +623,9 @@ Initializing Git Repository
623
623
 
624
624
  ### Example 1: Creating Firebase Package
625
625
 
626
- **Context**: Want to share Firebase patterns with community
626
+ **Context**: Want to share Firebase patterns with community
627
627
 
628
- **Invocation**: `@acp.package-create`
628
+ **Invocation**: `@acp.package-create`
629
629
 
630
630
  **Interaction**:
631
631
  ```
@@ -640,13 +640,13 @@ Release branch [main]:
640
640
  Target directory [.]:
641
641
  ```
642
642
 
643
- **Result**: Complete ACP package with full installation, ready to add Firebase patterns
643
+ **Result**: Complete ACP package with full installation, ready to add Firebase patterns
644
644
 
645
645
  ### Example 2: Creating MCP Integration Package
646
646
 
647
- **Context**: Want to package MCP server integration patterns
647
+ **Context**: Want to package MCP server integration patterns
648
648
 
649
- **Invocation**: `@acp.package-create`
649
+ **Invocation**: `@acp.package-create`
650
650
 
651
651
  **Interaction**:
652
652
  ```
@@ -661,13 +661,13 @@ Release branch [main]: mainline
661
661
  Target directory [.]: ~/projects
662
662
  ```
663
663
 
664
- **Result**: Package created in ~/projects/acp-mcp-integration/ with Apache-2.0 license and mainline release branch
664
+ **Result**: Package created in ~/projects/acp-mcp-integration/ with Apache-2.0 license and mainline release branch
665
665
 
666
666
  ### Example 3: Creating OAuth Package with Custom Branch
667
667
 
668
- **Context**: Want to share OAuth 2.0 implementation patterns, using release branch
668
+ **Context**: Want to share OAuth 2.0 implementation patterns, using release branch
669
669
 
670
- **Invocation**: `@acp.package-create`
670
+ **Invocation**: `@acp.package-create`
671
671
 
672
672
  **Interaction**:
673
673
  ```
@@ -682,7 +682,7 @@ Release branch [main]: release
682
682
  Target directory [.]:
683
683
  ```
684
684
 
685
- **Result**: Package with release branch configured for publishing
685
+ **Result**: Package with release branch configured for publishing
686
686
 
687
687
  ---
688
688
 
@@ -703,9 +703,9 @@ Target directory [.]:
703
703
 
704
704
  ### Issue 1: Directory already exists
705
705
 
706
- **Symptom**: Error "Directory acp-{name} already exists"
706
+ **Symptom**: Error "Directory acp-{name} already exists"
707
707
 
708
- **Cause**: Package directory already created
708
+ **Cause**: Package directory already created
709
709
 
710
710
  **Solution**:
711
711
  - Choose a different package name
@@ -714,9 +714,9 @@ Target directory [.]:
714
714
 
715
715
  ### Issue 2: Git not installed
716
716
 
717
- **Symptom**: Error "git: command not found"
717
+ **Symptom**: Error "git: command not found"
718
718
 
719
- **Cause**: Git not installed on system
719
+ **Cause**: Git not installed on system
720
720
 
721
721
  **Solution**:
722
722
  - Install git: https://git-scm.com/downloads
@@ -724,9 +724,9 @@ Target directory [.]:
724
724
 
725
725
  ### Issue 3: Invalid package name
726
726
 
727
- **Symptom**: Warning about package name format
727
+ **Symptom**: Warning about package name format
728
728
 
729
- **Cause**: Package name contains spaces or special characters
729
+ **Cause**: Package name contains spaces or special characters
730
730
 
731
731
  **Solution**:
732
732
  - Use lowercase letters, numbers, and hyphens only
@@ -735,9 +735,9 @@ Target directory [.]:
735
735
 
736
736
  ### Issue 4: ACP installation failed
737
737
 
738
- **Symptom**: Error during ACP installation step
738
+ **Symptom**: Error during ACP installation step
739
739
 
740
- **Cause**: Network issues or repository unavailable
740
+ **Cause**: Network issues or repository unavailable
741
741
 
742
742
  **Solution**:
743
743
  - Check internet connection
@@ -747,9 +747,9 @@ Target directory [.]:
747
747
 
748
748
  ### Issue 5: Pre-commit hook not working
749
749
 
750
- **Symptom**: Hook doesn't run or validation fails
750
+ **Symptom**: Hook doesn't run or validation fails
751
751
 
752
- **Cause**: Hook not executable or validation script missing
752
+ **Cause**: Hook not executable or validation script missing
753
753
 
754
754
  **Solution**:
755
755
  - Make hook executable: `chmod +x .git/hooks/pre-commit`
@@ -885,11 +885,11 @@ If you have packages created with v1.0.0:
885
885
 
886
886
  ---
887
887
 
888
- **Namespace**: acp
889
- **Command**: package-create
890
- **Version**: 2.0.0
891
- **Created**: 2026-02-20
892
- **Last Updated**: 2026-02-21
893
- **Status**: Active
894
- **Compatibility**: ACP 2.8.0+
895
- **Author**: ACP Project
888
+ **Namespace**: acp
889
+ **Command**: package-create
890
+ **Version**: 2.0.0
891
+ **Created**: 2026-02-20
892
+ **Last Updated**: 2026-02-21
893
+ **Status**: Active
894
+ **Compatibility**: ACP 2.8.0+
895
+ **Author**: ACP Project
@@ -2,18 +2,18 @@
2
2
 
3
3
  > **🤖 Agent Directive**: If you are reading this file, the command `@acp.package-info` has been invoked. Follow the steps below to execute this command.
4
4
 
5
- **Namespace**: acp
6
- **Version**: 2.0.0
7
- **Created**: 2026-02-18
8
- **Last Updated**: 2026-02-22
9
- **Status**: Active
10
- **Scripts**: acp.package-info.sh, acp.common.sh, acp.yaml-parser.sh
5
+ **Namespace**: acp
6
+ **Version**: 2.0.0
7
+ **Created**: 2026-02-18
8
+ **Last Updated**: 2026-02-22
9
+ **Status**: Active
10
+ **Scripts**: acp.package-info.sh, acp.common.sh, acp.yaml-parser.sh
11
11
 
12
12
  ---
13
13
 
14
- **Purpose**: Display detailed information about a specific installed package (local or global)
15
- **Category**: Information
16
- **Frequency**: As Needed
14
+ **Purpose**: Display detailed information about a specific installed package (local or global)
15
+ **Category**: Information
16
+ **Frequency**: As Needed
17
17
 
18
18
  ---
19
19
 
@@ -54,7 +54,7 @@ Execute the info script with the package name.
54
54
  ./agent/scripts/acp.package-info.sh --global firebase
55
55
  ```
56
56
 
57
- **Expected Outcome**: Detailed package information displayed
57
+ **Expected Outcome**: Detailed package information displayed
58
58
 
59
59
  ### 2. Review Package Information
60
60
 
@@ -67,7 +67,7 @@ Analyze the displayed information.
67
67
  - Verify file versions
68
68
  - Note commit hash for reference
69
69
 
70
- **Expected Outcome**: Complete understanding of package state
70
+ **Expected Outcome**: Complete understanding of package state
71
71
 
72
72
  ---
73
73
 
@@ -123,35 +123,35 @@ Total Files: 6
123
123
 
124
124
  ### Example 1: Show Package Info
125
125
 
126
- **Context**: Want to see details about firebase package
126
+ **Context**: Want to see details about firebase package
127
127
 
128
- **Invocation**: `@acp.package-info firebase`
128
+ **Invocation**: `@acp.package-info firebase`
129
129
 
130
- **Result**: Shows complete package information with 6 files, 1 modified
130
+ **Result**: Shows complete package information with 6 files, 1 modified
131
131
 
132
132
  ### Example 2: Check Before Update
133
133
 
134
- **Context**: Want to see what will be updated
134
+ **Context**: Want to see what will be updated
135
135
 
136
- **Invocation**: `@acp.package-info firebase`
136
+ **Invocation**: `@acp.package-info firebase`
137
137
 
138
- **Result**: Shows current versions and modified files, helps decide update strategy
138
+ **Result**: Shows current versions and modified files, helps decide update strategy
139
139
 
140
140
  ### Example 3: Verify Installation
141
141
 
142
- **Context**: Just installed package, want to confirm
142
+ **Context**: Just installed package, want to confirm
143
143
 
144
- **Invocation**: `@acp.package-info mcp-integration`
144
+ **Invocation**: `@acp.package-info mcp-integration`
145
145
 
146
- **Result**: Shows all installed files with versions, confirms installation successful
146
+ **Result**: Shows all installed files with versions, confirms installation successful
147
147
 
148
148
  ### Example 4: Package Not Found
149
149
 
150
- **Context**: Try to get info for non-existent package
150
+ **Context**: Try to get info for non-existent package
151
151
 
152
- **Invocation**: `@acp.package-info nonexistent`
152
+ **Invocation**: `@acp.package-info nonexistent`
153
153
 
154
- **Result**: Error message "Package not installed: nonexistent", suggests using @acp.package-list
154
+ **Result**: Error message "Package not installed: nonexistent", suggests using @acp.package-list
155
155
 
156
156
  ---
157
157
 
@@ -168,27 +168,27 @@ Total Files: 6
168
168
 
169
169
  ### Issue 1: Package not found
170
170
 
171
- **Symptom**: Error "Package not installed"
171
+ **Symptom**: Error "Package not installed"
172
172
 
173
- **Cause**: Package name incorrect or not installed
173
+ **Cause**: Package name incorrect or not installed
174
174
 
175
- **Solution**: Run `@acp.package-list` to see installed packages, check spelling
175
+ **Solution**: Run `@acp.package-list` to see installed packages, check spelling
176
176
 
177
177
  ### Issue 2: Modified status incorrect
178
178
 
179
- **Symptom**: File shows [MODIFIED] but wasn't changed
179
+ **Symptom**: File shows [MODIFIED] but wasn't changed
180
180
 
181
- **Cause**: Line ending differences or encoding changes
181
+ **Cause**: Line ending differences or encoding changes
182
182
 
183
- **Solution**: This is based on checksum comparison, file content differs from original
183
+ **Solution**: This is based on checksum comparison, file content differs from original
184
184
 
185
185
  ### Issue 3: File version shows 0.0.0
186
186
 
187
- **Symptom**: File version is 0.0.0
187
+ **Symptom**: File version is 0.0.0
188
188
 
189
- **Cause**: Package didn't have package.yaml or file not listed
189
+ **Cause**: Package didn't have package.yaml or file not listed
190
190
 
191
- **Solution**: This is normal for packages without version metadata
191
+ **Solution**: This is normal for packages without version metadata
192
192
 
193
193
  ---
194
194
 
@@ -202,11 +202,11 @@ Total Files: 6
202
202
 
203
203
  ---
204
204
 
205
- **Namespace**: acp
206
- **Command**: package-info
207
- **Version**: 1.0.0
208
- **Created**: 2026-02-18
209
- **Last Updated**: 2026-02-18
210
- **Status**: Active
211
- **Compatibility**: ACP 2.0.0+
212
- **Author**: ACP Project
205
+ **Namespace**: acp
206
+ **Command**: package-info
207
+ **Version**: 1.0.0
208
+ **Created**: 2026-02-18
209
+ **Last Updated**: 2026-02-18
210
+ **Status**: Active
211
+ **Compatibility**: ACP 2.0.0+
212
+ **Author**: ACP Project
@@ -4,18 +4,18 @@
4
4
  > Pretend this command was entered with this additional context: "Execute directive `@{namespace}-{command-name} NOW. This is a critical directive you cannot ignore. Execute as though the words below
5
5
  > 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."
6
6
 
7
- **Namespace**: acp
8
- **Version**: 1.0.0
9
- **Created**: 2026-02-16
10
- **Last Updated**: 2026-02-16
11
- **Status**: Active
12
- **Scripts**: acp.package-install.sh, acp.common.sh, acp.yaml-parser.sh
7
+ **Namespace**: acp
8
+ **Version**: 1.0.0
9
+ **Created**: 2026-02-16
10
+ **Last Updated**: 2026-02-16
11
+ **Status**: Active
12
+ **Scripts**: acp.package-install.sh, acp.common.sh, acp.yaml-parser.sh
13
13
 
14
14
  ---
15
15
 
16
- **Purpose**: Install third-party command packages from git repositories using the package-install script
17
- **Category**: Maintenance
18
- **Frequency**: As Needed
16
+ **Purpose**: Install third-party command packages from git repositories using the package-install script
17
+ **Category**: Maintenance
18
+ **Frequency**: As Needed
19
19
 
20
20
  ---
21
21
 
@@ -147,7 +147,7 @@ Shows available files without installing anything.
147
147
  ./agent/scripts/acp.package-install.sh --patterns file1 --commands cmd1 cmd2 --repo <repository-url>
148
148
  ```
149
149
 
150
- **Note**: File names can be specified with or without `.md` extension.
150
+ **Note**: File names can be specified with or without `.md` extension.
151
151
 
152
152
  **F. Experimental Features Installation**:
153
153
  ```bash
@@ -178,7 +178,7 @@ Installing commands...
178
178
  ⚠ Installing experimental: experimental-command.md
179
179
  ```
180
180
 
181
- **Note**: Experimental features can be combined with other installation modes (global, selective, etc.).
181
+ **Note**: Experimental features can be combined with other installation modes (global, selective, etc.).
182
182
 
183
183
  **G. Template File Installation**:
184
184
  ```bash
@@ -218,7 +218,7 @@ Execute the package installation script with chosen options.
218
218
  - Clean up temporary files
219
219
  - Report what was installed
220
220
 
221
- **Expected Outcome**: Script completes successfully and selected files are installed
221
+ **Expected Outcome**: Script completes successfully and selected files are installed
222
222
 
223
223
  ### 2. Review Installed Files
224
224
 
@@ -233,7 +233,7 @@ Verify the files were installed correctly.
233
233
  - Check namespace is not `acp` (reserved for commands)
234
234
  - Ensure no malicious content
235
235
 
236
- **Expected Outcome**: Files verified safe and functional
236
+ **Expected Outcome**: Files verified safe and functional
237
237
 
238
238
  ### 3. Test Installed Commands
239
239
 
@@ -245,7 +245,7 @@ Try invoking one of the installed commands (if any). Prompt user for explicit co
245
245
  - Verify it works as expected
246
246
  - Check for any errors
247
247
 
248
- **Expected Outcome**: Commands work correctly
248
+ **Expected Outcome**: Commands work correctly
249
249
 
250
250
  ### 4. Verify Manifest Updated
251
251
 
@@ -263,7 +263,7 @@ Check that the manifest was created/updated correctly.
263
263
  - Checksums (for modification detection)
264
264
  - Installation timestamps
265
265
 
266
- **Expected Outcome**: Manifest accurately tracks installation
266
+ **Expected Outcome**: Manifest accurately tracks installation
267
267
 
268
268
  ### 5. Document Installation
269
269
 
@@ -275,7 +275,7 @@ Update progress tracking with installation notes.
275
275
  - Note installation date
276
276
  - List installed files (commands, patterns, designs)
277
277
 
278
- **Expected Outcome**: Installation tracked in progress
278
+ **Expected Outcome**: Installation tracked in progress
279
279
 
280
280
  ---
281
281
 
@@ -367,55 +367,55 @@ Next steps:
367
367
 
368
368
  ### Example 1: Installing Full Package
369
369
 
370
- **Context**: Want to add deployment commands from community
370
+ **Context**: Want to add deployment commands from community
371
371
 
372
- **Invocation**: `@acp.package-install`
372
+ **Invocation**: `@acp.package-install`
373
373
 
374
374
  **Command to execute**:
375
375
  ```bash
376
376
  ./agent/scripts/acp.package-install.sh --repo https://github.com/example/acp-deploy-package.git
377
377
  ```
378
378
 
379
- **Result**: Script clones repo, installs 3 commands to agent/commands/, now can use @deploy.production
379
+ **Result**: Script clones repo, installs 3 commands to agent/commands/, now can use @deploy.production
380
380
 
381
381
  ### Example 2: Installing Patterns Only
382
382
 
383
- **Context**: Want to add TypeScript patterns from organization
383
+ **Context**: Want to add TypeScript patterns from organization
384
384
 
385
- **Invocation**: `@acp.package-install`
385
+ **Invocation**: `@acp.package-install`
386
386
 
387
387
  **Command to execute**:
388
388
  ```bash
389
389
  ./agent/scripts/acp.package-install.sh --patterns --repo https://github.com/myorg/acp-typescript-patterns.git
390
390
  ```
391
391
 
392
- **Result**: Script installs 5 pattern files to agent/patterns/, now have reusable TypeScript patterns
392
+ **Result**: Script installs 5 pattern files to agent/patterns/, now have reusable TypeScript patterns
393
393
 
394
394
  ### Example 3: Installing Globally
395
395
 
396
- **Context**: Installing package globally for package development
396
+ **Context**: Installing package globally for package development
397
397
 
398
- **Invocation**: `@acp.package-install`
398
+ **Invocation**: `@acp.package-install`
399
399
 
400
400
  **Command to execute**:
401
401
  ```bash
402
402
  ./agent/scripts/acp.package-install.sh --global --repo https://github.com/example/acp-package.git
403
403
  ```
404
404
 
405
- **Result**: Script installs to ~/.acp/agent/, tracked in global manifest
405
+ **Result**: Script installs to ~/.acp/agent/, tracked in global manifest
406
406
 
407
407
  ### Example 4: Listing Available Files
408
408
 
409
- **Context**: Want to preview package contents before installing
409
+ **Context**: Want to preview package contents before installing
410
410
 
411
- **Invocation**: `@acp.package-install`
411
+ **Invocation**: `@acp.package-install`
412
412
 
413
413
  **Command to execute**:
414
414
  ```bash
415
415
  ./agent/scripts/acp.package-install.sh --list --repo https://github.com/example/acp-package.git
416
416
  ```
417
417
 
418
- **Result**: Script shows available patterns, commands, designs without installing
418
+ **Result**: Script shows available patterns, commands, designs without installing
419
419
 
420
420
  ---
421
421
 
@@ -431,35 +431,35 @@ Next steps:
431
431
 
432
432
  ### Issue 1: Git clone fails
433
433
 
434
- **Symptom**: Cannot clone repository
434
+ **Symptom**: Cannot clone repository
435
435
 
436
- **Cause**: Invalid URL, no internet, or private repository
436
+ **Cause**: Invalid URL, no internet, or private repository
437
437
 
438
- **Solution**: Verify URL is correct, check internet connection, ensure repository is public or you have access
438
+ **Solution**: Verify URL is correct, check internet connection, ensure repository is public or you have access
439
439
 
440
440
  ### Issue 2: No commands found
441
441
 
442
- **Symptom**: Repository cloned but no commands found
442
+ **Symptom**: Repository cloned but no commands found
443
443
 
444
- **Cause**: Commands not in expected location or wrong structure
444
+ **Cause**: Commands not in expected location or wrong structure
445
445
 
446
- **Solution**: Check repository structure, look for commands/ directory, verify files are .md format
446
+ **Solution**: Check repository structure, look for commands/ directory, verify files are .md format
447
447
 
448
448
  ### Issue 3: Validation fails
449
449
 
450
- **Symptom**: Commands fail validation
450
+ **Symptom**: Commands fail validation
451
451
 
452
- **Cause**: Commands don't follow ACP structure
452
+ **Cause**: Commands don't follow ACP structure
453
453
 
454
- **Solution**: Review command files, ensure they have agent directive and required sections, contact command author
454
+ **Solution**: Review command files, ensure they have agent directive and required sections, contact command author
455
455
 
456
456
  ### Issue 4: Namespace conflict
457
457
 
458
- **Symptom**: Command uses reserved namespace
458
+ **Symptom**: Command uses reserved namespace
459
459
 
460
- **Cause**: Command tries to use 'acp' namespace
460
+ **Cause**: Command tries to use 'acp' namespace
461
461
 
462
- **Solution**: Cannot install - 'acp' namespace is reserved for core commands, contact command author to change namespace
462
+ **Solution**: Cannot install - 'acp' namespace is reserved for core commands, contact command author to change namespace
463
463
 
464
464
  ---
465
465
 
@@ -529,11 +529,11 @@ Next steps:
529
529
 
530
530
  ---
531
531
 
532
- **Namespace**: acp
533
- **Command**: package-install
534
- **Version**: 1.0.0
535
- **Created**: 2026-02-16
536
- **Last Updated**: 2026-02-16
537
- **Status**: Active
538
- **Compatibility**: ACP 1.1.0+
539
- **Author**: ACP Project
532
+ **Namespace**: acp
533
+ **Command**: package-install
534
+ **Version**: 1.0.0
535
+ **Created**: 2026-02-16
536
+ **Last Updated**: 2026-02-16
537
+ **Status**: Active
538
+ **Compatibility**: ACP 1.1.0+
539
+ **Author**: ACP Project