@prmichaelsen/task-mcp 0.2.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 +19 -0
- package/AGENT.md +1165 -0
- package/CHANGELOG.md +72 -0
- package/agent/commands/acp.commit.md +511 -0
- package/agent/commands/acp.init.md +376 -0
- package/agent/commands/acp.package-install.md +347 -0
- package/agent/commands/acp.proceed.md +311 -0
- package/agent/commands/acp.report.md +392 -0
- package/agent/commands/acp.status.md +280 -0
- package/agent/commands/acp.sync.md +323 -0
- package/agent/commands/acp.update.md +301 -0
- package/agent/commands/acp.validate.md +385 -0
- package/agent/commands/acp.version-check-for-updates.md +275 -0
- package/agent/commands/acp.version-check.md +190 -0
- package/agent/commands/acp.version-update.md +288 -0
- package/agent/commands/command.template.md +273 -0
- package/agent/commands/git.commit.md +511 -0
- package/agent/commands/git.init.md +513 -0
- package/agent/design/.gitkeep +0 -0
- package/agent/design/acp-task-execution-requirements.md +555 -0
- package/agent/design/api-dto-design.md +394 -0
- package/agent/design/code-extraction-guide.md +827 -0
- package/agent/design/design.template.md +136 -0
- package/agent/design/requirements.template.md +387 -0
- package/agent/design/rest-api-integration.md +489 -0
- package/agent/design/sdk-export-requirements.md +549 -0
- package/agent/milestones/.gitkeep +0 -0
- package/agent/milestones/milestone-1-{title}.template.md +206 -0
- package/agent/milestones/milestone-2-task-infrastructure.md +232 -0
- package/agent/milestones/milestone-4-autonomous-execution.md +235 -0
- package/agent/patterns/.gitkeep +0 -0
- package/agent/patterns/bootstrap.md +1271 -0
- package/agent/patterns/bootstrap.template.md +1237 -0
- package/agent/patterns/pattern.template.md +364 -0
- package/agent/progress.template.yaml +158 -0
- package/agent/progress.yaml +375 -0
- package/agent/scripts/check-for-updates.sh +88 -0
- package/agent/scripts/install.sh +157 -0
- package/agent/scripts/uninstall.sh +75 -0
- package/agent/scripts/update.sh +139 -0
- package/agent/scripts/version.sh +35 -0
- package/agent/tasks/.gitkeep +0 -0
- package/agent/tasks/task-1-{title}.template.md +225 -0
- package/agent/tasks/task-86-task-data-model-schemas.md +143 -0
- package/agent/tasks/task-87-task-database-service.md +220 -0
- package/agent/tasks/task-88-firebase-client-wrapper.md +139 -0
- package/agent/tasks/task-88-task-execution-engine.md +277 -0
- package/agent/tasks/task-89-mcp-server-implementation.md +197 -0
- package/agent/tasks/task-90-build-configuration.md +146 -0
- package/agent/tasks/task-91-deployment-configuration.md +128 -0
- package/coverage/base.css +224 -0
- package/coverage/block-navigation.js +87 -0
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +191 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +191 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +210 -0
- package/coverage/lcov-report/src/client.ts.html +1030 -0
- package/coverage/lcov-report/src/constant/collections.ts.html +469 -0
- package/coverage/lcov-report/src/constant/index.html +116 -0
- package/coverage/lcov-report/src/dto/index.html +116 -0
- package/coverage/lcov-report/src/dto/transformers.ts.html +568 -0
- package/coverage/lcov-report/src/index.html +146 -0
- package/coverage/lcov-report/src/schemas/index.html +116 -0
- package/coverage/lcov-report/src/schemas/task.ts.html +547 -0
- package/coverage/lcov-report/src/server-factory.ts.html +418 -0
- package/coverage/lcov-report/src/server.ts.html +289 -0
- package/coverage/lcov-report/src/services/index.html +116 -0
- package/coverage/lcov-report/src/services/task-database.service.ts.html +1495 -0
- package/coverage/lcov-report/src/tools/index.html +236 -0
- package/coverage/lcov-report/src/tools/index.ts.html +292 -0
- package/coverage/lcov-report/src/tools/task-add-message.ts.html +277 -0
- package/coverage/lcov-report/src/tools/task-complete-task-item.ts.html +343 -0
- package/coverage/lcov-report/src/tools/task-create-milestone.ts.html +286 -0
- package/coverage/lcov-report/src/tools/task-create-task-item.ts.html +358 -0
- package/coverage/lcov-report/src/tools/task-get-next-step.ts.html +460 -0
- package/coverage/lcov-report/src/tools/task-get-status.ts.html +316 -0
- package/coverage/lcov-report/src/tools/task-report-completion.ts.html +343 -0
- package/coverage/lcov-report/src/tools/task-update-progress.ts.html +232 -0
- package/coverage/lcov.info +974 -0
- package/coverage/prettify.css +1 -0
- package/coverage/prettify.js +2 -0
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +210 -0
- package/coverage/src/client.ts.html +1030 -0
- package/coverage/src/constant/collections.ts.html +469 -0
- package/coverage/src/constant/index.html +116 -0
- package/coverage/src/dto/index.html +116 -0
- package/coverage/src/dto/transformers.ts.html +568 -0
- package/coverage/src/index.html +146 -0
- package/coverage/src/schemas/index.html +116 -0
- package/coverage/src/schemas/task.ts.html +547 -0
- package/coverage/src/server-factory.ts.html +418 -0
- package/coverage/src/server.ts.html +289 -0
- package/coverage/src/services/index.html +116 -0
- package/coverage/src/services/task-database.service.ts.html +1495 -0
- package/coverage/src/tools/index.html +236 -0
- package/coverage/src/tools/index.ts.html +292 -0
- package/coverage/src/tools/task-add-message.ts.html +277 -0
- package/coverage/src/tools/task-complete-task-item.ts.html +343 -0
- package/coverage/src/tools/task-create-milestone.ts.html +286 -0
- package/coverage/src/tools/task-create-task-item.ts.html +358 -0
- package/coverage/src/tools/task-get-next-step.ts.html +460 -0
- package/coverage/src/tools/task-get-status.ts.html +316 -0
- package/coverage/src/tools/task-report-completion.ts.html +343 -0
- package/coverage/src/tools/task-update-progress.ts.html +232 -0
- package/firestore.rules +95 -0
- package/jest.config.js +31 -0
- package/package.json +67 -0
- package/src/client.spec.ts +199 -0
- package/src/client.ts +315 -0
- package/src/constant/collections.ts +128 -0
- package/src/dto/index.ts +47 -0
- package/src/dto/task-api.dto.ts +219 -0
- package/src/dto/transformers.spec.ts +462 -0
- package/src/dto/transformers.ts +161 -0
- package/src/schemas/task.ts +154 -0
- package/src/server-factory.spec.ts +70 -0
- package/src/server-factory.ts +111 -0
- package/src/server.ts +68 -0
- package/src/services/task-database.service.e2e.ts +116 -0
- package/src/services/task-database.service.spec.ts +479 -0
- package/src/services/task-database.service.ts +470 -0
- package/src/test-schemas.ts +161 -0
- package/src/tools/index.ts +69 -0
- package/src/tools/task-add-message.ts +64 -0
- package/src/tools/task-complete-task-item.ts +86 -0
- package/src/tools/task-create-milestone.ts +67 -0
- package/src/tools/task-create-task-item.ts +91 -0
- package/src/tools/task-get-next-step.spec.ts +136 -0
- package/src/tools/task-get-next-step.ts +125 -0
- package/src/tools/task-get-status.spec.ts +213 -0
- package/src/tools/task-get-status.ts +77 -0
- package/src/tools/task-report-completion.ts +86 -0
- package/src/tools/task-update-progress.ts +49 -0
- package/src/tools/tools.spec.ts +194 -0
- package/tsconfig.json +31 -0
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
# Command: package-install
|
|
2
|
+
|
|
3
|
+
> **🤖 Agent Directive**: If you are reading this file, the command `@acp.package-install` has been invoked. Follow the steps below to execute this command.
|
|
4
|
+
|
|
5
|
+
**Namespace**: acp
|
|
6
|
+
**Version**: 1.0.0
|
|
7
|
+
**Created**: 2026-02-16
|
|
8
|
+
**Last Updated**: 2026-02-16
|
|
9
|
+
**Status**: Active
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
**Purpose**: Install third-party command packages from git repositories using the package-install script
|
|
14
|
+
**Category**: Maintenance
|
|
15
|
+
**Frequency**: As Needed
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## What This Command Does
|
|
20
|
+
|
|
21
|
+
This command installs third-party ACP packages from git repositories by running the `agent/scripts/package-install.sh` script. The script clones the repository and installs files from the `agent/` directory, including commands, patterns, and design documents.
|
|
22
|
+
|
|
23
|
+
Use this command when you want to add community-created commands and patterns, install organization-specific ACP content, or share reusable components across multiple projects. It enables extending ACP with custom functionality, patterns, and documentation.
|
|
24
|
+
|
|
25
|
+
⚠️ **SECURITY WARNING**: Third-party packages can instruct agents to modify files and execute scripts. Always review package contents before installation. You assume all risk when installing third-party packages.
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Prerequisites
|
|
30
|
+
|
|
31
|
+
- [ ] ACP installed in project
|
|
32
|
+
- [ ] Git installed and available
|
|
33
|
+
- [ ] Internet connection available
|
|
34
|
+
- [ ] `agent/scripts/package-install.sh` exists
|
|
35
|
+
- [ ] You trust the source of the commands
|
|
36
|
+
- [ ] You have reviewed the command repository
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Steps
|
|
41
|
+
|
|
42
|
+
### 1. Run Package Install Script
|
|
43
|
+
|
|
44
|
+
Execute the package installation script with the repository URL.
|
|
45
|
+
|
|
46
|
+
**Actions**:
|
|
47
|
+
- Verify `./agent/scripts/package-install.sh` exists
|
|
48
|
+
- Run the script with repository URL as argument:
|
|
49
|
+
```bash
|
|
50
|
+
# Interactive mode (asks for confirmation)
|
|
51
|
+
./agent/scripts/package-install.sh <repository-url>
|
|
52
|
+
|
|
53
|
+
# Auto-confirm mode (skips prompts)
|
|
54
|
+
./agent/scripts/package-install.sh -y <repository-url>
|
|
55
|
+
```
|
|
56
|
+
- The script will:
|
|
57
|
+
- Validate the repository URL
|
|
58
|
+
- Clone the repository to a temporary location
|
|
59
|
+
- Scan agent/ directory for installable files (commands, patterns, design)
|
|
60
|
+
- Validate command files (agent directive, namespace check)
|
|
61
|
+
- Check for naming conflicts
|
|
62
|
+
- Ask for confirmation (unless -y flag used)
|
|
63
|
+
- Copy files to respective agent/ directories
|
|
64
|
+
- Clean up temporary files
|
|
65
|
+
- Report what was installed
|
|
66
|
+
|
|
67
|
+
**Expected Outcome**: Script completes successfully and files are installed
|
|
68
|
+
|
|
69
|
+
### 2. Review Installed Files
|
|
70
|
+
|
|
71
|
+
Verify the files were installed correctly.
|
|
72
|
+
|
|
73
|
+
**Actions**:
|
|
74
|
+
- List files in `agent/commands/` to see new commands
|
|
75
|
+
- List files in `agent/patterns/` to see new patterns
|
|
76
|
+
- List files in `agent/design/` to see new designs
|
|
77
|
+
- Read the installed files
|
|
78
|
+
- Verify commands have agent directives
|
|
79
|
+
- Check namespace is not `acp` (reserved for commands)
|
|
80
|
+
- Ensure no malicious content
|
|
81
|
+
|
|
82
|
+
**Expected Outcome**: Files verified safe and functional
|
|
83
|
+
|
|
84
|
+
### 3. Test Installed Commands
|
|
85
|
+
|
|
86
|
+
Try invoking one of the installed commands (if any).
|
|
87
|
+
|
|
88
|
+
**Actions**:
|
|
89
|
+
- Choose a simple command to test
|
|
90
|
+
- Invoke it using `@{namespace}.{action}` syntax
|
|
91
|
+
- Verify it works as expected
|
|
92
|
+
- Check for any errors
|
|
93
|
+
|
|
94
|
+
**Expected Outcome**: Commands work correctly
|
|
95
|
+
|
|
96
|
+
### 4. Document Installation
|
|
97
|
+
|
|
98
|
+
Update progress tracking with installation notes.
|
|
99
|
+
|
|
100
|
+
**Actions**:
|
|
101
|
+
- Add note to `agent/progress.yaml` about installed package
|
|
102
|
+
- Document which package was installed
|
|
103
|
+
- Note installation date
|
|
104
|
+
- List installed files (commands, patterns, designs)
|
|
105
|
+
|
|
106
|
+
**Expected Outcome**: Installation tracked in progress
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## Verification
|
|
111
|
+
|
|
112
|
+
- [ ] package-install.sh script exists
|
|
113
|
+
- [ ] Script executed successfully
|
|
114
|
+
- [ ] Files installed to appropriate agent/ directories
|
|
115
|
+
- [ ] Installed commands reviewed for safety (if any)
|
|
116
|
+
- [ ] Installed patterns reviewed (if any)
|
|
117
|
+
- [ ] Installed designs reviewed (if any)
|
|
118
|
+
- [ ] Commands tested and working (if any)
|
|
119
|
+
- [ ] Installation documented in progress.yaml
|
|
120
|
+
- [ ] No errors during installation
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## Expected Output
|
|
125
|
+
|
|
126
|
+
### Files Modified
|
|
127
|
+
- `agent/commands/*.md` - Installed command files (if any)
|
|
128
|
+
- `agent/patterns/*.md` - Installed pattern files (if any)
|
|
129
|
+
- `agent/design/*.md` - Installed design files (if any)
|
|
130
|
+
|
|
131
|
+
### Console Output
|
|
132
|
+
```
|
|
133
|
+
📦 ACP Package Installer
|
|
134
|
+
========================================
|
|
135
|
+
|
|
136
|
+
Repository: https://github.com/example/fullstack-package.git
|
|
137
|
+
|
|
138
|
+
Cloning repository...
|
|
139
|
+
✓ Repository cloned
|
|
140
|
+
|
|
141
|
+
Scanning for installable files...
|
|
142
|
+
|
|
143
|
+
📁 commands/ (3 file(s))
|
|
144
|
+
✓ deploy.production.md
|
|
145
|
+
✓ deploy.staging.md
|
|
146
|
+
⚠ deploy.rollback.md (will overwrite existing)
|
|
147
|
+
|
|
148
|
+
📁 patterns/ (2 file(s))
|
|
149
|
+
✓ api-service.md
|
|
150
|
+
✓ error-handling.md
|
|
151
|
+
|
|
152
|
+
📁 design/ (1 file(s))
|
|
153
|
+
✓ deployment-strategy.md
|
|
154
|
+
|
|
155
|
+
Ready to install 6 file(s)
|
|
156
|
+
|
|
157
|
+
Proceed with installation? (y/N) y
|
|
158
|
+
|
|
159
|
+
Installing files...
|
|
160
|
+
✓ Installed commands/deploy.production.md
|
|
161
|
+
✓ Installed commands/deploy.staging.md
|
|
162
|
+
✓ Installed commands/deploy.rollback.md
|
|
163
|
+
✓ Installed patterns/api-service.md
|
|
164
|
+
✓ Installed patterns/error-handling.md
|
|
165
|
+
✓ Installed design/deployment-strategy.md
|
|
166
|
+
|
|
167
|
+
✅ Installation complete!
|
|
168
|
+
|
|
169
|
+
Installed 6 file(s) from:
|
|
170
|
+
https://github.com/example/fullstack-package.git
|
|
171
|
+
|
|
172
|
+
Installed commands:
|
|
173
|
+
- @deploy.production
|
|
174
|
+
- @deploy.staging
|
|
175
|
+
- @deploy.rollback
|
|
176
|
+
|
|
177
|
+
⚠️ Security Reminder:
|
|
178
|
+
Review installed files before using them.
|
|
179
|
+
Third-party files can instruct agents to modify files and execute scripts.
|
|
180
|
+
|
|
181
|
+
Next steps:
|
|
182
|
+
1. Review installed files in agent/ directories
|
|
183
|
+
2. Test installed commands
|
|
184
|
+
3. Update progress.yaml with installation notes
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
### Status Update
|
|
188
|
+
- Commands installed
|
|
189
|
+
- Installation documented
|
|
190
|
+
- Commands ready to use
|
|
191
|
+
|
|
192
|
+
---
|
|
193
|
+
|
|
194
|
+
## Examples
|
|
195
|
+
|
|
196
|
+
### Example 1: Installing Deployment Commands
|
|
197
|
+
|
|
198
|
+
**Context**: Want to add deployment commands from community
|
|
199
|
+
|
|
200
|
+
**Invocation**: `@acp.package-install https://github.com/example/acp-deploy-package.git`
|
|
201
|
+
|
|
202
|
+
**Result**: Script clones repo, installs 3 commands to agent/commands/, now can use @deploy.production
|
|
203
|
+
|
|
204
|
+
### Example 2: Installing Patterns Package
|
|
205
|
+
|
|
206
|
+
**Context**: Want to add TypeScript patterns from organization
|
|
207
|
+
|
|
208
|
+
**Invocation**: `@acp.package-install https://github.com/myorg/typescript-patterns.git`
|
|
209
|
+
|
|
210
|
+
**Result**: Script installs 5 pattern files to agent/patterns/, now have reusable TypeScript patterns
|
|
211
|
+
|
|
212
|
+
### Example 3: Installing Complete Package
|
|
213
|
+
|
|
214
|
+
**Context**: Installing package with commands, patterns, and designs
|
|
215
|
+
|
|
216
|
+
**Invocation**: `@acp.package-install https://github.com/example/fullstack-package.git`
|
|
217
|
+
|
|
218
|
+
**Result**: Script installs 3 commands, 4 patterns, 2 design docs across agent/ directories
|
|
219
|
+
|
|
220
|
+
### Example 4: Installing with Conflicts
|
|
221
|
+
|
|
222
|
+
**Context**: Installing package that conflicts with existing files
|
|
223
|
+
|
|
224
|
+
**Invocation**: `@acp.package-install https://github.com/example/package.git`
|
|
225
|
+
|
|
226
|
+
**Result**: Script detects conflicts, asks for confirmation, overwrites if approved
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
## Related Commands
|
|
231
|
+
|
|
232
|
+
- [`@acp.validate`](acp.validate.md) - Validate installed commands
|
|
233
|
+
- [`@acp.version-update`](acp.version-update.md) - Update core ACP commands
|
|
234
|
+
- [`@acp.status`](acp.status.md) - View project status
|
|
235
|
+
|
|
236
|
+
---
|
|
237
|
+
|
|
238
|
+
## Troubleshooting
|
|
239
|
+
|
|
240
|
+
### Issue 1: Git clone fails
|
|
241
|
+
|
|
242
|
+
**Symptom**: Cannot clone repository
|
|
243
|
+
|
|
244
|
+
**Cause**: Invalid URL, no internet, or private repository
|
|
245
|
+
|
|
246
|
+
**Solution**: Verify URL is correct, check internet connection, ensure repository is public or you have access
|
|
247
|
+
|
|
248
|
+
### Issue 2: No commands found
|
|
249
|
+
|
|
250
|
+
**Symptom**: Repository cloned but no commands found
|
|
251
|
+
|
|
252
|
+
**Cause**: Commands not in expected location or wrong structure
|
|
253
|
+
|
|
254
|
+
**Solution**: Check repository structure, look for commands/ directory, verify files are .md format
|
|
255
|
+
|
|
256
|
+
### Issue 3: Validation fails
|
|
257
|
+
|
|
258
|
+
**Symptom**: Commands fail validation
|
|
259
|
+
|
|
260
|
+
**Cause**: Commands don't follow ACP structure
|
|
261
|
+
|
|
262
|
+
**Solution**: Review command files, ensure they have agent directive and required sections, contact command author
|
|
263
|
+
|
|
264
|
+
### Issue 4: Namespace conflict
|
|
265
|
+
|
|
266
|
+
**Symptom**: Command uses reserved namespace
|
|
267
|
+
|
|
268
|
+
**Cause**: Command tries to use 'acp' namespace
|
|
269
|
+
|
|
270
|
+
**Solution**: Cannot install - 'acp' namespace is reserved for core commands, contact command author to change namespace
|
|
271
|
+
|
|
272
|
+
---
|
|
273
|
+
|
|
274
|
+
## Security Considerations
|
|
275
|
+
|
|
276
|
+
### ⚠️ CRITICAL SECURITY WARNING
|
|
277
|
+
|
|
278
|
+
**Third-party packages can contain:**
|
|
279
|
+
- **Commands** that instruct agents to modify files and execute scripts
|
|
280
|
+
- **Patterns** that guide code implementation decisions
|
|
281
|
+
- **Designs** that influence architecture and technical decisions
|
|
282
|
+
|
|
283
|
+
**Third-party commands can:**
|
|
284
|
+
- Modify any files in your project
|
|
285
|
+
- Execute shell commands
|
|
286
|
+
- Make network requests
|
|
287
|
+
- Access environment variables
|
|
288
|
+
- Read sensitive data
|
|
289
|
+
|
|
290
|
+
**YOU ASSUME ALL RISK when installing third-party packages.**
|
|
291
|
+
|
|
292
|
+
### Security Best Practices
|
|
293
|
+
|
|
294
|
+
**Before Installing**:
|
|
295
|
+
1. Review the repository and command files
|
|
296
|
+
2. Check the author's reputation
|
|
297
|
+
3. Read what each command does
|
|
298
|
+
4. Verify no malicious content
|
|
299
|
+
5. Test in a non-production environment first
|
|
300
|
+
|
|
301
|
+
**After Installing**:
|
|
302
|
+
1. Review installed command files
|
|
303
|
+
2. Test commands in safe environment
|
|
304
|
+
3. Monitor command behavior
|
|
305
|
+
4. Remove if suspicious activity
|
|
306
|
+
5. Keep installation records
|
|
307
|
+
|
|
308
|
+
### File Access
|
|
309
|
+
- **Reads**: Repository files, existing files in agent/ directories
|
|
310
|
+
- **Writes**: `agent/commands/*.md`, `agent/patterns/*.md`, `agent/design/*.md`
|
|
311
|
+
- **Executes**: `git clone` command, `./agent/scripts/package-install.sh`
|
|
312
|
+
|
|
313
|
+
### Network Access
|
|
314
|
+
- **APIs**: None directly
|
|
315
|
+
- **Repositories**: Clones from specified git repository
|
|
316
|
+
|
|
317
|
+
### Sensitive Data
|
|
318
|
+
- **Secrets**: Does not access secrets
|
|
319
|
+
- **Credentials**: May use git credentials for private repos
|
|
320
|
+
|
|
321
|
+
---
|
|
322
|
+
|
|
323
|
+
## Notes
|
|
324
|
+
|
|
325
|
+
- Installs from all agent/ directories: commands, patterns, design
|
|
326
|
+
- Only install packages from trusted sources
|
|
327
|
+
- Review all files before installation (commands, patterns, designs)
|
|
328
|
+
- Test in safe environment first
|
|
329
|
+
- Keep record of installed packages
|
|
330
|
+
- Update installed packages periodically
|
|
331
|
+
- Remove unused files
|
|
332
|
+
- Report security issues to package authors
|
|
333
|
+
- Consider forking repositories for stability
|
|
334
|
+
- Pin to specific versions/commits for reproducibility
|
|
335
|
+
- Use `-y` flag for automated/scripted installations
|
|
336
|
+
- Patterns and designs influence agent behavior just like commands
|
|
337
|
+
|
|
338
|
+
---
|
|
339
|
+
|
|
340
|
+
**Namespace**: acp
|
|
341
|
+
**Command**: package-install
|
|
342
|
+
**Version**: 1.0.0
|
|
343
|
+
**Created**: 2026-02-16
|
|
344
|
+
**Last Updated**: 2026-02-16
|
|
345
|
+
**Status**: Active
|
|
346
|
+
**Compatibility**: ACP 1.1.0+
|
|
347
|
+
**Author**: ACP Project
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
# Command: proceed
|
|
2
|
+
|
|
3
|
+
> **🤖 Agent Directive**: If you are reading this file, the command `@acp-proceed` has been invoked. Follow the steps below to execute this command.
|
|
4
|
+
|
|
5
|
+
**Namespace**: acp
|
|
6
|
+
**Version**: 1.0.0
|
|
7
|
+
**Created**: 2026-02-16
|
|
8
|
+
**Last Updated**: 2026-02-16
|
|
9
|
+
**Status**: Active
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
**Purpose**: Continue with the current or next task, executing steps and updating progress tracking
|
|
14
|
+
**Category**: Workflow
|
|
15
|
+
**Frequency**: As Needed
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## What This Command Does
|
|
20
|
+
|
|
21
|
+
This command enables you to continue working on the current task or move to the next task in the project. It reads the current task from `agent/progress.yaml`, loads the task document, guides you through executing the task steps, verifies completion, and updates progress tracking.
|
|
22
|
+
|
|
23
|
+
Use this command when you're ready to work on tasks after initializing context with `@acp-init`, or when continuing work during an active session. It's the primary command for making progress on the project's task list.
|
|
24
|
+
|
|
25
|
+
Unlike `@acp-status` which only displays information, `@acp-proceed` is an active command that guides task execution and modifies `agent/progress.yaml` to track progress.
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Prerequisites
|
|
30
|
+
|
|
31
|
+
- [ ] ACP installed in project
|
|
32
|
+
- [ ] `agent/progress.yaml` exists and has current task defined
|
|
33
|
+
- [ ] Current task document exists in `agent/tasks/`
|
|
34
|
+
- [ ] Context initialized (recommended to run `@acp-init` first)
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Steps
|
|
39
|
+
|
|
40
|
+
### 1. Read Progress Tracking
|
|
41
|
+
|
|
42
|
+
Read `agent/progress.yaml` to identify the current task.
|
|
43
|
+
|
|
44
|
+
**Actions**:
|
|
45
|
+
- Open and parse `agent/progress.yaml`
|
|
46
|
+
- Find the current milestone
|
|
47
|
+
- Identify the current task (first task with status `in_progress` or `not_started`)
|
|
48
|
+
- Note task ID, name, and file path
|
|
49
|
+
|
|
50
|
+
**Expected Outcome**: Current task identified
|
|
51
|
+
|
|
52
|
+
### 2. Load Task Document
|
|
53
|
+
|
|
54
|
+
Read the task document to understand what needs to be done.
|
|
55
|
+
|
|
56
|
+
**Actions**:
|
|
57
|
+
- Open the task file (e.g., `agent/tasks/task-3-implement-feature.md`)
|
|
58
|
+
- Read the objective
|
|
59
|
+
- Review all steps
|
|
60
|
+
- Note verification criteria
|
|
61
|
+
- Check for dependencies
|
|
62
|
+
|
|
63
|
+
**Expected Outcome**: Task requirements understood
|
|
64
|
+
|
|
65
|
+
### 3. Check Prerequisites
|
|
66
|
+
|
|
67
|
+
Verify any task prerequisites are met.
|
|
68
|
+
|
|
69
|
+
**Actions**:
|
|
70
|
+
- Review prerequisites section in task document
|
|
71
|
+
- Check if dependencies are satisfied
|
|
72
|
+
- Verify required tools/files are available
|
|
73
|
+
- Report any missing prerequisites
|
|
74
|
+
|
|
75
|
+
**Expected Outcome**: Prerequisites confirmed or blockers identified
|
|
76
|
+
|
|
77
|
+
### 4. Execute Task Steps
|
|
78
|
+
|
|
79
|
+
Work through the task steps sequentially.
|
|
80
|
+
|
|
81
|
+
**Actions**:
|
|
82
|
+
- Follow each step in the task document
|
|
83
|
+
- Execute required actions (create files, run commands, etc.)
|
|
84
|
+
- Document any deviations from the plan
|
|
85
|
+
- Handle errors appropriately
|
|
86
|
+
|
|
87
|
+
**Expected Outcome**: Task steps completed
|
|
88
|
+
|
|
89
|
+
### 5. Verify Completion
|
|
90
|
+
|
|
91
|
+
Check all verification items from the task document.
|
|
92
|
+
|
|
93
|
+
**Actions**:
|
|
94
|
+
- Go through verification checklist
|
|
95
|
+
- Run tests if specified
|
|
96
|
+
- Confirm all acceptance criteria met
|
|
97
|
+
- Note any incomplete items
|
|
98
|
+
|
|
99
|
+
**Expected Outcome**: Task verified as complete or issues identified
|
|
100
|
+
|
|
101
|
+
### 6. Update Progress Tracking
|
|
102
|
+
|
|
103
|
+
Update `agent/progress.yaml` with task completion.
|
|
104
|
+
|
|
105
|
+
**Actions**:
|
|
106
|
+
- Mark task status as `completed`
|
|
107
|
+
- Set completion date to today
|
|
108
|
+
- Update milestone progress percentage
|
|
109
|
+
- Increment `tasks_completed` count
|
|
110
|
+
- Add entry to `recent_work` section
|
|
111
|
+
- Update `next_steps` if needed
|
|
112
|
+
|
|
113
|
+
**Expected Outcome**: Progress tracking reflects completed work
|
|
114
|
+
|
|
115
|
+
### 7. Report Progress
|
|
116
|
+
|
|
117
|
+
Provide summary of what was accomplished.
|
|
118
|
+
|
|
119
|
+
**Actions**:
|
|
120
|
+
- Summarize task completion
|
|
121
|
+
- Show updated milestone progress
|
|
122
|
+
- Identify next task
|
|
123
|
+
- Note any blockers or issues
|
|
124
|
+
|
|
125
|
+
**Expected Outcome**: User informed of progress and next steps
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## Verification
|
|
130
|
+
|
|
131
|
+
- [ ] Current task identified from progress.yaml
|
|
132
|
+
- [ ] Task document read and understood
|
|
133
|
+
- [ ] Prerequisites checked
|
|
134
|
+
- [ ] All task steps executed
|
|
135
|
+
- [ ] Verification checklist completed
|
|
136
|
+
- [ ] progress.yaml updated with completion
|
|
137
|
+
- [ ] Milestone progress percentage updated
|
|
138
|
+
- [ ] Recent work entry added
|
|
139
|
+
- [ ] Next task identified
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## Expected Output
|
|
144
|
+
|
|
145
|
+
### Files Modified
|
|
146
|
+
- `agent/progress.yaml` - Task marked complete, progress updated, recent work added
|
|
147
|
+
- Task-specific files (as defined in task document)
|
|
148
|
+
|
|
149
|
+
### Console Output
|
|
150
|
+
```
|
|
151
|
+
📋 Current Task: task-3-implement-core-logic
|
|
152
|
+
|
|
153
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
154
|
+
|
|
155
|
+
Objective: Implement the core business logic for the application
|
|
156
|
+
|
|
157
|
+
Steps:
|
|
158
|
+
1. Create service layer classes
|
|
159
|
+
2. Implement data access methods
|
|
160
|
+
3. Add error handling
|
|
161
|
+
4. Write unit tests
|
|
162
|
+
|
|
163
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
164
|
+
|
|
165
|
+
Executing task steps...
|
|
166
|
+
|
|
167
|
+
✅ Step 1: Created service layer classes
|
|
168
|
+
✅ Step 2: Implemented data access methods
|
|
169
|
+
✅ Step 3: Added error handling
|
|
170
|
+
✅ Step 4: Wrote unit tests
|
|
171
|
+
|
|
172
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
173
|
+
|
|
174
|
+
Verification:
|
|
175
|
+
✅ All service classes created
|
|
176
|
+
✅ Unit tests pass
|
|
177
|
+
✅ TypeScript compiles without errors
|
|
178
|
+
✅ Code follows project patterns
|
|
179
|
+
|
|
180
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
181
|
+
|
|
182
|
+
✅ Task 3 Complete!
|
|
183
|
+
|
|
184
|
+
Updated progress.yaml:
|
|
185
|
+
- Task 3: completed (2026-02-16)
|
|
186
|
+
- Milestone 1: 60% complete (3/5 tasks)
|
|
187
|
+
- Added to recent work
|
|
188
|
+
|
|
189
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
190
|
+
|
|
191
|
+
🎯 Next Task: task-4-add-integration-tests
|
|
192
|
+
File: agent/tasks/task-4-add-integration-tests.md
|
|
193
|
+
Estimated: 3 hours
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
### Status Update
|
|
197
|
+
- Task status: `not_started` → `completed`
|
|
198
|
+
- Milestone progress: 40% → 60%
|
|
199
|
+
- Tasks completed: 2 → 3
|
|
200
|
+
|
|
201
|
+
---
|
|
202
|
+
|
|
203
|
+
## Examples
|
|
204
|
+
|
|
205
|
+
### Example 1: Continuing Current Task
|
|
206
|
+
|
|
207
|
+
**Context**: You're in the middle of task-3 and want to continue working on it
|
|
208
|
+
|
|
209
|
+
**Invocation**: `@acp-proceed`
|
|
210
|
+
|
|
211
|
+
**Result**: Loads task-3, shows remaining steps, guides you through completion, updates progress when done
|
|
212
|
+
|
|
213
|
+
### Example 2: Starting Next Task
|
|
214
|
+
|
|
215
|
+
**Context**: Just finished task-2, ready to start task-3
|
|
216
|
+
|
|
217
|
+
**Invocation**: `@acp-proceed`
|
|
218
|
+
|
|
219
|
+
**Result**: Identifies task-3 as next, loads task document, guides through all steps, marks complete when done
|
|
220
|
+
|
|
221
|
+
### Example 3: Task with Blockers
|
|
222
|
+
|
|
223
|
+
**Context**: Task has unmet prerequisites
|
|
224
|
+
|
|
225
|
+
**Invocation**: `@acp-proceed`
|
|
226
|
+
|
|
227
|
+
**Result**: Identifies missing prerequisites, reports blockers, suggests resolution steps, does not proceed until resolved
|
|
228
|
+
|
|
229
|
+
---
|
|
230
|
+
|
|
231
|
+
## Related Commands
|
|
232
|
+
|
|
233
|
+
- [`@acp-init`](acp.init.md) - Use before proceeding to ensure full context loaded
|
|
234
|
+
- [`@acp-status`](acp.status.md) - Use to check which task is current before proceeding
|
|
235
|
+
- [`@acp-update`](acp.update.md) - Use to manually update progress if needed
|
|
236
|
+
- [`@acp-sync`](acp.sync.md) - Use after completing tasks to sync documentation
|
|
237
|
+
|
|
238
|
+
---
|
|
239
|
+
|
|
240
|
+
## Troubleshooting
|
|
241
|
+
|
|
242
|
+
### Issue 1: No current task found
|
|
243
|
+
|
|
244
|
+
**Symptom**: Error message "No current task identified"
|
|
245
|
+
|
|
246
|
+
**Cause**: All tasks are completed or progress.yaml doesn't have a current task
|
|
247
|
+
|
|
248
|
+
**Solution**: Review progress.yaml and either mark a task as `in_progress` or create new tasks for the next milestone
|
|
249
|
+
|
|
250
|
+
### Issue 2: Task document not found
|
|
251
|
+
|
|
252
|
+
**Symptom**: Error message "Cannot read task file"
|
|
253
|
+
|
|
254
|
+
**Cause**: Task file path in progress.yaml is incorrect or file doesn't exist
|
|
255
|
+
|
|
256
|
+
**Solution**: Verify the file path in progress.yaml matches the actual task file location, or create the missing task document
|
|
257
|
+
|
|
258
|
+
### Issue 3: Prerequisites not met
|
|
259
|
+
|
|
260
|
+
**Symptom**: Command reports missing prerequisites
|
|
261
|
+
|
|
262
|
+
**Cause**: Task has dependencies that aren't satisfied yet
|
|
263
|
+
|
|
264
|
+
**Solution**: Complete prerequisite tasks first, or resolve the dependencies, then run `@acp-proceed` again
|
|
265
|
+
|
|
266
|
+
### Issue 4: Verification fails
|
|
267
|
+
|
|
268
|
+
**Symptom**: Some verification items don't pass
|
|
269
|
+
|
|
270
|
+
**Cause**: Task steps weren't completed correctly or there are errors
|
|
271
|
+
|
|
272
|
+
**Solution**: Review the failed verification items, fix issues, then re-run verification steps
|
|
273
|
+
|
|
274
|
+
---
|
|
275
|
+
|
|
276
|
+
## Security Considerations
|
|
277
|
+
|
|
278
|
+
### File Access
|
|
279
|
+
- **Reads**: `agent/progress.yaml`, current task document, related design documents
|
|
280
|
+
- **Writes**: `agent/progress.yaml` (updates task status and progress), task-specific files as defined in task document
|
|
281
|
+
- **Executes**: May execute commands as specified in task steps (e.g., `npm test`, `npm run build`)
|
|
282
|
+
|
|
283
|
+
### Network Access
|
|
284
|
+
- **APIs**: May make API calls if task requires it
|
|
285
|
+
- **Repositories**: May interact with git if task requires it
|
|
286
|
+
|
|
287
|
+
### Sensitive Data
|
|
288
|
+
- **Secrets**: Should not access secrets unless task explicitly requires configuration
|
|
289
|
+
- **Credentials**: Should not access credentials files
|
|
290
|
+
|
|
291
|
+
---
|
|
292
|
+
|
|
293
|
+
## Notes
|
|
294
|
+
|
|
295
|
+
- This command modifies `agent/progress.yaml` to track progress
|
|
296
|
+
- Task execution may create, modify, or delete files as specified in the task document
|
|
297
|
+
- Always review task steps before proceeding to understand what will be done
|
|
298
|
+
- Use `@acp-status` first to see which task is current
|
|
299
|
+
- If task is complex, consider breaking it into smaller steps
|
|
300
|
+
- Update progress.yaml manually if command doesn't complete successfully
|
|
301
|
+
|
|
302
|
+
---
|
|
303
|
+
|
|
304
|
+
**Namespace**: acp
|
|
305
|
+
**Command**: proceed
|
|
306
|
+
**Version**: 1.0.0
|
|
307
|
+
**Created**: 2026-02-16
|
|
308
|
+
**Last Updated**: 2026-02-16
|
|
309
|
+
**Status**: Active
|
|
310
|
+
**Compatibility**: ACP 1.0.3+
|
|
311
|
+
**Author**: ACP Project
|