@prmichaelsen/remember-mcp 4.0.2 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/AGENT.md +1 -1
  2. package/CHANGELOG.md +12 -0
  3. package/agent/commands/acp.artifact-glossary.md +22 -0
  4. package/agent/commands/acp.artifact-reference.md +21 -0
  5. package/agent/commands/acp.artifact-research.md +20 -0
  6. package/agent/commands/acp.audit.md +19 -0
  7. package/agent/commands/acp.clarification-address.md +20 -0
  8. package/agent/commands/acp.clarification-capture.md +9 -0
  9. package/agent/commands/acp.clarification-create.md +20 -0
  10. package/agent/commands/acp.command-create.md +20 -0
  11. package/agent/commands/acp.design-create.md +20 -0
  12. package/agent/commands/acp.design-reference.md +9 -0
  13. package/agent/commands/acp.handoff.md +17 -0
  14. package/agent/commands/acp.index.md +23 -0
  15. package/agent/commands/acp.init.md +25 -2
  16. package/agent/commands/acp.package-create.md +14 -0
  17. package/agent/commands/acp.package-info.md +17 -0
  18. package/agent/commands/acp.package-install.md +20 -0
  19. package/agent/commands/acp.package-list.md +20 -0
  20. package/agent/commands/acp.package-publish.md +13 -0
  21. package/agent/commands/acp.package-remove.md +18 -0
  22. package/agent/commands/acp.package-search.md +19 -0
  23. package/agent/commands/acp.package-update.md +21 -0
  24. package/agent/commands/acp.package-validate.md +14 -0
  25. package/agent/commands/acp.pattern-create.md +20 -0
  26. package/agent/commands/acp.plan.md +42 -13
  27. package/agent/commands/acp.proceed.md +55 -21
  28. package/agent/commands/acp.project-create.md +13 -0
  29. package/agent/commands/acp.project-info.md +17 -0
  30. package/agent/commands/acp.project-list.md +19 -0
  31. package/agent/commands/acp.project-remove.md +18 -0
  32. package/agent/commands/acp.project-set.md +16 -0
  33. package/agent/commands/acp.project-update.md +22 -0
  34. package/agent/commands/acp.projects-restore.md +18 -0
  35. package/agent/commands/acp.projects-sync.md +14 -0
  36. package/agent/commands/acp.report.md +15 -0
  37. package/agent/commands/acp.resume.md +15 -0
  38. package/agent/commands/acp.sessions.md +21 -0
  39. package/agent/commands/acp.status.md +15 -0
  40. package/agent/commands/acp.sync.md +15 -0
  41. package/agent/commands/acp.task-create.md +21 -0
  42. package/agent/commands/acp.update.md +15 -0
  43. package/agent/commands/acp.validate.md +25 -2
  44. package/agent/commands/acp.version-check-for-updates.md +13 -0
  45. package/agent/commands/acp.version-check.md +13 -0
  46. package/agent/commands/acp.version-update.md +14 -0
  47. package/agent/commands/command.template.md +33 -0
  48. package/agent/commands/git.commit.md +14 -0
  49. package/agent/commands/git.init.md +13 -0
  50. package/agent/manifest.yaml +3 -3
  51. package/agent/milestones/milestone-24-mcp-elicitation-confirmation.md +99 -0
  52. package/agent/progress.yaml +1406 -1327
  53. package/agent/tasks/milestone-24-mcp-elicitation-confirmation/task-530-create-elicitation-helper.md +78 -0
  54. package/agent/tasks/milestone-24-mcp-elicitation-confirmation/task-531-update-handler-signatures.md +62 -0
  55. package/agent/tasks/milestone-24-mcp-elicitation-confirmation/task-532-implement-elicitation-in-tools.md +113 -0
  56. package/agent/tasks/milestone-24-mcp-elicitation-confirmation/task-533-wire-server-instance.md +62 -0
  57. package/agent/tasks/milestone-24-mcp-elicitation-confirmation/task-534-verification-cleanup.md +60 -0
  58. package/dist/server-factory.js +183 -13
  59. package/dist/server.js +183 -13
  60. package/dist/tools/delete-memory.d.ts +2 -1
  61. package/dist/tools/publish.d.ts +2 -1
  62. package/dist/tools/request-set-trust-level.d.ts +2 -1
  63. package/dist/tools/retract.d.ts +2 -1
  64. package/dist/tools/revise.d.ts +2 -1
  65. package/dist/utils/elicitation.d.ts +31 -0
  66. package/package.json +1 -1
  67. package/src/server-factory.ts +5 -5
  68. package/src/server.ts +5 -5
  69. package/src/tools/delete-memory.ts +51 -3
  70. package/src/tools/publish.ts +37 -1
  71. package/src/tools/request-set-trust-level.ts +35 -4
  72. package/src/tools/retract.ts +37 -1
  73. package/src/tools/revise.ts +39 -1
  74. package/src/utils/elicitation.ts +53 -0
