@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
@@ -6,18 +6,18 @@
6
6
  >
7
7
  > Follow the steps below to create a design document with proper namespace and automatic package updates.
8
8
 
9
- **Namespace**: acp
10
- **Version**: 1.0.0
11
- **Created**: 2026-02-21
12
- **Last Updated**: 2026-02-21
13
- **Status**: Active
14
- **Scripts**: None
9
+ **Namespace**: acp
10
+ **Version**: 1.0.0
11
+ **Created**: 2026-02-21
12
+ **Last Updated**: 2026-02-21
13
+ **Status**: Active
14
+ **Scripts**: None
15
15
 
16
16
  ---
17
17
 
18
- **Purpose**: Create design documents with namespace enforcement, draft support, and automatic package updates
19
- **Category**: Creation
20
- **Frequency**: As Needed
18
+ **Purpose**: Create design documents with namespace enforcement, draft support, and automatic package updates
19
+ **Category**: Creation
20
+ **Frequency**: As Needed
21
21
 
22
22
  ---
23
23
 
@@ -32,7 +32,7 @@ This command creates a new design document with intelligent namespace handling,
32
32
  - Auto-updates package.yaml and README.md
33
33
  - Uses design.template.md as base
34
34
 
35
- **Use this when**: Creating a new design document in an ACP project or package.
35
+ **Use this when**: Creating a new design document in an ACP project or package.
36
36
 
37
37
  ---
38
38
 
@@ -55,6 +55,7 @@ This command creates a new design document with intelligent namespace handling,
55
55
  | `--from-chat-context` | `--from-chat` | Capture decisions from chat conversation |
56
56
  | `--from-context` | (none) | Shorthand for all sources (clarifications + chat) |
57
57
  | `--include-clarifications` | (none) | Alias for `--from-clars` |
58
+ | `--no-commit` | (none) | Skip the automatic commit step after creation |
58
59
 
59
60
  **Default behavior** (no flags): Auto-detect clarifications and context in session.
60
61
 
@@ -71,13 +72,13 @@ Determine if in package or project directory:
71
72
  - If package: Infer namespace from package.yaml, directory, or git remote
72
73
  - If project: Use "local" namespace
73
74
 
74
- **Expected Outcome**: Context detected, namespace determined
75
+ **Expected Outcome**: Context detected, namespace determined
75
76
 
76
77
  ### 2. Check for Draft File
77
78
 
78
79
  Check if draft file was provided as argument (same as pattern-create and command-create).
79
80
 
80
- **Expected Outcome**: Draft file read (if provided)
81
+ **Expected Outcome**: Draft file read (if provided)
81
82
 
82
83
  ### 2.5. Read Contextual Key Files
83
84
 
@@ -90,7 +91,7 @@ Before creating content, load relevant key files from the index.
90
91
  - Sort by weight descending, read matching files
91
92
  - Produce visible output
92
93
 
93
- **Note**: If `agent/index/` does not exist, skip silently.
94
+ **Note**: If `agent/index/` does not exist, skip silently.
94
95
 
95
96
  ### 2.7. Capture Clarification Context
96
97
 
@@ -104,7 +105,7 @@ Invoke the `@acp.clarification-capture` shared directive to capture decisions fr
104
105
  - Directive returns a "Key Design Decisions" markdown section (or nothing if no context)
105
106
  - Hold the generated section for insertion during Step 5 (Generate Design File)
106
107
 
107
- **Expected Outcome**: Key Design Decisions section generated (if context available), or skipped cleanly
108
+ **Expected Outcome**: Key Design Decisions section generated (if context available), or skipped cleanly
108
109
 
109
110
  ### 3. Collect Design Information
110
111
 
@@ -122,13 +123,13 @@ Gather information from user via chat:
122
123
  - Ask: "Describe what you want this design document to cover" OR
123
124
  - Offer: "Would you like to create an empty draft file first?"
124
125
 
