@prmichaelsen/remember-mcp 3.19.3 → 3.20.1

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 (102) hide show
  1. package/AGENT.md +10 -3
  2. package/CHANGELOG.md +19 -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/patterns/pattern.template.md +22 -22
  62. package/agent/progress.template.yaml +13 -3
  63. package/agent/progress.yaml +78 -1
  64. package/agent/schemas/package.schema.yaml +276 -0
  65. package/agent/scripts/acp.project-update.sh +5 -6
  66. package/agent/tasks/milestone-22-admin-debugging-tools/task-520-admin-gate-infrastructure.md +99 -0
  67. package/agent/tasks/milestone-22-admin-debugging-tools/task-521-schema-and-collection-tools.md +108 -0
  68. package/agent/tasks/milestone-22-admin-debugging-tools/task-522-memory-inspection-tools.md +120 -0
  69. package/agent/tasks/milestone-22-admin-debugging-tools/task-523-user-inspection-tools.md +126 -0
  70. package/agent/tasks/milestone-22-admin-debugging-tools/task-524-health-and-drift-tools.md +120 -0
  71. package/agent/tasks/task-1-{title}.template.md +18 -18
  72. package/dist/server-factory.js +637 -41
  73. package/dist/tools/admin-collection-stats.d.ts +24 -0
  74. package/dist/tools/admin-detect-weaviate-drift.d.ts +26 -0
  75. package/dist/tools/admin-get-weaviate-schema.d.ts +24 -0
  76. package/dist/tools/admin-health-drift.spec.d.ts +5 -0
  77. package/dist/tools/admin-health.d.ts +15 -0
  78. package/dist/tools/admin-inspect-memory.d.ts +29 -0
  79. package/dist/tools/admin-inspect-user.d.ts +73 -0
  80. package/dist/tools/admin-inspect-user.spec.d.ts +5 -0
  81. package/dist/tools/admin-list-collections.d.ts +23 -0
  82. package/dist/tools/admin-memory-inspection.spec.d.ts +7 -0
  83. package/dist/tools/admin-schema-collection.spec.d.ts +8 -0
  84. package/dist/tools/admin-search-across-users.d.ts +42 -0
  85. package/dist/utils/admin.d.ts +21 -0
  86. package/dist/utils/admin.spec.d.ts +2 -0
  87. package/package.json +2 -2
  88. package/src/server-factory.ts +131 -42
  89. package/src/tools/admin-collection-stats.ts +67 -0
  90. package/src/tools/admin-detect-weaviate-drift.ts +110 -0
  91. package/src/tools/admin-get-weaviate-schema.ts +68 -0
  92. package/src/tools/admin-health-drift.spec.ts +193 -0
  93. package/src/tools/admin-health.ts +88 -0
  94. package/src/tools/admin-inspect-memory.ts +86 -0
  95. package/src/tools/admin-inspect-user.spec.ts +130 -0
  96. package/src/tools/admin-inspect-user.ts +148 -0
  97. package/src/tools/admin-list-collections.ts +73 -0
  98. package/src/tools/admin-memory-inspection.spec.ts +206 -0
  99. package/src/tools/admin-schema-collection.spec.ts +167 -0
  100. package/src/tools/admin-search-across-users.ts +104 -0
  101. package/src/utils/admin.spec.ts +70 -0
  102. 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**: 1.0.0
9
- **Created**: 2026-02-16
10
- **Last Updated**: 2026-02-16
11
- **Status**: Active
12
- **Scripts**: None
7
+ **Namespace**: acp
8
+ **Version**: 1.0.0
9
+ **Created**: 2026-02-16
10
+ **Last Updated**: 2026-02-16
11
+ **Status**: Active
12
+ **Scripts**: None
13
13
 
14
14
  ---
15
15
 
16
- **Purpose**: Generate a comprehensive project status report including progress, accomplishments, and next steps
17
- **Category**: Documentation
18
- **Frequency**: As Needed
16
+ **Purpose**: Generate a comprehensive project status report including progress, accomplishments, and next steps
17
+ **Category**: Documentation
18
+ **Frequency**: As Needed
19
19
 
