@prmichaelsen/acp-visualizer 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/README.md +68 -0
  2. package/agent/commands/acp.clarification-address.md +417 -0
  3. package/agent/commands/acp.clarification-capture.md +386 -0
  4. package/agent/commands/acp.clarification-create.md +437 -0
  5. package/agent/commands/acp.clarifications-research.md +326 -0
  6. package/agent/commands/acp.command-create.md +432 -0
  7. package/agent/commands/acp.design-create.md +286 -0
  8. package/agent/commands/acp.design-reference.md +355 -0
  9. package/agent/commands/acp.handoff.md +270 -0
  10. package/agent/commands/acp.index.md +423 -0
  11. package/agent/commands/acp.init.md +546 -0
  12. package/agent/commands/acp.package-create.md +895 -0
  13. package/agent/commands/acp.package-info.md +212 -0
  14. package/agent/commands/acp.package-install.md +539 -0
  15. package/agent/commands/acp.package-list.md +280 -0
  16. package/agent/commands/acp.package-publish.md +541 -0
  17. package/agent/commands/acp.package-remove.md +293 -0
  18. package/agent/commands/acp.package-search.md +307 -0
  19. package/agent/commands/acp.package-update.md +361 -0
  20. package/agent/commands/acp.package-validate.md +540 -0
  21. package/agent/commands/acp.pattern-create.md +386 -0
  22. package/agent/commands/acp.plan.md +587 -0
  23. package/agent/commands/acp.proceed.md +882 -0
  24. package/agent/commands/acp.project-create.md +675 -0
  25. package/agent/commands/acp.project-info.md +312 -0
  26. package/agent/commands/acp.project-list.md +226 -0
  27. package/agent/commands/acp.project-remove.md +379 -0
  28. package/agent/commands/acp.project-set.md +227 -0
  29. package/agent/commands/acp.project-update.md +307 -0
  30. package/agent/commands/acp.projects-restore.md +228 -0
  31. package/agent/commands/acp.projects-sync.md +347 -0
  32. package/agent/commands/acp.report.md +407 -0
  33. package/agent/commands/acp.resume.md +239 -0
  34. package/agent/commands/acp.sessions.md +301 -0
  35. package/agent/commands/acp.status.md +293 -0
  36. package/agent/commands/acp.sync.md +364 -0
  37. package/agent/commands/acp.task-create.md +500 -0
  38. package/agent/commands/acp.update.md +302 -0
  39. package/agent/commands/acp.validate.md +466 -0
  40. package/agent/commands/acp.version-check-for-updates.md +276 -0
  41. package/agent/commands/acp.version-check.md +191 -0
  42. package/agent/commands/acp.version-update.md +289 -0
  43. package/agent/commands/command.template.md +339 -0
  44. package/agent/commands/git.commit.md +526 -0
  45. package/agent/commands/git.init.md +514 -0
  46. package/agent/commands/tanstack-cloudflare.deploy.md +272 -0
  47. package/agent/commands/tanstack-cloudflare.tail.md +275 -0
  48. package/agent/design/.gitkeep +0 -0
  49. package/agent/design/design.template.md +154 -0
  50. package/agent/design/local.dashboard-layout-routing.md +288 -0
  51. package/agent/design/local.data-model-yaml-parsing.md +310 -0
  52. package/agent/design/local.search-filtering.md +331 -0
  53. package/agent/design/local.server-api-auto-refresh.md +235 -0
  54. package/agent/design/local.table-tree-views.md +299 -0
  55. package/agent/design/local.visualizer-requirements.md +349 -0
  56. package/agent/design/requirements.template.md +387 -0
  57. package/agent/index/.gitkeep +0 -0
  58. package/agent/index/acp.core.yaml +137 -0
  59. package/agent/index/local.main.template.yaml +37 -0
  60. package/agent/manifest.template.yaml +13 -0
  61. package/agent/manifest.yaml +302 -0
  62. package/agent/milestones/.gitkeep +0 -0
  63. package/agent/milestones/milestone-1-project-scaffold-data-pipeline.md +67 -0
  64. package/agent/milestones/milestone-1-{title}.template.md +206 -0
  65. package/agent/milestones/milestone-2-dashboard-views-interaction.md +79 -0
  66. package/agent/package.template.yaml +86 -0
  67. package/agent/patterns/.gitkeep +0 -0
  68. package/agent/patterns/bootstrap.template.md +1237 -0
  69. package/agent/patterns/pattern.template.md +382 -0
  70. package/agent/patterns/tanstack-cloudflare.acl-permissions.md +332 -0
  71. package/agent/patterns/tanstack-cloudflare.action-bar-item.md +416 -0
  72. package/agent/patterns/tanstack-cloudflare.api-route-handlers.md +401 -0
  73. package/agent/patterns/tanstack-cloudflare.auth-session-management.md +387 -0
  74. package/agent/patterns/tanstack-cloudflare.card-and-list.md +271 -0
  75. package/agent/patterns/tanstack-cloudflare.chat-engine.md +353 -0
  76. package/agent/patterns/tanstack-cloudflare.confirmation-tokens.md +346 -0
  77. package/agent/patterns/tanstack-cloudflare.durable-objects-websocket.md +516 -0
  78. package/agent/patterns/tanstack-cloudflare.email-service.md +431 -0
  79. package/agent/patterns/tanstack-cloudflare.expander.md +98 -0
  80. package/agent/patterns/tanstack-cloudflare.fcm-push.md +115 -0
  81. package/agent/patterns/tanstack-cloudflare.firebase-anonymous-sessions.md +441 -0
  82. package/agent/patterns/tanstack-cloudflare.firebase-auth.md +348 -0
  83. package/agent/patterns/tanstack-cloudflare.firebase-firestore.md +550 -0
  84. package/agent/patterns/tanstack-cloudflare.firebase-storage.md +369 -0
  85. package/agent/patterns/tanstack-cloudflare.form-controls.md +145 -0
  86. package/agent/patterns/tanstack-cloudflare.global-search-context.md +93 -0
  87. package/agent/patterns/tanstack-cloudflare.image-carousel.md +126 -0
  88. package/agent/patterns/tanstack-cloudflare.library-services.md +553 -0
  89. package/agent/patterns/tanstack-cloudflare.lightbox.md +169 -0
  90. package/agent/patterns/tanstack-cloudflare.markdown-content.md +115 -0
  91. package/agent/patterns/tanstack-cloudflare.mention-suggestions.md +98 -0
  92. package/agent/patterns/tanstack-cloudflare.modal.md +156 -0
  93. package/agent/patterns/tanstack-cloudflare.nextjs-to-tanstack-routing.md +461 -0
  94. package/agent/patterns/tanstack-cloudflare.notifications-engine.md +151 -0
  95. package/agent/patterns/tanstack-cloudflare.oauth-token-refresh.md +90 -0
  96. package/agent/patterns/tanstack-cloudflare.og-metadata.md +296 -0
  97. package/agent/patterns/tanstack-cloudflare.pagination.md +442 -0
  98. package/agent/patterns/tanstack-cloudflare.pill-input.md +220 -0
  99. package/agent/patterns/tanstack-cloudflare.provider-adapter.md +401 -0
  100. package/agent/patterns/tanstack-cloudflare.rate-limiting.md +323 -0
  101. package/agent/patterns/tanstack-cloudflare.scheduled-tasks.md +338 -0
  102. package/agent/patterns/tanstack-cloudflare.searchable-settings.md +375 -0
  103. package/agent/patterns/tanstack-cloudflare.slide-over.md +129 -0
  104. package/agent/patterns/tanstack-cloudflare.ssr-preload.md +571 -0
  105. package/agent/patterns/tanstack-cloudflare.third-party-api-integration.md +508 -0
  106. package/agent/patterns/tanstack-cloudflare.toast-system.md +142 -0
  107. package/agent/patterns/tanstack-cloudflare.unified-header.md +280 -0
  108. package/agent/patterns/tanstack-cloudflare.user-scoped-collections.md +628 -0
  109. package/agent/patterns/tanstack-cloudflare.websocket-manager.md +237 -0
  110. package/agent/patterns/tanstack-cloudflare.wrangler-configuration.md +358 -0
  111. package/agent/patterns/tanstack-cloudflare.zod-schema-validation.md +336 -0
  112. package/agent/progress.template.yaml +161 -0
  113. package/agent/progress.yaml +145 -0
  114. package/agent/schemas/package.schema.yaml +276 -0
  115. package/agent/scripts/acp.common.sh +1781 -0
  116. package/agent/scripts/acp.install.sh +333 -0
  117. package/agent/scripts/acp.package-create.sh +924 -0
  118. package/agent/scripts/acp.package-info.sh +288 -0
  119. package/agent/scripts/acp.package-install.sh +893 -0
  120. package/agent/scripts/acp.package-list.sh +311 -0
  121. package/agent/scripts/acp.package-publish.sh +420 -0
  122. package/agent/scripts/acp.package-remove.sh +348 -0
  123. package/agent/scripts/acp.package-search.sh +156 -0
  124. package/agent/scripts/acp.package-update.sh +517 -0
  125. package/agent/scripts/acp.package-validate.sh +1018 -0
  126. package/agent/scripts/acp.uninstall.sh +85 -0
  127. package/agent/scripts/acp.version-check-for-updates.sh +98 -0
  128. package/agent/scripts/acp.version-check.sh +47 -0
  129. package/agent/scripts/acp.version-update.sh +176 -0
  130. package/agent/scripts/acp.yaml-parser.sh +985 -0
  131. package/agent/scripts/acp.yaml-validate.sh +205 -0
  132. package/agent/tasks/.gitkeep +0 -0
  133. package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-1-initialize-tanstack-start-project.md +210 -0
  134. package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-2-implement-data-model-yaml-parser.md +294 -0
  135. package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-3-build-server-api-data-loading.md +193 -0
  136. package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-4-add-auto-refresh-sse.md +262 -0
  137. package/agent/tasks/milestone-2-dashboard-views-interaction/task-10-polish-integration-testing.md +156 -0
  138. package/agent/tasks/milestone-2-dashboard-views-interaction/task-5-build-dashboard-layout-routing.md +178 -0
  139. package/agent/tasks/milestone-2-dashboard-views-interaction/task-6-build-overview-page.md +141 -0
  140. package/agent/tasks/milestone-2-dashboard-views-interaction/task-7-implement-milestone-table-view.md +153 -0
  141. package/agent/tasks/milestone-2-dashboard-views-interaction/task-8-implement-milestone-tree-view.md +174 -0
  142. package/agent/tasks/milestone-2-dashboard-views-interaction/task-9-implement-search-filtering.md +233 -0
  143. package/agent/tasks/task-1-{title}.template.md +244 -0
  144. package/bin/visualize.mjs +84 -0
  145. package/package.json +48 -0
  146. package/src/components/ExtraFieldsBadge.tsx +15 -0
  147. package/src/components/FilterBar.tsx +33 -0
  148. package/src/components/Header.tsx +23 -0
  149. package/src/components/MilestoneTable.tsx +167 -0
  150. package/src/components/MilestoneTree.tsx +84 -0
  151. package/src/components/ProgressBar.tsx +20 -0
  152. package/src/components/SearchInput.tsx +22 -0
  153. package/src/components/Sidebar.tsx +54 -0
  154. package/src/components/StatusBadge.tsx +23 -0
  155. package/src/components/StatusDot.tsx +12 -0
  156. package/src/components/TaskList.tsx +36 -0
  157. package/src/components/ViewToggle.tsx +31 -0
  158. package/src/lib/config.ts +8 -0
  159. package/src/lib/file-watcher.ts +43 -0
  160. package/src/lib/search.ts +48 -0
  161. package/src/lib/types.ts +73 -0
  162. package/src/lib/useAutoRefresh.ts +31 -0
  163. package/src/lib/useCollapse.ts +31 -0
  164. package/src/lib/useFilteredData.ts +55 -0
  165. package/src/lib/yaml-loader-real.spec.ts +47 -0
  166. package/src/lib/yaml-loader.spec.ts +201 -0
  167. package/src/lib/yaml-loader.ts +265 -0
  168. package/src/routeTree.gen.ts +140 -0
  169. package/src/router.tsx +10 -0
  170. package/src/routes/__root.tsx +75 -0
  171. package/src/routes/api/watch.ts +29 -0
  172. package/src/routes/index.tsx +115 -0
  173. package/src/routes/milestones.tsx +50 -0
  174. package/src/routes/search.tsx +84 -0
  175. package/src/routes/tasks.tsx +63 -0
  176. package/src/services/progress-database.service.ts +46 -0
  177. package/src/styles.css +25 -0
  178. package/tsconfig.json +24 -0
  179. package/vite.config.ts +16 -0
  180. package/vitest.config.ts +27 -0