125
- **Expected Outcome**: All design metadata collected
126
+ **Expected Outcome**: All design metadata collected
126
127
 
127
128
  ### 4. Process Draft (If Provided)
128
129
 
129
130
  If draft file was provided, create clarification if needed (same as pattern-create).
130
131
 
131
- **Expected Outcome**: Clarification created and answered (if needed)
132
+ **Expected Outcome**: Clarification created and answered (if needed)
132
133
 
133
134
  ### 5. Generate Design File
134
135
 
@@ -143,31 +144,31 @@ Create design file from template:
143
144
  - If Key Design Decisions section was generated in Step 2.7: Insert it into the design document
144
145
  - Save to `agent/design/{namespace}.{design-name}.md`
145
146
 
146
- **Expected Outcome**: Design file created
147
+ **Expected Outcome**: Design file created
147
148
 
148
149
  ### 6. Update package.yaml (If in Package)
149
150
 
150
151
  Add design to package.yaml contents (same as pattern-create and command-create).
151
152
 
152
- **Expected Outcome**: package.yaml updated
153
+ **Expected Outcome**: package.yaml updated
153
154
 
154
155
  ### 7. Update README.md (If in Package)
155
156
 
156
157
  Update README contents section (same as pattern-create and command-create).
157
158
 
158
- **Expected Outcome**: README.md updated with new design
159
+ **Expected Outcome**: README.md updated with new design
159
160
 
160
161
  ### 8. Prompt to Delete Draft (If Used)
161
162
 
162
163
  If draft file was used, ask to delete it.
163
164
 
164
- **Expected Outcome**: User chooses whether to keep draft
165
+ **Expected Outcome**: User chooses whether to keep draft
165
166
 
166
167
  ### 9. Report Success
167
168
 
168
169
  Display what was created.
169
170
 
170
- **Expected Outcome**: User knows design was created successfully
171
+ **Expected Outcome**: User knows design was created successfully
171
172
 
172
173
  ### 10. Prompt to Add to Key File Index
173
174
 
@@ -186,6 +187,22 @@ If yes:
186
187
 
187
188
  **Note**: If `agent/index/` does not exist, skip this step.
188
189
 
190
+ ### 11. Commit Created Artifacts (MANDATORY unless `--no-commit`)
191
+
192
+ > **⚠️ CRITICAL**: This step is NOT optional unless `--no-commit` was specified. You MUST commit created artifacts before finishing. Do NOT skip this step. Do NOT ask the user whether to commit. Do NOT defer the commit to a later time. If `--no-commit` was passed, skip this step silently.
193
+
194
+ **Actions**:
195
+ - Stage all files created or modified during design creation:
196
+ - Design file (`agent/design/{namespace}.{design-name}.md`)
197
+ - `package.yaml` (if updated)
198
+ - `README.md` (if updated)
199
+ - Key file index (`agent/index/*.yaml`) if updated
200
+ - Do NOT stage clarification files (`agent/clarifications/*.md`) — these are not committed
201
+ - Invoke `@git.commit` with a message summarizing what was created (e.g., `feat(design): create {namespace}.{design-name} design document`)
202
+ - Verify the commit succeeded
203
+
204
+ **Expected Outcome**: All design artifacts committed to version control.
205
+
189
206
  ---
190
207
 
191
208
  ## Verification
@@ -199,6 +216,7 @@ If yes:
199
216
  - [ ] README.md updated (if package)
200
217
  - [ ] Design follows template structure
201
218
  - [ ] All metadata filled in correctly
219
+ - [ ] **Design artifacts committed via `@git.commit` (MANDATORY — do not skip)**
202
220
 
203
221
  ---
204
222
 
@@ -218,19 +236,19 @@ If yes:
218
236
 
219
237
  ### Example 1: Creating Design in Package
220
238
 
221
- **Context**: In acp-firebase package directory
239
+ **Context**: In acp-firebase package directory
222
240
 