20
20
  ---
21
21
 
@@ -49,7 +49,7 @@ Load basic project details from progress.yaml.
49
49
  - Note current status and milestone
50
50
  - Get project description
51
51
 
52
- **Expected Outcome**: Project basics loaded
52
+ **Expected Outcome**: Project basics loaded
53
53
 
54
54
  ### 2. Gather Milestone Information
55
55
 
@@ -62,7 +62,7 @@ Collect data about all milestones.
62
62
  - Identify completed vs in-progress vs not-started
63
63
  - Calculate overall project progress
64
64
 
65
- **Expected Outcome**: Milestone data collected
65
+ **Expected Outcome**: Milestone data collected
66
66
 
67
67
  ### 3. Gather Task Information
68
68
 
@@ -75,7 +75,7 @@ Collect data about all tasks.
75
75
  - Identify current task
76
76
  - Note any blocked tasks
77
77
 
78
- **Expected Outcome**: Task data collected
78
+ **Expected Outcome**: Task data collected
79
79
 
80
80
  ### 4. Summarize Recent Work
81
81
 
@@ -87,7 +87,7 @@ Extract recent accomplishments.
87
87
  - Highlight major achievements
88
88
  - Note any significant milestones reached
89
89
 
90
- **Expected Outcome**: Recent work summarized
90
+ **Expected Outcome**: Recent work summarized
91
91
 
92
92
  ### 5. Identify Next Steps
93
93
 
@@ -99,7 +99,7 @@ Extract and prioritize next steps.
99
99
  - Identify upcoming milestones
100
100
  - Note any dependencies
101
101
 
102
- **Expected Outcome**: Next steps identified
102
+ **Expected Outcome**: Next steps identified
103
103
 
104
104
  ### 6. Document Blockers and Risks
105
105
 
@@ -111,7 +111,7 @@ List current blockers and risks.
111
111
  - Identify dependencies on external factors
112
112
  - Assess impact of blockers
113
113
 
114
- **Expected Outcome**: Blockers documented
114
+ **Expected Outcome**: Blockers documented
115
115
 
116
116
  ### 7. Generate Statistics
117
117
 
@@ -125,7 +125,7 @@ Calculate project metrics.
125
125
  - Estimated time remaining (if available)
126
126
  - Documentation count (design docs, patterns, etc.)
127
127
 
128
- **Expected Outcome**: Metrics calculated
128
+ **Expected Outcome**: Metrics calculated
129
129
 
130
130
  ### 8. Format Report
131
131
 
@@ -142,7 +142,7 @@ Create formatted markdown report.
142
142
  - Include statistics
143
143
  - Add footer with generation date
144
144
 
145
- **Expected Outcome**: Report formatted
145
+ **Expected Outcome**: Report formatted
146
146
 
147
147
  ### 9. Save Report
148
148
 
@@ -154,7 +154,7 @@ Write report to file.
154
154
  - Confirm file written successfully
155
155
  - Display report location
156
156
 
157
- **Expected Outcome**: Report saved
157
+ **Expected Outcome**: Report saved
158
158
 
159
159
  ### 10. Deregister Session (Optional)
160
160
 
@@ -164,9 +164,9 @@ End the current agent session.
164
164
  - If `./agent/scripts/acp.sessions.sh` exists, run `./agent/scripts/acp.sessions.sh deregister`
165
165
  - Display: `"Session deregistered"` in report footer
166
166
 
167
- **Expected Outcome**: Session deregistered
167
+ **Expected Outcome**: Session deregistered
168
168
 
169
- **Note**: If `./agent/scripts/acp.sessions.sh` does not exist, skip this step silently.
169
+ **Note**: If `./agent/scripts/acp.sessions.sh` does not exist, skip this step silently.
170
170
 
171
171
  ---
172
172
 
@@ -245,9 +245,9 @@ Summary:
245
245
  # Project Status Report