@@ -75,7 +75,33 @@ This command helps agents systematically plan project milestones and tasks. It s
75
75
 
76
76
  ## Steps
77
77
 
78
- ### 0. Read Contextual Key Files
78
+ ### 0. Display Command Header
79
+
80
+ When invoked, immediately display a brief informational header before proceeding.
81
+
82
+ **Display format**:
83
+ ```
84
+ ⚡ @acp.plan
85
+ Plan milestones OR tasks for undefined items or new requirements
86
+
87
+ Usage:
88
+ @acp.plan Scan and plan undefined items interactively
89
+ @acp.plan --batch Plan all undefined items without prompting
90
+ @acp.plan --milestone <id> Plan specific milestone
91
+ @acp.plan --task <id> Plan specific task
92
+ @acp.plan --draft <path> Use specific draft file
93
+ @acp.plan --no-commit Skip automatic commit after planning
94
+
95
+ Related:
96
+ @acp.task-create Create individual task documents
97
+ @acp.design-create Create design documents
98
+ @acp.proceed Start implementing planned tasks
99
+ @acp.status Check current project status
100
+ ```
101
+
102
+ **Expected Outcome**: User sees at a glance what the command does, how to customize it, and what else is available
103
+
104
+ ### 1. Read Contextual Key Files
79
105
 
80
106
  Before planning, load relevant key files from the index.
81
107
 
@@ -90,16 +116,19 @@ Before planning, load relevant key files from the index.
90
116
 
91
117
  **Display format**:
92
118
  ```
93
- 📑 Reading Key Files (acp.plan)...
119
+ 📑 Reading Key Files & Context (acp.plan)...
94
120
  ✓ agent/design/acp-commands-design.md (weight: 0.9, design)
95
121
  ✓ agent/design/local.key-file-index-system.md (weight: 0.7, design)
122
+ 📝 "Migration files MUST be numbered sequentia..." (weight: 1.0, note)
96
123
 
97
- 2 key files read for acp.plan context
124
+ 2 files read, 1 inline entry loaded
98
125
  ```
99
126
 
127
+ **Inline entries** (`path: null`): Display truncated description in quotes. Use 📝 for `kind: note`, ⚡ for `kind: directive`.
128
+
100
129
  **Note**: If `agent/index/` does not exist, skip silently.
101
130
 
102
- ### 1. Scan for Undefined Planning Items
131
+ ### 2. Scan for Undefined Planning Items
103
132
 
104
133
  Automatically scan progress.yaml for items needing planning:
105
134
 
@@ -115,7 +144,7 @@ Automatically scan progress.yaml for items needing planning:
115
144
 
116
145
  **Expected Outcome**: List of undefined items identified
117
146
 
118
- ### 2. Present Planning Options
147
+ ### 3. Present Planning Options
119
148
 
120
149
  Show user what can be planned and offer choices:
121
150
 
@@ -156,7 +185,7 @@ What would you like to do?
156
185
 
157
186
  **Expected Outcome**: User selects planning path
158
187
 
159
- ### 3. Gather Requirements
188
+ ### 4. Gather Requirements
160
189
 
161
190
  Based on user selection, gather requirements:
162
191
 
@@ -218,7 +247,7 @@ Based on user selection, gather requirements:
218
247
 
219
248
  **Expected Outcome**: Requirements gathered and clarified
220
249
 
221
- ### 4. Determine Planning Scope
250
+ ### 5. Determine Planning Scope
222
251
 
223
252
  Decide what to create based on requirements:
224
253
 
@@ -231,7 +260,7 @@ Decide what to create based on requirements:
231
260
 
232
261
  **Expected Outcome**: Planning scope agreed upon
233
262
 
234
- ### 5. Create Milestone Documents
263
+ ### 6. Create Milestone Documents
235
264
 
236
265
  For each milestone to plan:
237
266
 
@@ -249,7 +278,7 @@ For each milestone to plan:
249
278
 
250
279
  **Expected Outcome**: Milestone document(s) created
251
280
 
252
- ### 6. Create Task Documents
281
+ ### 7. Create Task Documents
253
282
 
254
283
  For each task in milestone:
255
284
 
@@ -270,7 +299,7 @@ For each task in milestone:
270
299
 
271
300
  **Expected Outcome**: Task documents created and organized by milestone