223
- **Invocation**: `@acp.design-create`
241
+ **Invocation**: `@acp.design-create`
224
242
 
225
- **Result**: Creates `agent/design/firebase.architecture.md`, updates package.yaml and README.md
243
+ **Result**: Creates `agent/design/firebase.architecture.md`, updates package.yaml and README.md
226
244
 
227
245
  ### Example 2: Creating Design in Project
228
246
 
229
- **Context**: In regular project (no package.yaml)
247
+ **Context**: In regular project (no package.yaml)
230
248
 
231
- **Invocation**: `@acp.design-create`
249
+ **Invocation**: `@acp.design-create`
232
250
 
233
- **Result**: Uses "local" namespace, creates `agent/design/local.my-design.md`, no package updates
251
+ **Result**: Uses "local" namespace, creates `agent/design/local.my-design.md`, no package updates
234
252
 
235
253
  ---
236
254
 
@@ -276,11 +294,11 @@ Same as @acp.pattern-create and @acp.command-create.
276
294
 
277
295
  ---
278
296
 
279
- **Namespace**: acp
280
- **Command**: design-create
281
- **Version**: 1.0.0
282
- **Created**: 2026-02-21
283
- **Last Updated**: 2026-02-21
284
- **Status**: Active
285
- **Compatibility**: ACP 2.2.0+
286
- **Author**: ACP Project
297
+ **Namespace**: acp
298
+ **Command**: design-create
299
+ **Version**: 1.0.0
300
+ **Created**: 2026-02-21
301
+ **Last Updated**: 2026-02-21
302
+ **Status**: Active
303
+ **Compatibility**: ACP 2.2.0+
304
+ **Author**: ACP Project
@@ -7,18 +7,18 @@
7
7
  >
8
8
  > If you are a command reading this file, follow the steps below to discover relevant design documents, extract actionable elements, and return them to the calling command.
9
9
 
10
- **Namespace**: acp
11
- **Version**: 1.0.0
12
- **Created**: 2026-03-07
13
- **Last Updated**: 2026-03-07
14
- **Status**: Active
15
- **Scripts**: None
10
+ **Namespace**: acp
11
+ **Version**: 1.0.0
12
+ **Created**: 2026-03-07
13
+ **Last Updated**: 2026-03-07
14
+ **Status**: Active
15
+ **Scripts**: None
16
16
 
17
17
  ---
18
18
 
19
- **Purpose**: Discover and cross-reference design documents to ensure tasks have complete implementation detail
20
- **Category**: Workflow (Internal Directive)
21
- **Frequency**: Called by task-create and proceed when design context is needed
19
+ **Purpose**: Discover and cross-reference design documents to ensure tasks have complete implementation detail
20
+ **Category**: Workflow (Internal Directive)
21
+ **Frequency**: Called by task-create and proceed when design context is needed
22
22
 
23
23
  ---
24
24
 
@@ -76,7 +76,7 @@ Extract topic keywords from the calling context to form a search query.
76
76
  - Combine into a search query (e.g., `clarification capture system directive`)
77
77
  - Strip common ACP terms that would match too broadly (`acp`, `command`, `task`, `system`, `implement`, `create`, `update`)
78
78
 
79
- **Expected Outcome**: Set of topic keywords for search
79
+ **Expected Outcome**: Set of topic keywords for search
80
80
 
81
81
  ### 2. Search for Design Documents
82
82
 
@@ -94,7 +94,7 @@ Search `agent/design/` for documents matching the topic.
94
94
  - Read all relevant documents in full
95
95
  - Sort by relevance score (filename matches > content matches)
96
96
 
97
- **Expected Outcome**: List of relevant design documents read and scored
97
+ **Expected Outcome**: List of relevant design documents read and scored
98
98
 
99
99
  ### 3. Report Findings
100
100
 
@@ -116,7 +116,7 @@ Design Reference: No design documents found for topic "{topic keywords}"
116
116
  Tasks will be created from available context only.