246
246
  ## agent-context-protocol
247
247
 
248
- **Generated**: 2026-02-16
249
- **Version**: 1.1.0
250
- **Status**: In Progress
248
+ **Generated**: 2026-02-16
249
+ **Version**: 1.1.0
250
+ **Status**: In Progress
251
251
 
252
252
  ---
253
253
 
@@ -259,7 +259,7 @@ Summary:
259
259
 
260
260
  ## Progress Overview
261
261
 
262
- **Overall Progress**: 75%
262
+ **Overall Progress**: 75%
263
263
 
264
264
  ### Milestones
265
265
  - ✅ Milestone 1: ACP Commands Infrastructure (100%)
@@ -306,27 +306,27 @@ Summary:
306
306
 
307
307
  ### Example 1: Weekly Status Report
308
308
 
309
- **Context**: End of week, need to report progress
309
+ **Context**: End of week, need to report progress
310
310
 
311
- **Invocation**: `@acp.report`
311
+ **Invocation**: `@acp.report`
312
312
 
313
- **Result**: Generates comprehensive report showing week's accomplishments, current status, and next week's plans
313
+ **Result**: Generates comprehensive report showing week's accomplishments, current status, and next week's plans
314
314
 
315
315
  ### Example 2: Milestone Review
316
316
 
317
- **Context**: Just completed milestone 1, need review document
317
+ **Context**: Just completed milestone 1, need review document
318
318
 
319
- **Invocation**: `@acp.report`
319
+ **Invocation**: `@acp.report`
320
320
 
321
- **Result**: Report highlights milestone 1 completion, shows deliverables achieved, documents lessons learned
321
+ **Result**: Report highlights milestone 1 completion, shows deliverables achieved, documents lessons learned
322
322
 
323
323
  ### Example 3: Stakeholder Update
324
324
 
325
- **Context**: Monthly update for stakeholders
325
+ **Context**: Monthly update for stakeholders
326
326
 
327
- **Invocation**: `@acp.report`
327
+ **Invocation**: `@acp.report`
328
328
 
329
- **Result**: Executive-friendly report with high-level progress, key achievements, and timeline
329
+ **Result**: Executive-friendly report with high-level progress, key achievements, and timeline
330
330
 
331
331
  ---
332
332
 
@@ -343,27 +343,27 @@ Summary:
343
343
 
344
344
  ### Issue 1: Report is empty or incomplete
345
345
 
346
- **Symptom**: Generated report missing sections
346
+ **Symptom**: Generated report missing sections
347
347
 
348
- **Cause**: progress.yaml not up to date or missing data
348
+ **Cause**: progress.yaml not up to date or missing data
349
349
 
350
- **Solution**: Run `@acp.update` first to ensure progress.yaml is current, then generate report
350
+ **Solution**: Run `@acp.update` first to ensure progress.yaml is current, then generate report
351
351
 
352
352
  ### Issue 2: Statistics don't match reality
353
353
 
354
- **Symptom**: Numbers in report seem wrong
354
+ **Symptom**: Numbers in report seem wrong
355
355
 
356
- **Cause**: Progress tracking out of sync
356
+ **Cause**: Progress tracking out of sync
357
357
 
358
- **Solution**: Review and update progress.yaml manually, verify task counts, then regenerate report
358
+ **Solution**: Review and update progress.yaml manually, verify task counts, then regenerate report
359
359
 
360
360
  ### Issue 3: Report too long or too short
361
361
 
362
- **Symptom**: Report length not appropriate
362
+ **Symptom**: Report length not appropriate
363
363
 
364
- **Cause**: Too much or too little detail
364
+ **Cause**: Too much or too little detail
365
365
 
366
- **Solution**: Adjust report generation to include/exclude sections, customize for audience
366
+ **Solution**: Adjust report generation to include/exclude sections, customize for audience
367
367
 
368
368
  ---
369
369
 
@@ -397,11 +397,11 @@ Summary:
397
397
 
