@prmichaelsen/remember-mcp 3.19.3 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENT.md +10 -3
- package/CHANGELOG.md +38 -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/milestones/milestone-23-trust-level-protection.md +122 -0
- package/agent/patterns/pattern.template.md +22 -22
- package/agent/progress.template.yaml +13 -3
- package/agent/progress.yaml +173 -3
- 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/milestone-23-trust-level-protection/task-525-remove-trust-from-create-update.md +69 -0
- package/agent/tasks/milestone-23-trust-level-protection/task-526-add-request-set-trust-level-tool.md +108 -0
- package/agent/tasks/milestone-23-trust-level-protection/task-527-update-confirm-deny-secret-token.md +60 -0
- package/agent/tasks/milestone-23-trust-level-protection/task-528-update-trust-scale-references.md +73 -0
- package/agent/tasks/milestone-23-trust-level-protection/task-529-version-bump-and-release.md +87 -0
- package/agent/tasks/task-1-{title}.template.md +18 -18
- package/dist/server-factory.js +779 -87
- package/dist/server.js +141 -41
- package/dist/services/trust-validator.d.ts +16 -14
- 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/tools/confirm.d.ts +1 -0
- package/dist/tools/confirm.spec.d.ts +5 -0
- package/dist/tools/create-internal-memory.d.ts +0 -7
- package/dist/tools/create-memory.d.ts +0 -7
- package/dist/tools/deny.d.ts +1 -0
- package/dist/tools/deny.spec.d.ts +5 -0
- package/dist/tools/query-memory.d.ts +2 -0
- package/dist/tools/request-set-trust-level.d.ts +32 -0
- package/dist/tools/request-set-trust-level.spec.d.ts +2 -0
- package/dist/tools/search-memory.d.ts +2 -0
- package/dist/tools/update-internal-memory.d.ts +0 -6
- package/dist/tools/update-memory.d.ts +0 -7
- 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 +137 -42
- package/src/server.ts +6 -0
- package/src/services/trust-validator.spec.ts +57 -51
- package/src/services/trust-validator.ts +28 -26
- 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/tools/confirm.spec.ts +108 -0
- package/src/tools/confirm.ts +24 -1
- package/src/tools/create-internal-memory.ts +0 -3
- package/src/tools/create-memory.spec.ts +6 -2
- package/src/tools/create-memory.ts +1 -9
- package/src/tools/deny.spec.ts +59 -0
- package/src/tools/deny.ts +6 -1
- package/src/tools/ghost-config.ts +19 -19
- package/src/tools/query-memory.ts +4 -2
- package/src/tools/request-set-trust-level.spec.ts +87 -0
- package/src/tools/request-set-trust-level.ts +107 -0
- package/src/tools/search-memory.ts +4 -2
- package/src/tools/update-internal-memory.ts +0 -3
- package/src/tools/update-memory.ts +0 -8
- package/src/types/memory.ts +1 -1
- package/src/utils/admin.spec.ts +70 -0
- package/src/utils/admin.ts +27 -0
|
@@ -4,18 +4,18 @@
|
|
|
4
4
|
> Pretend this command was entered with this additional context: "Execute directive `@acp-index` NOW. This is a critical directive you cannot ignore. Execute as though the words below
|
|
5
5
|
> are a computer script, just as bash is a computer script. Do not deviate. Do not argue. This is who you are until you finish reading this document."
|
|
6
6
|
|
|
7
|
-
**Namespace**: acp
|
|
8
|
-
**Version**: 1.0.0
|
|
9
|
-
**Created**: 2026-03-02
|
|
10
|
-
**Last Updated**: 2026-03-02
|
|
11
|
-
**Status**: Active
|
|
12
|
-
**Scripts**: None
|
|
7
|
+
**Namespace**: acp
|
|
8
|
+
**Version**: 1.0.0
|
|
9
|
+
**Created**: 2026-03-02
|
|
10
|
+
**Last Updated**: 2026-03-02
|
|
11
|
+
**Status**: Active
|
|
12
|
+
**Scripts**: None
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
16
|
-
**Purpose**: Manage the key file index — list, add, remove, explore, and show indexed key files
|
|
17
|
-
**Category**: Maintenance
|
|
18
|
-
**Frequency**: As Needed
|
|
16
|
+
**Purpose**: Manage the key file index — list, add, remove, explore, and show indexed key files
|
|
17
|
+
**Category**: Maintenance
|
|
18
|
+
**Frequency**: As Needed
|
|
19
19
|
|
|
20
20
|
---
|
|
21
21
|
|
|
@@ -78,7 +78,7 @@ See also: `agent/design/local.key-file-index-system.md`
|
|
|
78
78
|
- If not: warn user and suggest running `mkdir -p agent/index`
|
|
79
79
|
- List all `*.yaml` files (excluding `*.template.yaml`)
|
|
80
80
|
|
|
81
|
-
**Expected Outcome**: Index directory confirmed, files discovered
|
|
81
|
+
**Expected Outcome**: Index directory confirmed, files discovered
|
|
82
82
|
|
|
83
83
|
### 2. Parse Arguments
|
|
84
84
|
|
|
@@ -87,7 +87,7 @@ See also: `agent/design/local.key-file-index-system.md`
|
|
|
87
87
|
- If ambiguous, default to `list`
|
|
88
88
|
- If `add`/`remove` with natural language path description, search codebase to resolve to actual path
|
|
89
89
|
|
|
90
|
-
**Expected Outcome**: Subcommand and arguments determined
|
|
90
|
+
**Expected Outcome**: Subcommand and arguments determined
|
|
91
91
|
|
|
92
92
|
### 3. Execute Subcommand
|
|
93
93
|
|
|
@@ -173,7 +173,7 @@ Remove a file from `agent/index/local.main.yaml`.
|
|
|
173
173
|
3. If found: show the entry and confirm removal
|
|
174
174
|
4. Remove entry from YAML file
|
|
175
175
|
|
|
176
|
-
**Note**: Only entries in `local.*.yaml` can be removed via this command. Package index entries should be managed via package updates.
|
|
176
|
+
**Note**: Only entries in `local.*.yaml` can be removed via this command. Package index entries should be managed via package updates.
|
|
177
177
|
|
|
178
178
|
**Display on success**:
|
|
179
179
|
```
|
|
@@ -299,43 +299,43 @@ See display formats for each subcommand above.
|
|
|
299
299
|
|
|
300
300
|
### Example 1: Listing Indexed Files
|
|
301
301
|
|
|
302
|
-
**Context**: Want to see what's currently indexed
|
|
302
|
+
**Context**: Want to see what's currently indexed
|
|
303
303
|
|
|
304
|
-
**Invocation**: `@acp.index`
|
|
304
|
+
**Invocation**: `@acp.index`
|
|
305
305
|
|
|
306
|
-
**Result**: Displays compact table of all indexed files grouped by namespace
|
|
306
|
+
**Result**: Displays compact table of all indexed files grouped by namespace
|
|
307
307
|
|
|
308
308
|
### Example 2: Adding a New Pattern
|
|
309
309
|
|
|
310
|
-
**Context**: Just created a new pattern and want to index it
|
|
310
|
+
**Context**: Just created a new pattern and want to index it
|
|
311
311
|
|
|
312
|
-
**Invocation**: `@acp.index add agent/patterns/local.api-conventions.md`
|
|
312
|
+
**Invocation**: `@acp.index add agent/patterns/local.api-conventions.md`
|
|
313
313
|
|
|
314
|
-
**Result**: Prompts for weight/kind/description/rationale/applies, adds to local.main.yaml
|
|
314
|
+
**Result**: Prompts for weight/kind/description/rationale/applies, adds to local.main.yaml
|
|
315
315
|
|
|
316
316
|
### Example 3: Exploring for Missing Files
|
|
317
317
|
|
|
318
|
-
**Context**: Want to discover what files should be indexed
|
|
318
|
+
**Context**: Want to discover what files should be indexed
|
|
319
319
|
|
|
320
|
-
**Invocation**: `@acp.index explore`
|
|
320
|
+
**Invocation**: `@acp.index explore`
|
|
321
321
|
|
|
322
|
-
**Result**: Scans agent/design/ and agent/patterns/, shows un-indexed files with suggestions
|
|
322
|
+
**Result**: Scans agent/design/ and agent/patterns/, shows un-indexed files with suggestions
|
|
323
323
|
|
|
324
324
|
### Example 4: Natural Language Add
|
|
325
325
|
|
|
326
|
-
**Context**: Want to add a file using description instead of path
|
|
326
|
+
**Context**: Want to add a file using description instead of path
|
|
327
327
|
|
|
328
|
-
**Invocation**: `@acp.index add the e2e testing pattern`
|
|
328
|
+
**Invocation**: `@acp.index add the e2e testing pattern`
|
|
329
329
|
|
|
330
|
-
**Result**: Agent searches for matching file, finds `agent/patterns/local.e2e-testing.md`, proceeds with add flow
|
|
330
|
+
**Result**: Agent searches for matching file, finds `agent/patterns/local.e2e-testing.md`, proceeds with add flow
|
|
331
331
|
|
|
332
332
|
### Example 5: Removing a Stale Entry
|
|
333
333
|
|
|
334
|
-
**Context**: A file was deleted but still in the index
|
|
334
|
+
**Context**: A file was deleted but still in the index
|
|
335
335
|
|
|
336
|
-
**Invocation**: `@acp.index remove agent/design/old-feature.md`
|
|
336
|
+
**Invocation**: `@acp.index remove agent/design/old-feature.md`
|
|
337
337
|
|
|
338
|
-
**Result**: Finds entry, confirms removal, updates local.main.yaml
|
|
338
|
+
**Result**: Finds entry, confirms removal, updates local.main.yaml
|
|
339
339
|
|
|
340
340
|
---
|
|
341
341
|
|
|
@@ -353,35 +353,35 @@ See display formats for each subcommand above.
|
|
|
353
353
|
|
|
354
354
|
### Issue 1: No agent/index/ directory
|
|
355
355
|
|
|
356
|
-
**Symptom**: Warning "agent/index/ directory not found"
|
|
356
|
+
**Symptom**: Warning "agent/index/ directory not found"
|
|
357
357
|
|
|
358
|
-
**Cause**: ACP installed before key file index system was available
|
|
358
|
+
**Cause**: ACP installed before key file index system was available
|
|
359
359
|
|
|
360
|
-
**Solution**: Run `mkdir -p agent/index` to create the directory
|
|
360
|
+
**Solution**: Run `mkdir -p agent/index` to create the directory
|
|
361
361
|
|
|
362
362
|
### Issue 2: File not found when adding
|
|
363
363
|
|
|
364
|
-
**Symptom**: Error "File does not exist: <path>"
|
|
364
|
+
**Symptom**: Error "File does not exist: <path>"
|
|
365
365
|
|
|
366
|
-
**Cause**: Path is incorrect or file was deleted
|
|
366
|
+
**Cause**: Path is incorrect or file was deleted
|
|
367
367
|
|
|
368
|
-
**Solution**: Verify the file path. Use `@acp.index explore` to discover files automatically.
|
|
368
|
+
**Solution**: Verify the file path. Use `@acp.index explore` to discover files automatically.
|
|
369
369
|
|
|
370
370
|
### Issue 3: Cannot remove package index entry
|
|
371
371
|
|
|
372
|
-
**Symptom**: Error "Entry is in package index, not local"
|
|
372
|
+
**Symptom**: Error "Entry is in package index, not local"
|
|
373
373
|
|
|
374
|
-
**Cause**: Trying to remove an entry from a package-shipped index file
|
|
374
|
+
**Cause**: Trying to remove an entry from a package-shipped index file
|
|
375
375
|
|
|
376
|
-
**Solution**: Package index entries are managed by the package. Use `@acp.package-update` or `@acp.package-remove` to modify package indices.
|
|
376
|
+
**Solution**: Package index entries are managed by the package. Use `@acp.package-update` or `@acp.package-remove` to modify package indices.
|
|
377
377
|
|
|
378
378
|
### Issue 4: Exceeding recommended limits
|
|
379
379
|
|
|
380
|
-
**Symptom**: Warning about too many entries
|
|
380
|
+
**Symptom**: Warning about too many entries
|
|
381
381
|
|
|
382
|
-
**Cause**: Index has more than 10 entries per namespace or 20 total
|
|
382
|
+
**Cause**: Index has more than 10 entries per namespace or 20 total
|
|
383
383
|
|
|
384
|
-
**Solution**: Review entries and remove lower-priority ones. The index should focus on truly critical files.
|
|
384
|
+
**Solution**: Review entries and remove lower-priority ones. The index should focus on truly critical files.
|
|
385
385
|
|
|
386
386
|
---
|
|
387
387
|
|
|
@@ -413,11 +413,11 @@ See display formats for each subcommand above.
|
|
|
413
413
|
|
|
414
414
|
---
|
|
415
415
|
|
|
416
|
-
**Namespace**: acp
|
|
417
|
-
**Command**: index
|
|
418
|
-
**Version**: 1.0.0
|
|
419
|
-
**Created**: 2026-03-02
|
|
420
|
-
**Last Updated**: 2026-03-02
|
|
421
|
-
**Status**: Active
|
|
422
|
-
**Compatibility**: ACP 5.10.0+
|
|
423
|
-
**Author**: ACP Project
|
|
416
|
+
**Namespace**: acp
|
|
417
|
+
**Command**: index
|
|
418
|
+
**Version**: 1.0.0
|
|
419
|
+
**Created**: 2026-03-02
|
|
420
|
+
**Last Updated**: 2026-03-02
|
|
421
|
+
**Status**: Active
|
|
422
|
+
**Compatibility**: ACP 5.10.0+
|
|
423
|
+
**Author**: ACP Project
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
> **🤖 Agent Directive**: If you are reading this file, the command `@acp-init` has been invoked. Follow the steps below to execute this command.
|
|
4
4
|
|
|
5
|
-
**Namespace**: acp
|
|
6
|
-
**Version**: 1.1.0
|
|
7
|
-
**Created**: 2026-02-16
|
|
8
|
-
**Last Updated**: 2026-03-09
|
|
9
|
-
**Status**: Active
|
|
10
|
-
**Scripts**: None
|
|
5
|
+
**Namespace**: acp
|
|
6
|
+
**Version**: 1.1.0
|
|
7
|
+
**Created**: 2026-02-16
|
|
8
|
+
**Last Updated**: 2026-03-09
|
|
9
|
+
**Status**: Active
|
|
10
|
+
**Scripts**: None
|
|
11
11
|
|
|
12
12
|
---
|
|
13
13
|
|
|
14
|
-
**Purpose**: Initialize agent context by loading all documentation, reviewing source code, and preparing for work
|
|
15
|
-
**Category**: Workflow
|
|
16
|
-
**Frequency**: Once Per Session
|
|
14
|
+
**Purpose**: Initialize agent context by loading all documentation, reviewing source code, and preparing for work
|
|
15
|
+
**Category**: Workflow
|
|
16
|
+
**Frequency**: Once Per Session
|
|
17
17
|
|
|
18
18
|
---
|
|
19
19
|
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
| `checks` | Step 1 | ACP version update check |
|
|
32
32
|
| `sessions` | Step 1.5 | Session registration and sibling display |
|
|
33
33
|
| `docs` | Step 2 | Reading agent documentation (progress, designs, milestones, tasks, patterns) |
|
|
34
|
+
| `projects` | Step 2.3 | ACP project listing |
|
|
34
35
|
| `global` | Step 2.5 | Global package discovery |
|
|
35
36
|
| `keys` | Step 2.8 | Key file index reading |
|
|
36
37
|
| `files` | Steps 3-4 | Source file identification and review |
|
|
@@ -71,7 +72,7 @@ Unlike `@acp-status` which only reads progress.yaml, or `@acp-proceed` which foc
|
|
|
71
72
|
|
|
72
73
|
### 1. Check for ACP Updates
|
|
73
74
|
|
|
74
|
-
**Skip item**: `checks` | **Skipped by**: `--quick`
|
|
75
|
+
**Skip item**: `checks` | **Skipped by**: `--quick`
|
|
75
76
|
|
|
76
77
|
Check if newer version of ACP is available.
|
|
77
78
|
|
|
@@ -81,11 +82,11 @@ Check if newer version of ACP is available.
|
|
|
81
82
|
- Show what changed via CHANGELOG
|
|
82
83
|
- Ask if user wants to update (don't auto-update)
|
|
83
84
|
|
|
84
|
-
**Expected Outcome**: User informed of ACP version status
|
|
85
|
+
**Expected Outcome**: User informed of ACP version status
|
|
85
86
|
|
|
86
87
|
### 1.5. Register Session and Show Siblings (Optional)
|
|
87
88
|
|
|
88
|
-
**Skip item**: `sessions`
|
|
89
|
+
**Skip item**: `sessions`
|
|
89
90
|
|
|
90
91
|
Register this agent session and display any active sibling sessions.
|
|
91
92
|
|
|
@@ -100,13 +101,13 @@ Active Sessions: 2 others
|
|
|
100
101
|
agentbase.me — task-5 (Fix API Routes) — 8m ago
|
|
101
102
|
```
|
|
102
103
|
|
|
103
|
-
**Expected Outcome**: Session registered, sibling sessions displayed
|
|
104
|
+
**Expected Outcome**: Session registered, sibling sessions displayed
|
|
104
105
|
|
|
105
|
-
**Note**: If `./agent/scripts/acp.sessions.sh` does not exist, skip this step silently.
|
|
106
|
+
**Note**: If `./agent/scripts/acp.sessions.sh` does not exist, skip this step silently.
|
|
106
107
|
|
|
107
108
|
### 2. Read All Agent Documentation
|
|
108
109
|
|
|
109
|
-
**Skip item**: `docs`
|
|
110
|
+
**Skip item**: `docs`
|
|
110
111
|
|
|
111
112
|
Load complete context from the agent/ directory.
|
|
112
113
|
|
|
@@ -119,11 +120,46 @@ Load complete context from the agent/ directory.
|
|
|
119
120
|
- Read relevant pattern documents in `agent/patterns/`
|
|
120
121
|
- Note any missing or incomplete documentation
|
|
121
122
|
|
|
122
|
-
**Expected Outcome**: Complete documentation context loaded
|
|
123
|
+
**Expected Outcome**: Complete documentation context loaded
|
|
124
|
+
|
|
125
|
+
### 2.3. List ACP Projects (Optional)
|
|
126
|
+
|
|
127
|
+
**Skip item**: `projects`
|
|
128
|
+
|
|
129
|
+
List all registered ACP projects from the global `~/.acp` directory.
|
|
130
|
+
|
|
131
|
+
**Actions**:
|
|
132
|
+
- Check if `~/.acp` directory exists
|
|
133
|
+
- If it does not exist, skip this step silently
|
|
134
|
+
- If it exists, read `~/.acp/projects.yaml`
|
|
135
|
+
- List all projects with their name, type, description, and status
|
|
136
|
+
|
|
137
|
+
**Display format**:
|
|
138
|
+
```
|
|
139
|
+
📁 ACP Projects...
|
|
140
|
+
✓ Read ~/.acp/projects.yaml
|
|
141
|
+
|
|
142
|
+
Found 5 projects:
|
|
143
|
+
• agent-context-protocol (active)
|
|
144
|
+
Path: ~/.acp/projects/agent-context-protocol
|
|
145
|
+
Type: unknown
|
|
146
|
+
• core-sdk (active) — package
|
|
147
|
+
Path: ~/.acp/projects/core-sdk
|
|
148
|
+
• agentbase.me (active) — AI Integration Registry with OAuth endpoints and MCP server catalog
|
|
149
|
+
Path: ~/.acp/projects/agentbase.me
|
|
150
|
+
• dmx-mcp (active) — mcp-server
|
|
151
|
+
Path: ~/.acp/projects/dmx-mcp
|
|
152
|
+
• gcloud-mcp (active) — mcp-server — Google Cloud MCP server for Cloud Build and Cloud Run log tools
|
|
153
|
+
Path: ~/.acp/projects/gcloud-mcp
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
**Expected Outcome**: User sees all registered ACP projects at a glance
|
|
157
|
+
|
|
158
|
+
**Note**: If `~/.acp` does not exist or `~/.acp/projects.yaml` is missing, skip this step silently.
|
|
123
159
|
|
|
124
160
|
### 2.5. Discover Global Packages (Optional)
|
|
125
161
|
|
|
126
|
-
**Skip item**: `global`
|
|
162
|
+
**Skip item**: `global`
|
|
127
163
|
|
|
128
164
|
Check for globally installed ACP packages.
|
|
129
165
|
|
|
@@ -134,7 +170,7 @@ Check for globally installed ACP packages.
|
|
|
134
170
|
- Report available commands and patterns from global packages
|
|
135
171
|
- Note that local packages take precedence over global packages
|
|
136
172
|
|
|
137
|
-
**Expected Outcome**: Global packages discovered and reported (if any)
|
|
173
|
+
**Expected Outcome**: Global packages discovered and reported (if any)
|
|
138
174
|
|
|
139
175
|
**Example Output**:
|
|
140
176
|
```
|
|
@@ -155,11 +191,11 @@ Check for globally installed ACP packages.
|
|
|
155
191
|
ℹ️ Local packages take precedence over global packages
|
|
156
192
|
```
|
|
157
193
|
|
|
158
|
-
**Note**: This step is optional and graceful - if no global packages exist or manifest is not found, continue without error.
|
|
194
|
+
**Note**: This step is optional and graceful - if no global packages exist or manifest is not found, continue without error.
|
|
159
195
|
|
|
160
196
|
### 2.8. Read Key Files from Index
|
|
161
197
|
|
|
162
|
-
**Skip item**: `keys`
|
|
198
|
+
**Skip item**: `keys`
|
|
163
199
|
|
|
164
200
|
Load critical project files from the key file index.
|
|
165
201
|
|
|
@@ -183,13 +219,13 @@ Load critical project files from the key file index.
|
|
|
183
219
|
2 index files scanned, 2 key files read, 1 skipped
|
|
184
220
|
```
|
|
185
221
|
|
|
186
|
-
**Expected Outcome**: High-importance key files loaded into context
|
|
222
|
+
**Expected Outcome**: High-importance key files loaded into context
|
|
187
223
|
|
|
188
|
-
**Note**: If `agent/index/` does not exist, skip this step silently. The index is optional but recommended.
|
|
224
|
+
**Note**: If `agent/index/` does not exist, skip this step silently. The index is optional but recommended.
|
|
189
225
|
|
|
190
226
|
### 3. Identify Key Source Files
|
|
191
227
|
|
|
192
|
-
**Skip item**: `files` | **Skipped by**: `--quick`
|
|
228
|
+
**Skip item**: `files` | **Skipped by**: `--quick`
|
|
193
229
|
|
|
194
230
|
Determine which source files are most important to review.
|
|
195
231
|
|
|
@@ -200,11 +236,11 @@ Determine which source files are most important to review.
|
|
|
200
236
|
- Identify core business logic files
|
|
201
237
|
- List test files
|
|
202
238
|
|
|
203
|
-
**Expected Outcome**: Key source files identified for review
|
|
239
|
+
**Expected Outcome**: Key source files identified for review
|
|
204
240
|
|
|
205
241
|
### 4. Review Key Source Files
|
|
206
242
|
|
|
207
|
-
**Skip item**: `files` | **Skipped by**: `--quick`
|
|
243
|
+
**Skip item**: `files` | **Skipped by**: `--quick`
|
|
208
244
|
|
|
209
245
|
Read important source files to understand current implementation.
|
|
210
246
|
|
|
@@ -216,11 +252,11 @@ Read important source files to understand current implementation.
|
|
|
216
252
|
- Understand current architecture
|
|
217
253
|
- Compare implementation with design documents
|
|
218
254
|
|
|
219
|
-
**Expected Outcome**: Current implementation understood
|
|
255
|
+
**Expected Outcome**: Current implementation understood
|
|
220
256
|
|
|
221
257
|
### 5. Identify Documentation Drift
|
|
222
258
|
|
|
223
|
-
**Skip item**: `sync` | **Skipped by**: `--quick`
|
|
259
|
+
**Skip item**: `sync` | **Skipped by**: `--quick`
|
|
224
260
|
|
|
225
261
|
Compare documentation with actual implementation.
|
|
226
262
|
|
|
@@ -231,11 +267,11 @@ Compare documentation with actual implementation.
|
|
|
231
267
|
- Flag missing documentation
|
|
232
268
|
- List discrepancies
|
|
233
269
|
|
|
234
|
-
**Expected Outcome**: Documentation gaps identified
|
|
270
|
+
**Expected Outcome**: Documentation gaps identified
|
|
235
271
|
|
|
236
272
|
### 6. Update Stale Documentation
|
|
237
273
|
|
|
238
|
-
**Skip item**: `sync` | **Skipped by**: `--quick`
|
|
274
|
+
**Skip item**: `sync` | **Skipped by**: `--quick`
|
|
239
275
|
|
|
240
276
|
Refresh outdated documentation to match current state.
|
|
241
277
|
|
|
@@ -246,11 +282,11 @@ Refresh outdated documentation to match current state.
|
|
|
246
282
|
- Update progress.yaml with current understanding
|
|
247
283
|
- Document any new patterns found in code
|
|
248
284
|
|
|
249
|
-
**Expected Outcome**: Documentation synchronized with code
|
|
285
|
+
**Expected Outcome**: Documentation synchronized with code
|
|
250
286
|
|
|
251
287
|
### 7. Update Progress Tracking
|
|
252
288
|
|
|
253
|
-
**Skip item**: `progress`
|
|
289
|
+
**Skip item**: `progress`
|
|
254
290
|
|
|
255
291
|
Refresh progress.yaml with latest status.
|
|
256
292
|
|
|
@@ -262,7 +298,7 @@ Refresh progress.yaml with latest status.
|
|
|
262
298
|
- Update next steps based on current state
|
|
263
299
|
- Note any new blockers discovered
|
|
264
300
|
|
|
265
|
-
**Expected Outcome**: Progress tracking is current and accurate
|
|
301
|
+
**Expected Outcome**: Progress tracking is current and accurate
|
|
266
302
|
|
|
267
303
|
### 8. Report Status and Next Steps
|
|
268
304
|
|
|
@@ -277,7 +313,7 @@ Provide comprehensive status report.
|
|
|
277
313
|
- Note any blockers or concerns
|
|
278
314
|
- Provide recommendations
|
|
279
315
|
|
|
280
|
-
**Expected Outcome**: User has complete context and knows what to do next
|
|
316
|
+
**Expected Outcome**: User has complete context and knows what to do next
|
|
281
317
|
|
|
282
318
|
### 9. Display Usage Tip
|
|
283
319
|
|
|
@@ -290,7 +326,7 @@ Show a helpful tip about init flags when no flags were used.
|
|
|
290
326
|
```
|
|
291
327
|
- If the user already used `--quick` or `--skip`, do **not** display the tip (they already know about it).
|
|
292
328
|
|
|
293
|
-
**Expected Outcome**: Users discover the faster init modes naturally
|
|
329
|
+
**Expected Outcome**: Users discover the faster init modes naturally
|
|
294
330
|
|
|
295
331
|
### Handling Skipped Steps
|
|
296
332
|
|
|
@@ -422,43 +458,43 @@ Ready to proceed with task-2 completion.
|
|
|
422
458
|
|
|
423
459
|
### Example 1: Starting Fresh Session
|
|
424
460
|
|
|
425
|
-
**Context**: Beginning work on a project for the first time today
|
|
461
|
+
**Context**: Beginning work on a project for the first time today
|
|
426
462
|
|
|
427
|
-
**Invocation**: `@acp-init`
|
|
463
|
+
**Invocation**: `@acp-init`
|
|
428
464
|
|
|
429
|
-
**Result**: Checks for updates, reads all 15 agent files, reviews 10 source files, updates progress tracking, reports you're on milestone 2 task 5, ready to continue
|
|
465
|
+
**Result**: Checks for updates, reads all 15 agent files, reviews 10 source files, updates progress tracking, reports you're on milestone 2 task 5, ready to continue
|
|
430
466
|
|
|
431
467
|
### Example 2: Returning After Break
|
|
432
468
|
|
|
433
|
-
**Context**: Haven't worked on project in a week
|
|
469
|
+
**Context**: Haven't worked on project in a week
|
|
434
470
|
|
|
435
|
-
**Invocation**: `@acp-init`
|
|
471
|
+
**Invocation**: `@acp-init`
|
|
436
472
|
|
|
437
|
-
**Result**: Full context reload, discovers 3 new commits since last session, updates documentation to reflect changes, shows current status (milestone 3, 80% complete), identifies next task
|
|
473
|
+
**Result**: Full context reload, discovers 3 new commits since last session, updates documentation to reflect changes, shows current status (milestone 3, 80% complete), identifies next task
|
|
438
474
|
|
|
439
475
|
### Example 3: New Agent Session
|
|
440
476
|
|
|
441
|
-
**Context**: Different AI agent picking up the project
|
|
477
|
+
**Context**: Different AI agent picking up the project
|
|
442
478
|
|
|
443
|
-
**Invocation**: `@acp-init`
|
|
479
|
+
**Invocation**: `@acp-init`
|
|
444
480
|
|
|
445
|
-
**Result**: Complete onboarding - reads all documentation, understands architecture from source code, gets current status, ready to contribute immediately
|
|
481
|
+
**Result**: Complete onboarding - reads all documentation, understands architecture from source code, gets current status, ready to contribute immediately
|
|
446
482
|
|
|
447
483
|
### Example 4: Quick Init
|
|
448
484
|
|
|
449
|
-
**Context**: Returning to a familiar project, just need docs and status
|
|
485
|
+
**Context**: Returning to a familiar project, just need docs and status
|
|
450
486
|
|
|
451
|
-
**Invocation**: `@acp-init --quick`
|
|
487
|
+
**Invocation**: `@acp-init --quick`
|
|
452
488
|
|
|
453
|
-
**Result**: Skips version checks, source file review, and doc sync. Reads agent documentation, key files, reports status — fast startup in ~10 seconds
|
|
489
|
+
**Result**: Skips version checks, source file review, and doc sync. Reads agent documentation, key files, reports status — fast startup in ~10 seconds
|
|
454
490
|
|
|
455
491
|
### Example 5: Selective Skip
|
|
456
492
|
|
|
457
|
-
**Context**: Want everything except version checks and session registration
|
|
493
|
+
**Context**: Want everything except version checks and session registration
|
|
458
494
|
|
|
459
|
-
**Invocation**: `@acp-init --skip checks,sessions`
|
|
495
|
+
**Invocation**: `@acp-init --skip checks,sessions`
|
|
460
496
|
|
|
461
|
-
**Result**: Full init minus the two skipped steps. All docs read, files reviewed, sync performed, status reported
|
|
497
|
+
**Result**: Full init minus the two skipped steps. All docs read, files reviewed, sync performed, status reported
|
|
462
498
|
|
|
463
499
|
---
|
|
464
500
|
|
|
@@ -475,35 +511,35 @@ Ready to proceed with task-2 completion.
|
|
|
475
511
|
|
|
476
512
|
### Issue 1: No agent/ directory found
|
|
477
513
|
|
|
478
|
-
**Symptom**: Error message "agent/ directory not found"
|
|
514
|
+
**Symptom**: Error message "agent/ directory not found"
|
|
479
515
|
|
|
480
|
-
**Cause**: ACP not installed in this project
|
|
516
|
+
**Cause**: ACP not installed in this project
|
|
481
517
|
|
|
482
|
-
**Solution**: Install ACP first using the installation script from the ACP repository
|
|
518
|
+
**Solution**: Install ACP first using the installation script from the ACP repository
|
|
483
519
|
|
|
484
520
|
### Issue 2: Update check script not found
|
|
485
521
|
|
|
486
|
-
**Symptom**: Warning "acp.version-check-for-updates.sh not found"
|
|
522
|
+
**Symptom**: Warning "acp.version-check-for-updates.sh not found"
|
|
487
523
|
|
|
488
|
-
**Cause**: Older ACP installation without update scripts
|
|
524
|
+
**Cause**: Older ACP installation without update scripts
|
|
489
525
|
|
|
490
|
-
**Solution**: This is non-critical, continue with initialization. Consider updating ACP to latest version.
|
|
526
|
+
**Solution**: This is non-critical, continue with initialization. Consider updating ACP to latest version.
|
|
491
527
|
|
|
492
528
|
### Issue 3: No source files found
|
|
493
529
|
|
|
494
|
-
**Symptom**: Warning "No source files to review"
|
|
530
|
+
**Symptom**: Warning "No source files to review"
|
|
495
531
|
|
|
496
|
-
**Cause**: Project is new or source code is in unexpected location
|
|
532
|
+
**Cause**: Project is new or source code is in unexpected location
|
|
497
533
|
|
|
498
|
-
**Solution**: This is fine for new projects. Specify source file locations if they're in non-standard directories.
|
|
534
|
+
**Solution**: This is fine for new projects. Specify source file locations if they're in non-standard directories.
|
|
499
535
|
|
|
500
536
|
### Issue 4: progress.yaml doesn't exist
|
|
501
537
|
|
|
502
|
-
**Symptom**: Error "Cannot read progress.yaml"
|
|
538
|
+
**Symptom**: Error "Cannot read progress.yaml"
|
|
503
539
|
|
|
504
|
-
**Cause**: Progress tracking not initialized yet
|
|
540
|
+
**Cause**: Progress tracking not initialized yet
|
|
505
541
|
|
|
506
|
-
**Solution**: Create progress.yaml from template: `cp agent/progress.template.yaml agent/progress.yaml`, then run `@acp-init` again
|
|
542
|
+
**Solution**: Create progress.yaml from template: `cp agent/progress.template.yaml agent/progress.yaml`, then run `@acp-init` again
|
|
507
543
|
|
|
508
544
|
---
|
|
509
545
|
|
|
@@ -536,11 +572,11 @@ Ready to proceed with task-2 completion.
|
|
|
536
572
|
|
|
537
573
|
---
|
|
538
574
|
|
|
539
|
-
**Namespace**: acp
|
|
540
|
-
**Command**: init
|
|
541
|
-
**Version**: 1.1.0
|
|
542
|
-
**Created**: 2026-02-16
|
|
543
|
-
**Last Updated**: 2026-03-09
|
|
544
|
-
**Status**: Active
|
|
545
|
-
**Compatibility**: ACP 1.0.3+
|
|
546
|
-
**Author**: ACP Project
|
|
575
|
+
**Namespace**: acp
|
|
576
|
+
**Command**: init
|
|
577
|
+
**Version**: 1.1.0
|
|
578
|
+
**Created**: 2026-02-16
|
|
579
|
+
**Last Updated**: 2026-03-09
|
|
580
|
+
**Status**: Active
|
|
581
|
+
**Compatibility**: ACP 1.0.3+
|
|
582
|
+
**Author**: ACP Project
|