117
117
  ```
118
118
 
119
- **Expected Outcome**: User informed of which designs were found/skipped
119
+ **Expected Outcome**: User informed of which designs were found/skipped
120
120
 
121
121
  ### 4. Extract Design Elements
122
122
 
@@ -142,7 +142,7 @@ Parse the relevant design document(s) and extract all actionable elements organi
142
142
  - Which design section it came from
143
143
  - Which category it belongs to
144
144
 
145
- **Expected Outcome**: Complete inventory of design elements organized by category
145
+ **Expected Outcome**: Complete inventory of design elements organized by category
146
146
 
147
147
  ### 5. Flag Design Gaps
148
148
 
@@ -167,7 +167,7 @@ Suggest creating a clarification? (yes/no)
167
167
  - If user says **yes**: Suggest invoking `@acp.clarification-create` targeting the specific gaps. Halt the directive and let the user address gaps first.
168
168
  - If user says **no**: Proceed with available detail. Include a note about gaps in the returned data so the calling command can mention them in the task.
169
169
 
170
- **Expected Outcome**: Design gaps identified and user informed; decision made on whether to address them
170
+ **Expected Outcome**: Design gaps identified and user informed; decision made on whether to address them
171
171
 
172
172
  ### 6. Return Elements to Calling Command
173
173
 
@@ -183,7 +183,7 @@ Pass the extracted data back to the calling command.
183
183
  - **task-create**: Expand task steps with implementation detail from design elements; add verification items for each design requirement; set Design Reference metadata field; carry Key Design Decisions into the task
184
184
  - **proceed**: Load design context as supplementary "why" information during implementation; consult when ambiguity or edge cases arise
185
185
 
186
- **Expected Outcome**: Calling command receives structured design data for integration
186
+ **Expected Outcome**: Calling command receives structured design data for integration
187
187
 
188
188
  ---
189
189
 
@@ -247,33 +247,33 @@ design_names:
247
247
 
248
248
  ### Example 1: task-create finds relevant design
249
249
 
250
- **Context**: User invokes `@acp.task-create` for a task about "clarification capture"
250
+ **Context**: User invokes `@acp.task-create` for a task about "clarification capture"
251
251
 
252
- **Flow**: Directive searches `agent/design/`, matches `local.clarification-capture-system.md` by filename keywords, reads it, extracts 8-step directive flow + argument table + UX warning format + affected commands table + lifecycle rules. Returns all to task-create. Task is generated with full implementation detail.
252
+ **Flow**: Directive searches `agent/design/`, matches `local.clarification-capture-system.md` by filename keywords, reads it, extracts 8-step directive flow + argument table + UX warning format + affected commands table + lifecycle rules. Returns all to task-create. Task is generated with full implementation detail.
253
253
 
254
254
  ### Example 2: No design document exists
255
255
 
256
- **Context**: User invokes `@acp.task-create` for a task about "user preferences"
256
+ **Context**: User invokes `@acp.task-create` for a task about "user preferences"
257
257
 
258
- **Flow**: Directive searches `agent/design/`, no filenames match "preferences" (M6 has no design doc yet). Reports "No design documents found." Task is created from available context only (user input, draft, clarifications).
258
+ **Flow**: Directive searches `agent/design/`, no filenames match "preferences" (M6 has no design doc yet). Reports "No design documents found." Task is created from available context only (user input, draft, clarifications).
259
259
 
260
260
  ### Example 3: Multiple relevant designs
261
261
 
262
- **Context**: User invokes `@acp.task-create` for a task about "package validation"
262
+ **Context**: User invokes `@acp.task-create` for a task about "package validation"
263
263
 
264
- **Flow**: Directive finds both `acp-package-management-system.md` and `local.experimental-features-system.md` as relevant. Reads both. Extracts elements from each. Returns combined elements to task-create.
264
+ **Flow**: Directive finds both `acp-package-management-system.md` and `local.experimental-features-system.md` as relevant. Reads both. Extracts elements from each. Returns combined elements to task-create.
265
265
 
266
266
  ### Example 4: Design has gaps
267
267
 
268
- **Context**: User invokes `@acp.task-create` for a feature whose design has a TBD Testing Strategy
268
+ **Context**: User invokes `@acp.task-create` for a feature whose design has a TBD Testing Strategy
269
269
 
270
- **Flow**: Directive reads design, extracts elements, flags "Testing Strategy: marked TBD". Asks user whether to create clarification. User says no. Task is created with a note about the gap.
270
+ **Flow**: Directive reads design, extracts elements, flags "Testing Strategy: marked TBD". Asks user whether to create clarification. User says no. Task is created with a note about the gap.
271
271
 
272
272
  ### Example 5: proceed loads design context
273
273
 
274
- **Context**: Agent runs `@acp.proceed` on a task with `Design Reference: [Clarification Capture System](../design/local.clarification-capture-system.md)`
274
+ **Context**: Agent runs `@acp.proceed` on a task with `Design Reference: [Clarification Capture System](../design/local.clarification-capture-system.md)`
275
275
 
276
- **Flow**: Proceed reads the linked design document. Uses it as supplementary context during implementation — consulting it when the task step is ambiguous or when an unlisted edge case arises.
276
+ **Flow**: Proceed reads the linked design document. Uses it as supplementary context during implementation — consulting it when the task step is ambiguous or when an unlisted edge case arises.
277
277
 
278
278
  ---
279
279
 
@@ -291,27 +291,27 @@ design_names:
291
291
 
292
292
  ### Issue 1: Wrong design document matched
293
293
 
294
- **Symptom**: Directive loads an unrelated design document
294
+ **Symptom**: Directive loads an unrelated design document
295
295
 
296
- **Cause**: Keyword overlap on generic terms (e.g., "system", "command")
296
+ **Cause**: Keyword overlap on generic terms (e.g., "system", "command")
297
297
 
298
- **Solution**: Step 1 strips overly common terms. If false matches persist, the user can indicate which design is relevant when the report is displayed.
298
+ **Solution**: Step 1 strips overly common terms. If false matches persist, the user can indicate which design is relevant when the report is displayed.
299
299
 
300
300
  ### Issue 2: Design document not found despite existing
301
301
 
302
- **Symptom**: Directive reports "no design documents found" but one exists
302
+ **Symptom**: Directive reports "no design documents found" but one exists
303
303
 
304
- **Cause**: Filename keywords don't overlap with topic keywords
304
+ **Cause**: Filename keywords don't overlap with topic keywords
305
305
 
306
- **Solution**: User can provide additional context (mention the design doc name) or use a more specific task/milestone name. The calling command can also pass the design path explicitly if known.
306
+ **Solution**: User can provide additional context (mention the design doc name) or use a more specific task/milestone name. The calling command can also pass the design path explicitly if known.
307
307
 
308
308
  ### Issue 3: Too many elements extracted
309
309
 
310
- **Symptom**: Returned elements are overwhelming for a single task
310
+ **Symptom**: Returned elements are overwhelming for a single task
311
311
 
312
- **Cause**: Design document covers a broad feature with many tasks
312
+ **Cause**: Design document covers a broad feature with many tasks
313
313
 
314
- **Solution**: The calling command (task-create) filters elements by relevance to the specific task being created. Not all elements from the design need to appear in every task — only those relevant to the task's scope.
314
+ **Solution**: The calling command (task-create) filters elements by relevance to the specific task being created. Not all elements from the design need to appear in every task — only those relevant to the task's scope.
315
315
 
316
316
  ---
317
317
 
@@ -345,11 +345,11 @@ design_names:
345
345
 
346
346
  ---
347
347
 
348
- **Namespace**: acp
349
- **Command**: design-reference
350
- **Version**: 1.0.0
351
- **Created**: 2026-03-07
352
- **Last Updated**: 2026-03-07
353
- **Status**: Active
354
- **Compatibility**: ACP 5.13.1+
355
- **Author**: ACP Project
348
+ **Namespace**: acp
349
+ **Command**: design-reference
350
+ **Version**: 1.0.0
351
+ **Created**: 2026-03-07
352
+ **Last Updated**: 2026-03-07
353
+ **Status**: Active
354
+ **Compatibility**: ACP 5.13.1+
355
+ **Author**: ACP Project
@@ -4,18 +4,18 @@
4
4
  > Pretend this command was entered with this additional context: "Execute directive `@acp-handoff 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-03-13