398
398
  ---
399
399
 
400
- **Namespace**: acp
401
- **Command**: report
402
- **Version**: 1.0.0
403
- **Created**: 2026-02-16
404
- **Last Updated**: 2026-02-16
405
- **Status**: Active
406
- **Compatibility**: ACP 1.1.0+
407
- **Author**: ACP Project
400
+ **Namespace**: acp
401
+ **Command**: report
402
+ **Version**: 1.0.0
403
+ **Created**: 2026-02-16
404
+ **Last Updated**: 2026-02-16
405
+ **Status**: Active
406
+ **Compatibility**: ACP 1.1.0+
407
+ **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-21
10
- **Last Updated**: 2026-02-21
11
- **Status**: Active
12
- **Scripts**: None
7
+ **Namespace**: acp
8
+ **Version**: 1.0.0
9
+ **Created**: 2026-02-21
10
+ **Last Updated**: 2026-02-21
11
+ **Status**: Active
12
+ **Scripts**: None
13
13
 
14
14
  ---
15
15
 
16
- **Purpose**: Resume work on a project by initializing context, reviewing recent progress, and continuing with the next task
17
- **Category**: Workflow
18
- **Frequency**: Per Session
16
+ **Purpose**: Resume work on a project by initializing context, reviewing recent progress, and continuing with the next task
17
+ **Category**: Workflow
18
+ **Frequency**: Per Session
19
19
 
20
20
  ---
21
21
 
@@ -27,7 +27,7 @@ This command is a convenient alias that combines three essential workflow comman
27
27
  2. **Review Recent Work** - Reads the latest session report to understand what was done
28
28
  3. **Continue Work** - Proceeds with the current/next task via `@acp.proceed`
29
29
 
30
- **Use this when**: Starting a new session or returning to a project after a break.
30
+ **Use this when**: Starting a new session or returning to a project after a break.
31
31
 
32
32
  ---
33
33
 
@@ -54,7 +54,7 @@ Run the initialization workflow to load complete project context.
54
54
  - Update stale documentation
55
55
  - Refresh progress tracking
56
56
 
57
- **Expected Outcome**: Complete project context loaded (including key file index)
57
+ **Expected Outcome**: Complete project context loaded (including key file index)
58
58
 
59
59
  ### 2. Read Latest Session Report
60
60
 
@@ -67,7 +67,7 @@ Find and read the most recent session report to understand what was accomplished
67
67
  - Summarize key accomplishments
68
68
  - Note any blockers or issues mentioned
69
69
 
70
- **Expected Outcome**: Recent work understood
70
+ **Expected Outcome**: Recent work understood
71
71
 
72
72
  ### 3. Proceed with Current/Next Task
73
73
 
@@ -80,7 +80,7 @@ Continue work by executing the current or next task.
80
80
  - **START IMPLEMENTING immediately**
81
81
  - Update progress tracking
82
82
 
83
- **Expected Outcome**: Task implementation in progress
83
+ **Expected Outcome**: Task implementation in progress
84
84
 
85
85
  ---
86
86
 
@@ -147,9 +147,9 @@ Objective: Create ~/.acp/ directory structure with AGENT.md and manifest.yaml
147
147
 
148
148
  ### Example 1: Resuming After Break
149
149
 
150
- **Context**: Haven't worked on project in a few days
150
+ **Context**: Haven't worked on project in a few days
151
151
 
152
- **Invocation**: `@acp.resume`
152
+ **Invocation**: `@acp.resume`
153
153
 
154
154
  **Result**:
155
155
  - Loads complete context
@@ -159,9 +159,9 @@ Objective: Create ~/.acp/ directory structure with AGENT.md and manifest.yaml
159
159
 
160
160
  ### Example 2: Starting New Session
161
161
 
162
- **Context**: Beginning work for the day
162
+ **Context**: Beginning work for the day
163
163
 
164
- **Invocation**: `@acp.resume`
164
+ **Invocation**: `@acp.resume`
165
165
 
