@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,301 @@
1
+ # Command: sessions
2
+
3
+ > **🤖 Agent Directive**: If you are reading this file, the command `@acp.sessions` has been invoked. Follow the steps below to execute this command.
4
+ > Pretend this command was entered with this additional context: "Execute directive `@acp-sessions` 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
+ > **STEP 0: CHECK FOR ARGUMENTS FIRST.**
8
+ > If arguments or natural language follow `@acp.sessions`, detect the subcommand before doing anything else.
9
+ > See the **Arguments** section below for flag definitions and natural language patterns.
10
+ > If no arguments, default to `list`.
11
+
12
+ **Namespace**: acp
13
+ **Version**: 1.0.0
14
+ **Created**: 2026-03-01
15
+ **Last Updated**: 2026-03-01
16
+ **Status**: Active
17
+ **Scripts**: acp.sessions.sh, acp.common.sh, acp.yaml-parser.sh
18
+
19
+ ---
20
+
21
+ **Purpose**: Manage and view active agent sessions across projects
22
+ **Category**: Workflow
23
+ **Frequency**: As Needed
24
+
25
+ ---
26
+
27
+ ## Arguments
28
+
29
+ This command supports both CLI-style flags and natural language arguments.
30
+
31
+ **CLI-Style Arguments**:
32
+ - `list` (default) — list all active sessions
33
+ - `clean` — remove stale sessions (dead PIDs, timed out)
34
+ - `deregister` — end current session
35
+ - `count` — output number of active sessions
36
+ - `--project <name>` — filter by project name (used with `list`)
37
+ - `--id <session-id>` — target specific session (used with `deregister`)
38
+
39
+ **Natural Language Arguments**:
40
+ - "what's running?" → list
41
+ - "show remember-core" → list --project remember-core
42
+ - "stop my session" → deregister
43
+ - "clean up" → clean
44
+ - "how many sessions?" → count
45
+ - "what's active?" → list
46
+ - "end session" → deregister
47
+
48
+ **Argument Mapping**:
49
+ The agent infers intent from context:
50
+ 1. Parse explicit CLI-style subcommands/flags if present
51
+ 2. Extract intent from natural language keywords: `running`, `active`, `stop`, `end`, `clean`, `how many`, `count`
52
+ 3. Project names after `show` or `for` map to `--project` filter
53
+ 4. Default to `list` if no subcommand is detected
54
+
55
+ ---
56
+
57
+ ## What This Command Does
58
+
59
+ This command provides a user-friendly interface for managing agent sessions tracked in `~/.acp/sessions.yaml`. It wraps the `acp.sessions.sh` script subcommands with NLP argument parsing and formatted output.
60
+
61
+ Sessions are registered when `@acp.init` runs and deregistered when `@acp.report` runs. Between those, this command lets you see what's active, clean stale sessions, or manually end a session.
62
+
63
+ Use this command when you want to see what other agents are working on, check if stale sessions need cleanup, or manage your current session. The default behavior (`list`) always runs stale cleanup first to show accurate state.
64
+
65
+ ---
66
+
67
+ ## Prerequisites
68
+
69
+ - [ ] ACP installed in project
70
+ - [ ] `./agent/scripts/acp.sessions.sh` exists and is executable
71
+
72
+ ---
73
+
74
+ ## Steps
75
+
76
+ ### 1. Parse Arguments
77
+
78
+ Determine the requested action from CLI flags or natural language.
79
+
80
+ **Actions**:
81
+ - Check for explicit subcommand: `list`, `clean`, `deregister`, `count`
82
+ - Check for `--project` and `--id` flags
83
+ - Apply natural language mapping if no explicit subcommand
84
+ - Default to `list` if no subcommand detected
85
+
86
+ **Expected Outcome**: Subcommand and options determined
87
+
88
+ ### 2. Run Stale Cleanup
89
+
90
+ Always clean stale sessions before displaying results.
91
+
92
+ **Actions**:
93
+ - Run `./agent/scripts/acp.sessions.sh clean` (silently, unless `clean` is the explicit subcommand)
94
+ - This removes sessions with dead PIDs or inactive for 2+ hours
95
+
96
+ **Expected Outcome**: Stale sessions removed
97
+
98
+ ### 3. Execute Requested Subcommand
99
+
100
+ Run the appropriate `acp.sessions.sh` subcommand.
101
+
102
+ **Actions**:
103
+ - **list** (default): Run `./agent/scripts/acp.sessions.sh list [--project <name>]`
104
+ - **clean**: Run `./agent/scripts/acp.sessions.sh clean` (verbose output)
105
+ - **deregister**: Run `./agent/scripts/acp.sessions.sh deregister [--id <session-id>]`
106
+ - **count**: Run `./agent/scripts/acp.sessions.sh count`
107
+
108
+ **Expected Outcome**: Subcommand executed successfully
109
+
110
+ ### 4. Display Formatted Output
111
+
112
+ Present results in a clear format.
113
+
114
+ **List output**:
115
+ ```
116
+ Active Sessions (3):
117
+
118
+ sess_a1b2c3 remember-core
119
+ Task 12: Implement Auth Middleware
120
+ Started 45m ago, last active 2m ago
121
+
122
+ sess_d4e5f6 agent-context-protocol (this session)
123
+ Task 91: Sessions Infrastructure
124
+ Started 10m ago, last active now
125
+
126
+ sess_g7h8i9 agentbase.me
127
+ Task 5: Fix API Routes
128
+ Started 1h ago, last active 20m ago
129
+ ```
130
+
131
+ **Clean output**:
132
+ ```
133
+ Cleaned 2 stale sessions:
134
+ sess_x1y2z3 old-project (PID 12345 not running)
135
+ sess_m4n5o6 test-project (inactive for 3h)
136
+
137
+ Active sessions remaining: 3
138
+ ```
139
+
140
+ **Deregister output**:
141
+ ```
142
+ Session sess_a1b2c3 deregistered.
143
+ Active sessions remaining: 2
144
+ ```
145
+
146
+ **Count output**:
147
+ ```
148
+ 3
149
+ ```
150
+
151
+ **Expected Outcome**: User sees formatted session information
152
+
153
+ ### 5. Suggest Next Actions
154
+
155
+ If relevant, suggest follow-up actions.
156
+
157
+ **Actions**:
158
+ - If sessions are stale: "Run `@acp.sessions clean` to remove stale sessions"
159
+ - If no sessions: "Run `@acp.init` to register a new session"
160
+ - If showing list: No suggestions needed (informational)
161
+
162
+ **Expected Outcome**: User knows what to do next (if applicable)
163
+
164
+ ---
165
+
166
+ ## Verification
167
+
168
+ - [ ] Arguments parsed correctly (CLI or NLP)
169
+ - [ ] Stale cleanup ran before list/count
170
+ - [ ] Subcommand executed with correct flags
171
+ - [ ] Output formatted clearly
172
+ - [ ] Edge cases handled (no sessions, missing script)
173
+
174
+ ---
175
+
176
+ ## Expected Output
177
+
178
+ ### Files Modified
179
+ - `~/.acp/sessions.yaml` — updated by clean/deregister subcommands
180
+
181
+ ### Console Output
182
+ See output formats in Step 4 above.
183
+
184
+ ---
185
+
186
+ ## Examples
187
+
188
+ ### Example 1: List All Sessions (Default)
189
+
190
+ **Context**: You want to see what's currently running
191
+
192
+ **Invocation**: `@acp.sessions`
193
+
194
+ **Result**: Shows all active sessions with project, description, and timing info
195
+
196
+ ### Example 2: Filter by Project
197
+
198
+ **Context**: You want to see sessions for a specific project
199
+
200
+ **Invocation**: `@acp.sessions --project remember-core`
201
+
202
+ **Result**: Shows only sessions for remember-core
203
+
204
+ ### Example 3: Clean Stale Sessions
205
+
206
+ **Context**: You suspect some sessions are stale
207
+
208
+ **Invocation**: `@acp.sessions clean`
209
+
210
+ **Result**: Removes dead-PID and timed-out sessions, shows what was cleaned
211
+
212
+ ### Example 4: Natural Language Usage
213
+
214
+ **Context**: You want to check what's running using natural language
215
+
216
+ **Invocation**: `@acp.sessions what's running?`
217
+
218
+ **Result**: Same as `@acp.sessions list` — shows all active sessions
219
+
220
+ ### Example 5: End Current Session
221
+
222
+ **Context**: You're done working and want to deregister
223
+
224
+ **Invocation**: `@acp.sessions stop my session`
225
+
226
+ **Result**: Deregisters the current session, shows remaining count
227
+
228
+ ---
229
+
230
+ ## Related Commands
231
+
232
+ - [`@acp.init`](acp.init.md) — Registers session automatically at start
233
+ - [`@acp.status`](acp.status.md) — Shows session count in status output
234
+ - [`@acp.report`](acp.report.md) — Deregisters session automatically at end
235
+
236
+ ---
237
+
238
+ ## Troubleshooting
239
+
240
+ ### Issue 1: "acp.sessions.sh not found"
241
+
242
+ **Symptom**: Command reports script not found
243
+
244
+ **Cause**: Sessions script not installed or path incorrect
245
+
246
+ **Solution**: Verify `./agent/scripts/acp.sessions.sh` exists and is executable. Run `chmod +x agent/scripts/acp.sessions.sh` if needed.
247
+
248
+ ### Issue 2: Sessions disappear immediately
249
+
250
+ **Symptom**: Registered sessions are gone on next list
251
+
252
+ **Cause**: Stale cleanup removing sessions because the registering process PID is dead
253
+
254
+ **Solution**: Use `--pid <pid>` when registering to track the long-lived parent process (terminal/agent) instead of the script's own PID.
255
+
256
+ ### Issue 3: "No active sessions" when sessions should exist
257
+
258
+ **Symptom**: List shows no sessions despite recent registration
259
+
260
+ **Cause**: Sessions were registered under a different process tree and stale cleanup removed them
261
+
262
+ **Solution**: Re-register with `@acp.init` or manually via `./agent/scripts/acp.sessions.sh register --project <name> --pid <pid>`
263
+
264
+ ---
265
+
266
+ ## Security Considerations
267
+
268
+ ### File Access
269
+ - **Reads**: `~/.acp/sessions.yaml`
270
+ - **Writes**: `~/.acp/sessions.yaml` (clean, deregister modify the file)
271
+ - **Executes**: `./agent/scripts/acp.sessions.sh`
272
+
273
+ ### Network Access
274
+ - **APIs**: None
275
+ - **Repositories**: None
276
+
277
+ ### Sensitive Data
278
+ - **Secrets**: Does not access secrets or credentials
279
+ - **Credentials**: Does not access credentials files
280
+ - **PIDs**: Stores process IDs for stale detection (not sensitive)
281
+
282
+ ---
283
+
284
+ ## Notes
285
+
286
+ - Mark current session with "(this session)" indicator in list output
287
+ - NLP parsing should be forgiving — "sessions", "what's active", "running" all map to list
288
+ - Always run `clean` before `list` to show accurate state
289
+ - Sessions are advisory only — no locking or coordination
290
+ - `~/.acp/sessions.yaml` is auto-created on first register
291
+
292
+ ---
293
+
294
+ **Namespace**: acp
295
+ **Command**: sessions
296
+ **Version**: 1.0.0
297
+ **Created**: 2026-03-01
298
+ **Last Updated**: 2026-03-01
299
+ **Status**: Active
300
+ **Compatibility**: ACP 5.9.1+
301
+ **Author**: ACP Project
@@ -0,0 +1,293 @@
1
+ # Command: status
2
+
3
+ > **🤖 Agent Directive**: If you are reading this file, the command `@acp-status` 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
+ **Scripts**: None
11
+
12
+ ---
13
+
14
+ **Purpose**: Display current project status including milestone progress, current task, recent work, and next steps
15
+ **Category**: Workflow
16
+ **Frequency**: As Needed
17
+
18
+ ---
19
+
20
+ ## What This Command Does
21
+
22
+ This command provides a comprehensive overview of the current project status by reading `agent/progress.yaml` and presenting key information in an organized format. It shows where the project stands, what's been accomplished recently, and what needs to be done next.
23
+
24
+ Use this command when you need to quickly understand the current state of the project without performing a full initialization. It's ideal for checking progress during a session, before starting new work, or when reporting status to stakeholders.
25
+
26
+ Unlike `@acp-init` which performs a full context load and updates documentation, `@acp-status` is a read-only operation that simply reports the current state as recorded in progress tracking.
27
+
28
+ ---
29
+
30
+ ## Prerequisites
31
+
32
+ - [ ] ACP installed in project
33
+ - [ ] `agent/progress.yaml` exists and is up to date
34
+
35
+ ---
36
+
37
+ ## Steps
38
+
39
+ ### 1. Read Progress Tracking
40
+
41
+ Read the `agent/progress.yaml` file to get current project state.
42
+
43
+ **Actions**:
44
+ - Open and parse `agent/progress.yaml`
45
+ - Extract key information: current milestone, current task, progress percentages
46
+ - Note any errors or missing data
47
+
48
+ **Expected Outcome**: Progress data loaded successfully
49
+
50
+ ### 2. Display Current Milestone
51
+
52
+ Show the current milestone information.
53
+
54
+ **Actions**:
55
+ - Display milestone ID and name
56
+ - Show milestone progress percentage
57
+ - Show tasks completed vs total tasks
58
+ - Display milestone status (not_started, in_progress, completed)
59
+
60
+ **Expected Outcome**: User sees current milestone summary
61
+
62
+ ### 3. Display Current Task
63
+
64
+ Show the current task being worked on.
65
+
66
+ **Actions**:
67
+ - Display task ID and name
68
+ - Show task status
69
+ - Display task file path
70
+ - Show estimated hours and completion date (if completed)
71
+
72
+ **Expected Outcome**: User sees current task details
73
+
74
+ ### 4. Display Recent Work
75
+
76
+ List recent work completed.
77
+
78
+ **Actions**:
79
+ - Show recent work entries from `progress.yaml`
80
+ - Display dates and descriptions
81
+ - Show completed items with checkmarks
82
+
83
+ **Expected Outcome**: User sees what was recently accomplished
84
+
85
+ ### 5. Display Next Steps
86
+
87
+ Show what needs to be done next.
88
+
89
+ **Actions**:
90
+ - List next steps from `progress.yaml`
91
+ - Prioritize by order in the list
92
+ - Highlight any urgent items
93
+
94
+ **Expected Outcome**: User knows what to work on next
95
+
96
+ ### 5.5. Display Active Sessions (Optional)
97
+
98
+ Show the count of active agent sessions.
99
+
100
+ **Actions**:
101
+ - If `./agent/scripts/acp.sessions.sh` exists, run `./agent/scripts/acp.sessions.sh count`
102
+ - Display: `"Sessions: N active"` in status output
103
+
104
+ **Expected Outcome**: Session count displayed
105
+
106
+ **Note**: If `./agent/scripts/acp.sessions.sh` does not exist, omit the Sessions line.
107
+
108
+ ### 6. Display Blockers
109
+
110
+ Show any current blockers or issues.
111
+
112
+ **Actions**:
113
+ - List current blockers from `progress.yaml`
114
+ - Highlight critical blockers
115
+ - Note if no blockers exist
116
+
117
+ **Expected Outcome**: User is aware of any obstacles
118
+
119
+ ---
120
+
121
+ ## Verification
122
+
123
+ - [ ] `agent/progress.yaml` read successfully
124
+ - [ ] Current milestone displayed with progress percentage
125
+ - [ ] Current task displayed with status
126
+ - [ ] Recent work listed (if any exists)
127
+ - [ ] Next steps listed
128
+ - [ ] Blockers displayed (or noted as none)
129
+ - [ ] Output is clear and well-formatted
130
+
131
+ ---
132
+
133
+ ## Expected Output
134
+
135
+ ### Files Modified
136
+ None - this is a read-only command
137
+
138
+ ### Console Output
139
+ ```
140
+ 📊 Project Status
141
+
142
+ Project: example-project (v0.1.0)
143
+ Status: in_progress
144
+ Started: 2026-01-15
145
+
146
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
147
+
148
+ 📍 Current Milestone: M1 - Foundation
149
+ Progress: 40% (2/5 tasks completed)
150
+ Status: in_progress
151
+ Started: 2026-01-15
152
+
153
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
154
+
155
+ 📋 Current Task: task-3-implement-core-logic
156
+ Status: in_progress
157
+ File: agent/tasks/task-3-implement-core-logic.md
158
+ Estimated: 4 hours
159
+
160
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
161
+
162
+ ✅ Recent Work:
163
+ 2026-02-15:
164
+ - ✅ Completed task-2 (database setup)
165
+ - ✅ Updated progress tracking
166
+ - 📋 Started task-3
167
+
168
+ 2026-02-14:
169
+ - ✅ Completed task-1 (project structure)
170
+
171
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
172
+
173
+ 🎯 Next Steps:
174
+ 1. Complete task-3 (implement core logic)
175
+ 2. Begin task-4 (add tests)
176
+ 3. Review milestone-1 success criteria
177
+
178
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
179
+
180
+ ⚠️ Current Blockers:
181
+ None
182
+
183
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
184
+
185
+ Overall Progress: 35% complete
186
+ ```
187
+
188
+ ### Status Update
189
+ No status changes - read-only operation
190
+
191
+ ---
192
+
193
+ ## Examples
194
+
195
+ ### Example 1: Checking Status Mid-Session
196
+
197
+ **Context**: You're in the middle of working and want to see where things stand
198
+
199
+ **Invocation**: `@acp-status`
200
+
201
+ **Result**: Displays current milestone (M1, 40% complete), current task (task-3, in progress), recent work (completed task-2 yesterday), and next steps (finish task-3, start task-4)
202
+
203
+ ### Example 2: Starting a New Session
204
+
205
+ **Context**: Beginning work after a break, want to see project state before diving in
206
+
207
+ **Invocation**: `@acp-status`
208
+
209
+ **Result**: Shows you're on milestone 2, 60% through, currently on task-7, with 3 tasks completed this week and 2 blockers to address
210
+
211
+ ### Example 3: Reporting to Stakeholders
212
+
213
+ **Context**: Need to provide a quick status update
214
+
215
+ **Invocation**: `@acp-status`
216
+
217
+ **Result**: Clean, formatted output showing overall progress (65%), current phase (Testing), and upcoming milestones
218
+
219
+ ---
220
+
221
+ ## Related Commands
222
+
223
+ - [`@acp-init`](acp.init.md) - Use for full context initialization at session start
224
+ - [`@acp-proceed`](acp.proceed.md) - Use after checking status to continue with current task
225
+ - [`@acp-update`](acp.update.md) - Use to update progress.yaml after completing work
226
+ - [`@acp-sync`](acp.sync.md) - Use to sync documentation with code changes
227
+
228
+ ---
229
+
230
+ ## Troubleshooting
231
+
232
+ ### Issue 1: progress.yaml not found
233
+
234
+ **Symptom**: Error message "Cannot read file: agent/progress.yaml"
235
+
236
+ **Cause**: Progress tracking file doesn't exist yet
237
+
238
+ **Solution**: Create progress.yaml from template: `cp agent/progress.template.yaml agent/progress.yaml`, then fill in initial project information
239
+
240
+ ### Issue 2: Empty or incomplete output
241
+
242
+ **Symptom**: Status shows "No data" or missing sections
243
+
244
+ **Cause**: progress.yaml is not properly filled out
245
+
246
+ **Solution**: Review progress.yaml and ensure all required fields are populated (project name, current milestone, current task, etc.)
247
+
248
+ ### Issue 3: Outdated information displayed
249
+
250
+ **Symptom**: Status shows old task or milestone that's already completed
251
+
252
+ **Cause**: progress.yaml hasn't been updated after recent work
253
+
254
+ **Solution**: Run `@acp-update` to refresh progress tracking, or manually update progress.yaml
255
+
256
+ ---
257
+
258
+ ## Security Considerations
259
+
260
+ ### File Access
261
+ - **Reads**: `agent/progress.yaml` only
262
+ - **Writes**: None (read-only command)
263
+ - **Executes**: None
264
+
265
+ ### Network Access
266
+ - **APIs**: None
267
+ - **Repositories**: None
268
+
269
+ ### Sensitive Data
270
+ - **Secrets**: Does not access any secrets or credentials
271
+ - **Credentials**: Does not access any credentials
272
+
273
+ ---
274
+
275
+ ## Notes
276
+
277
+ - This is a read-only command that doesn't modify any files
278
+ - For best results, keep `agent/progress.yaml` up to date
279
+ - Use `@acp-update` after completing tasks to ensure status is accurate
280
+ - Status output is designed to be human-readable and suitable for reports
281
+ - Can be run multiple times per session without side effects
282
+ - Faster than `@acp-init` since it only reads one file
283
+
284
+ ---
285
+
286
+ **Namespace**: acp
287
+ **Command**: status
288
+ **Version**: 1.0.0
289
+ **Created**: 2026-02-16
290
+ **Last Updated**: 2026-02-16
291
+ **Status**: Active
292
+ **Compatibility**: ACP 1.0.3+
293
+ **Author**: ACP Project