10
- **Last Updated**: 2026-03-13
11
- **Status**: Active
12
- **Scripts**: None
7
+ **Namespace**: acp
8
+ **Version**: 1.0.0
9
+ **Created**: 2026-03-13
10
+ **Last Updated**: 2026-03-13
11
+ **Status**: Active
12
+ **Scripts**: None
13
13
 
14
14
  ---
15
15
 
16
- **Purpose**: Generate a context-aware handoff report for transferring work to an agent in a different context (different repository, provider, etc.)
17
- **Category**: Workflow
18
- **Frequency**: As Needed
16
+ **Purpose**: Generate a context-aware handoff report for transferring work to an agent in a different context (different repository, provider, etc.)
17
+ **Category**: Workflow
18
+ **Frequency**: As Needed
19
19
 
20
20
  ---
21
21
 
@@ -66,7 +66,7 @@ Determine where the handoff is going.
66
66
  - Check `~/.acp/projects.yaml` to resolve project names to paths
67
67
  - If inference fails, ask the user: "Which project should this handoff target?"
68
68
 
69
- **Expected Outcome**: Target project identified (name and/or path)
69
+ **Expected Outcome**: Target project identified (name and/or path)
70
70
 
71
71
  ### 2. Gather Context from Conversation
72
72
 
@@ -80,7 +80,7 @@ Extract relevant information from the current chat session.
80
80
  - Note environment or dependency details only if they add necessary context