166
166
  **Result**:
167
167
  - Initializes context
@@ -170,9 +170,9 @@ Objective: Create ~/.acp/ directory structure with AGENT.md and manifest.yaml
170
170
 
171
171
  ### Example 3: Switching Agents
172
172
 
173
- **Context**: Different AI agent picking up the project
173
+ **Context**: Different AI agent picking up the project
174
174
 
175
- **Invocation**: `@acp.resume`
175
+ **Invocation**: `@acp.resume`
176
176
 
177
177
  **Result**:
178
178
  - Complete onboarding via @acp.init
@@ -194,27 +194,27 @@ Objective: Create ~/.acp/ directory structure with AGENT.md and manifest.yaml
194
194
 
195
195
  ### Issue 1: No reports found
196
196
 
197
- **Symptom**: Warning "No session reports found"
197
+ **Symptom**: Warning "No session reports found"
198
198
 
199
- **Cause**: No reports in agent/reports/ directory
199
+ **Cause**: No reports in agent/reports/ directory
200
200
 
201
- **Solution**: This is fine for new projects. The command will skip report review and proceed to task execution.
201
+ **Solution**: This is fine for new projects. The command will skip report review and proceed to task execution.
202
202
 
203
203
  ### Issue 2: Context initialization fails
204
204
 
205
- **Symptom**: Error during @acp.init
205
+ **Symptom**: Error during @acp.init
206
206
 
207
- **Cause**: Missing agent/ directory or corrupted files
207
+ **Cause**: Missing agent/ directory or corrupted files
208
208
 
209
- **Solution**: Run `@acp.init` separately to see detailed error, fix issues, then run `@acp.resume` again
209
+ **Solution**: Run `@acp.init` separately to see detailed error, fix issues, then run `@acp.resume` again
210
210
 
211
211
  ### Issue 3: No current task
212
212
 
213
- **Symptom**: Error "No current task found"
213
+ **Symptom**: Error "No current task found"
214
214
 
215
- **Cause**: All tasks completed or progress.yaml doesn't have current task
215
+ **Cause**: All tasks completed or progress.yaml doesn't have current task
216
216
 
217
- **Solution**: Review progress.yaml, create new tasks, or mark a task as in_progress
217
+ **Solution**: Review progress.yaml, create new tasks, or mark a task as in_progress
218
218
 
219
219
  ---
220
220
 
@@ -229,11 +229,11 @@ Objective: Create ~/.acp/ directory structure with AGENT.md and manifest.yaml
229
229
 
230
230
  ---
231
231
 
232
- **Namespace**: acp
233
- **Command**: resume
234
- **Version**: 1.0.0
235
- **Created**: 2026-02-21
236
- **Last Updated**: 2026-02-21
237
- **Status**: Active
238
- **Compatibility**: ACP 3.7.0+
239
- **Author**: ACP Project
232
+ **Namespace**: acp
233
+ **Command**: resume
234
+ **Version**: 1.0.0
235
+ **Created**: 2026-02-21
236
+ **Last Updated**: 2026-02-21
237
+ **Status**: Active
238
+ **Compatibility**: ACP 3.7.0+
239
+ **Author**: ACP Project
@@ -9,18 +9,18 @@
9
9
  > See the **Arguments** section below for flag definitions and natural language patterns.
10
10
  > If no arguments, default to `list`.
11
11
 
12
- **Namespace**: acp
13
- **Version**: 1.0.0
14
- **Created**: 2026-03-01
15
- **Last Updated**: 2026-03-01
16
- **Status**: Active
17
- **Scripts**: acp.sessions.sh, acp.common.sh, acp.yaml-parser.sh
12
+ **Namespace**: acp
13
+ **Version**: 1.0.0
14
+ **Created**: 2026-03-01
15
+ **Last Updated**: 2026-03-01
16
+ **Status**: Active
17
+ **Scripts**: acp.sessions.sh, acp.common.sh, acp.yaml-parser.sh
18
18
 
19
19
  ---
