@prmichaelsen/acp-visualizer 0.1.0 → 0.1.2

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 (159) hide show
  1. package/package.json +8 -10
  2. package/src/components/ExtraFieldsBadge.tsx +1 -1
  3. package/src/components/FilterBar.tsx +1 -1
  4. package/src/components/Header.tsx +1 -1
  5. package/src/components/MilestoneTable.tsx +1 -1
  6. package/src/components/MilestoneTree.tsx +2 -2
  7. package/src/components/StatusBadge.tsx +1 -1
  8. package/src/components/StatusDot.tsx +1 -1
  9. package/src/components/TaskList.tsx +1 -1
  10. package/src/routes/__root.tsx +5 -5
  11. package/src/routes/api/watch.ts +1 -1
  12. package/src/routes/index.tsx +2 -2
  13. package/src/routes/milestones.tsx +7 -7
  14. package/src/routes/search.tsx +4 -4
  15. package/src/routes/tasks.tsx +3 -3
  16. package/src/services/progress-database.service.ts +3 -3
  17. package/agent/commands/acp.clarification-address.md +0 -417
  18. package/agent/commands/acp.clarification-capture.md +0 -386
  19. package/agent/commands/acp.clarification-create.md +0 -437
  20. package/agent/commands/acp.clarifications-research.md +0 -326
  21. package/agent/commands/acp.command-create.md +0 -432
  22. package/agent/commands/acp.design-create.md +0 -286
  23. package/agent/commands/acp.design-reference.md +0 -355
  24. package/agent/commands/acp.handoff.md +0 -270
  25. package/agent/commands/acp.index.md +0 -423
  26. package/agent/commands/acp.init.md +0 -546
  27. package/agent/commands/acp.package-create.md +0 -895
  28. package/agent/commands/acp.package-info.md +0 -212
  29. package/agent/commands/acp.package-install.md +0 -539
  30. package/agent/commands/acp.package-list.md +0 -280
  31. package/agent/commands/acp.package-publish.md +0 -541
  32. package/agent/commands/acp.package-remove.md +0 -293
  33. package/agent/commands/acp.package-search.md +0 -307
  34. package/agent/commands/acp.package-update.md +0 -361
  35. package/agent/commands/acp.package-validate.md +0 -540
  36. package/agent/commands/acp.pattern-create.md +0 -386
  37. package/agent/commands/acp.plan.md +0 -587
  38. package/agent/commands/acp.proceed.md +0 -882
  39. package/agent/commands/acp.project-create.md +0 -675
  40. package/agent/commands/acp.project-info.md +0 -312
  41. package/agent/commands/acp.project-list.md +0 -226
  42. package/agent/commands/acp.project-remove.md +0 -379
  43. package/agent/commands/acp.project-set.md +0 -227
  44. package/agent/commands/acp.project-update.md +0 -307
  45. package/agent/commands/acp.projects-restore.md +0 -228
  46. package/agent/commands/acp.projects-sync.md +0 -347
  47. package/agent/commands/acp.report.md +0 -407
  48. package/agent/commands/acp.resume.md +0 -239
  49. package/agent/commands/acp.sessions.md +0 -301
  50. package/agent/commands/acp.status.md +0 -293
  51. package/agent/commands/acp.sync.md +0 -364
  52. package/agent/commands/acp.task-create.md +0 -500
  53. package/agent/commands/acp.update.md +0 -302
  54. package/agent/commands/acp.validate.md +0 -466
  55. package/agent/commands/acp.version-check-for-updates.md +0 -276
  56. package/agent/commands/acp.version-check.md +0 -191
  57. package/agent/commands/acp.version-update.md +0 -289
  58. package/agent/commands/command.template.md +0 -339
  59. package/agent/commands/git.commit.md +0 -526
  60. package/agent/commands/git.init.md +0 -514
  61. package/agent/commands/tanstack-cloudflare.deploy.md +0 -272
  62. package/agent/commands/tanstack-cloudflare.tail.md +0 -275
  63. package/agent/design/.gitkeep +0 -0
  64. package/agent/design/design.template.md +0 -154
  65. package/agent/design/local.dashboard-layout-routing.md +0 -288
  66. package/agent/design/local.data-model-yaml-parsing.md +0 -310
  67. package/agent/design/local.search-filtering.md +0 -331
  68. package/agent/design/local.server-api-auto-refresh.md +0 -235
  69. package/agent/design/local.table-tree-views.md +0 -299
  70. package/agent/design/local.visualizer-requirements.md +0 -349
  71. package/agent/design/requirements.template.md +0 -387
  72. package/agent/index/.gitkeep +0 -0
  73. package/agent/index/acp.core.yaml +0 -137
  74. package/agent/index/local.main.template.yaml +0 -37
  75. package/agent/manifest.template.yaml +0 -13
  76. package/agent/manifest.yaml +0 -302
  77. package/agent/milestones/.gitkeep +0 -0
  78. package/agent/milestones/milestone-1-project-scaffold-data-pipeline.md +0 -67
  79. package/agent/milestones/milestone-1-{title}.template.md +0 -206
  80. package/agent/milestones/milestone-2-dashboard-views-interaction.md +0 -79
  81. package/agent/package.template.yaml +0 -86
  82. package/agent/patterns/.gitkeep +0 -0
  83. package/agent/patterns/bootstrap.template.md +0 -1237
  84. package/agent/patterns/pattern.template.md +0 -382
  85. package/agent/patterns/tanstack-cloudflare.acl-permissions.md +0 -332
  86. package/agent/patterns/tanstack-cloudflare.action-bar-item.md +0 -416
  87. package/agent/patterns/tanstack-cloudflare.api-route-handlers.md +0 -401
  88. package/agent/patterns/tanstack-cloudflare.auth-session-management.md +0 -387
  89. package/agent/patterns/tanstack-cloudflare.card-and-list.md +0 -271
  90. package/agent/patterns/tanstack-cloudflare.chat-engine.md +0 -353
  91. package/agent/patterns/tanstack-cloudflare.confirmation-tokens.md +0 -346
  92. package/agent/patterns/tanstack-cloudflare.durable-objects-websocket.md +0 -516
  93. package/agent/patterns/tanstack-cloudflare.email-service.md +0 -431
  94. package/agent/patterns/tanstack-cloudflare.expander.md +0 -98
  95. package/agent/patterns/tanstack-cloudflare.fcm-push.md +0 -115
  96. package/agent/patterns/tanstack-cloudflare.firebase-anonymous-sessions.md +0 -441
  97. package/agent/patterns/tanstack-cloudflare.firebase-auth.md +0 -348
  98. package/agent/patterns/tanstack-cloudflare.firebase-firestore.md +0 -550
  99. package/agent/patterns/tanstack-cloudflare.firebase-storage.md +0 -369
  100. package/agent/patterns/tanstack-cloudflare.form-controls.md +0 -145
  101. package/agent/patterns/tanstack-cloudflare.global-search-context.md +0 -93
  102. package/agent/patterns/tanstack-cloudflare.image-carousel.md +0 -126
  103. package/agent/patterns/tanstack-cloudflare.library-services.md +0 -553
  104. package/agent/patterns/tanstack-cloudflare.lightbox.md +0 -169
  105. package/agent/patterns/tanstack-cloudflare.markdown-content.md +0 -115
  106. package/agent/patterns/tanstack-cloudflare.mention-suggestions.md +0 -98
  107. package/agent/patterns/tanstack-cloudflare.modal.md +0 -156
  108. package/agent/patterns/tanstack-cloudflare.nextjs-to-tanstack-routing.md +0 -461
  109. package/agent/patterns/tanstack-cloudflare.notifications-engine.md +0 -151
  110. package/agent/patterns/tanstack-cloudflare.oauth-token-refresh.md +0 -90
  111. package/agent/patterns/tanstack-cloudflare.og-metadata.md +0 -296
  112. package/agent/patterns/tanstack-cloudflare.pagination.md +0 -442
  113. package/agent/patterns/tanstack-cloudflare.pill-input.md +0 -220
  114. package/agent/patterns/tanstack-cloudflare.provider-adapter.md +0 -401
  115. package/agent/patterns/tanstack-cloudflare.rate-limiting.md +0 -323
  116. package/agent/patterns/tanstack-cloudflare.scheduled-tasks.md +0 -338
  117. package/agent/patterns/tanstack-cloudflare.searchable-settings.md +0 -375
  118. package/agent/patterns/tanstack-cloudflare.slide-over.md +0 -129
  119. package/agent/patterns/tanstack-cloudflare.ssr-preload.md +0 -571
  120. package/agent/patterns/tanstack-cloudflare.third-party-api-integration.md +0 -508
  121. package/agent/patterns/tanstack-cloudflare.toast-system.md +0 -142
  122. package/agent/patterns/tanstack-cloudflare.unified-header.md +0 -280
  123. package/agent/patterns/tanstack-cloudflare.user-scoped-collections.md +0 -628
  124. package/agent/patterns/tanstack-cloudflare.websocket-manager.md +0 -237
  125. package/agent/patterns/tanstack-cloudflare.wrangler-configuration.md +0 -358
  126. package/agent/patterns/tanstack-cloudflare.zod-schema-validation.md +0 -336
  127. package/agent/progress.template.yaml +0 -161
  128. package/agent/progress.yaml +0 -145
  129. package/agent/schemas/package.schema.yaml +0 -276
  130. package/agent/scripts/acp.common.sh +0 -1781
  131. package/agent/scripts/acp.install.sh +0 -333
  132. package/agent/scripts/acp.package-create.sh +0 -924
  133. package/agent/scripts/acp.package-info.sh +0 -288
  134. package/agent/scripts/acp.package-install.sh +0 -893
  135. package/agent/scripts/acp.package-list.sh +0 -311
  136. package/agent/scripts/acp.package-publish.sh +0 -420
  137. package/agent/scripts/acp.package-remove.sh +0 -348
  138. package/agent/scripts/acp.package-search.sh +0 -156
  139. package/agent/scripts/acp.package-update.sh +0 -517
  140. package/agent/scripts/acp.package-validate.sh +0 -1018
  141. package/agent/scripts/acp.uninstall.sh +0 -85
  142. package/agent/scripts/acp.version-check-for-updates.sh +0 -98
  143. package/agent/scripts/acp.version-check.sh +0 -47
  144. package/agent/scripts/acp.version-update.sh +0 -176
  145. package/agent/scripts/acp.yaml-parser.sh +0 -985
  146. package/agent/scripts/acp.yaml-validate.sh +0 -205
  147. package/agent/tasks/.gitkeep +0 -0
  148. package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-1-initialize-tanstack-start-project.md +0 -210
  149. package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-2-implement-data-model-yaml-parser.md +0 -294
  150. package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-3-build-server-api-data-loading.md +0 -193
  151. package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-4-add-auto-refresh-sse.md +0 -262
  152. package/agent/tasks/milestone-2-dashboard-views-interaction/task-10-polish-integration-testing.md +0 -156
  153. package/agent/tasks/milestone-2-dashboard-views-interaction/task-5-build-dashboard-layout-routing.md +0 -178
  154. package/agent/tasks/milestone-2-dashboard-views-interaction/task-6-build-overview-page.md +0 -141
  155. package/agent/tasks/milestone-2-dashboard-views-interaction/task-7-implement-milestone-table-view.md +0 -153
  156. package/agent/tasks/milestone-2-dashboard-views-interaction/task-8-implement-milestone-tree-view.md +0 -174
  157. package/agent/tasks/milestone-2-dashboard-views-interaction/task-9-implement-search-filtering.md +0 -233
  158. package/agent/tasks/task-1-{title}.template.md +0 -244
  159. package/vitest.config.ts +0 -27