272
301
 
273
- ### 7. Update progress.yaml
302
+ ### 8. Update progress.yaml
274
303
 
275
304
  Update progress tracking with new planning items:
276
305
 
@@ -286,7 +315,7 @@ Update progress tracking with new planning items:
286
315
 
287
316
  **Expected Outcome**: progress.yaml fully updated
288
317
 
289
- ### 8. Generate Planning Report
318
+ ### 9. Generate Planning Report
290
319
 
291
320
  Create visual summary of what was planned:
292
321
 
@@ -334,7 +363,7 @@ Next Steps:
334
363
 
335
364
  **Expected Outcome**: User understands what was created
336
365
 
337
- ### 9. Commit Planning Artifacts (MANDATORY unless `--no-commit`)
366
+ ### 10. Commit Planning Artifacts (MANDATORY unless `--no-commit`)
338
367
 
339
368
  > **⚠️ CRITICAL**: This step is NOT optional unless `--no-commit` was specified. You MUST commit planning artifacts before proceeding to Step 10. Do NOT skip this step. Do NOT ask the user whether to commit. Do NOT defer the commit to a later time. Planning is not complete until artifacts are committed. If `--no-commit` was passed, skip this step silently.
340
369
 
@@ -353,7 +382,7 @@ Commit all created planning documents and progress.yaml updates.
353
382
 
354
383
  **Expected Outcome**: All planning artifacts committed to version control. `git status` shows clean working tree for planned files.
355
384
 
356
- ### 10. Offer Next Actions
385
+ ### 11. Offer Next Actions
357
386
 
358
387
  Prompt user for next action:
359
388
 
@@ -16,8 +16,9 @@
16
16
  > - Follow **Autonomous Mode** section.
17
17
  > - If `--yes`, `--turbo`, or `--yolo` is present, skip the confirmation prompt (A2).
18
18
  > - If `--this` is present (or implied by `--turbo`/`--yolo`), use the task from chat context rather than scanning progress.yaml.
19
- > - If `--parallel` is present (or implied by `--turbo`/`--yolo`), spin up sub-agents on separate worktrees.
20
- > - If `--noworktreemerge` / `--holdmerge` / `--safemerge` / `--safe` is present, do NOT auto-merge worktrees; prompt user before each merge (see A10).
19
+ > - If `--parallel` is present, spin up sub-agents to work on tasks concurrently.
20
+ > - If `--worktrees` is present (with `--parallel`), use separate git worktrees for sub-agents. Default is **no worktrees**.
21
+ > - If `--noworktreemerge` / `--holdmerge` / `--safemerge` / `--safe` is present, do NOT auto-merge worktrees; prompt user before each merge (see A10). Only relevant with `--worktrees`.
21
22
  > - Do NOT start implementing individual tasks until confirmation is received (unless `--yes`).
22
23
  >
23
24
  > **If `--dry-run` detected:**
@@ -79,10 +80,12 @@ This command supports both CLI-style flags and natural language arguments.
79
80
 
80
81
  | Flag | Description |
81
82
  |------|-------------|
82
- | `--parallel` | Spin up sub-agents on separate git worktrees to work on tasks concurrently |
83
+ | `--parallel` | Spin up sub-agents to work on tasks concurrently (does **not** imply worktrees — see `--worktrees`) |
84
+ | `--worktrees` | Use separate git worktrees for parallel sub-agents. Only meaningful with `--parallel`. Default: **off** |
85
+ | `--noworktrees` | Explicitly disable worktrees (this is the default — provided for clarity) |
83
86
  | `--yes` | Skip the confirmation prompt (A2) and begin execution immediately |
84
87
  | `--dry-run` | Preview what tasks would be completed without executing |
85
- | `--noworktreemerge` | Do not auto-merge worktrees when sub-agents complete; prompt for permission before each merge (see A10) |
88
+ | `--noworktreemerge` | Do not auto-merge worktrees when sub-agents complete; prompt for permission before each merge (see A10). Only meaningful with `--worktrees` |
86
89
 
87
90
  #### `--noworktreemerge` Aliases (all equivalent)
88
91
 
@@ -97,10 +100,10 @@ This command supports both CLI-style flags and natural language arguments.
97
100
 
98
101
  | Flag | Description |
99
102
  |------|-------------|
100
- | `--turbo` | Shorthand for `--auto --this --parallel --yes` |
103
+ | `--turbo` | Shorthand for `--auto --this --yes` |
101
104
  | `--yolo` | Same as `--turbo` |
102
105
 