20
20
 
21
- **Purpose**: Manage and view active agent sessions across projects
22
- **Category**: Workflow
23
- **Frequency**: As Needed
21
+ **Purpose**: Manage and view active agent sessions across projects
22
+ **Category**: Workflow
23
+ **Frequency**: As Needed
24
24
 
25
25
  ---
26
26
 
@@ -83,7 +83,7 @@ Determine the requested action from CLI flags or natural language.
83
83
  - Apply natural language mapping if no explicit subcommand
84
84
  - Default to `list` if no subcommand detected
85
85
 
86
- **Expected Outcome**: Subcommand and options determined
86
+ **Expected Outcome**: Subcommand and options determined
87
87
 
88
88
  ### 2. Run Stale Cleanup
89
89
 
@@ -93,7 +93,7 @@ Always clean stale sessions before displaying results.
93
93
  - Run `./agent/scripts/acp.sessions.sh clean` (silently, unless `clean` is the explicit subcommand)
94
94
  - This removes sessions with dead PIDs or inactive for 2+ hours
95
95
 
96
- **Expected Outcome**: Stale sessions removed
96
+ **Expected Outcome**: Stale sessions removed
97
97
 
98
98
  ### 3. Execute Requested Subcommand
99
99
 
@@ -105,7 +105,7 @@ Run the appropriate `acp.sessions.sh` subcommand.
105
105
  - **deregister**: Run `./agent/scripts/acp.sessions.sh deregister [--id <session-id>]`
106
106
  - **count**: Run `./agent/scripts/acp.sessions.sh count`
107
107
 
108
- **Expected Outcome**: Subcommand executed successfully
108
+ **Expected Outcome**: Subcommand executed successfully
109
109
 
110
110
  ### 4. Display Formatted Output
111
111
 
@@ -148,7 +148,7 @@ Active sessions remaining: 2
148
148
  3
149
149
  ```
150
150
 
151
- **Expected Outcome**: User sees formatted session information
151
+ **Expected Outcome**: User sees formatted session information
152
152
 
153
153
  ### 5. Suggest Next Actions
154
154
 
@@ -159,7 +159,7 @@ If relevant, suggest follow-up actions.
159
159
  - If no sessions: "Run `@acp.init` to register a new session"
160
160
  - If showing list: No suggestions needed (informational)
161
161
 
162
- **Expected Outcome**: User knows what to do next (if applicable)
162
+ **Expected Outcome**: User knows what to do next (if applicable)
163
163
 
164
164
  ---
165
165
 
@@ -187,43 +187,43 @@ See output formats in Step 4 above.
187
187
 
188
188
  ### Example 1: List All Sessions (Default)
189
189
 
190
- **Context**: You want to see what's currently running
190
+ **Context**: You want to see what's currently running
191
191
 
192
- **Invocation**: `@acp.sessions`
192
+ **Invocation**: `@acp.sessions`
193
193
 
194
- **Result**: Shows all active sessions with project, description, and timing info
194
+ **Result**: Shows all active sessions with project, description, and timing info
195
195
 
196
196
  ### Example 2: Filter by Project
197
197
 
198
- **Context**: You want to see sessions for a specific project
198
+ **Context**: You want to see sessions for a specific project
199
199
 
200
- **Invocation**: `@acp.sessions --project remember-core`
200
+ **Invocation**: `@acp.sessions --project remember-core`
201
201
 
202
- **Result**: Shows only sessions for remember-core
202
+ **Result**: Shows only sessions for remember-core
203
203
 
204
204
  ### Example 3: Clean Stale Sessions
205
205
 
206
- **Context**: You suspect some sessions are stale
206
+ **Context**: You suspect some sessions are stale
207
207
 
208
- **Invocation**: `@acp.sessions clean`
208
+ **Invocation**: `@acp.sessions clean`
209
209
 
210
- **Result**: Removes dead-PID and timed-out sessions, shows what was cleaned
210
+ **Result**: Removes dead-PID and timed-out sessions, shows what was cleaned
211
211
 
212
212
  ### Example 4: Natural Language Usage
213
213
 
214
- **Context**: You want to check what's running using natural language
214
+ **Context**: You want to check what's running using natural language
215
215
 
216
- **Invocation**: `@acp.sessions what's running?`
216
+ **Invocation**: `@acp.sessions what's running?`
217
217
 
