@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.
- package/AGENT.md +10 -3
- package/CHANGELOG.md +19 -0
- package/README.md +1 -1
- package/agent/commands/acp.artifact-glossary.md +530 -0
- package/agent/commands/acp.artifact-reference.md +591 -0
- package/agent/commands/acp.artifact-research.md +594 -0
- package/agent/commands/acp.audit.md +345 -0
- package/agent/commands/acp.clarification-address.md +185 -88
- package/agent/commands/acp.clarification-capture.md +44 -44
- package/agent/commands/acp.clarification-create.md +41 -42
- package/agent/commands/acp.command-create.md +49 -49
- package/agent/commands/acp.design-create.md +53 -35
- package/agent/commands/acp.design-reference.md +42 -42
- package/agent/commands/acp.handoff.md +35 -35
- package/agent/commands/acp.index.md +47 -47
- package/agent/commands/acp.init.md +105 -69
- package/agent/commands/acp.package-create.md +41 -41
- package/agent/commands/acp.package-info.md +40 -40
- package/agent/commands/acp.package-install.md +48 -48
- package/agent/commands/acp.package-list.md +40 -40
- package/agent/commands/acp.package-publish.md +62 -62
- package/agent/commands/acp.package-remove.md +41 -41
- package/agent/commands/acp.package-search.md +48 -48
- package/agent/commands/acp.package-update.md +50 -50
- package/agent/commands/acp.package-validate.md +52 -52
- package/agent/commands/acp.pattern-create.md +61 -43
- package/agent/commands/acp.plan.md +70 -47
- package/agent/commands/acp.proceed.md +188 -66
- package/agent/commands/acp.project-create.md +42 -42
- package/agent/commands/acp.project-info.md +46 -46
- package/agent/commands/acp.project-list.md +41 -41
- package/agent/commands/acp.project-remove.md +36 -36
- package/agent/commands/acp.project-set.md +33 -33
- package/agent/commands/acp.project-update.md +57 -57
- package/agent/commands/acp.projects-restore.md +37 -37
- package/agent/commands/acp.projects-sync.md +39 -39
- package/agent/commands/acp.report.md +50 -50
- package/agent/commands/acp.resume.md +36 -36
- package/agent/commands/acp.sessions.md +46 -46
- package/agent/commands/acp.status.md +43 -43
- package/agent/commands/acp.sync.md +109 -56
- package/agent/commands/acp.task-create.md +51 -49
- package/agent/commands/acp.update.md +66 -45
- package/agent/commands/acp.validate.md +110 -52
- package/agent/commands/acp.version-check-for-updates.md +40 -40
- package/agent/commands/acp.version-check.md +36 -36
- package/agent/commands/acp.version-update.md +43 -43
- package/agent/commands/command.template.md +40 -40
- package/agent/commands/git.commit.md +28 -28
- package/agent/commands/git.init.md +48 -48
- package/agent/design/design.template.md +9 -9
- package/agent/design/local.admin-debugging-tools.md +242 -0
- package/agent/design/requirements.template.md +8 -8
- package/agent/index/.gitkeep +0 -0
- package/agent/index/acp.core.yaml +137 -0
- package/agent/index/local.main.template.yaml +37 -0
- package/agent/index/local.main.yaml +48 -0
- package/agent/manifest.yaml +64 -0
- package/agent/milestones/milestone-1-{title}.template.md +8 -8
- package/agent/milestones/milestone-22-admin-debugging-tools.md +61 -0
- package/agent/patterns/pattern.template.md +22 -22
- package/agent/progress.template.yaml +13 -3
- package/agent/progress.yaml +78 -1
- package/agent/schemas/package.schema.yaml +276 -0
- package/agent/scripts/acp.project-update.sh +5 -6
- package/agent/tasks/milestone-22-admin-debugging-tools/task-520-admin-gate-infrastructure.md +99 -0
- package/agent/tasks/milestone-22-admin-debugging-tools/task-521-schema-and-collection-tools.md +108 -0
- package/agent/tasks/milestone-22-admin-debugging-tools/task-522-memory-inspection-tools.md +120 -0
- package/agent/tasks/milestone-22-admin-debugging-tools/task-523-user-inspection-tools.md +126 -0
- package/agent/tasks/milestone-22-admin-debugging-tools/task-524-health-and-drift-tools.md +120 -0
- package/agent/tasks/task-1-{title}.template.md +18 -18
- package/dist/server-factory.js +637 -41
- package/dist/tools/admin-collection-stats.d.ts +24 -0
- package/dist/tools/admin-detect-weaviate-drift.d.ts +26 -0
- package/dist/tools/admin-get-weaviate-schema.d.ts +24 -0
- package/dist/tools/admin-health-drift.spec.d.ts +5 -0
- package/dist/tools/admin-health.d.ts +15 -0
- package/dist/tools/admin-inspect-memory.d.ts +29 -0
- package/dist/tools/admin-inspect-user.d.ts +73 -0
- package/dist/tools/admin-inspect-user.spec.d.ts +5 -0
- package/dist/tools/admin-list-collections.d.ts +23 -0
- package/dist/tools/admin-memory-inspection.spec.d.ts +7 -0
- package/dist/tools/admin-schema-collection.spec.d.ts +8 -0
- package/dist/tools/admin-search-across-users.d.ts +42 -0
- package/dist/utils/admin.d.ts +21 -0
- package/dist/utils/admin.spec.d.ts +2 -0
- package/package.json +2 -2
- package/src/server-factory.ts +131 -42
- package/src/tools/admin-collection-stats.ts +67 -0
- package/src/tools/admin-detect-weaviate-drift.ts +110 -0
- package/src/tools/admin-get-weaviate-schema.ts +68 -0
- package/src/tools/admin-health-drift.spec.ts +193 -0
- package/src/tools/admin-health.ts +88 -0
- package/src/tools/admin-inspect-memory.ts +86 -0
- package/src/tools/admin-inspect-user.spec.ts +130 -0
- package/src/tools/admin-inspect-user.ts +148 -0
- package/src/tools/admin-list-collections.ts +73 -0
- package/src/tools/admin-memory-inspection.spec.ts +206 -0
- package/src/tools/admin-schema-collection.spec.ts +167 -0
- package/src/tools/admin-search-across-users.ts +104 -0
- package/src/utils/admin.spec.ts +70 -0
- package/src/utils/admin.ts +27 -0
|
@@ -12,9 +12,13 @@
|
|
|
12
12
|
> - YOU MUST IMMEDIATELY BEGIN IMPLEMENTING THE CURRENT OR NEXT TASK.
|
|
13
13
|
> - Follow **Steps 1-5** (Single-Task Mode).
|
|
14
14
|
>
|
|
15
|
-
> **If autonomous arguments detected (`--complete`, `--auto`, `--autonomous`, `--finish-milestone`, or natural language like "finish milestone", "just finish everything", "complete all tasks"):**
|
|
15
|
+
> **If autonomous arguments detected (`--complete`, `--auto`, `--autonomous`, `--finish-milestone`, `--turbo`, `--yolo`, or natural language like "finish milestone", "just finish everything", "complete all tasks"):**
|
|
16
16
|
> - Follow **Autonomous Mode** section.
|
|
17
|
-
> -
|
|
17
|
+
> - If `--yes`, `--turbo`, or `--yolo` is present, skip the confirmation prompt (A2).
|
|
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).
|
|
21
|
+
> - Do NOT start implementing individual tasks until confirmation is received (unless `--yes`).
|
|
18
22
|
>
|
|
19
23
|
> **If `--dry-run` detected:**
|
|
20
24
|
> - Follow **Autonomous Mode > Dry-Run** section.
|
|
@@ -27,18 +31,18 @@
|
|
|
27
31
|
>
|
|
28
32
|
> **This is an ACTION command, not a STATUS command.**
|
|
29
33
|
|
|
30
|
-
**Namespace**: acp
|
|
31
|
-
**Version**: 2.0.0
|
|
32
|
-
**Created**: 2026-02-16
|
|
33
|
-
**Last Updated**: 2026-02-28
|
|
34
|
-
**Status**: Active
|
|
35
|
-
**Scripts**: None
|
|
34
|
+
**Namespace**: acp
|
|
35
|
+
**Version**: 2.0.0
|
|
36
|
+
**Created**: 2026-02-16
|
|
37
|
+
**Last Updated**: 2026-02-28
|
|
38
|
+
**Status**: Active
|
|
39
|
+
**Scripts**: None
|
|
36
40
|
|
|
37
41
|
---
|
|
38
42
|
|
|
39
|
-
**Purpose**: Implement tasks — single-task (default) or autonomous milestone completion (with arguments)
|
|
40
|
-
**Category**: Workflow
|
|
41
|
-
**Frequency**: As Needed
|
|
43
|
+
**Purpose**: Implement tasks — single-task (default) or autonomous milestone completion (with arguments)
|
|
44
|
+
**Category**: Workflow
|
|
45
|
+
**Frequency**: As Needed
|
|
42
46
|
|
|
43
47
|
---
|
|
44
48
|
|
|
@@ -63,13 +67,40 @@ This command supports both CLI-style flags and natural language arguments.
|
|
|
63
67
|
| `--commit-each` | Same as `--commit` (explicit name) |
|
|
64
68
|
| `--with-commits` | Same as `--commit` (modifier style) |
|
|
65
69
|
|
|
66
|
-
**Note**: `--complete` implies `--commit`. There is no autonomous completion mode without per-task commits.
|
|
70
|
+
**Note**: `--complete` implies `--commit`. There is no autonomous completion mode without per-task commits.
|
|
67
71
|
|
|
68
|
-
###
|
|
72
|
+
### Targeting Flags
|
|
69
73
|
|
|
70
74
|
| Flag | Description |
|
|
71
75
|
|------|-------------|
|
|
76
|
+
| `--this` | Work on the task already in chat context or implied by the current conversation, rather than scanning progress.yaml for the next task |
|
|
77
|
+
|
|
78
|
+
### Execution Flags
|
|
79
|
+
|
|
80
|
+
| Flag | Description |
|
|
81
|
+
|------|-------------|
|
|
82
|
+
| `--parallel` | Spin up sub-agents on separate git worktrees to work on tasks concurrently |
|
|
83
|
+
| `--yes` | Skip the confirmation prompt (A2) and begin execution immediately |
|
|
72
84
|
| `--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) |
|
|
86
|
+
|
|
87
|
+
#### `--noworktreemerge` Aliases (all equivalent)
|
|
88
|
+
|
|
89
|
+
| Flag | Description |
|
|
90
|
+
|------|-------------|
|
|
91
|
+
| `--noworktreemerge` | Canonical form |
|
|
92
|
+
| `--holdmerge` | Short form — "hold the merge until I say go" |
|
|
93
|
+
| `--safemerge` | Emphasizes safety of sequential merging |
|
|
94
|
+
| `--safe` | Shortest form — not overloaded, well-documented |
|
|
95
|
+
|
|
96
|
+
### Combo Flags
|
|
97
|
+
|
|
98
|
+
| Flag | Description |
|
|
99
|
+
|------|-------------|
|
|
100
|
+
| `--turbo` | Shorthand for `--auto --this --parallel --yes` |
|
|
101
|
+
| `--yolo` | Same as `--turbo` |
|
|
102
|
+
|
|
103
|
+
**`--turbo` / `--yolo` expand to**: autonomous mode, targeting the current/contextual task, parallel worktree sub-agents, no confirmation prompt.
|
|
73
104
|
|
|
74
105
|
### Natural Language (Fuzzy Matching)
|
|
75
106
|
|
|
@@ -84,10 +115,16 @@ The agent should detect autonomous intent from natural language following `@acp.
|
|
|
84
115
|
| `@acp.proceed complete the milestone` | Autonomous |
|
|
85
116
|
| `@acp.proceed complete all tasks` | Autonomous |
|
|
86
117
|
| `@acp.proceed --dry-run` | Dry-Run |
|
|
118
|
+
| `@acp.proceed --turbo` | Autonomous (parallel, no confirm, contextual task) |
|
|
119
|
+
| `@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) |
|
|
87
123
|
| `@acp.proceed` | Single-Task (default) |
|
|
88
124
|
|
|
89
125
|
**Matching rules**:
|
|
90
|
-
- Look for keywords: `complete`, `finish`, `auto`, `autonomous`, `all tasks`, `everything`, `milestone`
|
|
126
|
+
- 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`
|
|
91
128
|
- Be generous with matching — if the user's intent is clearly "do everything", enter autonomous mode
|
|
92
129
|
- When in doubt, **always show the confirmation prompt** before starting autonomous execution
|
|
93
130
|
- Never enter autonomous mode silently — the confirmation gate is mandatory
|
|
@@ -97,6 +134,12 @@ The agent should detect autonomous intent from natural language following `@acp.
|
|
|
97
134
|
| Combination | Behavior |
|
|
98
135
|
|-------------|----------|
|
|
99
136
|
| `--complete` | Autonomous completion with per-task commits |
|
|
137
|
+
| `--complete --yes` | Autonomous completion, skip confirmation prompt |
|
|
138
|
+
| `--complete --parallel` | Autonomous completion with parallel worktree sub-agents |
|
|
139
|
+
| `--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 |
|
|
100
143
|
| `--complete --dry-run` | Preview task list, no execution |
|
|
101
144
|
| `--dry-run` (alone) | Preview next task only |
|
|
102
145
|
| `--commit` (alone) | Single-task mode, commit after completion |
|
|
@@ -161,6 +204,14 @@ When you invoke `@acp.proceed --complete` (or equivalent):
|
|
|
161
204
|
- Find first task with status `in_progress` or `not_started` in the current milestone
|
|
162
205
|
- Read the task document
|
|
163
206
|
|
|
207
|
+
**🚨 MANDATORY STATUS UPDATES (do these NOW, not later):**
|
|
208
|
+
- **Task status**: If task status is `not_started`, set it to `in_progress` in progress.yaml immediately
|
|
209
|
+
- **Task `started`**: If the task's `started` field is `null` or missing, set it to the current ISO 8601 timestamp (e.g., `2026-03-20T10:30:00Z`). Do NOT overwrite an existing `started` value.
|
|
210
|
+
- **Milestone status**: If the milestone's `status` is `not_started`, set it to `in_progress` immediately
|
|
211
|
+
- **Milestone `started`**: If the milestone's `started` field is `null` or missing, set it to today's date (e.g., `2026-03-20`). Do NOT overwrite an existing `started` value.
|
|
212
|
+
|
|
213
|
+
These updates MUST be written to progress.yaml before moving to Step 2. Do not defer them.
|
|
214
|
+
|
|
164
215
|
**DO NOT spend time analyzing or planning. MOVE TO STEP 2 IMMEDIATELY.**
|
|
165
216
|
|
|
166
217
|
### 1.5. Read Contextual Key Files
|
|
@@ -185,7 +236,7 @@ Before implementing, load relevant key files from the index.
|
|
|
185
236
|
2 key files read for acp.proceed context
|
|
186
237
|
```
|
|
187
238
|
|
|
188
|
-
**Note**: If `agent/index/` does not exist, skip silently. Do NOT spend excessive time here — read files quickly and move to implementation.
|
|
239
|
+
**Note**: If `agent/index/` does not exist, skip silently. Do NOT spend excessive time here — read files quickly and move to implementation.
|
|
189
240
|
|
|
190
241
|
### 1.7. Load Design Context
|
|
191
242
|
|
|
@@ -214,7 +265,7 @@ Design Context: No design document found for this task.
|
|
|
214
265
|
Implementing from task file only.
|
|
215
266
|
```
|
|
216
267
|
|
|
217
|
-
**Usage during implementation**: The design context informs implementation decisions when:
|
|
268
|
+
**Usage during implementation**: The design context informs implementation decisions when:
|
|
218
269
|
- The task step is ambiguous about approach
|
|
219
270
|
- An edge case arises not explicitly covered in the task
|
|
220
271
|
- The agent needs to understand "why" a particular approach was chosen
|
|
@@ -285,13 +336,27 @@ Design Context: No design document found for this task.
|
|
|
285
336
|
### 4. Update Progress Tracking
|
|
286
337
|
|
|
287
338
|
**Only after verifying all deliverables**, update `agent/progress.yaml`:
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
-
|
|
291
|
-
-
|
|
339
|
+
|
|
340
|
+
**🚨 MANDATORY TASK UPDATES:**
|
|
341
|
+
- Mark task `status` as `completed` (if done) or leave as `in_progress` (if partial)
|
|
342
|
+
- **Set `completed_date`** to the current ISO 8601 timestamp (e.g., `2026-03-20T14:45:00Z`). This is MANDATORY for completed tasks.
|
|
343
|
+
- **Auto-compute `actual_hours`**: If both `started` and `completed_date` are set, calculate `actual_hours = (completed_date - started)` in hours, rounded to 1 decimal place. If `started` is missing, set `actual_hours` to `null`.
|
|
344
|
+
- Increment `tasks_completed` on the milestone
|
|
345
|
+
|
|
346
|
+
**🚨 MANDATORY MILESTONE UPDATES:**
|
|
347
|
+
- Update milestone `progress` percentage: `(tasks_completed / tasks_total) * 100`
|
|
348
|
+
- **If this was the LAST task in the milestone** (all tasks now completed):
|
|
349
|
+
- Set milestone `status` to `completed`
|
|
350
|
+
- Set milestone `completed` to today's date (e.g., `2026-03-20`)
|
|
351
|
+
- Set milestone `progress` to `100`
|
|
352
|
+
- Update `current_milestone` to the next incomplete milestone (if any)
|
|
353
|
+
|
|
354
|
+
**Additional updates:**
|
|
292
355
|
- Add `recent_work` entry describing what was IMPLEMENTED
|
|
293
356
|
- Update `next_steps`
|
|
294
357
|
|
|
358
|
+
**Do NOT skip timestamp or status updates. Every completed task MUST have a `completed_date`. Every completed milestone MUST have a `completed` date.**
|
|
359
|
+
|
|
295
360
|
### 5. Report What Was IMPLEMENTED (Not What Will Be Done)
|
|
296
361
|
|
|
297
362
|
**Provide a completion report showing**:
|
|
@@ -330,7 +395,7 @@ Design Context: No design document found for this task.
|
|
|
330
395
|
|
|
331
396
|
### A2. Show Confirmation Prompt
|
|
332
397
|
|
|
333
|
-
**🚨 MANDATORY**: Always show this confirmation before starting autonomous execution. Never skip this step.
|
|
398
|
+
**🚨 MANDATORY**: Always show this confirmation before starting autonomous execution. Never skip this step.
|
|
334
399
|
|
|
335
400
|
Display the following to the user:
|
|
336
401
|
|
|
@@ -374,6 +439,9 @@ FOR each remaining task in planned order:
|
|
|
374
439
|
|
|
375
440
|
2. READ task document, key files, and design context
|
|
376
441
|
- Re-read progress.yaml at start of each iteration (context freshness)
|
|
442
|
+
- Set task `status` to `in_progress` and set task `started` timestamp if null — IMMEDIATELY
|
|
443
|
+
- If milestone `status` is `not_started`, set it to `in_progress` and set milestone `started` to today's date — IMMEDIATELY
|
|
444
|
+
- Write these updates to progress.yaml NOW before continuing
|
|
377
445
|
- Read contextual key files from agent/index/ (filter by acp.proceed applies)
|
|
378
446
|
- Read the task file
|
|
379
447
|
- Load design context: If task has Design Reference field with a link, read that
|
|
@@ -399,10 +467,14 @@ FOR each remaining task in planned order:
|
|
|
399
467
|
- If E2E tests fail → HALT (see A8)
|
|
400
468
|
- Do NOT commit partial work
|
|
401
469
|
|
|
402
|
-
6. UPDATE progress tracking
|
|
403
|
-
- Mark task as completed
|
|
404
|
-
-
|
|
405
|
-
-
|
|
470
|
+
6. UPDATE progress tracking (🚨 ALL fields mandatory — do not skip any)
|
|
471
|
+
- Mark task `status` as `completed`
|
|
472
|
+
- Set `completed_date` to current ISO 8601 timestamp — MANDATORY
|
|
473
|
+
- If `started` is `null` or missing, set `started` to current timestamp (same as completed_date)
|
|
474
|
+
- Auto-compute `actual_hours` from `(completed_date - started)` in hours
|
|
475
|
+
- Increment milestone `tasks_completed`
|
|
476
|
+
- Update milestone `progress` percentage: `(tasks_completed / tasks_total) * 100`
|
|
477
|
+
- If this was the LAST task: set milestone `status` to `completed`, set milestone `completed` to today's date, update `current_milestone` to next incomplete milestone
|
|
406
478
|
- Add recent_work entry
|
|
407
479
|
|
|
408
480
|
7. RUN @git.commit subroutine
|
|
@@ -602,6 +674,48 @@ If the user sends a message during autonomous execution:
|
|
|
602
674
|
- If unclear → ask the user what they'd like to do
|
|
603
675
|
- **Never ignore user messages** during autonomous execution
|
|
604
676
|
|
|
677
|
+
### A10. Worktree Merge Gating (`--noworktreemerge` / `--safe`)
|
|
678
|
+
|
|
679
|
+
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
|
+
|
|
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.
|
|
682
|
+
|
|
683
|
+
**Behavior**:
|
|
684
|
+
|
|
685
|
+
1. **Sub-agents work normally** on their worktrees — no change to task execution
|
|
686
|
+
2. **When a sub-agent completes**, instead of immediately merging:
|
|
687
|
+
- Mark the worktree as `merge-ready` in the agent's internal tracking
|
|
688
|
+
- Display a notification:
|
|
689
|
+
```
|
|
690
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
691
|
+
Worktree ready to merge (--safe mode)
|
|
692
|
+
|
|
693
|
+
Task {id}: {name}
|
|
694
|
+
Branch: {worktree-branch}
|
|
695
|
+
Files changed: {N}
|
|
696
|
+
|
|
697
|
+
Other agents may be running. Merge when ready:
|
|
698
|
+
→ Reply "merge" to merge this worktree now
|
|
699
|
+
→ Reply "merge all" to merge all ready worktrees
|
|
700
|
+
→ Reply "skip" to defer this merge
|
|
701
|
+
|
|
702
|
+
Pending merges: {N} ready, {N} still running
|
|
703
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
704
|
+
```
|
|
705
|
+
3. **Wait for user permission** before executing any merge
|
|
706
|
+
4. **On "merge"**: Execute the worktree merge for the specified task, then report result
|
|
707
|
+
5. **On "merge all"**: Merge all `merge-ready` worktrees sequentially (one at a time, in completion order)
|
|
708
|
+
6. **On "skip"**: Leave the worktree unmerged; user can merge manually or later
|
|
709
|
+
|
|
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.
|
|
711
|
+
|
|
712
|
+
**`--safe` does NOT change**:
|
|
713
|
+
- How sub-agents are spawned or how they work
|
|
714
|
+
- The task loop, commit flow, or progress tracking
|
|
715
|
+
- The confirmation prompt (A2) or summary report (A6)
|
|
716
|
+
|
|
717
|
+
**`--safe` only gates the final worktree-to-main merge step.**
|
|
718
|
+
|
|
605
719
|
---
|
|
606
720
|
|
|
607
721
|
## Verification
|
|
@@ -729,43 +843,43 @@ Estimated: 3 hours
|
|
|
729
843
|
|
|
730
844
|
### Example 1: Single-Task (Default)
|
|
731
845
|
|
|
732
|
-
**Context**: You want to implement the next task
|
|
846
|
+
**Context**: You want to implement the next task
|
|
733
847
|
|
|
734
|
-
**Invocation**: `@acp.proceed`
|
|
848
|
+
**Invocation**: `@acp.proceed`
|
|
735
849
|
|
|
736
|
-
**Result**: Identifies next task, immediately starts implementing, completes task, updates progress
|
|
850
|
+
**Result**: Identifies next task, immediately starts implementing, completes task, updates progress
|
|
737
851
|
|
|
738
852
|
### Example 2: Autonomous Completion with Flags
|
|
739
853
|
|
|
740
|
-
**Context**: Milestone has 5 remaining tasks, you want them all done
|
|
854
|
+
**Context**: Milestone has 5 remaining tasks, you want them all done
|
|
741
855
|
|
|
742
|
-
**Invocation**: `@acp.proceed --complete`
|
|
856
|
+
**Invocation**: `@acp.proceed --complete`
|
|
743
857
|
|
|
744
|
-
**Result**: Shows confirmation with 5 tasks listed, user confirms, agent implements all 5 tasks with per-task commits, displays summary
|
|
858
|
+
**Result**: Shows confirmation with 5 tasks listed, user confirms, agent implements all 5 tasks with per-task commits, displays summary
|
|
745
859
|
|
|
746
860
|
### Example 3: Autonomous with Natural Language
|
|
747
861
|
|
|
748
|
-
**Context**: Same as above but using natural language
|
|
862
|
+
**Context**: Same as above but using natural language
|
|
749
863
|
|
|
750
|
-
**Invocation**: `@acp.proceed just finish everything`
|
|
864
|
+
**Invocation**: `@acp.proceed just finish everything`
|
|
751
865
|
|
|
752
|
-
**Result**: Same as `--complete` — agent detects autonomous intent, shows confirmation, implements all tasks
|
|
866
|
+
**Result**: Same as `--complete` — agent detects autonomous intent, shows confirmation, implements all tasks
|
|
753
867
|
|
|
754
868
|
### Example 4: Dry-Run Preview
|
|
755
869
|
|
|
756
|
-
**Context**: You want to see what would be done without executing
|
|
870
|
+
**Context**: You want to see what would be done without executing
|
|
757
871
|
|
|
758
|
-
**Invocation**: `@acp.proceed --complete --dry-run`
|
|
872
|
+
**Invocation**: `@acp.proceed --complete --dry-run`
|
|
759
873
|
|
|
760
|
-
**Result**: Shows task list with estimates, exits without making changes
|
|
874
|
+
**Result**: Shows task list with estimates, exits without making changes
|
|
761
875
|
|
|
762
876
|
### Example 5: Autonomous with Halt
|
|
763
877
|
|
|
764
|
-
**Context**: Milestone has 5 tasks, task 3 fails
|
|
878
|
+
**Context**: Milestone has 5 tasks, task 3 fails
|
|
765
879
|
|
|
766
|
-
**Invocation**: `@acp.proceed --complete`
|
|
880
|
+
**Invocation**: `@acp.proceed --complete`
|
|
767
881
|
|
|
768
|
-
**Result**: Completes tasks 1-2 with commits, halts at task 3, shows summary with 2 completed + 1 failed, waits for user guidance
|
|
882
|
+
**Result**: Completes tasks 1-2 with commits, halts at task 3, shows summary with 2 completed + 1 failed, waits for user guidance
|
|
769
883
|
|
|
770
884
|
### Example 6: Single-Task with Commit
|
|
771
885
|
|
|
@@ -775,6 +889,14 @@ Estimated: 3 hours
|
|
|
775
889
|
|
|
776
890
|
**Result**: Implements next task, runs `@git.commit` after completion
|
|
777
891
|
|
|
892
|
+
### Example 7: Yolo with Safe Merge (Multiple Agents)
|
|
893
|
+
|
|
894
|
+
**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
|
+
|
|
896
|
+
**Invocation**: `@acp.proceed --yolo --safe`
|
|
897
|
+
|
|
898
|
+
**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
|
+
|
|
778
900
|
---
|
|
779
901
|
|
|
780
902
|
## Related Commands
|
|
@@ -791,51 +913,51 @@ Estimated: 3 hours
|
|
|
791
913
|
|
|
792
914
|
### Issue 1: No current task found
|
|
793
915
|
|
|
794
|
-
**Symptom**: Error message "No current task identified"
|
|
916
|
+
**Symptom**: Error message "No current task identified"
|
|
795
917
|
|
|
796
|
-
**Cause**: All tasks are completed or progress.yaml doesn't have a current task
|
|
918
|
+
**Cause**: All tasks are completed or progress.yaml doesn't have a current task
|
|
797
919
|
|
|
798
|
-
**Solution**: Review progress.yaml and either mark a task as `in_progress` or create new tasks for the next milestone
|
|
920
|
+
**Solution**: Review progress.yaml and either mark a task as `in_progress` or create new tasks for the next milestone
|
|
799
921
|
|
|
800
922
|
### Issue 2: Task document not found
|
|
801
923
|
|
|
802
|
-
**Symptom**: Error message "Cannot read task file"
|
|
924
|
+
**Symptom**: Error message "Cannot read task file"
|
|
803
925
|
|
|
804
|
-
**Cause**: Task file path in progress.yaml is incorrect or file doesn't exist
|
|
926
|
+
**Cause**: Task file path in progress.yaml is incorrect or file doesn't exist
|
|
805
927
|
|
|
806
|
-
**Solution**: Verify the file path in progress.yaml matches the actual task file location, or create the missing task document
|
|
928
|
+
**Solution**: Verify the file path in progress.yaml matches the actual task file location, or create the missing task document
|
|
807
929
|
|
|
808
930
|
### Issue 3: Prerequisites not met
|
|
809
931
|
|
|
810
|
-
**Symptom**: Command reports missing prerequisites
|
|
932
|
+
**Symptom**: Command reports missing prerequisites
|
|
811
933
|
|
|
812
|
-
**Cause**: Task has dependencies that aren't satisfied yet
|
|
934
|
+
**Cause**: Task has dependencies that aren't satisfied yet
|
|
813
935
|
|
|
814
|
-
**Solution**: Complete prerequisite tasks first, or resolve the dependencies, then run `@acp.proceed` again
|
|
936
|
+
**Solution**: Complete prerequisite tasks first, or resolve the dependencies, then run `@acp.proceed` again
|
|
815
937
|
|
|
816
938
|
### Issue 4: Verification fails
|
|
817
939
|
|
|
818
|
-
**Symptom**: Some verification items don't pass
|
|
940
|
+
**Symptom**: Some verification items don't pass
|
|
819
941
|
|
|
820
|
-
**Cause**: Task steps weren't completed correctly or there are errors
|
|
942
|
+
**Cause**: Task steps weren't completed correctly or there are errors
|
|
821
943
|
|
|
822
|
-
**Solution**: Review the failed verification items, fix issues, then re-run verification steps
|
|
944
|
+
**Solution**: Review the failed verification items, fix issues, then re-run verification steps
|
|
823
945
|
|
|
824
946
|
### Issue 5: Autonomous mode not detected
|
|
825
947
|
|
|
826
|
-
**Symptom**: Agent starts single-task mode despite passing `--complete`
|
|
948
|
+
**Symptom**: Agent starts single-task mode despite passing `--complete`
|
|
827
949
|
|
|
828
|
-
**Cause**: Arguments not parsed correctly or natural language not recognized
|
|
950
|
+
**Cause**: Arguments not parsed correctly or natural language not recognized
|
|
829
951
|
|
|
830
|
-
**Solution**: Use explicit flag `--complete` instead of natural language. Ensure flag appears after `@acp.proceed`.
|
|
952
|
+
**Solution**: Use explicit flag `--complete` instead of natural language. Ensure flag appears after `@acp.proceed`.
|
|
831
953
|
|
|
832
954
|
### Issue 6: Context window exhaustion during autonomous run
|
|
833
955
|
|
|
834
|
-
**Symptom**: Agent loses context after completing several tasks
|
|
956
|
+
**Symptom**: Agent loses context after completing several tasks
|
|
835
957
|
|
|
836
|
-
**Cause**: Long autonomous runs consume context window
|
|
958
|
+
**Cause**: Long autonomous runs consume context window
|
|
837
959
|
|
|
838
|
-
**Solution**: Agent re-reads progress.yaml and task files at the start of each iteration to maintain context freshness. If context is truly exhausted, the run will halt and can be resumed with `@acp.proceed --complete` in a new session.
|
|
960
|
+
**Solution**: Agent re-reads progress.yaml and task files at the start of each iteration to maintain context freshness. If context is truly exhausted, the run will halt and can be resumed with `@acp.proceed --complete` in a new session.
|
|
839
961
|
|
|
840
962
|
---
|
|
841
963
|
|
|
@@ -872,11 +994,11 @@ Estimated: 3 hours
|
|
|
872
994
|
|
|
873
995
|
---
|
|
874
996
|
|
|
875
|
-
**Namespace**: acp
|
|
876
|
-
**Command**: proceed
|
|
877
|
-
**Version**: 2.0.0
|
|
878
|
-
**Created**: 2026-02-16
|
|
879
|
-
**Last Updated**: 2026-02-28
|
|
880
|
-
**Status**: Active
|
|
881
|
-
**Compatibility**: ACP 5.0.0+
|
|
882
|
-
**Author**: ACP Project
|
|
997
|
+
**Namespace**: acp
|
|
998
|
+
**Command**: proceed
|
|
999
|
+
**Version**: 2.0.0
|
|
1000
|
+
**Created**: 2026-02-16
|
|
1001
|
+
**Last Updated**: 2026-02-28
|
|
1002
|
+
**Status**: Active
|
|
1003
|
+
**Compatibility**: ACP 5.0.0+
|
|
1004
|
+
**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-22
|
|
10
|
-
**Last Updated**: 2026-02-22
|
|
11
|
-
**Status**: Active
|
|
12
|
-
**Scripts**: None
|
|
7
|
+
**Namespace**: acp
|
|
8
|
+
**Version**: 1.0.0
|
|
9
|
+
**Created**: 2026-02-22
|
|
10
|
+
**Last Updated**: 2026-02-22
|
|
11
|
+
**Status**: Active
|
|
12
|
+
**Scripts**: None
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
16
|
-
**Purpose**: Create a new generic ACP project (not a package) with full ACP installation and guided setup
|
|
17
|
-
**Category**: Creation
|
|
18
|
-
**Frequency**: Once per project
|
|
16
|
+
**Purpose**: Create a new generic ACP project (not a package) with full ACP installation and guided setup
|
|
17
|
+
**Category**: Creation
|
|
18
|
+
**Frequency**: Once per project
|
|
19
19
|
|
|
20
20
|
---
|
|
21
21
|
|
|
@@ -34,7 +34,7 @@ This command creates a new **generic ACP project** (not a package) with full ACP
|
|
|
34
34
|
- **No pre-commit hooks** (no package.yaml to validate)
|
|
35
35
|
- **Uses `local` namespace** (not configurable)
|
|
36
36
|
|
|
37
|
-
**Use this when**: Starting a new application, tool, or experiment that will use ACP for development.
|
|
37
|
+
**Use this when**: Starting a new application, tool, or experiment that will use ACP for development.
|
|
38
38
|
|
|
39
39
|
### Comparison with @acp.package-create
|
|
40
40
|
|
|
@@ -95,7 +95,7 @@ Gather project metadata via chat:
|
|
|
95
95
|
- Supports: `~` expansion, `$HOME` expansion, relative paths, absolute paths
|
|
96
96
|
- Default: `~/.acp/projects/{project-name}` if not specified
|
|
97
97
|
|
|
98
|
-
**Expected Outcome**: All project metadata collected
|
|
98
|
+
**Expected Outcome**: All project metadata collected
|
|
99
99
|
|
|
100
100
|
### 2. Validate and Confirm
|
|
101
101
|
|
|
@@ -107,7 +107,7 @@ Show collected information and ask for confirmation:
|
|
|
107
107
|
- If no: Allow user to correct information
|
|
108
108
|
- If yes: Proceed to creation
|
|
109
109
|
|
|
110
|
-
**Expected Outcome**: User confirms project details
|
|
110
|
+
**Expected Outcome**: User confirms project details
|
|
111
111
|
|
|
112
112
|
### 3. Determine Target Directory
|
|
113
113
|
|
|
@@ -120,7 +120,7 @@ Calculate and validate target directory path:
|
|
|
120
120
|
- Check if directory already exists
|
|
121
121
|
- If exists: Ask user to choose different name or confirm overwrite
|
|
122
122
|
|
|
123
|
-
**Expected Outcome**: Target directory path determined and validated
|
|
123
|
+
**Expected Outcome**: Target directory path determined and validated
|
|
124
124
|
|
|
125
125
|
### 4. Create Project Directory
|
|
126
126
|
|
|
@@ -131,7 +131,7 @@ Create the project directory:
|
|
|
131
131
|
- Verify directory created successfully
|
|
132
132
|
- Report directory location
|
|
133
133
|
|
|
134
|
-
**Expected Outcome**: Empty project directory exists
|
|
134
|
+
**Expected Outcome**: Empty project directory exists
|
|
135
135
|
|
|
136
136
|
### 5. Install ACP
|
|
137
137
|
|
|
@@ -149,7 +149,7 @@ Run ACP installation in the new project directory:
|
|
|
149
149
|
- Verify all commands installed
|
|
150
150
|
- Verify all scripts installed
|
|
151
151
|
|
|
152
|
-
**Expected Outcome**: Full ACP installation in project directory
|
|
152
|
+
**Expected Outcome**: Full ACP installation in project directory
|
|
153
153
|
|
|
154
154
|
### 6. Create Project README.md
|
|
155
155
|
|
|
@@ -221,7 +221,7 @@ project-root/
|
|
|
221
221
|
{Author}
|
|
222
222
|
```
|
|
223
223
|
|
|
224
|
-
**Expected Outcome**: README.md created with project metadata
|
|
224
|
+
**Expected Outcome**: README.md created with project metadata
|
|
225
225
|
|
|
226
226
|
### 7. Create .gitignore
|
|
227
227
|
|
|
@@ -294,7 +294,7 @@ coverage/
|
|
|
294
294
|
.tmp/
|
|
295
295
|
```
|
|
296
296
|
|
|
297
|
-
**Expected Outcome**: .gitignore created with appropriate patterns
|
|
297
|
+
**Expected Outcome**: .gitignore created with appropriate patterns
|
|
298
298
|
|
|
299
299
|
### 8. Initialize Git Repository
|
|
300
300
|
|
|
@@ -307,7 +307,7 @@ Set up version control:
|
|
|
307
307
|
- Verify git repository initialized
|
|
308
308
|
- Verify initial commit created
|
|
309
309
|
|
|
310
|
-
**Expected Outcome**: Git repository initialized with initial commit
|
|
310
|
+
**Expected Outcome**: Git repository initialized with initial commit
|
|
311
311
|
|
|
312
312
|
### 9. Create Initial progress.yaml
|
|
313
313
|
|
|
@@ -353,7 +353,7 @@ Create minimal progress.yaml for project:
|
|
|
353
353
|
```
|
|
354
354
|
- Save to `agent/progress.yaml`
|
|
355
355
|
|
|
356
|
-
**Expected Outcome**: progress.yaml created with project metadata
|
|
356
|
+
**Expected Outcome**: progress.yaml created with project metadata
|
|
357
357
|
|
|
358
358
|
### 10. Display Success Message
|
|
359
359
|
|
|
@@ -420,7 +420,7 @@ See AGENT.md for complete command documentation.
|
|
|
420
420
|
Happy building! 🚀
|
|
421
421
|
```
|
|
422
422
|
|
|
423
|
-
**Expected Outcome**: User knows project was created and how to proceed
|
|
423
|
+
**Expected Outcome**: User knows project was created and how to proceed
|
|
424
424
|
|
|
425
425
|
---
|
|
426
426
|
|
|
@@ -489,9 +489,9 @@ Happy building! 🚀
|
|
|
489
489
|
|
|
490
490
|
### Example 1: Creating Web Application
|
|
491
491
|
|
|
492
|
-
**Context**: Want to build a web app with ACP
|
|
492
|
+
**Context**: Want to build a web app with ACP
|
|
493
493
|
|
|
494
|
-
**Invocation**: `@acp.project-create`
|
|
494
|
+
**Invocation**: `@acp.project-create`
|
|
495
495
|
|
|
496
496
|
**Interaction**:
|
|
497
497
|
```
|
|
@@ -556,9 +556,9 @@ Agent: Creating project...
|
|
|
556
556
|
|
|
557
557
|
### Example 2: Creating MCP Server
|
|
558
558
|
|
|
559
|
-
**Context**: Want to build an MCP server
|
|
559
|
+
**Context**: Want to build an MCP server
|
|
560
560
|
|
|
561
|
-
**Invocation**: `@acp.project-create`
|
|
561
|
+
**Invocation**: `@acp.project-create`
|
|
562
562
|
|
|
563
563
|
**Interaction**:
|
|
564
564
|
```
|
|
@@ -575,9 +575,9 @@ Location: ~/.acp/projects/my-mcp-server/
|
|
|
575
575
|
|
|
576
576
|
### Example 3: Creating in Custom Location
|
|
577
577
|
|
|
578
|
-
**Context**: Want to create project in specific directory
|
|
578
|
+
**Context**: Want to create project in specific directory
|
|
579
579
|
|
|
580
|
-
**Invocation**: `@acp.project-create`
|
|
580
|
+
**Invocation**: `@acp.project-create`
|
|
581
581
|
|
|
582
582
|
**Interaction**:
|
|
583
583
|
```
|
|
@@ -608,27 +608,27 @@ Location: ~/dev/experiments/experiment/
|
|
|
608
608
|
|
|
609
609
|
### Issue 1: Directory already exists
|
|
610
610
|
|
|
611
|
-
**Symptom**: Error "Directory already exists"
|
|
611
|
+
**Symptom**: Error "Directory already exists"
|
|
612
612
|
|
|
613
|
-
**Solution**: Choose a different project name, or remove existing directory, or confirm overwrite
|
|
613
|
+
**Solution**: Choose a different project name, or remove existing directory, or confirm overwrite
|
|
614
614
|
|
|
615
615
|
### Issue 2: Permission denied
|
|
616
616
|
|
|
617
|
-
**Symptom**: Error creating directory
|
|
617
|
+
**Symptom**: Error creating directory
|
|
618
618
|
|
|
619
|
-
**Solution**: Check permissions for target location, or choose different location
|
|
619
|
+
**Solution**: Check permissions for target location, or choose different location
|
|
620
620
|
|
|
621
621
|
### Issue 3: ACP installation failed
|
|
622
622
|
|
|
623
|
-
**Symptom**: Error during ACP installation
|
|
623
|
+
**Symptom**: Error during ACP installation
|
|
624
624
|
|
|
625
|
-
**Solution**: Verify you're in an ACP-installed directory, check internet connection, verify acp.install.sh exists
|
|
625
|
+
**Solution**: Verify you're in an ACP-installed directory, check internet connection, verify acp.install.sh exists
|
|
626
626
|
|
|
627
627
|
### Issue 4: Git not installed
|
|
628
628
|
|
|
629
|
-
**Symptom**: Error "git: command not found"
|
|
629
|
+
**Symptom**: Error "git: command not found"
|
|
630
630
|
|
|
631
|
-
**Solution**: Install git from https://git-scm.com/downloads
|
|
631
|
+
**Solution**: Install git from https://git-scm.com/downloads
|
|
632
632
|
|
|
633
633
|
---
|
|
634
634
|
|
|
@@ -665,11 +665,11 @@ Location: ~/dev/experiments/experiment/
|
|
|
665
665
|
|
|
666
666
|
---
|
|
667
667
|
|
|
668
|
-
**Namespace**: acp
|
|
669
|
-
**Command**: project-create
|
|
670
|
-
**Version**: 1.0.0
|
|
671
|
-
**Created**: 2026-02-22
|
|
672
|
-
**Last Updated**: 2026-02-22
|
|
673
|
-
**Status**: Active
|
|
674
|
-
**Compatibility**: ACP 3.9.0+
|
|
675
|
-
**Author**: ACP Project
|
|
668
|
+
**Namespace**: acp
|
|
669
|
+
**Command**: project-create
|
|
670
|
+
**Version**: 1.0.0
|
|
671
|
+
**Created**: 2026-02-22
|
|
672
|
+
**Last Updated**: 2026-02-22
|
|
673
|
+
**Status**: Active
|
|
674
|
+
**Compatibility**: ACP 3.9.0+
|
|
675
|
+
**Author**: ACP Project
|