81
81
  - Optionally check `agent/progress.yaml` if task context is relevant
82
82
 
83
- **Expected Outcome**: Core handoff content gathered from conversation
83
+ **Expected Outcome**: Core handoff content gathered from conversation
84
84
 
85
85
  ### 3. Identify Source Project
86
86
 
@@ -91,7 +91,7 @@ Determine the source project details for back-reference.
91
91
  - Get the git remote URL if available
92
92
  - Include source project path/repo URL in the report so the receiving agent can reference back
93
93
 
94
- **Expected Outcome**: Source project location captured
94
+ **Expected Outcome**: Source project location captured
95
95
 
96
96
  ### 4. Generate Handoff Report
97
97
 
@@ -107,7 +107,7 @@ Write the handoff report in freeform markdown, shaped by the specific need.
107
107
  - If the target project is ACP-aware, suggest relevant files to read (e.g., `AGENT.md`), but keep the report generic enough for any agent
108
108
  - Do NOT include specific implementation steps — describe the problem and request, let the receiving agent decide how to solve it
109
109
 
110
- **Expected Outcome**: Handoff report generated
110
+ **Expected Outcome**: Handoff report generated
111
111
 
112
112
  ### 5. Deliver Handoff
113
113
 
@@ -118,7 +118,7 @@ Ask the user how they want to receive the report.
118
118
  - If **chat**: Output the full report directly in the conversation
