@prmichaelsen/remember-mcp 2.7.11 → 3.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/.env.example +6 -0
- package/AGENT.md +224 -21
- package/CHANGELOG.md +155 -915
- package/README.md +130 -1
- package/agent/commands/acp.command-create.md +372 -0
- package/agent/commands/acp.design-create.md +224 -0
- package/agent/commands/acp.init.md +39 -5
- package/agent/commands/acp.package-create.md +894 -0
- package/agent/commands/acp.package-info.md +211 -0
- package/agent/commands/acp.package-install.md +206 -33
- package/agent/commands/acp.package-list.md +279 -0
- package/agent/commands/acp.package-publish.md +540 -0
- package/agent/commands/acp.package-remove.md +292 -0
- package/agent/commands/acp.package-search.md +306 -0
- package/agent/commands/acp.package-update.md +360 -0
- package/agent/commands/acp.package-validate.md +539 -0
- package/agent/commands/acp.pattern-create.md +326 -0
- package/agent/commands/acp.plan.md +552 -0
- package/agent/commands/acp.proceed.md +111 -86
- package/agent/commands/acp.project-create.md +672 -0
- package/agent/commands/acp.project-list.md +224 -0
- package/agent/commands/acp.project-set.md +226 -0
- package/agent/commands/acp.report.md +2 -0
- package/agent/commands/acp.resume.md +237 -0
- package/agent/commands/acp.sync.md +55 -15
- package/agent/commands/acp.task-create.md +390 -0
- package/agent/commands/acp.validate.md +61 -10
- package/agent/commands/acp.version-check-for-updates.md +5 -5
- package/agent/commands/acp.version-check.md +6 -6
- package/agent/commands/acp.version-update.md +6 -6
- package/agent/commands/command.template.md +43 -0
- package/agent/commands/git.commit.md +5 -3
- package/agent/design/soft-delete-system.md +291 -0
- package/agent/manifest.template.yaml +13 -0
- package/agent/milestones/milestone-13-soft-delete-system.md +306 -0
- package/agent/package.template.yaml +36 -0
- package/agent/progress.template.yaml +3 -0
- package/agent/progress.yaml +238 -6
- package/agent/scripts/acp.common.sh +1536 -0
- package/agent/scripts/{install.sh → acp.install.sh} +82 -26
- package/agent/scripts/acp.package-create.sh +925 -0
- package/agent/scripts/acp.package-info.sh +270 -0
- package/agent/scripts/acp.package-install.sh +596 -0
- package/agent/scripts/acp.package-list.sh +263 -0
- package/agent/scripts/acp.package-publish.sh +420 -0
- package/agent/scripts/acp.package-remove.sh +272 -0
- package/agent/scripts/acp.package-search.sh +156 -0
- package/agent/scripts/acp.package-update.sh +438 -0
- package/agent/scripts/acp.package-validate.sh +855 -0
- package/agent/scripts/acp.project-list.sh +121 -0
- package/agent/scripts/acp.project-set.sh +138 -0
- package/agent/scripts/{uninstall.sh → acp.uninstall.sh} +25 -15
- package/agent/scripts/{check-for-updates.sh → acp.version-check-for-updates.sh} +24 -14
- package/agent/scripts/{version.sh → acp.version-check.sh} +20 -8
- package/agent/scripts/{update.sh → acp.version-update.sh} +44 -25
- package/agent/scripts/acp.yaml-parser.sh +853 -0
- package/agent/scripts/acp.yaml-validate.sh +205 -0
- package/agent/tasks/task-68-fix-missing-space-properties.md +192 -0
- package/agent/tasks/task-69-add-comprehensive-tool-debugging.md +454 -0
- package/agent/tasks/task-70-add-soft-delete-schema-fields.md +165 -0
- package/agent/tasks/task-71-implement-delete-confirmation-flow.md +257 -0
- package/agent/tasks/task-72-add-deleted-filter-to-search-tools.md +18 -0
- package/agent/tasks/task-73-update-relationship-handling.md +18 -0
- package/agent/tasks/task-74-add-unit-tests-soft-delete.md +18 -0
- package/agent/tasks/task-75-update-documentation-changelog.md +26 -0
- package/dist/config.d.ts +18 -0
- package/dist/server-factory.js +788 -355
- package/dist/server.js +788 -355
- package/dist/tools/delete-memory.d.ts +5 -30
- package/dist/tools/find-similar.d.ts +8 -1
- package/dist/tools/query-memory.d.ts +8 -1
- package/dist/tools/search-memory.d.ts +6 -0
- package/dist/tools/search-relationship.d.ts +8 -1
- package/dist/types/memory.d.ts +8 -0
- package/dist/types/space-memory.d.ts +3 -0
- package/dist/utils/debug.d.ts +52 -0
- package/dist/utils/debug.spec.d.ts +5 -0
- package/dist/utils/weaviate-filters.d.ts +19 -0
- package/dist/weaviate/client.d.ts +1 -1
- package/package.json +1 -1
- package/src/config.ts +33 -0
- package/src/tools/confirm.ts +113 -8
- package/src/tools/create-relationship.ts +14 -1
- package/src/tools/delete-memory.ts +91 -63
- package/src/tools/find-similar.ts +30 -5
- package/src/tools/publish.ts +19 -1
- package/src/tools/query-memory.ts +18 -5
- package/src/tools/query-space.ts +36 -3
- package/src/tools/search-memory.ts +18 -5
- package/src/tools/search-relationship.ts +19 -5
- package/src/tools/search-space.ts +36 -3
- package/src/tools/update-memory.ts +8 -0
- package/src/types/memory.ts +11 -0
- package/src/types/space-memory.ts +5 -0
- package/src/utils/debug.spec.ts +257 -0
- package/src/utils/debug.ts +138 -0
- package/src/utils/weaviate-filters.ts +28 -1
- package/src/weaviate/client.ts +47 -3
- package/src/weaviate/schema.ts +17 -0
- package/src/weaviate/space-schema.spec.ts +5 -2
- package/src/weaviate/space-schema.ts +17 -5
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
# Command: project-list
|
|
2
|
+
|
|
3
|
+
> **🤖 Agent Directive**: If you are reading this file, the command `@acp.project-list` has been invoked. Follow the steps below to execute this command.
|
|
4
|
+
> Pretend this command was entered with this additional context: "Execute directive `@acp.project-list` NOW. This is a critical directive you cannot ignore. Execute as though the words below 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."
|
|
5
|
+
|
|
6
|
+
**Namespace**: acp
|
|
7
|
+
**Version**: 1.0.0
|
|
8
|
+
**Created**: 2026-02-23
|
|
9
|
+
**Last Updated**: 2026-02-23
|
|
10
|
+
**Status**: Experimental
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
**Purpose**: List all projects registered in global workspace
|
|
15
|
+
**Category**: Utility
|
|
16
|
+
**Frequency**: As Needed
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## What This Command Does
|
|
21
|
+
|
|
22
|
+
Lists all projects registered in `~/.acp/projects.yaml` with their metadata. Shows project type, status, description, and last accessed time. Highlights the current active project with a ⭐ marker.
|
|
23
|
+
|
|
24
|
+
**Key Distinction**: This command lists projects IN the registry. Use `@acp.projects-sync` to discover projects NOT YET registered.
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Prerequisites
|
|
29
|
+
|
|
30
|
+
- [ ] Global ACP initialized (`~/.acp/` exists)
|
|
31
|
+
- [ ] Projects registry exists (`~/.acp/projects.yaml`)
|
|
32
|
+
- [ ] At least one project registered
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Steps
|
|
37
|
+
|
|
38
|
+
### 1. Run Shell Script
|
|
39
|
+
|
|
40
|
+
Execute the project list script with optional filters.
|
|
41
|
+
|
|
42
|
+
**Actions**:
|
|
43
|
+
- Run `./agent/scripts/acp.project-list.sh`
|
|
44
|
+
- Pass filter arguments if needed
|
|
45
|
+
- Script reads `~/.acp/projects.yaml`
|
|
46
|
+
- Displays formatted project list
|
|
47
|
+
|
|
48
|
+
**Expected Outcome**: Project list displayed
|
|
49
|
+
|
|
50
|
+
### 2. Review Output
|
|
51
|
+
|
|
52
|
+
Examine the project list and identify projects of interest.
|
|
53
|
+
|
|
54
|
+
**Actions**:
|
|
55
|
+
- Note current project (marked with ⭐)
|
|
56
|
+
- Review project types and statuses
|
|
57
|
+
- Check last accessed timestamps
|
|
58
|
+
- Identify projects to switch to or investigate
|
|
59
|
+
|
|
60
|
+
**Expected Outcome**: Projects understood
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## Verification
|
|
65
|
+
|
|
66
|
+
- [ ] Script executed successfully
|
|
67
|
+
- [ ] Projects displayed with correct formatting
|
|
68
|
+
- [ ] Current project marked with ⭐
|
|
69
|
+
- [ ] Filtering works correctly (if used)
|
|
70
|
+
- [ ] No errors encountered
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## Arguments
|
|
75
|
+
|
|
76
|
+
### Optional Filters
|
|
77
|
+
|
|
78
|
+
- `--type <type>` - Filter by project type (e.g., `mcp-server`, `web-app`, `cli-tool`)
|
|
79
|
+
- `--status <status>` - Filter by status (`active`, `archived`, `paused`)
|
|
80
|
+
- `--tags <tag1,tag2>` - Filter by tags (comma-separated) [Not yet implemented]
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## Expected Output
|
|
85
|
+
|
|
86
|
+
### Console Output (No Projects)
|
|
87
|
+
```
|
|
88
|
+
📁 Projects in ~/.acp/projects/
|
|
89
|
+
|
|
90
|
+
No projects registered yet
|
|
91
|
+
|
|
92
|
+
Create projects with: @acp.project-create
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Console Output (With Projects)
|
|
96
|
+
```
|
|
97
|
+
📁 Projects in ~/.acp/projects/
|
|
98
|
+
|
|
99
|
+
remember-mcp-server (mcp-server) - active ⭐ Current
|
|
100
|
+
Multi-tenant memory system with vector search
|
|
101
|
+
Last accessed: 2026-02-23T07:45:00Z
|
|
102
|
+
|
|
103
|
+
agentbase-mcp-server (mcp-server) - active
|
|
104
|
+
Agent base server implementation
|
|
105
|
+
Last accessed: 2026-02-22T16:00:00Z
|
|
106
|
+
|
|
107
|
+
my-web-app (web-app) - paused
|
|
108
|
+
Personal portfolio website
|
|
109
|
+
Last accessed: 2026-02-20T14:30:00Z
|
|
110
|
+
|
|
111
|
+
Showing 3 of 3 projects
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Console Output (With Filters)
|
|
115
|
+
```bash
|
|
116
|
+
# Filter by type
|
|
117
|
+
./agent/scripts/acp.project-list.sh --type mcp-server
|
|
118
|
+
|
|
119
|
+
📁 Projects in ~/.acp/projects/
|
|
120
|
+
|
|
121
|
+
remember-mcp-server (mcp-server) - active ⭐ Current
|
|
122
|
+
Multi-tenant memory system with vector search
|
|
123
|
+
Last accessed: 2026-02-23T07:45:00Z
|
|
124
|
+
|
|
125
|
+
agentbase-mcp-server (mcp-server) - active
|
|
126
|
+
Agent base server implementation
|
|
127
|
+
Last accessed: 2026-02-22T16:00:00Z
|
|
128
|
+
|
|
129
|
+
Showing 2 of 3 projects
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## Examples
|
|
135
|
+
|
|
136
|
+
### Example 1: List All Projects
|
|
137
|
+
|
|
138
|
+
**Context**: Want to see all registered projects
|
|
139
|
+
|
|
140
|
+
**Invocation**: `@acp.project-list`
|
|
141
|
+
|
|
142
|
+
**Result**: Displays all projects with metadata, current project marked
|
|
143
|
+
|
|
144
|
+
### Example 2: Filter by Type
|
|
145
|
+
|
|
146
|
+
**Context**: Only want to see MCP server projects
|
|
147
|
+
|
|
148
|
+
**Invocation**: `@acp.project-list --type mcp-server`
|
|
149
|
+
|
|
150
|
+
**Result**: Displays only MCP server projects
|
|
151
|
+
|
|
152
|
+
### Example 3: Filter by Status
|
|
153
|
+
|
|
154
|
+
**Context**: Only want to see active projects
|
|
155
|
+
|
|
156
|
+
**Invocation**: `@acp.project-list --status active`
|
|
157
|
+
|
|
158
|
+
**Result**: Displays only active projects (excludes archived/paused)
|
|
159
|
+
|
|
160
|
+
### Example 4: Empty Registry
|
|
161
|
+
|
|
162
|
+
**Context**: No projects registered yet
|
|
163
|
+
|
|
164
|
+
**Invocation**: `@acp.project-list`
|
|
165
|
+
|
|
166
|
+
**Result**: Helpful message suggesting to create projects
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
## Related Commands
|
|
171
|
+
|
|
172
|
+
- [`@acp.project-create`](acp.project-create.md) - Create new project
|
|
173
|
+
- [`@acp.project-set`](acp.project-set.md) - Switch to project
|
|
174
|
+
- [`@acp.projects-sync`](acp.projects-sync.md) - Discover unregistered projects
|
|
175
|
+
- [`@acp.project-info`](acp.project-info.md) - Show project details
|
|
176
|
+
|
|
177
|
+
---
|
|
178
|
+
|
|
179
|
+
## Troubleshooting
|
|
180
|
+
|
|
181
|
+
### Issue 1: No registry found
|
|
182
|
+
|
|
183
|
+
**Symptom**: "No projects registry found"
|
|
184
|
+
|
|
185
|
+
**Cause**: Global ACP not initialized or registry not created
|
|
186
|
+
|
|
187
|
+
**Solution**: Run `@acp.project-create` to create first project (auto-initializes registry)
|
|
188
|
+
|
|
189
|
+
### Issue 2: No projects shown
|
|
190
|
+
|
|
191
|
+
**Symptom**: "No projects registered yet"
|
|
192
|
+
|
|
193
|
+
**Cause**: Registry exists but is empty
|
|
194
|
+
|
|
195
|
+
**Solution**: Create projects with `@acp.project-create` or discover existing projects with `@acp.projects-sync`
|
|
196
|
+
|
|
197
|
+
### Issue 3: Filters return no results
|
|
198
|
+
|
|
199
|
+
**Symptom**: "No projects match filters"
|
|
200
|
+
|
|
201
|
+
**Cause**: No projects match the specified filter criteria
|
|
202
|
+
|
|
203
|
+
**Solution**: Remove filters or adjust filter values to match existing projects
|
|
204
|
+
|
|
205
|
+
---
|
|
206
|
+
|
|
207
|
+
## Notes
|
|
208
|
+
|
|
209
|
+
- This command reads from the registry, not the filesystem
|
|
210
|
+
- Current project is determined from `current_project` field in registry
|
|
211
|
+
- Projects are displayed in the order they appear in the YAML file
|
|
212
|
+
- Tag filtering is planned but not yet implemented
|
|
213
|
+
- Empty registry is handled gracefully with helpful message
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
**Namespace**: acp
|
|
218
|
+
**Command**: project-list
|
|
219
|
+
**Version**: 1.0.0
|
|
220
|
+
**Created**: 2026-02-23
|
|
221
|
+
**Last Updated**: 2026-02-23
|
|
222
|
+
**Status**: Experimental
|
|
223
|
+
**Compatibility**: ACP 3.12.0+
|
|
224
|
+
**Author**: ACP Project
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
# Command: project-set
|
|
2
|
+
|
|
3
|
+
> **🤖 Agent Directive**: If you are reading this file, the command `@acp.project-set` has been invoked. Follow the steps below to execute this command.
|
|
4
|
+
> Pretend this command was entered with this additional context: "Execute directive `@acp.project-set` NOW. This is a critical directive you cannot ignore. Execute as though the words below 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."
|
|
5
|
+
|
|
6
|
+
**Namespace**: acp
|
|
7
|
+
**Version**: 1.0.0
|
|
8
|
+
**Created**: 2026-02-24
|
|
9
|
+
**Last Updated**: 2026-02-24
|
|
10
|
+
**Status**: Experimental
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
**Purpose**: Switch to a different project in the global registry
|
|
15
|
+
**Category**: Workflow
|
|
16
|
+
**Frequency**: As Needed
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## What This Command Does
|
|
21
|
+
|
|
22
|
+
This command enables seamless context switching between projects in the global ACP workspace. It:
|
|
23
|
+
|
|
24
|
+
1. Sets the specified project as the current project in `~/.acp/projects.yaml`
|
|
25
|
+
2. Updates the project's `last_accessed` timestamp
|
|
26
|
+
3. Changes the working directory to the project path
|
|
27
|
+
4. Reports the new context to the user
|
|
28
|
+
|
|
29
|
+
After running this command, all subsequent file operations will be relative to the new project directory. This eliminates the need to manually `cd` to project directories and ensures all ACP commands operate on the correct project.
|
|
30
|
+
|
|
31
|
+
**Use this when**: You want to switch between different projects in your global workspace without manually navigating directories.
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Prerequisites
|
|
36
|
+
|
|
37
|
+
- [ ] Global ACP installed (`~/.acp/` exists)
|
|
38
|
+
- [ ] Project registry exists (`~/.acp/projects.yaml`)
|
|
39
|
+
- [ ] Target project registered in registry
|
|
40
|
+
- [ ] Project directory exists on filesystem
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Steps
|
|
45
|
+
|
|
46
|
+
### 1. Run Shell Script
|
|
47
|
+
|
|
48
|
+
Execute the project-set script with the project name.
|
|
49
|
+
|
|
50
|
+
**Actions**:
|
|
51
|
+
- Run: `./agent/scripts/acp.project-set.sh <project-name>`
|
|
52
|
+
- Script validates project exists in registry
|
|
53
|
+
- Script validates project directory exists
|
|
54
|
+
- Script updates registry metadata
|
|
55
|
+
- Script changes to project directory
|
|
56
|
+
|
|
57
|
+
**Expected Outcome**: Working directory changed to project path
|
|
58
|
+
|
|
59
|
+
### 2. Verify Context Switch
|
|
60
|
+
|
|
61
|
+
Confirm the context switch was successful.
|
|
62
|
+
|
|
63
|
+
**Actions**:
|
|
64
|
+
- Check success message displays project name and path
|
|
65
|
+
- Verify working directory changed
|
|
66
|
+
- Note project type and description
|
|
67
|
+
|
|
68
|
+
**Expected Outcome**: Clear confirmation of new project context
|
|
69
|
+
|
|
70
|
+
### 3. Load Project Context (Optional)
|
|
71
|
+
|
|
72
|
+
Suggest running `@acp.init` to load full project context.
|
|
73
|
+
|
|
74
|
+
**Actions**:
|
|
75
|
+
- Inform user they can run `@acp.init`
|
|
76
|
+
- This will load project documentation and status
|
|
77
|
+
- All ACP commands now operate on this project
|
|
78
|
+
|
|
79
|
+
**Expected Outcome**: User knows how to proceed
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## Verification
|
|
84
|
+
|
|
85
|
+
- [ ] Script executed without errors
|
|
86
|
+
- [ ] Project exists in registry
|
|
87
|
+
- [ ] Project directory exists
|
|
88
|
+
- [ ] `current_project` updated in registry
|
|
89
|
+
- [ ] `last_accessed` timestamp updated
|
|
90
|
+
- [ ] Working directory changed to project path
|
|
91
|
+
- [ ] Success message displayed
|
|
92
|
+
- [ ] User informed about next steps
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## Expected Output
|
|
97
|
+
|
|
98
|
+
### Console Output
|
|
99
|
+
```
|
|
100
|
+
✓ Switched to project: remember-mcp-server
|
|
101
|
+
Path: /home/user/.acp/projects/remember-mcp-server
|
|
102
|
+
Type: mcp-server
|
|
103
|
+
Description: Multi-tenant memory system with vector search
|
|
104
|
+
|
|
105
|
+
You are now in the project directory. All file operations will be relative to:
|
|
106
|
+
/home/user/.acp/projects/remember-mcp-server
|
|
107
|
+
|
|
108
|
+
Run '@acp.init' to load project context
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### Registry Changes
|
|
112
|
+
```yaml
|
|
113
|
+
# ~/.acp/projects.yaml
|
|
114
|
+
current_project: remember-mcp-server # Updated
|
|
115
|
+
|
|
116
|
+
projects:
|
|
117
|
+
remember-mcp-server:
|
|
118
|
+
last_accessed: 2026-02-24T17:00:00Z # Updated
|
|
119
|
+
# ... other fields unchanged
|
|
120
|
+
|
|
121
|
+
last_updated: 2026-02-24T17:00:00Z # Updated
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## Examples
|
|
127
|
+
|
|
128
|
+
### Example 1: Switch to MCP Server Project
|
|
129
|
+
|
|
130
|
+
**Context**: Working on multiple MCP servers, need to switch between them
|
|
131
|
+
|
|
132
|
+
**Invocation**: `@acp.project-set remember-mcp-server`
|
|
133
|
+
|
|
134
|
+
**Result**:
|
|
135
|
+
- Context switched to remember-mcp-server
|
|
136
|
+
- Working directory: `~/.acp/projects/remember-mcp-server`
|
|
137
|
+
- All commands now operate on this project
|
|
138
|
+
|
|
139
|
+
### Example 2: Switch to Client Project
|
|
140
|
+
|
|
141
|
+
**Context**: Need to work on client library after working on server
|
|
142
|
+
|
|
143
|
+
**Invocation**: `@acp.project-set remember-mcp`
|
|
144
|
+
|
|
145
|
+
**Result**:
|
|
146
|
+
- Context switched to remember-mcp (client)
|
|
147
|
+
- Working directory: `~/.acp/projects/remember-mcp`
|
|
148
|
+
- Can now work on client code
|
|
149
|
+
|
|
150
|
+
### Example 3: Project Not Found
|
|
151
|
+
|
|
152
|
+
**Context**: Trying to switch to non-existent project
|
|
153
|
+
|
|
154
|
+
**Invocation**: `@acp.project-set nonexistent-project`
|
|
155
|
+
|
|
156
|
+
**Result**:
|
|
157
|
+
- Error message displayed
|
|
158
|
+
- List of available projects shown
|
|
159
|
+
- Suggestion to run `@acp.project-list`
|
|
160
|
+
- Working directory unchanged
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
## Related Commands
|
|
165
|
+
|
|
166
|
+
- [`@acp.project-list`](acp.project-list.md) - List all projects
|
|
167
|
+
- [`@acp.project-info`](acp.project-info.md) - Show project details
|
|
168
|
+
- [`@acp.project-create`](acp.project-create.md) - Create new project
|
|
169
|
+
- [`@acp.init`](acp.init.md) - Load project context
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## Troubleshooting
|
|
174
|
+
|
|
175
|
+
### Issue 1: Project not found in registry
|
|
176
|
+
|
|
177
|
+
**Symptom**: Error "Project 'X' not found in registry"
|
|
178
|
+
|
|
179
|
+
**Cause**: Project not registered or typo in name
|
|
180
|
+
|
|
181
|
+
**Solution**:
|
|
182
|
+
- Run `@acp.project-list` to see available projects
|
|
183
|
+
- Check spelling of project name
|
|
184
|
+
- Register project with `@acp.project-create` if needed
|
|
185
|
+
|
|
186
|
+
### Issue 2: Project directory not found
|
|
187
|
+
|
|
188
|
+
**Symptom**: Error "Project directory not found: /path/to/project"
|
|
189
|
+
|
|
190
|
+
**Cause**: Project moved or deleted from filesystem
|
|
191
|
+
|
|
192
|
+
**Solution**:
|
|
193
|
+
- Update project path: `@acp.project-update <name> --path <new-path>`
|
|
194
|
+
- Or remove from registry: `@acp.project-remove <name>`
|
|
195
|
+
|
|
196
|
+
### Issue 3: Registry file not found
|
|
197
|
+
|
|
198
|
+
**Symptom**: Error "Project registry not found"
|
|
199
|
+
|
|
200
|
+
**Cause**: Global ACP not initialized or registry deleted
|
|
201
|
+
|
|
202
|
+
**Solution**:
|
|
203
|
+
- Run `@acp.project-create` to create first project (initializes registry)
|
|
204
|
+
- Or manually create `~/.acp/projects.yaml` from template
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
## Notes
|
|
209
|
+
|
|
210
|
+
- **Context Switching**: This command changes your shell's working directory
|
|
211
|
+
- **Relative Paths**: All file operations after this command are relative to the new project
|
|
212
|
+
- **Current Project**: Only one project can be current at a time
|
|
213
|
+
- **Timestamps**: `last_accessed` is updated every time you switch to a project
|
|
214
|
+
- **No Side Effects**: Switching projects doesn't modify project files
|
|
215
|
+
- **Shell Session**: Context switch persists for current shell session only
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
**Namespace**: acp
|
|
220
|
+
**Command**: project-set
|
|
221
|
+
**Version**: 1.0.0
|
|
222
|
+
**Created**: 2026-02-24
|
|
223
|
+
**Last Updated**: 2026-02-24
|
|
224
|
+
**Status**: Experimental
|
|
225
|
+
**Compatibility**: ACP 3.12.0+
|
|
226
|
+
**Author**: ACP Project
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Command: report
|
|
2
2
|
|
|
3
3
|
> **🤖 Agent Directive**: If you are reading this file, the command `@acp.report` has been invoked. Follow the steps below to execute this command.
|
|
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
|
+
> 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."
|
|
4
6
|
|
|
5
7
|
**Namespace**: acp
|
|
6
8
|
**Version**: 1.0.0
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
# Command: resume
|
|
2
|
+
|
|
3
|
+
> **🤖 Agent Directive**: If you are reading this file, the command `@acp.resume` has been invoked. Follow the steps below to execute this command.
|
|
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
|
+
> 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
|
+
|
|
7
|
+
**Namespace**: acp
|
|
8
|
+
**Version**: 1.0.0
|
|
9
|
+
**Created**: 2026-02-21
|
|
10
|
+
**Last Updated**: 2026-02-21
|
|
11
|
+
**Status**: Active
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
**Purpose**: Resume work on a project by initializing context, reviewing recent progress, and continuing with the next task
|
|
16
|
+
**Category**: Workflow
|
|
17
|
+
**Frequency**: Per Session
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## What This Command Does
|
|
22
|
+
|
|
23
|
+
This command is a convenient alias that combines three essential workflow commands into one:
|
|
24
|
+
|
|
25
|
+
1. **Initialize Context** - Loads all project documentation via `@acp.init`
|
|
26
|
+
2. **Review Recent Work** - Reads the latest session report to understand what was done
|
|
27
|
+
3. **Continue Work** - Proceeds with the current/next task via `@acp.proceed`
|
|
28
|
+
|
|
29
|
+
**Use this when**: Starting a new session or returning to a project after a break.
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Prerequisites
|
|
34
|
+
|
|
35
|
+
- [ ] ACP installed in project
|
|
36
|
+
- [ ] `agent/progress.yaml` exists
|
|
37
|
+
- [ ] Session reports exist in `agent/reports/` (optional but recommended)
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Steps
|
|
42
|
+
|
|
43
|
+
### 1. Initialize Agent Context
|
|
44
|
+
|
|
45
|
+
Run the initialization workflow to load complete project context.
|
|
46
|
+
|
|
47
|
+
**Actions**:
|
|
48
|
+
- Execute `@acp.init` workflow
|
|
49
|
+
- Check for ACP updates
|
|
50
|
+
- Read all agent documentation
|
|
51
|
+
- Review key source files
|
|
52
|
+
- Update stale documentation
|
|
53
|
+
- Refresh progress tracking
|
|
54
|
+
|
|
55
|
+
**Expected Outcome**: Complete project context loaded
|
|
56
|
+
|
|
57
|
+
### 2. Read Latest Session Report
|
|
58
|
+
|
|
59
|
+
Find and read the most recent session report to understand what was accomplished.
|
|
60
|
+
|
|
61
|
+
**Actions**:
|
|
62
|
+
- List files in `agent/reports/` directory
|
|
63
|
+
- Find most recent report (by date in filename)
|
|
64
|
+
- Read the report file
|
|
65
|
+
- Summarize key accomplishments
|
|
66
|
+
- Note any blockers or issues mentioned
|
|
67
|
+
|
|
68
|
+
**Expected Outcome**: Recent work understood
|
|
69
|
+
|
|
70
|
+
### 3. Proceed with Current/Next Task
|
|
71
|
+
|
|
72
|
+
Continue work by executing the current or next task.
|
|
73
|
+
|
|
74
|
+
**Actions**:
|
|
75
|
+
- Execute `@acp.proceed` workflow
|
|
76
|
+
- Identify current task from progress.yaml
|
|
77
|
+
- Read task document
|
|
78
|
+
- **START IMPLEMENTING immediately**
|
|
79
|
+
- Update progress tracking
|
|
80
|
+
|
|
81
|
+
**Expected Outcome**: Task implementation in progress
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## Verification
|
|
86
|
+
|
|
87
|
+
- [ ] Context initialized successfully
|
|
88
|
+
- [ ] Latest report read and summarized
|
|
89
|
+
- [ ] Current task identified
|
|
90
|
+
- [ ] Implementation started
|
|
91
|
+
- [ ] No errors encountered
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## Expected Output
|
|
96
|
+
|
|
97
|
+
### Console Output
|
|
98
|
+
```
|
|
99
|
+
🚀 Resuming Work on Project
|
|
100
|
+
|
|
101
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
102
|
+
|
|
103
|
+
Step 1: Initializing Context (@acp.init)
|
|
104
|
+
|
|
105
|
+
✓ ACP version check: v3.7.1 (up to date)
|
|
106
|
+
✓ Read agent/progress.yaml
|
|
107
|
+
✓ Read 6 design documents
|
|
108
|
+
✓ Read 5 milestone documents
|
|
109
|
+
✓ Read 36 task documents
|
|
110
|
+
✓ Reviewed key source files
|
|
111
|
+
✓ Documentation is current
|
|
112
|
+
✓ Progress tracking updated
|
|
113
|
+
|
|
114
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
115
|
+
|
|
116
|
+
Step 2: Reviewing Recent Work
|
|
117
|
+
|
|
118
|
+
📋 Latest Report: agent/reports/report-2026-02-21-session-4.md
|
|
119
|
+
|
|
120
|
+
Recent Accomplishments:
|
|
121
|
+
- ✅ Task 34: Generic YAML parser with AST
|
|
122
|
+
- ✅ Task 35: YAML parser migration
|
|
123
|
+
- ✅ Created E2E test infrastructure
|
|
124
|
+
- ✅ Fixed 11 critical bugs in package scripts
|
|
125
|
+
- ✅ Created GitHub Pages package browser
|
|
126
|
+
|
|
127
|
+
Current Status:
|
|
128
|
+
- Milestone 5: Global Package Installation (0% complete)
|
|
129
|
+
- Next: Task 25 - Global Infrastructure Setup
|
|
130
|
+
|
|
131
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
132
|
+
|
|
133
|
+
Step 3: Proceeding with Next Task (@acp.proceed)
|
|
134
|
+
|
|
135
|
+
📋 Current Task: task-25-global-infrastructure
|
|
136
|
+
|
|
137
|
+
Objective: Create ~/.acp/ directory structure with AGENT.md and manifest.yaml
|
|
138
|
+
|
|
139
|
+
[Implementation begins...]
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
## Examples
|
|
145
|
+
|
|
146
|
+
### Example 1: Resuming After Break
|
|
147
|
+
|
|
148
|
+
**Context**: Haven't worked on project in a few days
|
|
149
|
+
|
|
150
|
+
**Invocation**: `@acp.resume`
|
|
151
|
+
|
|
152
|
+
**Result**:
|
|
153
|
+
- Loads complete context
|
|
154
|
+
- Reviews last 3 sessions of work
|
|
155
|
+
- Identifies current task (task-12)
|
|
156
|
+
- Starts implementing task-12
|
|
157
|
+
|
|
158
|
+
### Example 2: Starting New Session
|
|
159
|
+
|
|
160
|
+
**Context**: Beginning work for the day
|
|
161
|
+
|
|
162
|
+
**Invocation**: `@acp.resume`
|
|
163
|
+
|
|
164
|
+
**Result**:
|
|
165
|
+
- Initializes context
|
|
166
|
+
- Shows yesterday's accomplishments
|
|
167
|
+
- Continues with current task
|
|
168
|
+
|
|
169
|
+
### Example 3: Switching Agents
|
|
170
|
+
|
|
171
|
+
**Context**: Different AI agent picking up the project
|
|
172
|
+
|
|
173
|
+
**Invocation**: `@acp.resume`
|
|
174
|
+
|
|
175
|
+
**Result**:
|
|
176
|
+
- Complete onboarding via @acp.init
|
|
177
|
+
- Understands recent work from reports
|
|
178
|
+
- Ready to contribute immediately
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
## Related Commands
|
|
183
|
+
|
|
184
|
+
- [`@acp.init`](acp.init.md) - Initialize context only
|
|
185
|
+
- [`@acp.proceed`](acp.proceed.md) - Proceed with task only
|
|
186
|
+
- [`@acp.status`](acp.status.md) - Check status without proceeding
|
|
187
|
+
- [`@acp.report`](acp.report.md) - Generate session report
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## Troubleshooting
|
|
192
|
+
|
|
193
|
+
### Issue 1: No reports found
|
|
194
|
+
|
|
195
|
+
**Symptom**: Warning "No session reports found"
|
|
196
|
+
|
|
197
|
+
**Cause**: No reports in agent/reports/ directory
|
|
198
|
+
|
|
199
|
+
**Solution**: This is fine for new projects. The command will skip report review and proceed to task execution.
|
|
200
|
+
|
|
201
|
+
### Issue 2: Context initialization fails
|
|
202
|
+
|
|
203
|
+
**Symptom**: Error during @acp.init
|
|
204
|
+
|
|
205
|
+
**Cause**: Missing agent/ directory or corrupted files
|
|
206
|
+
|
|
207
|
+
**Solution**: Run `@acp.init` separately to see detailed error, fix issues, then run `@acp.resume` again
|
|
208
|
+
|
|
209
|
+
### Issue 3: No current task
|
|
210
|
+
|
|
211
|
+
**Symptom**: Error "No current task found"
|
|
212
|
+
|
|
213
|
+
**Cause**: All tasks completed or progress.yaml doesn't have current task
|
|
214
|
+
|
|
215
|
+
**Solution**: Review progress.yaml, create new tasks, or mark a task as in_progress
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
## Notes
|
|
220
|
+
|
|
221
|
+
- This is a convenience command that chains three workflows
|
|
222
|
+
- Equivalent to running: `@acp.init` → read reports → `@acp.proceed`
|
|
223
|
+
- Saves time when starting new sessions
|
|
224
|
+
- Provides comprehensive context before starting work
|
|
225
|
+
- Reports are optional but highly recommended for context
|
|
226
|
+
- If no reports exist, command still works (skips report review)
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
**Namespace**: acp
|
|
231
|
+
**Command**: resume
|
|
232
|
+
**Version**: 1.0.0
|
|
233
|
+
**Created**: 2026-02-21
|
|
234
|
+
**Last Updated**: 2026-02-21
|
|
235
|
+
**Status**: Active
|
|
236
|
+
**Compatibility**: ACP 3.7.0+
|
|
237
|
+
**Author**: ACP Project
|