@@ -0,0 +1,407 @@
1
+ # Command: report
2
+
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."
6
+
7
+ **Namespace**: acp
8
+ **Version**: 1.0.0
9
+ **Created**: 2026-02-16
10
+ **Last Updated**: 2026-02-16
11
+ **Status**: Active
12
+ **Scripts**: None
13
+
14
+ ---
15
+
16
+ **Purpose**: Generate a comprehensive project status report including progress, accomplishments, and next steps
17
+ **Category**: Documentation
18
+ **Frequency**: As Needed
19
+
20
+ ---
21
+
22
+ ## What This Command Does
23
+
24
+ This command generates a comprehensive markdown report summarizing the project's current status, progress, accomplishments, and plans. It reads all ACP documentation and creates a formatted report suitable for sharing with stakeholders, team members, or for project records.
25
+
26
+ Use this command when you need to communicate project status, before milestone reviews, for weekly/monthly updates, or when onboarding new team members. The report provides a complete snapshot of the project at a point in time.
27
+
28
+ Unlike `@acp.status` which provides a quick console summary, `@acp.report` generates a detailed markdown document that can be saved, shared, or archived.
29
+
30
+ ---
31
+
32
+ ## Prerequisites
33
+
34
+ - [ ] ACP installed in project
35
+ - [ ] `agent/progress.yaml` exists and is current
36
+ - [ ] Documentation exists in `agent/` directory
37
+
38
+ ---
39
+
40
+ ## Steps
41
+
42
+ ### 1. Read Project Information
43
+
44
+ Load basic project details from progress.yaml.
45
+
46
+ **Actions**:
47
+ - Read `agent/progress.yaml`
48
+ - Extract project name, version, start date
49
+ - Note current status and milestone
50
+ - Get project description
51
+
52
+ **Expected Outcome**: Project basics loaded
53
+
54
+ ### 2. Gather Milestone Information
55
+
56
+ Collect data about all milestones.
57
+
58
+ **Actions**:
59
+ - Read all milestone documents
60
+ - Extract milestone goals and deliverables
61
+ - Note progress percentages
62
+ - Identify completed vs in-progress vs not-started
63
+ - Calculate overall project progress
64
+
65
+ **Expected Outcome**: Milestone data collected
66
+
67
+ ### 3. Gather Task Information
68
+
69
+ Collect data about all tasks.
70
+
71
+ **Actions**:
72
+ - Read task data from progress.yaml
73
+ - Count total tasks, completed, in-progress
74
+ - Calculate completion percentages
75
+ - Identify current task
76
+ - Note any blocked tasks
77
+
78
+ **Expected Outcome**: Task data collected
79
+
80
+ ### 4. Summarize Recent Work
81
+
82
+ Extract recent accomplishments.
83
+
84
+ **Actions**:
85
+ - Read recent_work from progress.yaml
86
+ - Format accomplishments by date
87
+ - Highlight major achievements
88
+ - Note any significant milestones reached
89
+
90
+ **Expected Outcome**: Recent work summarized
91
+
92
+ ### 5. Identify Next Steps
93
+
94
+ Extract and prioritize next steps.
95
+
96
+ **Actions**:
97
+ - Read next_steps from progress.yaml
98
+ - Read current task for immediate next steps
99
+ - Identify upcoming milestones
100
+ - Note any dependencies
101
+
102
+ **Expected Outcome**: Next steps identified
103
+
104
+ ### 6. Document Blockers and Risks
105
+
106
+ List current blockers and risks.
107
+
108
+ **Actions**:
109
+ - Read current_blockers from progress.yaml
110
+ - Note any risks mentioned in milestone docs
111
+ - Identify dependencies on external factors
112
+ - Assess impact of blockers
113
+
114
+ **Expected Outcome**: Blockers documented
115
+
116
+ ### 7. Generate Statistics
117
+
118
+ Calculate project metrics.
119
+
120
+ **Actions**:
121
+ - Total milestones and completion rate
122
+ - Total tasks and completion rate
123
+ - Overall project progress percentage
124
+ - Time elapsed since project start
125
+ - Estimated time remaining (if available)
126
+ - Documentation count (design docs, patterns, etc.)
127
+
128
+ **Expected Outcome**: Metrics calculated
129
+
130
+ ### 8. Format Report
131
+
132
+ Create formatted markdown report.
133
+
134
+ **Actions**:
135
+ - Create report header with project info
136
+ - Add executive summary
137
+ - Include progress section with charts/percentages
138
+ - List milestones with status
139
+ - Summarize recent accomplishments
140
+ - Document next steps
141
+ - List blockers and risks
142
+ - Include statistics
143
+ - Add footer with generation date
144
+
145
+ **Expected Outcome**: Report formatted
146
+
147
+ ### 9. Save Report
148
+
149
+ Write report to file.
150
+
151
+ **Actions**:
152
+ - Generate filename with date (e.g., `report-2026-02-16.md`)
153
+ - Save to `agent/reports/` directory (create if needed)
154
+ - Confirm file written successfully
155
+ - Display report location
156
+
157
+ **Expected Outcome**: Report saved
158
+
159
+ ### 10. Deregister Session (Optional)
160
+
161
+ End the current agent session.
162
+
163
+ **Actions**:
164
+ - If `./agent/scripts/acp.sessions.sh` exists, run `./agent/scripts/acp.sessions.sh deregister`
165
+ - Display: `"Session deregistered"` in report footer
166
+
167
+ **Expected Outcome**: Session deregistered
168
+
169
+ **Note**: If `./agent/scripts/acp.sessions.sh` does not exist, skip this step silently.
170
+
171
+ ---
172
+
173
+ ## Verification
174
+
175
+ - [ ] Project information extracted
176
+ - [ ] Milestone data collected
177
+ - [ ] Task data collected
178
+ - [ ] Recent work summarized
179
+ - [ ] Next steps identified
180
+ - [ ] Blockers documented
181
+ - [ ] Statistics calculated
182
+ - [ ] Report formatted as markdown
183
+ - [ ] Report saved to file
184
+ - [ ] Report location displayed
185
+
186
+ ---
187
+
188
+ ## Expected Output
189
+
190
+ ### Files Modified
191
+ - `agent/reports/report-YYYY-MM-DD.md` - Generated report file
192
+
193
+ ### Console Output
194
+ ```
195
+ 📊 Generating Project Report
196
+
197
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
198
+
199
+ Gathering project information...
200
+ ✓ Project: agent-context-protocol v1.1.0
201
+ ✓ Started: 2026-02-16
202
+ ✓ Current milestone: M2
203
+
204
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
205
+
206
+ Collecting milestone data...
207
+ ✓ Milestone 1: Complete (100%)
208
+ ✓ Milestone 2: In Progress (60%)
209
+
210
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
211
+
212
+ Analyzing tasks...
213
+ ✓ Total tasks: 7
214
+ ✓ Completed: 5 (71%)
215
+ ✓ In progress: 1
216
+ ✓ Not started: 1
217
+
218
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
219
+
220
+ Calculating statistics...
221
+ ✓ Overall progress: 75%
222
+ ✓ Documentation: 8 design docs, 3 patterns
223
+ ✓ Commands: 11 implemented
224
+
225
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
226
+
227
+ Formatting report...
228
+ ✓ Report generated (2,500 words)
229
+
230
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
231
+
232
+ ✅ Report Complete!
233
+
234
+ Saved to: agent/reports/report-2026-02-16.md
235
+
236
+ Summary:
237
+ - Overall progress: 75%
238
+ - Milestones: 1 complete, 1 in progress
239
+ - Tasks: 5/7 complete
240
+ - Blockers: 0
241
+ ```
242
+
243
+ ### Report Structure
244
+ ```markdown
245
+ # Project Status Report
246
+ ## agent-context-protocol
247
+
248
+ **Generated**: 2026-02-16
249
+ **Version**: 1.1.0
250
+ **Status**: In Progress
251
+
252
+ ---
253
+
254
+ ## Executive Summary
255
+
256
+ [2-3 paragraph summary of project status]
257
+
258
+ ---
259
+
260
+ ## Progress Overview
261
+
262
+ **Overall Progress**: 75%
263
+
264
+ ### Milestones
265
+ - ✅ Milestone 1: ACP Commands Infrastructure (100%)
266
+ - 🔄 Milestone 2: Documentation & Utility Commands (60%)
267
+
268
+ ### Tasks
269
+ - Total: 7
270
+ - Completed: 5 (71%)
271
+ - In Progress: 1
272
+ - Not Started: 1
273
+
274
+ ---
275
+
276
+ ## Recent Accomplishments
277
+
278
+ [List of recent work with dates]
279
+
280
+ ---
281
+
282
+ ## Next Steps
283
+
284
+ [Prioritized list of next steps]
285
+
286
+ ---
287
+
288
+ ## Current Blockers
289
+
290
+ [List of blockers, or "None"]
291
+
292
+ ---
293
+
294
+ ## Statistics
295
+
296
+ [Detailed metrics and counts]
297
+
298
+ ---
299
+
300
+ **Report generated by ACP v1.1.0**
301
+ ```
302
+
303
+ ---
304
+
305
+ ## Examples
306
+
307
+ ### Example 1: Weekly Status Report
308
+
309
+ **Context**: End of week, need to report progress
310
+
311
+ **Invocation**: `@acp.report`
312
+
313
+ **Result**: Generates comprehensive report showing week's accomplishments, current status, and next week's plans
314
+
315
+ ### Example 2: Milestone Review
316
+
317
+ **Context**: Just completed milestone 1, need review document
318
+
319
+ **Invocation**: `@acp.report`
320
+
321
+ **Result**: Report highlights milestone 1 completion, shows deliverables achieved, documents lessons learned
322
+
323
+ ### Example 3: Stakeholder Update
324
+
325
+ **Context**: Monthly update for stakeholders
326
+
327
+ **Invocation**: `@acp.report`
328
+
329
+ **Result**: Executive-friendly report with high-level progress, key achievements, and timeline
330
+
331
+ ---
332
+
333
+ ## Related Commands
334
+
335
+ - [`@acp.status`](acp.status.md) - Quick console status (not a full report)
336
+ - [`@acp.update`](acp.update.md) - Update progress before generating report
337
+ - [`@acp.validate`](acp.validate.md) - Validate documentation before reporting
338
+ - [`@acp.sync`](acp.sync.md) - Sync docs before generating report
339
+
340
+ ---
341
+
342
+ ## Troubleshooting
343
+
344
+ ### Issue 1: Report is empty or incomplete
345
+
346
+ **Symptom**: Generated report missing sections
347
+
348
+ **Cause**: progress.yaml not up to date or missing data
349
+
350
+ **Solution**: Run `@acp.update` first to ensure progress.yaml is current, then generate report
351
+
352
+ ### Issue 2: Statistics don't match reality
353
+
354
+ **Symptom**: Numbers in report seem wrong
355
+
356
+ **Cause**: Progress tracking out of sync
357
+
358
+ **Solution**: Review and update progress.yaml manually, verify task counts, then regenerate report
359
+
360
+ ### Issue 3: Report too long or too short
361
+
362
+ **Symptom**: Report length not appropriate
363
+
364
+ **Cause**: Too much or too little detail
365
+
366
+ **Solution**: Adjust report generation to include/exclude sections, customize for audience
367
+
368
+ ---
369
+
370
+ ## Security Considerations
371
+
372
+ ### File Access
373
+ - **Reads**: All files in `agent/` directory, especially `agent/progress.yaml`
374
+ - **Writes**: `agent/reports/report-YYYY-MM-DD.md` (creates report file)
375
+ - **Executes**: None
376
+
377
+ ### Network Access
378
+ - **APIs**: None
379
+ - **Repositories**: None
380
+
381
+ ### Sensitive Data
382
+ - **Secrets**: Does not access secrets or credentials
383
+ - **Credentials**: Does not access credentials files
384
+
385
+ ---
386
+
387
+ ## Notes
388
+
389
+ - Reports are saved with date in filename for easy tracking
390
+ - Reports are markdown for easy sharing and version control
391
+ - Generate reports regularly for historical record
392
+ - Customize report format for different audiences
393
+ - Include reports in project documentation
394
+ - Consider automating report generation (weekly/monthly)
395
+ - Reports can be converted to PDF or HTML if needed
396
+ - Keep reports in version control for history
397
+
398
+ ---
399
+
400
+ **Namespace**: acp
401
+ **Command**: report
402
+ **Version**: 1.0.0
403
+ **Created**: 2026-02-16
404
+ **Last Updated**: 2026-02-16
405
+ **Status**: Active
406
+ **Compatibility**: ACP 1.1.0+
407
+ **Author**: ACP Project
@@ -0,0 +1,239 @@
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
+ **Scripts**: None
13
+
14
+ ---
15
+
16
+ **Purpose**: Resume work on a project by initializing context, reviewing recent progress, and continuing with the next task
17
+ **Category**: Workflow
18
+ **Frequency**: Per Session
19
+
20
+ ---
21
+
22
+ ## What This Command Does
23
+
24
+ This command is a convenient alias that combines three essential workflow commands into one:
25
+
26
+ 1. **Initialize Context** - Loads all project documentation via `@acp.init`
27
+ 2. **Review Recent Work** - Reads the latest session report to understand what was done
28
+ 3. **Continue Work** - Proceeds with the current/next task via `@acp.proceed`
29
+
30
+ **Use this when**: Starting a new session or returning to a project after a break.
31
+
32
+ ---
33
+
34
+ ## Prerequisites
35
+
36
+ - [ ] ACP installed in project
37
+ - [ ] `agent/progress.yaml` exists
38
+ - [ ] Session reports exist in `agent/reports/` (optional but recommended)
39
+
40
+ ---
41
+
42
+ ## Steps
43
+
44
+ ### 1. Initialize Agent Context
45
+
46
+ Run the initialization workflow to load complete project context.
47
+
48
+ **Actions**:
49
+ - Execute `@acp.init` workflow
50
+ - Check for ACP updates
51
+ - Read all agent documentation
52
+ - Read key files from `agent/index/` (via `@acp.init` step 2.8)
53
+ - Review key source files
54
+ - Update stale documentation
55
+ - Refresh progress tracking
56
+
57
+ **Expected Outcome**: Complete project context loaded (including key file index)
58
+
59
+ ### 2. Read Latest Session Report
60
+
61
+ Find and read the most recent session report to understand what was accomplished.
62
+
63
+ **Actions**:
64
+ - List files in `agent/reports/` directory
65
+ - Find most recent report (by date in filename)
66
+ - Read the report file
67
+ - Summarize key accomplishments
68
+ - Note any blockers or issues mentioned
69
+
70
+ **Expected Outcome**: Recent work understood
71
+
72
+ ### 3. Proceed with Current/Next Task
73
+
74
+ Continue work by executing the current or next task.
75
+
76
+ **Actions**:
77
+ - Execute `@acp.proceed` workflow
78
+ - Identify current task from progress.yaml
79
+ - Read task document
80
+ - **START IMPLEMENTING immediately**
81
+ - Update progress tracking
82
+
83
+ **Expected Outcome**: Task implementation in progress
84
+
85
+ ---
86
+
87
+ ## Verification
88
+
89
+ - [ ] Context initialized successfully
90
+ - [ ] Latest report read and summarized
91
+ - [ ] Current task identified
92
+ - [ ] Implementation started
93
+ - [ ] No errors encountered
94
+
95
+ ---
96
+
97
+ ## Expected Output
98
+
99
+ ### Console Output
100
+ ```
101
+ 🚀 Resuming Work on Project
102
+
103
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
104
+
105
+ Step 1: Initializing Context (@acp.init)
106
+
107
+ ✓ ACP version check: v3.7.1 (up to date)
108
+ ✓ Read agent/progress.yaml
109
+ ✓ Read 6 design documents
110
+ ✓ Read 5 milestone documents
111
+ ✓ Read 36 task documents
112
+ ✓ Reviewed key source files
113
+ ✓ Documentation is current
114
+ ✓ Progress tracking updated
115
+
116
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
117
+
118
+ Step 2: Reviewing Recent Work
119
+
120
+ 📋 Latest Report: agent/reports/report-2026-02-21-session-4.md
121
+
122
+ Recent Accomplishments:
123
+ - ✅ Task 34: Generic YAML parser with AST
124
+ - ✅ Task 35: YAML parser migration
125
+ - ✅ Created E2E test infrastructure
126
+ - ✅ Fixed 11 critical bugs in package scripts
127
+ - ✅ Created GitHub Pages package browser
128
+
129
+ Current Status:
130
+ - Milestone 5: Global Package Installation (0% complete)
131
+ - Next: Task 25 - Global Infrastructure Setup
132
+
133
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
134
+
135
+ Step 3: Proceeding with Next Task (@acp.proceed)
136
+
137
+ 📋 Current Task: task-25-global-infrastructure
138
+
139
+ Objective: Create ~/.acp/ directory structure with AGENT.md and manifest.yaml
140
+
141
+ [Implementation begins...]
142
+ ```
143
+
144
+ ---
145
+
146
+ ## Examples
147
+
148
+ ### Example 1: Resuming After Break
149
+
150
+ **Context**: Haven't worked on project in a few days
151
+
152
+ **Invocation**: `@acp.resume`
153
+
154
+ **Result**:
155
+ - Loads complete context
156
+ - Reviews last 3 sessions of work
157
+ - Identifies current task (task-12)
158
+ - Starts implementing task-12
159
+
160
+ ### Example 2: Starting New Session
161
+
162
+ **Context**: Beginning work for the day
163
+
164
+ **Invocation**: `@acp.resume`
165
+
166
+ **Result**:
167
+ - Initializes context
168
+ - Shows yesterday's accomplishments
169
+ - Continues with current task
170
+
171
+ ### Example 3: Switching Agents
172
+
173
+ **Context**: Different AI agent picking up the project
174
+
175
+ **Invocation**: `@acp.resume`
176
+
177
+ **Result**:
178
+ - Complete onboarding via @acp.init
179
+ - Understands recent work from reports
180
+ - Ready to contribute immediately
181
+
182
+ ---
183
+
184
+ ## Related Commands
185
+
186
+ - [`@acp.init`](acp.init.md) - Initialize context only
187
+ - [`@acp.proceed`](acp.proceed.md) - Proceed with task only
188
+ - [`@acp.status`](acp.status.md) - Check status without proceeding
189
+ - [`@acp.report`](acp.report.md) - Generate session report
190
+
191
+ ---
192
+
193
+ ## Troubleshooting
194
+
195
+ ### Issue 1: No reports found
196
+
197
+ **Symptom**: Warning "No session reports found"
198
+
199
+ **Cause**: No reports in agent/reports/ directory
200
+
201
+ **Solution**: This is fine for new projects. The command will skip report review and proceed to task execution.
202
+
203
+ ### Issue 2: Context initialization fails
204
+
205
+ **Symptom**: Error during @acp.init
206
+
207
+ **Cause**: Missing agent/ directory or corrupted files
208
+
209
+ **Solution**: Run `@acp.init` separately to see detailed error, fix issues, then run `@acp.resume` again
210
+
211
+ ### Issue 3: No current task
212
+
213
+ **Symptom**: Error "No current task found"
214
+
215
+ **Cause**: All tasks completed or progress.yaml doesn't have current task
216
+
217
+ **Solution**: Review progress.yaml, create new tasks, or mark a task as in_progress
218
+
219
+ ---
220
+
221
+ ## Notes
222
+
223
+ - This is a convenience command that chains three workflows
224
+ - Equivalent to running: `@acp.init` → read reports → `@acp.proceed`
225
+ - Saves time when starting new sessions
226
+ - Provides comprehensive context before starting work
227
+ - Reports are optional but highly recommended for context
228
+ - If no reports exist, command still works (skips report review)
229
+
230
+ ---
231
+
232
+ **Namespace**: acp
233
+ **Command**: resume
234
+ **Version**: 1.0.0
235
+ **Created**: 2026-02-21
236
+ **Last Updated**: 2026-02-21
237
+ **Status**: Active
238
+ **Compatibility**: ACP 3.7.0+
239
+ **Author**: ACP Project