119
119
  - If **disk**: Save to `agent/reports/handoff-{target-name}-{date}.md` (create `agent/reports/` if it doesn't exist)
120
120
 
121
- **Expected Outcome**: Handoff report delivered to user in their preferred format
121
+ **Expected Outcome**: Handoff report delivered to user in their preferred format
122
122
 
123
123
  ---
124
124
 
@@ -156,27 +156,27 @@ Paste the contents of this file into your agent session in the target project.
156
156
 
157
157
  ### Example 1: Cross-Repo Migration Handoff
158
158
 
159
- **Context**: Working in REST server project, discovered Weaviate schema needs a new field
159
+ **Context**: Working in REST server project, discovered Weaviate schema needs a new field
160
160
 
161
- **Invocation**: `@acp.handoff --to weaviate-schema`
161
+ **Invocation**: `@acp.handoff --to weaviate-schema`
162
162
 
163
- **Result**: Generates a report explaining that the REST server needs a new `embedding_model` field on the `Document` class, references the source project path, and describes the data model expectations — without prescribing how to write the migration.
163
+ **Result**: Generates a report explaining that the REST server needs a new `embedding_model` field on the `Document` class, references the source project path, and describes the data model expectations — without prescribing how to write the migration.
164
164
 
165
165
  ### Example 2: Inferred Target
166
166
 
167
- **Context**: Conversation mentions "the frontend repo needs to update its API client types"
167
+ **Context**: Conversation mentions "the frontend repo needs to update its API client types"
168
168
 
169
- **Invocation**: `@acp.handoff`
169
+ **Invocation**: `@acp.handoff`
170
170
 
171
- **Result**: Agent infers the target is the frontend project, checks `~/.acp/projects.yaml` for a match, generates the handoff report describing the API contract changes.
171
+ **Result**: Agent infers the target is the frontend project, checks `~/.acp/projects.yaml` for a match, generates the handoff report describing the API contract changes.
172
172
 
173
173
  ### Example 3: Output to Chat
174
174
 
175
- **Context**: Quick handoff, user doesn't need a file
175
+ **Context**: Quick handoff, user doesn't need a file
176
176
 
177
- **Invocation**: `@acp.handoff --to ~/projects/infra`
177
+ **Invocation**: `@acp.handoff --to ~/projects/infra`
178
178
 
179
- **Result**: Agent generates the report and outputs it directly in chat. User copies it into their next agent session.
179
+ **Result**: Agent generates the report and outputs it directly in chat. User copies it into their next agent session.
180
180
 
181
181
  ---
182
182
 
@@ -191,15 +191,15 @@ Paste the contents of this file into your agent session in the target project.
191
191
 
192
192
  ### Issue 1: Cannot infer target project
193
193
 
194
- **Symptom**: Agent asks "Which project should this handoff target?"
194
+ **Symptom**: Agent asks "Which project should this handoff target?"
195
195
 
196
- **Solution**: Provide the target explicitly with `--to` or `--target`, or register the project in `~/.acp/projects.yaml`.
196
+ **Solution**: Provide the target explicitly with `--to` or `--target`, or register the project in `~/.acp/projects.yaml`.
197
197
 
198
198
  ### Issue 2: Handoff report is too broad
199
199
 
200
- **Symptom**: Report includes too much session context
200
+ **Symptom**: Report includes too much session context
201
201
 
202
- **Solution**: The handoff should be narrow — focused on the specific problem and request, not a full session summary. If the report is too broad, re-invoke with more specific conversation context.
202
+ **Solution**: The handoff should be narrow — focused on the specific problem and request, not a full session summary. If the report is too broad, re-invoke with more specific conversation context.
203
203
 
204
204
  ---
205
205
 
@@ -260,11 +260,11 @@ Paste the contents of this file into your agent session in the target project.
260
260
 
261
261
  ---
262
262
 
263
- **Namespace**: acp
264
- **Command**: handoff
265
- **Version**: 1.0.0
266
- **Created**: 2026-03-13
267
- **Last Updated**: 2026-03-13
268
- **Status**: Active
269
- **Compatibility**: ACP 5.15.0+
270
- **Author**: ACP Project
263
+ **Namespace**: acp
264
+ **Command**: handoff
265
+ **Version**: 1.0.0
266
+ **Created**: 2026-03-13
267
+ **Last Updated**: 2026-03-13
268
+ **Status**: Active
269
+ **Compatibility**: ACP 5.15.0+
270
+ **Author**: ACP Project