218
- **Result**: Same as `@acp.sessions list` — shows all active sessions
218
+ **Result**: Same as `@acp.sessions list` — shows all active sessions
219
219
 
220
220
  ### Example 5: End Current Session
221
221
 
222
- **Context**: You're done working and want to deregister
222
+ **Context**: You're done working and want to deregister
223
223
 
224
- **Invocation**: `@acp.sessions stop my session`
224
+ **Invocation**: `@acp.sessions stop my session`
225
225
 
226
- **Result**: Deregisters the current session, shows remaining count
226
+ **Result**: Deregisters the current session, shows remaining count
227
227
 
228
228
  ---
229
229
 
@@ -239,27 +239,27 @@ See output formats in Step 4 above.
239
239
 
240
240
  ### Issue 1: "acp.sessions.sh not found"
241
241
 
242
- **Symptom**: Command reports script not found
242
+ **Symptom**: Command reports script not found
243
243
 
244
- **Cause**: Sessions script not installed or path incorrect
244
+ **Cause**: Sessions script not installed or path incorrect
245
245
 
246
- **Solution**: Verify `./agent/scripts/acp.sessions.sh` exists and is executable. Run `chmod +x agent/scripts/acp.sessions.sh` if needed.
246
+ **Solution**: Verify `./agent/scripts/acp.sessions.sh` exists and is executable. Run `chmod +x agent/scripts/acp.sessions.sh` if needed.
247
247
 
248
248
  ### Issue 2: Sessions disappear immediately
249
249
 
250
- **Symptom**: Registered sessions are gone on next list
250
+ **Symptom**: Registered sessions are gone on next list
251
251
 
252
- **Cause**: Stale cleanup removing sessions because the registering process PID is dead
252
+ **Cause**: Stale cleanup removing sessions because the registering process PID is dead
253
253
 
254
- **Solution**: Use `--pid <pid>` when registering to track the long-lived parent process (terminal/agent) instead of the script's own PID.
254
+ **Solution**: Use `--pid <pid>` when registering to track the long-lived parent process (terminal/agent) instead of the script's own PID.
255
255
 
256
256
  ### Issue 3: "No active sessions" when sessions should exist
257
257
 
258
- **Symptom**: List shows no sessions despite recent registration
258
+ **Symptom**: List shows no sessions despite recent registration
259
259
 
260
- **Cause**: Sessions were registered under a different process tree and stale cleanup removed them
260
+ **Cause**: Sessions were registered under a different process tree and stale cleanup removed them
261
261
 
262
- **Solution**: Re-register with `@acp.init` or manually via `./agent/scripts/acp.sessions.sh register --project <name> --pid <pid>`
262
+ **Solution**: Re-register with `@acp.init` or manually via `./agent/scripts/acp.sessions.sh register --project <name> --pid <pid>`
263
263
 
264
264
  ---
265
265
 
@@ -291,11 +291,11 @@ See output formats in Step 4 above.
291
291
 
292
292
  ---
293
293
 
294
- **Namespace**: acp
295
- **Command**: sessions
296
- **Version**: 1.0.0
297
- **Created**: 2026-03-01
298
- **Last Updated**: 2026-03-01
299
- **Status**: Active
300
- **Compatibility**: ACP 5.9.1+
301
- **Author**: ACP Project
294
+ **Namespace**: acp
295
+ **Command**: sessions
296
+ **Version**: 1.0.0
297
+ **Created**: 2026-03-01
298
+ **Last Updated**: 2026-03-01
299
+ **Status**: Active
300
+ **Compatibility**: ACP 5.9.1+
301
+ **Author**: ACP Project