@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,526 @@
1
+ # Command: commit
2
+
3
+ > **🤖 Agent Directive**: If you are reading this file, the command `@git.commit` 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**: git
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**: Automate version detection, changelog updates, and git commits with proper semantic versioning
17
+ **Category**: Version Control
18
+ **Frequency**: As Needed
19
+
20
+ ---
21
+
22
+ ## Overview
23
+
24
+ This command intelligently detects if changes represent a version change, determines the appropriate version bump (major/minor/patch), updates version identifiers across the project, updates CHANGELOG.md, intelligently stages relevant files, and creates a properly formatted git commit.
25
+
26
+ **Key Feature**: This command automatically determines which files to stage based on the changes detected. You don't need to manually run `git add` - the command analyzes your working directory and stages the appropriate files for the commit.
27
+
28
+ ## When to Use
29
+
30
+ - After completing a feature, fix, or breaking change
31
+ - When you want to commit changes with proper version management
32
+ - To ensure CHANGELOG.md stays synchronized with code changes
33
+ - To maintain consistent commit message formatting
34
+ - When you have unstaged changes that need intelligent staging
35
+
36
+ ## Prerequisites
37
+
38
+ - [ ] Working directory has changes (staged or unstaged)
39
+ - [ ] Understanding of semantic versioning (major.minor.patch)
40
+ - [ ] Project uses version identifiers (package.json, AGENT.md, etc.)
41
+ - [ ] Git repository initialized
42
+
43
+ ---
44
+
45
+ ## Steps
46
+
47
+ ### 1. Analyze Changes for Version Impact
48
+
49
+ Review the staged/unstaged changes and determine:
50
+
51
+ **Major Version (X.0.0)** - Breaking changes:
52
+ - API changes that break backward compatibility
53
+ - Removal of features or functionality
54
+ - Major architectural changes
55
+ - Changes that require users to modify their code
56
+
57
+ **Minor Version (0.X.0)** - New features:
58
+ - New features added (backward compatible)
59
+ - New commands, tools, or capabilities
60
+ - Significant enhancements to existing features
61
+ - New optional parameters or configuration
62
+
63
+ **Patch Version (0.0.X)** - Bug fixes:
64
+ - Bug fixes
65
+ - Documentation updates
66
+ - Performance improvements
67
+ - Refactoring without behavior changes
68
+ - Minor tweaks and adjustments
69
+
70
+ **No Version Change** - Non-versioned changes:
71
+ - Work in progress
72
+ - Experimental changes
73
+ - Internal development changes
74
+ - Changes that don't affect users
75
+
76
+ ### 2. Detect Version Files
77
+
78
+ Search for version identifiers in the project:
79
+
80
+ ```bash
81
+ # Common version files to check:
82
+ - package.json (Node.js projects)
83
+ - pyproject.toml or setup.py (Python projects)
84
+ - Cargo.toml (Rust projects)
85
+ - pom.xml (Java/Maven projects)
86
+ - build.gradle (Java/Gradle projects)
87
+ - AGENT.md (ACP version)
88
+ - version.txt or VERSION file
89
+ - Any project-specific version files
90
+ ```
91
+
92
+ **Action**: List all files containing version numbers that need updating.
93
+
94
+ ### 3. Calculate New Version
95
+
96
+ Based on the current version and change type:
97
+
98
+ ```
99
+ Current: 1.2.3
100
+
101
+ Major bump: 2.0.0
102
+ Minor bump: 1.3.0
103
+ Patch bump: 1.2.4
104
+ ```
105
+
106
+ **Action**: Determine the new version number.
107
+
108
+ ### 4. Update Version Files
109
+
110
+ Update all version identifiers found in step 2:
111
+
112
+ **Example for package.json**:
113
+ ```json
114
+ {
115
+ "version": "1.3.0"
116
+ }
117
+ ```
118
+
119
+ **Example for AGENT.md**:
120
+ ```markdown
121
+ **Version**: 1.3.0
122
+ ```
123
+
124
+ **Action**: Update all version files with the new version number.
125
+
126
+ ### 5. Update CHANGELOG.md
127
+
128
+ Add a new entry at the top of CHANGELOG.md following Keep a Changelog format:
129
+
130
+ ```markdown
131
+ ## [1.3.0] - YYYY-MM-DD
132
+
133
+ ### Added
134
+ - New features added in this version
135
+
136
+ ### Changed
137
+ - Changes to existing functionality
138
+
139
+ ### Deprecated
140
+ - Features marked for removal
141
+
142
+ ### Removed
143
+ - Features removed in this version
144
+
145
+ ### Fixed
146
+ - Bug fixes
147
+
148
+ ### Security
149
+ - Security fixes
150
+ ```
151
+
152
+ **Guidelines**:
153
+ - Use present tense ("Add feature" not "Added feature")
154
+ - Be specific and clear
155
+ - Group related changes
156
+ - Link to issues/PRs if applicable
157
+ - Include breaking changes prominently for major versions
158
+
159
+ **Action**: Create a new CHANGELOG.md entry with all changes in this commit.
160
+
161
+ ### 6. Generate Commit Message
162
+
163
+ Use Conventional Commits format:
164
+
165
+ ```
166
+ <type>(<scope>): <subject>
167
+
168
+ <body>
169
+
170
+ <footer>
171
+ ```
172
+
173
+ **Types**:
174
+ - `feat`: New feature (minor version bump)
175
+ - `fix`: Bug fix (patch version bump)
176
+ - `docs`: Documentation only
177
+ - `style`: Code style changes (formatting, etc.)
178
+ - `refactor`: Code refactoring
179
+ - `perf`: Performance improvements
180
+ - `test`: Adding or updating tests
181
+ - `chore`: Maintenance tasks
182
+ - `agent`: Changes to agent/ directory only (designs, tasks, milestones, patterns)
183
+ - `version`: Version bump only (no code changes, just version number updates)
184
+
185
+ **Breaking Changes**:
186
+ - Add `BREAKING CHANGE:` in the commit message footer for major version bumps
187
+ - Use `feat!:` or `fix!:` syntax to indicate breaking changes
188
+
189
+ **Template for Version Changes**:
190
+ ```
191
+ <type>(<scope>): <short description>
192
+
193
+ <detailed description of changes>
194
+
195
+ Changes:
196
+ - Change 1
197
+ - Change 2
198
+ - Change 3
199
+
200
+ Completed:
201
+ - Task: agent/tasks/task-N-name.md
202
+ - Milestone: M1 (if milestone completed)
203
+
204
+ Tests:
205
+ - X tests passing
206
+ - Y% code coverage
207
+
208
+ Documentation:
209
+ - Design: <link to design doc or external resource>
210
+ - API Docs: <link to generated docs>
211
+ - Related: <link to related documentation>
212
+
213
+ BREAKING CHANGE: <description if major version>
214
+ Closes #<issue-number>
215
+ Related: <PR-link or issue-link>
216
+ Version: X.Y.Z
217
+ ```
218
+
219
+ **Example**:
220
+ ```
221
+ feat(commands): add @git.commit command for intelligent version management
222
+
223
+ Implemented automated version detection and changelog management:
224
+ - Detects version impact (major/minor/patch)
225
+ - Updates all version files automatically
226
+ - Generates CHANGELOG.md entries
227
+ - Creates properly formatted commit messages
228
+
229
+ Changes:
230
+ - Added agent/commands/git.commit.md
231
+ - Updated AGENT.md with changelog emphasis
232
+ - Enhanced version management workflow
233
+
234
+ Completed:
235
+ - Task: agent/tasks/task-1-commands-infrastructure.md
236
+ - Milestone: M1 (ACP Commands) - 75% complete
237
+
238
+ Tests:
239
+ - All existing tests passing
240
+ - No new tests required (documentation only)
241
+
242
+ Version: 1.3.0
243
+ ```
244
+
245
+ **Action**: Generate a commit message following this template.
246
+
247
+ ### 7. Intelligently Stage Changes
248
+
249
+ Analyze the working directory and stage relevant files:
250
+
251
+ **Actions**:
252
+ - Review `git status` to see all changes
253
+ - Stage version files that were updated (AGENT.md, package.json, etc.)
254
+ - Stage CHANGELOG.md
255
+ - Stage source files that are part of this commit
256
+ - **CRITICAL**: Skip gitignored files - never use `git add -f`
257
+ - Optionally exclude unrelated changes (use `git add <specific-files>` instead of `git add -A`)
258
+
259
+ **Decision Logic**:
260
+ - If all changes are related to this commit: `git add -A`
261
+ - If some changes are unrelated: `git add <file1> <file2> ...` (specific files only)
262
+ - Always include: version files, CHANGELOG.md, and files related to the feature/fix
263
+ - **Never force-add gitignored files**: If `git add` fails due to `.gitignore`, acknowledge and skip the file
264
+
265
+ **Gitignore Handling**:
266
+ - ❌ **NEVER** use `git add -f` to force-add gitignored files
267
+ - ✅ If a file is gitignored, acknowledge it and skip it
268
+ - ✅ Assume gitignored files were intentionally excluded
269
+ - ✅ Only commit non-gitignored files
270
+
271
+ **Example**:
272
+ ```bash
273
+ # If all changes are related:
274
+ git add -A
275
+
276
+ # If only specific files should be committed:
277
+ git add AGENT.md CHANGELOG.md agent/commands/git.commit.md
278
+
279
+ # If git add fails due to .gitignore:
280
+ # ❌ DON'T: git add -f ignored-file.txt
281
+ # ✅ DO: Acknowledge file is gitignored and skip it
282
+ ```
283
+
284
+ **Action**: Intelligently stage files based on what's relevant to this commit, respecting `.gitignore` rules.
285
+
286
+ ### 8. Create Commit
287
+
288
+ ```bash
289
+ git commit -m "<generated commit message>"
290
+ ```
291
+
292
+ **Action**: Commit with the generated message.
293
+
294
+ ### 9. Display Summary
295
+
296
+ Show what was done:
297
+
298
+ ```
299
+ ✓ Version bumped: 1.2.3 → 1.3.0 (minor)
300
+ ✓ Updated version files:
301
+ - AGENT.md
302
+ - package.json
303
+ ✓ Updated CHANGELOG.md
304
+ ✓ Created commit: feat: add new feature
305
+ ✓ Ready to push
306
+
307
+ Next steps:
308
+ git push
309
+ ```
310
+
311
+ ---
312
+
313
+ ## Verification Checklist
314
+
315
+ After running this command, verify:
316
+
317
+ - [ ] Version number is correct in all files
318
+ - [ ] CHANGELOG.md has a new entry with today's date
319
+ - [ ] CHANGELOG.md entry accurately describes changes
320
+ - [ ] Commit message follows Conventional Commits format
321
+ - [ ] All changes are staged and committed
322
+ - [ ] Version bump type is appropriate (major/minor/patch)
323
+ - [ ] Breaking changes are clearly documented (if major version)
324
+
325
+ ---
326
+
327
+ ## Examples
328
+
329
+ ### Example 1: New Feature (Minor Version)
330
+
331
+ **Context**: Added `@git.commit` command
332
+
333
+ **Detection**:
334
+ - New command file created
335
+ - New functionality added
336
+ - Backward compatible
337
+ - **Decision**: Minor version bump (1.2.3 → 1.3.0)
338
+
339
+ **CHANGELOG.md Entry**:
340
+ ```markdown
341
+ ## [1.3.0] - 2026-02-16
342
+
343
+ ### Added
344
+ - `@git.commit` command for intelligent version management
345
+ - Automated version detection and changelog updates
346
+ - Conventional Commits format support
347
+ ```
348
+
349
+ **Commit Message**:
350
+ ```
351
+ feat: add @git.commit command for intelligent version management
352
+
353
+ Implemented automated version detection and changelog management.
354
+
355
+ Version: 1.3.0
356
+ ```
357
+
358
+ ### Example 2: Bug Fix (Patch Version)
359
+
360
+ **Context**: Fixed syntax error in acp.version-update.sh
361
+
362
+ **Detection**:
363
+ - Bug fix only
364
+ - No new features
365
+ - Backward compatible
366
+ - **Decision**: Patch version bump (1.2.3 → 1.2.4)
367
+
368
+ **CHANGELOG.md Entry**:
369
+ ```markdown
370
+ ## [1.2.4] - 2026-02-16
371
+
372
+ ### Fixed
373
+ - Syntax error in acp.version-update.sh script
374
+ - Script now runs without errors
375
+ ```
376
+
377
+ **Commit Message**:
378
+ ```
379
+ fix: resolve syntax error in acp.version-update.sh script
380
+
381
+ Fixed bash syntax error that prevented update script from running.
382
+
383
+ Version: 1.2.4
384
+ ```
385
+
386
+ ### Example 3: Breaking Change (Major Version)
387
+
388
+ **Context**: Changed command syntax from `AGENT.md: Initialize` to `@acp.init`
389
+
390
+ **Detection**:
391
+ - Breaking change to user interface
392
+ - Old syntax no longer works
393
+ - Requires user action
394
+ - **Decision**: Major version bump (1.2.3 → 2.0.0)
395
+
396
+ **CHANGELOG.md Entry**:
397
+ ```markdown
398
+ ## [2.0.0] - 2026-02-16
399
+
400
+ ### Changed
401
+ - **BREAKING**: Command syntax changed from `AGENT.md: Initialize` to `@acp.init`
402
+ - All commands now use `@acp.*` format
403
+ - Old prompt format no longer supported
404
+
405
+ ### Migration Guide
406
+ - Replace `AGENT.md: Initialize` with `@acp.init`
407
+ - Replace `AGENT.md: Proceed` with `@acp.proceed`
408
+ ```
409
+
410
+ **Commit Message**:
411
+ ```
412
+ feat!: change command syntax to @acp.* format
413
+
414
+ BREAKING CHANGE: Command syntax has changed from "AGENT.md: Initialize"
415
+ to "@acp.init" format. All commands now use the @acp.* namespace.
416
+
417
+ Migration:
418
+ - AGENT.md: Initialize → @acp.init
419
+ - AGENT.md: Proceed → @acp.proceed
420
+
421
+ Version: 2.0.0
422
+ ```
423
+
424
+ ### Example 4: No Version Change
425
+
426
+ **Context**: Work in progress, experimental changes
427
+
428
+ **Detection**:
429
+ - Incomplete feature
430
+ - Not ready for release
431
+ - Internal development
432
+ - **Decision**: No version bump
433
+
434
+ **Commit Message**:
435
+ ```
436
+ chore: work in progress on new feature
437
+
438
+ Experimental implementation, not ready for release.
439
+ ```
440
+
441
+ ---
442
+
443
+ ## Decision Tree
444
+
445
+ ```
446
+ Is this a breaking change?
447
+ ├─ Yes → Major version bump (X.0.0)
448
+ └─ No
449
+ ├─ Is this a new feature?
450
+ │ ├─ Yes → Minor version bump (0.X.0)
451
+ │ └─ No
452
+ │ ├─ Is this a bug fix or improvement?
453
+ │ │ ├─ Yes → Patch version bump (0.0.X)
454
+ │ │ └─ No → No version bump
455
+ ```
456
+
457
+ ---
458
+
459
+ ## Best Practices
460
+
461
+ 1. **Be Honest About Breaking Changes**
462
+ - If it breaks existing functionality, it's a major version
463
+ - Document migration paths clearly
464
+
465
+ 2. **Group Related Changes**
466
+ - Commit related changes together
467
+ - Don't mix features and fixes in one commit
468
+
469
+ 3. **Write Clear CHANGELOG Entries**
470
+ - Focus on user impact, not implementation
471
+ - Include examples for complex changes
472
+ - Link to documentation
473
+
474
+ 4. **Use Conventional Commits**
475
+ - Makes changelog generation easier
476
+ - Enables automated tooling
477
+ - Improves git history readability
478
+
479
+ 5. **Update All Version Files**
480
+ - Don't forget any version identifiers
481
+ - Keep versions synchronized
482
+ - Verify after updating
483
+
484
+ 6. **Review Before Committing**
485
+ - Check CHANGELOG.md accuracy
486
+ - Verify version bump is appropriate
487
+ - Ensure commit message is clear
488
+
489
+ ---
490
+
491
+ ## Troubleshooting
492
+
493
+ **Problem**: Not sure if change is major or minor
494
+ - **Solution**: If in doubt, use minor. Major should only be for clear breaking changes.
495
+
496
+ **Problem**: Multiple unrelated changes staged
497
+ - **Solution**: Unstage and commit separately, or group logically in CHANGELOG.
498
+
499
+ **Problem**: Forgot to update a version file
500
+ - **Solution**: Amend the commit: `git commit --amend`, update files, stage, and amend again.
501
+
502
+ **Problem**: CHANGELOG.md entry is unclear
503
+ - **Solution**: Rewrite focusing on user impact, not technical details.
504
+
505
+ ---
506
+
507
+ ## Related Commands
508
+
509
+ - [`@acp.version-check`](acp.version-check.md) - Check current version
510
+ - [`@acp.version-update`](acp.version-update.md) - Update ACP itself
511
+ - [`@acp.status`](acp.status.md) - Check project status before committing
512
+
513
+ ---
514
+
515
+ ## Notes
516
+
517
+ - This command is for project commits, not ACP updates
518
+ - Always review generated changelog entries
519
+ - Version bumps should be deliberate and meaningful
520
+ - Keep CHANGELOG.md user-focused, not developer-focused
521
+ - Use semantic versioning consistently
522
+
523
+ ---
524
+
525
+ **Status**: Production Ready
526
+ **Last Updated**: 2026-02-16