@@ -1,466 +0,0 @@
1
- # Command: validate
2
-
3
- > **🤖 Agent Directive**: If you are reading this file, the command `@acp.validate` has been invoked. Follow the steps below to execute this command.
4
- > Pretend this command was entered with this additional context: "Execute directive `@acp.validate` 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**: 2.0.0
9
- **Created**: 2026-02-16
10
- **Last Updated**: 2026-02-21
11
- **Status**: Active
12
- **Scripts**: None
13
-
14
- ---
15
-
16
- **Purpose**: Validate all ACP documents for structure, consistency, correctness, and namespace conventions
17
- **Category**: Documentation
18
- **Frequency**: As Needed
19
-
20
- ---
21
-
22
- ## What This Command Does
23
-
24
- This command validates all ACP documentation to ensure it follows proper structure, maintains consistency, contains no errors, and follows namespace conventions. It checks document formatting, verifies links and references, validates YAML syntax, ensures all required sections are present, validates namespace usage, and checks for reserved name violations.
25
-
26
- Use this command before committing documentation changes, after creating new documents, or periodically to ensure documentation quality. It's particularly useful before releases or when onboarding new contributors.
27
-
28
- Unlike `@acp.sync` which compares docs to code, `@acp.validate` checks the internal consistency and correctness of the documentation itself. Unlike `@acp.package-validate` which is for package authors, this command validates general ACP project documentation.
29
-
30
- ---
31
-
32
- ## Prerequisites
33
-
34
- - [ ] ACP installed in project
35
- - [ ] Documentation exists in `agent/` directory
36
- - [ ] You want to verify documentation quality
37
-
38
- ---
39
-
40
- ## Steps
41
-
42
- ### 1. Validate Directory Structure
43
-
44
- Check that all required directories and files exist.
45
-
46
- **Actions**:
47
- - Verify `agent/` directory exists
48
- - Check for `agent/design/`, `agent/milestones/`, `agent/patterns/`, `agent/tasks/`
49
- - Verify `agent/progress.yaml` exists
50
- - Check for `agent/commands/` directory
51
- - Note any missing directories
52
-
53
- **Expected Outcome**: Directory structure validated
54
-
55
- ### 2. Validate progress.yaml
56
-
57
- Check YAML syntax and required fields.
58
-
59
- **Actions**:
60
- - Parse `agent/progress.yaml` as YAML
61
- - Verify required fields exist (project, milestones, tasks)
62
- - Check field types (strings, numbers, dates)
63
- - Validate date formats (YYYY-MM-DD)
64
- - Verify progress percentages (0-100)
65
- - Check milestone/task references are consistent
66
- - Validate status values (not_started, in_progress, completed)
67
-
68
- **Expected Outcome**: progress.yaml is valid
69
-
70
- ### 3. Validate Design Documents
71
-
72
- Check design document structure and content.
73
-
74
- **Actions**:
75
- - Read all files in `agent/design/`
76
- - Verify required sections exist (Overview, Problem, Solution)
77
- - Check for proper markdown formatting
78
- - Validate code blocks have language tags
79
- - Verify dates are in correct format
80
- - Check status values are valid
81
- - Ensure no broken internal links
82
-
83
- **Expected Outcome**: Design docs are well-formed
84
-
85
- ### 4. Validate Milestone Documents
86
-
87
- Check milestone document structure.
88
-
89
- **Actions**:
90
- - Read all files in `agent/milestones/`
91
- - Verify required sections (Overview, Deliverables, Success Criteria)
92
- - Check naming convention (milestone-N-name.md)
93
- - Validate task references exist
94
- - Verify success criteria are checkboxes
95
- - Check for proper formatting
96
-
97
- **Expected Outcome**: Milestone docs are valid
98
-
99
- ### 5. Validate Task Documents
100
-
101
- Check task document structure.
102
-
103
- **Actions**:
104
- - Read all files in `agent/tasks/`
105
- - Verify required sections (Objective, Steps, Verification)
106
- - Check naming convention (task-N-name.md)
107
- - Validate milestone references
108
- - Verify verification items are checkboxes
109
- - Check for proper formatting
110
-
111
- **Expected Outcome**: Task docs are valid
112
-
113
- ### 6. Validate Pattern Documents
114
-
115
- Check pattern document structure.
116
-
117
- **Actions**:
118
- - Read all files in `agent/patterns/`
119
- - Verify required sections (Overview, Implementation, Examples)
120
- - Check code examples are properly formatted
121
- - Validate examples have language tags
122
- - Verify no broken links
123
-
124
- **Expected Outcome**: Pattern docs are valid
125
-
126
- ### 7. Validate Command Documents
127
-
128
- Check command document structure.
129
-
130
- **Actions**:
131
- - Read all files in `agent/commands/`
132
- - Verify required sections (Purpose, Steps, Verification)
133
- - Check agent directive is present
134
- - Validate namespace and version fields
135
- - Verify examples are complete
136
- - Check related commands links work
137
-
138
- **Expected Outcome**: Command docs are valid
139
-
140
- ### 8. Validate Namespace Conventions
141
-
142
- Check namespace usage across all files.
143
-
144
- **Actions**:
145
- - **Detect Context**: Check if package.yaml exists
146
- - If exists: This is a package (use package namespace)
147
- - If not exists: This is a project (use @local namespace)
148
- - **Command Files**: Validate command filenames
149
- - In packages: Commands MUST use {namespace}.{command}.md format
150
- - In projects: Local commands MUST use local.{command}.md format
151
- - Core ACP commands always use acp.{command}.md format
152
- - ERROR if files missing proper namespace prefix
153
- - **Pattern Files**: Validate pattern filenames
154
- - In packages: Patterns MUST use {namespace}.{pattern}.md format
155
- - In projects: Patterns MUST use local.{pattern}.md format
156
- - ERROR if patterns missing namespace prefix
157
- - Exception: Template files (*.template.md) don't need namespace
158
- - **Design Files**: Validate design filenames
159
- - In packages: Designs MUST use {namespace}.{design}.md format
160
- - In projects: Designs MUST use local.{design}.md format
161
- - ERROR if designs missing namespace prefix
162
- - Exception: Template files (*.template.md) don't need namespace
163
- - **Reserved Names**: Check for reserved namespace usage
164
- - Reject package names: acp, local, core, system, global
165
- - Reject command files starting with reserved namespaces (unless core ACP)
166
- - Reject pattern files starting with reserved namespaces (unless core ACP)
167
- - ERROR for any violations
168
- - **Consistency**: Verify namespace consistency
169
- - All commands in package use same namespace
170
- - All patterns in package use same namespace
171
- - All designs in package use same namespace
172
- - Namespace matches package.yaml name field (if package)
173
- - ERROR for mixing of namespaces
174
-
175
- **Expected Outcome**: Namespace conventions validated, errors reported for violations
176
-
177
- ### 9. Validate Key File Index
178
-
179
- Check index files in `agent/index/` for schema correctness and referential integrity.
180
-
181
- **Actions**:
182
- - Check that `agent/index/` directory exists (warn if missing)
183
- - For each `*.yaml` file in `agent/index/` (skip `*.template.yaml`):
184
- - Verify filename follows `{namespace}.{qualifier}.yaml` naming
185
- - Parse the index entries under the top-level key
186
- - For each entry, verify required fields present: `path`, `weight`, `kind`, `description`, `rationale`, `applies`
187
- - Validate `weight` is a number in range 0.0-1.0
188
- - Validate `kind` is one of: pattern, command, design, requirements
189
- - Validate `applies` values use fully qualified command names (contain a dot, e.g. `acp.proceed`)
190
- - Check that each `path` actually exists in the project
191
- - Warn on missing paths (file may have been moved or deleted)
192
- - Check total indexed entries across all files (warn if > 20)
193
- - Check per-namespace entry count (warn if > 10)
194
-
195
- **Output format**:
196
- ```
197
- 📑 Index Validation:
198
- ✓ agent/index/local.main.yaml (5 entries, all valid)
199
- ⚠️ agent/index/core-sdk.main.yaml: path not found: agent/patterns/core-sdk.deleted.md
200
- ✓ Total: 8 entries across 2 namespaces (within limits)
201
- ```
202
-
203
- **Expected Outcome**: Index files validated for schema and referential integrity
204
-
205
- ### 10. Check Cross-References
206
-
207
- Validate links between documents.
208
-
209
- **Actions**:
210
- - Extract all internal links from documents
211
- - Verify linked files exist
212
- - Check milestone → task references
213
- - Verify task → milestone back-references
214
- - Validate command → command links
215
- - Note any broken links
216
-
217
- **Expected Outcome**: All links are valid
218
-
219
- ### 11. Generate Validation Report
220
-
221
- Summarize validation results.
222
-
223
- **Actions**:
224
- - Count total documents validated
225
- - List any errors found
226
- - List any warnings
227
- - Provide recommendations
228
- - Suggest fixes for issues
229
-
230
- **Expected Outcome**: Validation report generated
231
-
232
- ---
233
-
234
- ## Verification
235
-
236
- - [ ] All required directories exist
237
- - [ ] progress.yaml is valid YAML
238
- - [ ] progress.yaml has all required fields
239
- - [ ] All design documents are well-formed
240
- - [ ] All milestone documents are valid
241
- - [ ] All task documents are valid
242
- - [ ] All pattern documents are valid
243
- - [ ] All command documents are valid
244
- - [ ] Namespace conventions validated
245
- - [ ] Reserved names checked
246
- - [ ] Key file index validated (schema, paths, limits)
247
- - [ ] No broken internal links
248
- - [ ] Validation report generated
249
-
250
- ---
251
-
252
- ## Expected Output
253
-
254
- ### Files Modified
255
- None - this is a read-only validation command
256
-
257
- ### Console Output
258
- ```
259
- ✓ Validating ACP Documentation
260
-
261
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
262
-
263
- Directory Structure:
264
- ✓ agent/ directory exists
265
- ✓ agent/design/ exists (5 files)
266
- ✓ agent/milestones/ exists (2 files)
267
- ✓ agent/patterns/ exists (3 files)
268
- ✓ agent/tasks/ exists (7 files)
269
- ✓ agent/commands/ exists (11 files)
270
-
271
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
272
-
273
- progress.yaml:
274
- ✓ Valid YAML syntax
275
- ✓ All required fields present
276
- ✓ Date formats correct
277
- ✓ Progress percentages valid (0-100)
278
- ✓ Status values valid
279
- ✓ Task/milestone references consistent
280
-
281
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
282
-
283
- Design Documents (5):
284
- ✓ All have required sections
285
- ✓ Markdown formatting correct
286
- ✓ Code blocks properly tagged
287
- ⚠️ auth-design.md: Missing "Last Updated" date
288
-
289
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
290
-
291
- Milestone Documents (2):
292
- ✓ All have required sections
293
- ✓ Naming convention followed
294
- ✓ Task references valid
295
- ✓ Success criteria are checkboxes
296
-
297
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
298
-
299
- Task Documents (7):
300
- ✓ All have required sections
301
- ✓ Naming convention followed
302
- ✓ Milestone references valid
303
- ✓ Verification items are checkboxes
304
-
305
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
306
-
307
- Pattern Documents (3):
308
- ✓ All have required sections
309
- ✓ Code examples properly formatted
310
- ✓ No broken links
311
-
312
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
313
-
314
- Command Documents (11):
315
- ✓ All have required sections
316
- ✓ Agent directives present
317
- ✓ Namespace and version fields valid
318
- ✓ Examples complete
319
- ✓ Related command links valid
320
-
321
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
322
-
323
- Namespace Conventions:
324
- ✓ Context detected: Project (no package.yaml)
325
- ✓ All core ACP commands use 'acp' namespace
326
- ✓ Local commands use 'local' namespace
327
- ✓ No reserved name violations
328
- ✓ Namespace consistency maintained
329
-
330
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
331
-
332
- Cross-References:
333
- ✓ All internal links valid
334
- ✓ Milestone → task references correct
335
- ✓ Task → milestone back-references correct
336
- ✓ Command → command links work
337
-
338
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
339
-
340
- ✅ Validation Complete!
341
-
342
- Summary:
343
- - Documents validated: 28
344
- - Errors: 0
345
- - Warnings: 1
346
- - Overall: PASS
347
-
348
- Warnings:
349
- ⚠️ auth-design.md: Missing "Last Updated" date
350
-
351
- Recommendations:
352
- - Add "Last Updated" date to auth-design.md
353
- - Consider adding more code examples to patterns
354
- ```
355
-
356
- ### Status Update
357
- - Validation completed
358
- - Issues identified (if any)
359
- - Documentation quality confirmed
360
-
361
- ---
362
-
363
- ## Examples
364
-
365
- ### Example 1: Before Committing Changes
366
-
367
- **Context**: Made changes to several docs, want to verify before commit
368
-
369
- **Invocation**: `@acp.validate`
370
-
371
- **Result**: Validates all docs, finds 2 broken links, reports them, you fix them before committing
372
-
373
- ### Example 2: After Creating New Documents
374
-
375
- **Context**: Created 3 new design documents
376
-
377
- **Invocation**: `@acp.validate`
378
-
379
- **Result**: Validates new docs, confirms they follow proper structure, identifies missing section in one doc
380
-
381
- ### Example 3: Periodic Quality Check
382
-
383
- **Context**: Monthly documentation review
384
-
385
- **Invocation**: `@acp.validate`
386
-
387
- **Result**: Validates all 50+ documents, finds minor formatting issues in 3 files, overall quality is good
388
-
389
- ---
390
-
391
- ## Related Commands
392
-
393
- - [`@acp.package-validate`](acp.package-validate.md) - Package-specific validation (for package authors)
394
- - [`@acp.sync`](acp.sync.md) - Sync documentation with code (different from validation)
395
- - [`@acp.update`](acp.update.md) - Update progress tracking
396
- - [`@acp.report`](acp.report.md) - Generate comprehensive report including validation results
397
- - [`@acp.init`](acp.init.md) - Can include validation as part of initialization
398
-
399
- ---
400
-
401
- ## Troubleshooting
402
-
403
- ### Issue 1: YAML parsing errors
404
-
405
- **Symptom**: progress.yaml fails to parse
406
-
407
- **Cause**: Invalid YAML syntax (indentation, special characters)
408
-
409
- **Solution**: Use YAML validator, check indentation (2 spaces), quote strings with special characters
410
-
411
- ### Issue 2: Many broken links reported
412
-
413
- **Symptom**: Validation finds numerous broken links
414
-
415
- **Cause**: Files were moved or renamed
416
-
417
- **Solution**: Update links to reflect new file locations, use relative paths, verify files exist
418
-
419
- ### Issue 3: Validation takes too long
420
-
421
- **Symptom**: Command runs for several minutes
422
-
423
- **Cause**: Very large project with many documents
424
-
425
- **Solution**: This is normal for large projects, consider validating specific directories only, run less frequently
426
-
427
- ---
428
-
429
- ## Security Considerations
430
-
431
- ### File Access
432
- - **Reads**: All files in `agent/` directory
433
- - **Writes**: None (read-only validation)
434
- - **Executes**: None
435
-
436
- ### Network Access
437
- - **APIs**: None
438
- - **Repositories**: None
439
-
440
- ### Sensitive Data
441
- - **Secrets**: Does not access secrets or credentials
442
- - **Credentials**: Does not access credentials files
443
-
444
- ---
445
-
446
- ## Notes
447
-
448
- - This is a read-only command - it doesn't modify files
449
- - Validation should be fast (< 30 seconds for most projects)
450
- - Run before committing documentation changes
451
- - Integrate into CI/CD pipeline if desired
452
- - Warnings are informational, not failures
453
- - Errors should be fixed before proceeding
454
- - Consider running after major documentation updates
455
- - Can be automated as a pre-commit hook
456
-
457
- ---
458
-
459
- **Namespace**: acp
460
- **Command**: validate
461
- **Version**: 2.0.0
462
- **Created**: 2026-02-16
463
- **Last Updated**: 2026-02-21
464
- **Status**: Active
465
- **Compatibility**: ACP 2.0.0+
466
- **Author**: ACP Project