103
- **`--turbo` / `--yolo` expand to**: autonomous mode, targeting the current/contextual task, parallel worktree sub-agents, no confirmation prompt.
106
+ **`--turbo` / `--yolo` expand to**: autonomous mode, targeting the current/contextual task, no confirmation prompt. Does **not** imply `--parallel` or worktrees — add `--worktrees` explicitly if you want parallel worktree sub-agents.
104
107
 
105
108
  ### Natural Language (Fuzzy Matching)
106
109
 
@@ -115,16 +118,18 @@ The agent should detect autonomous intent from natural language following `@acp.
115
118
  | `@acp.proceed complete the milestone` | Autonomous |
116
119
  | `@acp.proceed complete all tasks` | Autonomous |
117
120
  | `@acp.proceed --dry-run` | Dry-Run |
118
- | `@acp.proceed --turbo` | Autonomous (parallel, no confirm, contextual task) |
121
+ | `@acp.proceed --turbo` | Autonomous (no confirm, contextual task) |
119
122
  | `@acp.proceed --yolo` | Same as `--turbo` |
120
- | `@acp.proceed --yolo --safe` | Autonomous parallel, but prompt before each worktree merge |
121
- | `@acp.proceed --yolo hold merge` | Same as `--yolo --safe` (NLP) |
122
- | `@acp.proceed --yolo wait before merging` | Same as `--yolo --safe` (NLP) |
123
+ | `@acp.proceed --yolo --worktrees` | Autonomous with parallel worktree sub-agents |
124
+ | `@acp.proceed --yolo --worktrees --safe` | Autonomous parallel worktrees, prompt before each merge |
125
+ | `@acp.proceed --yolo hold merge` | Same as `--yolo --worktrees --safe` (NLP) |
126
+ | `@acp.proceed --yolo wait before merging` | Same as `--yolo --worktrees --safe` (NLP) |
123
127
  | `@acp.proceed` | Single-Task (default) |
124
128
 
125
129
  **Matching rules**:
126
130
  - Look for keywords: `complete`, `finish`, `auto`, `autonomous`, `all tasks`, `everything`, `milestone`, `turbo`, `yolo`
127
- - Look for `--noworktreemerge` keywords: `safe`, `hold merge`, `wait before merging`, `pause before merge`, `defer merge`, `don't auto-merge`, `gate merge`, `prompt before merge`, `no auto merge`
131
+ - Look for `--worktrees` keywords: `worktree`, `worktrees`, `use worktrees`, `with worktrees`
132
+ - Look for `--noworktreemerge` keywords: `safe`, `hold merge`, `wait before merging`, `pause before merge`, `defer merge`, `don't auto-merge`, `gate merge`, `prompt before merge`, `no auto merge` — these **imply `--worktrees`** (you can't gate merges without worktrees)
128
133
  - Be generous with matching — if the user's intent is clearly "do everything", enter autonomous mode
129
134
  - When in doubt, **always show the confirmation prompt** before starting autonomous execution
130
135
  - Never enter autonomous mode silently — the confirmation gate is mandatory
@@ -135,11 +140,13 @@ The agent should detect autonomous intent from natural language following `@acp.
135
140
  |-------------|----------|
136
141
  | `--complete` | Autonomous completion with per-task commits |
137
142
  | `--complete --yes` | Autonomous completion, skip confirmation prompt |
138
- | `--complete --parallel` | Autonomous completion with parallel worktree sub-agents |
143
+ | `--complete --parallel` | Autonomous completion with parallel sub-agents (no worktrees unless `--worktrees`) |
144
+ | `--complete --parallel --worktrees` | Autonomous completion with parallel worktree sub-agents |
139
145
  | `--complete --this` | Autonomous completion starting from contextual task |
140
- | `--turbo` / `--yolo` | `--auto --this --parallel --yes` (full autonomous, no confirm, parallel, contextual) |
141
- | `--yolo --safe` | Full autonomous parallel, but prompt user before each worktree merge |
142
- | `--complete --parallel --safe` | Autonomous parallel with merge gating |
146
+ | `--turbo` / `--yolo` | `--auto --this --yes` (full autonomous, no confirm, contextual) |
147
+ | `--yolo --parallel --worktrees` | Full autonomous parallel with worktree sub-agents |
148
+ | `--yolo --worktrees --safe` | Autonomous parallel worktrees, but prompt user before each merge |
149
+ | `--complete --parallel --worktrees --safe` | Autonomous parallel worktrees with merge gating |
143
150
  | `--complete --dry-run` | Preview task list, no execution |
144
151
  | `--dry-run` (alone) | Preview next task only |
145
152
  | `--commit` (alone) | Single-task mode, commit after completion |
@@ -197,6 +204,27 @@ When you invoke `@acp.proceed --complete` (or equivalent):
197
204
 
198
205
  ### 🚨 CRITICAL: These are IMPLEMENTATION steps, not planning steps
199
206
 
207
+ ### 0. Display Command Header
208
+
209
+ Display the following informational header, then continue immediately:
210
+
211
+ ```
212
+ ⚡ @acp.proceed
213
+ Implement tasks — single-task (default) or autonomous milestone completion (with arguments)
214
+
215
+ Usage:
216
+ @acp.proceed Implement next task (single-task)
217
+ @acp.proceed --complete Complete all remaining tasks
218
+ @acp.proceed --turbo Autonomous, no confirm, contextual
219
+ @acp.proceed --parallel --worktrees Parallel sub-agents with worktrees
220
+ @acp.proceed --dry-run Preview what would be done
221
+
222
+ Related:
223
+ @acp.init Load full project context first
224
+ @acp.status Check which task is current
225
+ @git.commit Git commit (used per-task in autonomous)
226
+ ```
227
+
200
228
  ### 1. Identify Current Task (30 seconds max)
201
229
 
202
230
  **Actions**:
@@ -229,13 +257,17 @@ Before implementing, load relevant key files from the index.
229
257
 
230
258
  **Display format**:
231
259
  ```
232
- 📑 Reading Key Files (acp.proceed)...
260
+ 📑 Reading Key Files & Context (acp.proceed)...
233
261
  ✓ agent/patterns/local.e2e-testing.md (weight: 0.8, pattern)
234
262
  ✓ agent/patterns/local.tracked-untracked-directories.md (weight: 0.7, pattern)
263
+ 📝 "Migration files MUST be numbered sequentia..." (weight: 1.0, note)
264
+ ⚡ "Never modify files in src/legacy/ without..." (weight: 0.9, directive)
235
265
 
236
- 2 key files read for acp.proceed context
266
+ 2 files read, 2 inline entries loaded
237
267
  ```
238
268
 
269
+ **Inline entries** (`path: null`): Display truncated description in quotes. Use 📝 for `kind: note`, ⚡ for `kind: directive`.
270
+
239
271
  **Note**: If `agent/index/` does not exist, skip silently. Do NOT spend excessive time here — read files quickly and move to implementation.
240
272
 
241
273
  ### 1.7. Load Design Context
@@ -678,7 +710,7 @@ If the user sends a message during autonomous execution:
678
710
 
679
711
  When `--noworktreemerge` (or any alias: `--holdmerge`, `--safemerge`, `--safe`) is active, the agent **does NOT auto-merge worktrees** when sub-agents complete. Instead, it queues completed worktrees and prompts the user before each merge.
680
712
 
681
- **Why this exists**: When multiple Claude CLI instances run `--yolo` in parallel across overlapping feature areas, concurrent worktree merges create destructive conflicts. Git worktree merges involve intensive, relatively destructive commands — two inflight merges will constantly collide, produce spurious merge conflicts, and leave each agent seeing state that is inconsistent with its context. `--safe` ensures only one merge happens at a time, controlled by the user.
713
+ **Why this exists**: When multiple Claude CLI instances run `--yolo --worktrees` in parallel across overlapping feature areas, concurrent worktree merges create destructive conflicts. Git worktree merges involve intensive, relatively destructive commands — two inflight merges will constantly collide, produce spurious merge conflicts, and leave each agent seeing state that is inconsistent with its context. `--safe` ensures only one merge happens at a time, controlled by the user.
682
714
 
683
715
  **Behavior**:
684
716
 
@@ -707,7 +739,9 @@ When `--noworktreemerge` (or any alias: `--holdmerge`, `--safemerge`, `--safe`)
707
739
  5. **On "merge all"**: Merge all `merge-ready` worktrees sequentially (one at a time, in completion order)
708
740
  6. **On "skip"**: Leave the worktree unmerged; user can merge manually or later
709
741
 
710
- **Without `--safe`** (default `--parallel` behavior): worktrees auto-merge as soon as each sub-agent completes. This is fine when only one agent is running, but risky with concurrent agents.
742
+ **Without `--safe`** (default `--parallel --worktrees` behavior): worktrees auto-merge as soon as each sub-agent completes. This is fine when only one agent is running, but risky with concurrent agents.
743
+
744
+ **Without `--worktrees`** (default): `--parallel` runs sub-agents in the same working directory without worktrees. This is simpler and avoids merge complexity, but sub-agents may conflict with each other on file writes.
711
745
 
712
746
  **`--safe` does NOT change**:
713
747
  - How sub-agents are spawned or how they work
@@ -889,11 +923,11 @@ Estimated: 3 hours
889
923
 
890
924
  **Result**: Implements next task, runs `@git.commit` after completion
891
925
 
892
- ### Example 7: Yolo with Safe Merge (Multiple Agents)
926
+ ### Example 7: Yolo with Worktrees and Safe Merge (Multiple Agents)
893
927
 
894
928
  **Context**: You have 3 Claude CLI instances working on different milestones. You want parallel worktree execution but need to control when merges happen to avoid collisions.
895
929
 
896
- **Invocation**: `@acp.proceed --yolo --safe`
930
+ **Invocation**: `@acp.proceed --yolo --worktrees --safe`
897
931
 
898
932
  **Result**: Sub-agents spin up on worktrees and work in parallel. When each finishes, instead of auto-merging, the agent notifies you and waits. You reply "merge" when no other agent is mid-merge, ensuring clean sequential merges.
899
933
 
@@ -60,6 +60,19 @@ This command creates a new **generic ACP project** (not a package) with full ACP
60
60
 
61
61
  ## Steps
62
62
 
63
+ ### 0. Display Command Header
64
+
65
+ ```
66
+ ⚡ @acp.project-create
67
+ Create a new generic ACP project with full installation and guided setup
68
+
69
+ Related:
70
+ @acp.package-create Create distributable ACP packages
71
+ @acp.init Initialize context in created project
72
+ @acp.plan Plan milestones and tasks
73
+ @acp.projects-restore Restore projects from git origins
74
+ ```
75
+
63
76
  ### 1. Collect Project Information
64
77
 
65
78
  Gather project metadata via chat:
@@ -36,6 +36,23 @@ Unlike [`@acp.project-list`](acp.project-list.md:1) which shows all projects in
36
36
 
37
37
  ## Steps
38
38
 
39
+ ### 0. Display Command Header
40
+
41
+ ```
42
+ ⚡ @acp.project-info
43
+ Display detailed information about a specific project
44
+
45
+ Usage:
46
+ @acp.project-info <project-name> Show project details
47
+
48
+ Related:
49
+ @acp.project-list List all projects in registry
50
+ @acp.project-set Switch to a project
51
+ @acp.project-update Update project metadata
52
+ @acp.projects-sync Sync registry with filesystem
53
+ @acp.projects-restore Restore projects from git origins
54
+ ```
55
+
39
56
  ### 1. Validate Arguments
40
57
 
41
58
  Check that project name is provided.
@@ -36,6 +36,25 @@ Lists all projects registered in `~/.acp/projects.yaml` with their metadata. Sho
36
36
 
37
37
  ## Steps
38
38
 
39
+ ### 0. Display Command Header
40
+
41
+ ```
42
+ ⚡ @acp.project-list
43
+ List all projects registered in global workspace
44
+
45
+ Usage:
46
+ @acp.project-list List all projects
47
+ @acp.project-list --type <type> Filter by project type
48
+ @acp.project-list --status <status> Filter by status
49
+
50
+ Related:
51
+ @acp.project-create Create new project
52
+ @acp.project-set Switch to project
53
+ @acp.projects-sync Discover unregistered projects
54
+ @acp.project-info Show project details
55
+ @acp.projects-restore Restore projects from git origins
56
+ ```
57
+
39
58
  ### 1. Run Shell Script
40
59
 
41
60
  Execute the project list script with optional filters.
@@ -45,6 +45,24 @@ The command includes safety features:
45
45
 
46
46
  ## Steps
47
47
 
48
+ ### 0. Display Command Header
49
+
50
+ ```
51
+ ⚡ @acp.project-remove
52
+ Remove a project from the global registry with optional directory deletion
53
+
54
+ Usage:
55
+ @acp.project-remove <name> Remove from registry only
56
+ @acp.project-remove <name> --delete-files Also delete project directory
57
+ @acp.project-remove <name> -y Skip confirmation prompts
58
+
59
+ Related:
60
+ @acp.project-list List all projects
61
+ @acp.project-set Switch to another project
62
+ @acp.project-info Show project details
63
+ @acp.project-update Update project metadata
64
+ ```
65
+
48
66
  ### 1. Run Shell Script
49
67
 
50
68
  Execute the project-remove script with the project name and options.
@@ -44,6 +44,22 @@ After running this command, all subsequent file operations will be relative to t
44
44
 
45
45
  ## Steps
46
46
 
47
+ ### 0. Display Command Header
48
+
49
+ ```
50
+ ⚡ @acp.project-set
51
+ Switch to a different project in the global registry
52
+
53
+ Usage:
54
+ @acp.project-set <project-name> Switch to project
55
+
56
+ Related:
57
+ @acp.project-list List all projects
58
+ @acp.project-info Show project details
59
+ @acp.project-create Create new project
60
+ @acp.init Load project context
61
+ ```
62
+
47
63
  ### 1. Run Shell Script
48
64
 
49
65
  Execute the project-set script with the project name.
@@ -36,6 +36,28 @@ Unlike [`@acp.project-info`](acp.project-info.md:1) which displays information,
36
36
 
37
37
  ## Steps
38
38
 
39
+ ### 0. Display Command Header
40
+
41
+ ```
42
+ ⚡ @acp.project-update
43
+ Update project metadata in the global registry
44
+
45
+ Usage:
46
+ @acp.project-update <name> --status <status> Update project status
47
+ @acp.project-update <name> --description "..." Update description
48
+ @acp.project-update <name> --add-tag <tag> Add a tag
49
+ @acp.project-update <name> --remove-tag <tag> Remove a tag
50
+ @acp.project-update <name> --git-origin <url> Set git origin URL
51
+ @acp.project-update <name> --add-related <name> Link related project
52
+
53
+ Related:
54
+ @acp.project-info View project details before updating
55
+ @acp.project-list List all projects
56
+ @acp.project-set Switch to a project
57
+ @acp.projects-sync Sync registry with filesystem
58
+ @acp.projects-restore Restore projects from git origins
59
+ ```
60
+
39
61
  ### 1. Parse Arguments
40
62
 
41
63
  Extract project name and update options.
@@ -42,6 +42,24 @@ This command reads `~/.acp/projects.yaml` and clones any missing project directo
42
42
 
43
43
  ## Steps
44
44
 
45
+ ### 0. Display Command Header
46
+
47
+ ```
48
+ ⚡ @acp.projects-restore
49
+ Restore/clone missing projects from their registered git origins
50
+
51
+ Usage:
52
+ @acp.projects-restore Restore all missing projects
53
+ @acp.projects-restore --dry-run Preview what would be cloned
54
+ @acp.projects-restore --install-acp Restore and install ACP
55
+
56
+ Related:
57
+ @acp.projects-sync Discover and register unregistered projects
58
+ @acp.project-list List all registered projects
59
+ @acp.project-info View project details including git info
60
+ @acp.project-update Manually set git_origin/git_branch
61
+ ```
62
+
45
63
  ### 1. Execute Restore Script
46
64
 
47
65
  Run the shell script to restore missing projects.
@@ -43,6 +43,20 @@ This command scans the `~/.acp/projects/` directory for ACP projects (directorie
43
43
 
44
44
  ## Steps
45
45
 
46
+ ### 0. Display Command Header
47
+
48
+ ```
49
+ ⚡ @acp.projects-sync
50
+ Discover unregistered ACP projects and add them to the registry
51
+
52
+ Related:
53
+ @acp.project-list List all registered projects
54
+ @acp.project-info View project details
55
+ @acp.project-set Switch to a project
56
+ @acp.project-create Create new project (auto-registers)
57
+ @acp.projects-restore Restore projects from git origins
58
+ ```
59
+
46
60
  ### 1. Execute Sync Script
47
61
 
48
62
  Run the shell script to scan for unregistered projects.
@@ -39,6 +39,21 @@ Unlike `@acp.status` which provides a quick console summary, `@acp.report` gener
39
39
 
40
40
  ## Steps
41
41
 
42
+ ### 0. Display Command Header
43
+
44
+ ```
45
+ ⚡ @acp.report
46
+ Generate a comprehensive project status report including progress, accomplishments, and next steps
47
+
48
+ Related:
49
+ @acp.status Quick console status (not a full report)
50
+ @acp.update Update progress before generating report
51
+ @acp.validate Validate documentation before reporting
52
+ @acp.sync Sync docs before generating report
53
+ ```
54
+
55
+ This step is informational only — do not wait for user input.
56
+
42
57
  ### 1. Read Project Information
43
58
 
44
59
  Load basic project details from progress.yaml.
@@ -41,6 +41,21 @@ This command is a convenient alias that combines three essential workflow comman
41
41
 
42
42
  ## Steps
43
43
 
44
+ ### 0. Display Command Header
45
+
46
+ ```
47
+ ⚡ @acp.resume
48
+ Resume work by initializing context, reviewing progress, and continuing next task
49
+
50
+ Related:
51
+ @acp.init Initialize context only
52
+ @acp.proceed Proceed with task only
53
+ @acp.status Check status without proceeding
54
+ @acp.report Generate session report
55
+ ```
56
+
57
+ This step is informational only — do not wait for user input.
58
+
44
59
  ### 1. Initialize Agent Context
45
60
 
46
61
  Run the initialization workflow to load complete project context.
@@ -73,6 +73,27 @@ Use this command when you want to see what other agents are working on, check if
73
73
 
74
74
  ## Steps
75
75
 
76
+ ### 0. Display Command Header
77
+
78
+ Display the following informational header, then continue immediately:
79
+
80
+ ```
81
+ ⚡ @acp.sessions
82
+ Manage and view active agent sessions across projects
83
+
84
+ Usage:
85
+ @acp.sessions List all active sessions
86
+ @acp.sessions clean Remove stale sessions
87
+ @acp.sessions deregister End current session
88
+ @acp.sessions count Output active session count
89
+ @acp.sessions --project <name> Filter by project name
90
+
91
+ Related:
92
+ @acp.init Registers session at start
93
+ @acp.status Shows session count in status
94
+ @acp.report Deregisters session at end
95
+ ```
96
+
76
97
  ### 1. Parse Arguments
77
98
 
78
99
  Determine the requested action from CLI flags or natural language.
@@ -36,6 +36,21 @@ Unlike `@acp-init` which performs a full context load and updates documentation,
36
36
 
37
37
  ## Steps
38
38
 
39
+ ### 0. Display Command Header
40
+
41
+ ```
42
+ ⚡ @acp.status
43
+ Display current project status including milestone progress, current task, recent work, and next steps
44
+
45
+ Related:
46
+ @acp.init Full context initialization at session start
47
+ @acp.proceed Continue with current task
48
+ @acp.update Update progress.yaml after completing work
49
+ @acp.sync Sync documentation with code changes
50
+ ```
51
+
52
+ This step is informational only — do not wait for user input.
53
+
39
54
  ### 1. Read Progress Tracking
40
55
 
41
56
  Read the `agent/progress.yaml` file to get current project state.
@@ -39,6 +39,21 @@ Unlike `@acp.update` which updates progress tracking, `@acp.sync` focuses on kee
39
39
 
40
40
  ## Steps
41
41
 
42
+ ### 0. Display Command Header
43
+
44
+ ```
45
+ ⚡ @acp.sync
46
+ Synchronize documentation with source code by identifying and updating stale documentation
47
+
48
+ Related:
49
+ @acp.update Update progress tracking (not documentation)
50
+ @acp.validate Validate documentation structure and consistency
51
+ @acp.init Includes sync as part of initialization
52
+ @acp.report Generate report including documentation status
53
+ ```
54
+
55
+ This step is informational only — do not wait for user input.
56
+
42
57
  ### 1. Read Design Documents
43
58
 
44
59
  Load all design documents to understand documented architecture.
@@ -65,6 +65,27 @@ This command creates a new task file with proper structure, milestone linking, a
65
65
 
66
66
  ## Steps
67
67
 
68
+ ### 0. Display Command Header
69
+
70
+ ```
71
+ ⚡ @acp.task-create
72
+ Create task files with proper structure, milestone linking, and automatic progress.yaml updates
73
+
74
+ Usage:
75
+ @acp.task-create Guided task creation
76
+ @acp.task-create @my-draft.md Create from draft file
77
+ @acp.task-create --from-clar <file> Capture from specific clarification
78
+ @acp.task-create --from-context Capture from all sources
79
+
80
+ Related:
81
+ @acp.pattern-create Create patterns
82
+ @acp.command-create Create commands
83
+ @acp.design-create Create designs
84
+ @acp.proceed Start working on created task
85
+ ```
86
+
87
+ This step is informational only — do not wait for user input.
88
+
68
89
  ### 1. Detect Current Milestone
69
90
 
70
91
  Determine which milestone this task belongs to:
@@ -38,6 +38,21 @@ Unlike `@acp.sync` which updates documentation based on code changes, `@acp.upda
38
38
 
39
39
  ## Steps
40
40
 
41
+ ### 0. Display Command Header
42
+
43
+ ```
44
+ ⚡ @acp.update
45
+ Update progress.yaml with latest project status, task completion, and recent work
46
+
47
+ Related:
48
+ @acp.status View current status before updating
49
+ @acp.proceed Automatically updates progress after tasks
50
+ @acp.sync Update documentation based on code changes
51
+ @acp.report Generate comprehensive progress report
52
+ ```
53
+
54
+ This step is informational only — do not wait for user input.
55
+
41
56
  ### 1. Read Current Progress
42
57
 
43
58
  Read `agent/progress.yaml` to understand current state.