liteagents 2.4.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 (215) hide show
  1. package/CHANGELOG.md +441 -0
  2. package/LICENSE +21 -0
  3. package/README.md +179 -0
  4. package/cli.js +230 -0
  5. package/docs/.gitkeep +1 -0
  6. package/docs/CONTRIBUTING.md +739 -0
  7. package/docs/DUAL_PUBLISH_SUMMARY.md +177 -0
  8. package/docs/ERROR_HANDLING_IMPLEMENTATION.md +327 -0
  9. package/docs/GITHUB_PACKAGES.md +181 -0
  10. package/docs/GITHUB_SETUP.md +158 -0
  11. package/docs/INSTALLATION_DEMO.md +691 -0
  12. package/docs/INSTALLATION_LOCATIONS.md +299 -0
  13. package/docs/INSTALLER_GUIDE.md +1586 -0
  14. package/docs/INTEGRATION_ISSUES_9.1.md +341 -0
  15. package/docs/KNOWLEDGE_BASE.md +727 -0
  16. package/docs/MIGRATION.md +384 -0
  17. package/docs/PACKAGE_BASELINE.md +557 -0
  18. package/docs/PACKAGE_VALIDATION_REPORT.md +427 -0
  19. package/docs/PASS_INTEGRATION.md +307 -0
  20. package/docs/PASS_QUICK_START.md +150 -0
  21. package/docs/PRIVACY.md +203 -0
  22. package/docs/PUBLISHING.md +494 -0
  23. package/docs/QUICK-START.md +318 -0
  24. package/docs/RELEASE_NOTES_1.2.0.md +323 -0
  25. package/docs/SECURITY.md +317 -0
  26. package/docs/SILENT_MODE_GUIDE.md +526 -0
  27. package/docs/SKILLS_CONVERSION.md +154 -0
  28. package/docs/TESTING.md +582 -0
  29. package/docs/TEST_COVERAGE.md +347 -0
  30. package/docs/TROUBLESHOOTING.md +788 -0
  31. package/docs/UPDATED_VARIANT_CONFIGURATION.md +274 -0
  32. package/docs/VARIANT_CONFIGURATION.md +440 -0
  33. package/installer/cli.js +761 -0
  34. package/installer/installation-engine.js +1536 -0
  35. package/installer/package-manager.js +640 -0
  36. package/installer/path-manager.js +427 -0
  37. package/installer/report-template.js +298 -0
  38. package/installer/verification-system.js +274 -0
  39. package/package.json +83 -0
  40. package/packages/ampcode/AGENT.md +58 -0
  41. package/packages/ampcode/README.md +17 -0
  42. package/packages/ampcode/agents/1-create-prd.md +175 -0
  43. package/packages/ampcode/agents/2-generate-tasks.md +190 -0
  44. package/packages/ampcode/agents/3-process-task-list.md +225 -0
  45. package/packages/ampcode/agents/code-developer.md +198 -0
  46. package/packages/ampcode/agents/context-builder.md +142 -0
  47. package/packages/ampcode/agents/feature-planner.md +199 -0
  48. package/packages/ampcode/agents/market-researcher.md +89 -0
  49. package/packages/ampcode/agents/orchestrator.md +116 -0
  50. package/packages/ampcode/agents/quality-assurance.md +115 -0
  51. package/packages/ampcode/agents/system-architect.md +135 -0
  52. package/packages/ampcode/agents/ui-designer.md +184 -0
  53. package/packages/ampcode/commands/brainstorming.md +56 -0
  54. package/packages/ampcode/commands/code-review.md +107 -0
  55. package/packages/ampcode/commands/condition-based-waiting/example.ts +158 -0
  56. package/packages/ampcode/commands/condition-based-waiting.md +122 -0
  57. package/packages/ampcode/commands/debug.md +20 -0
  58. package/packages/ampcode/commands/docs-builder/templates.md +572 -0
  59. package/packages/ampcode/commands/docs-builder.md +106 -0
  60. package/packages/ampcode/commands/explain.md +18 -0
  61. package/packages/ampcode/commands/git-commit.md +14 -0
  62. package/packages/ampcode/commands/optimize.md +20 -0
  63. package/packages/ampcode/commands/refactor.md +21 -0
  64. package/packages/ampcode/commands/review.md +18 -0
  65. package/packages/ampcode/commands/root-cause-tracing/find-polluter.sh +63 -0
  66. package/packages/ampcode/commands/root-cause-tracing.md +176 -0
  67. package/packages/ampcode/commands/security.md +21 -0
  68. package/packages/ampcode/commands/ship.md +18 -0
  69. package/packages/ampcode/commands/skill-creator/scripts/init_skill.py +303 -0
  70. package/packages/ampcode/commands/skill-creator/scripts/package_skill.py +110 -0
  71. package/packages/ampcode/commands/skill-creator/scripts/quick_validate.py +65 -0
  72. package/packages/ampcode/commands/skill-creator.md +211 -0
  73. package/packages/ampcode/commands/stash.md +45 -0
  74. package/packages/ampcode/commands/systematic-debugging.md +297 -0
  75. package/packages/ampcode/commands/test-driven-development.md +390 -0
  76. package/packages/ampcode/commands/test-generate.md +18 -0
  77. package/packages/ampcode/commands/testing-anti-patterns.md +304 -0
  78. package/packages/ampcode/commands/verification-before-completion.md +152 -0
  79. package/packages/ampcode/settings.json +13 -0
  80. package/packages/ampcode/variants.json +8 -0
  81. package/packages/claude/CLAUDE.md +58 -0
  82. package/packages/claude/README.md +23 -0
  83. package/packages/claude/agents/1-create-prd.md +175 -0
  84. package/packages/claude/agents/2-generate-tasks.md +190 -0
  85. package/packages/claude/agents/3-process-task-list.md +225 -0
  86. package/packages/claude/agents/code-developer.md +198 -0
  87. package/packages/claude/agents/context-builder.md +142 -0
  88. package/packages/claude/agents/feature-planner.md +199 -0
  89. package/packages/claude/agents/market-researcher.md +89 -0
  90. package/packages/claude/agents/orchestrator.md +117 -0
  91. package/packages/claude/agents/quality-assurance.md +115 -0
  92. package/packages/claude/agents/system-architect.md +135 -0
  93. package/packages/claude/agents/ui-designer.md +184 -0
  94. package/packages/claude/commands/debug.md +20 -0
  95. package/packages/claude/commands/explain.md +18 -0
  96. package/packages/claude/commands/git-commit.md +14 -0
  97. package/packages/claude/commands/optimize.md +20 -0
  98. package/packages/claude/commands/refactor.md +21 -0
  99. package/packages/claude/commands/review.md +18 -0
  100. package/packages/claude/commands/security.md +21 -0
  101. package/packages/claude/commands/ship.md +18 -0
  102. package/packages/claude/commands/stash.md +45 -0
  103. package/packages/claude/commands/test-generate.md +18 -0
  104. package/packages/claude/skills/brainstorming/SKILL.md +56 -0
  105. package/packages/claude/skills/code-review/SKILL.md +107 -0
  106. package/packages/claude/skills/code-review/code-reviewer.md +146 -0
  107. package/packages/claude/skills/condition-based-waiting/SKILL.md +122 -0
  108. package/packages/claude/skills/condition-based-waiting/example.ts +158 -0
  109. package/packages/claude/skills/docs-builder/SKILL.md +106 -0
  110. package/packages/claude/skills/docs-builder/references/templates.md +572 -0
  111. package/packages/claude/skills/root-cause-tracing/SKILL.md +176 -0
  112. package/packages/claude/skills/root-cause-tracing/find-polluter.sh +63 -0
  113. package/packages/claude/skills/skill-creator/LICENSE.txt +202 -0
  114. package/packages/claude/skills/skill-creator/SKILL.md +211 -0
  115. package/packages/claude/skills/skill-creator/scripts/init_skill.py +303 -0
  116. package/packages/claude/skills/skill-creator/scripts/package_skill.py +110 -0
  117. package/packages/claude/skills/skill-creator/scripts/quick_validate.py +65 -0
  118. package/packages/claude/skills/systematic-debugging/CREATION-LOG.md +119 -0
  119. package/packages/claude/skills/systematic-debugging/SKILL.md +296 -0
  120. package/packages/claude/skills/systematic-debugging/test-academic.md +14 -0
  121. package/packages/claude/skills/systematic-debugging/test-pressure-1.md +58 -0
  122. package/packages/claude/skills/systematic-debugging/test-pressure-2.md +68 -0
  123. package/packages/claude/skills/systematic-debugging/test-pressure-3.md +69 -0
  124. package/packages/claude/skills/test-driven-development/SKILL.md +392 -0
  125. package/packages/claude/skills/testing-anti-patterns/SKILL.md +304 -0
  126. package/packages/claude/skills/verification-before-completion/SKILL.md +152 -0
  127. package/packages/claude/variants.json +9 -0
  128. package/packages/droid/AGENTS.md +52 -0
  129. package/packages/droid/README.md +17 -0
  130. package/packages/droid/change_settings.json +61 -0
  131. package/packages/droid/commands/brainstorming.md +56 -0
  132. package/packages/droid/commands/code-review.md +107 -0
  133. package/packages/droid/commands/condition-based-waiting/example.ts +158 -0
  134. package/packages/droid/commands/condition-based-waiting.md +122 -0
  135. package/packages/droid/commands/debug.md +20 -0
  136. package/packages/droid/commands/docs-builder/templates.md +572 -0
  137. package/packages/droid/commands/docs-builder.md +106 -0
  138. package/packages/droid/commands/explain.md +18 -0
  139. package/packages/droid/commands/git-commit.md +14 -0
  140. package/packages/droid/commands/optimize.md +20 -0
  141. package/packages/droid/commands/refactor.md +21 -0
  142. package/packages/droid/commands/review.md +18 -0
  143. package/packages/droid/commands/root-cause-tracing/find-polluter.sh +63 -0
  144. package/packages/droid/commands/root-cause-tracing.md +176 -0
  145. package/packages/droid/commands/security.md +21 -0
  146. package/packages/droid/commands/ship.md +18 -0
  147. package/packages/droid/commands/skill-creator/scripts/init_skill.py +303 -0
  148. package/packages/droid/commands/skill-creator/scripts/package_skill.py +110 -0
  149. package/packages/droid/commands/skill-creator/scripts/quick_validate.py +65 -0
  150. package/packages/droid/commands/skill-creator.md +211 -0
  151. package/packages/droid/commands/stash.md +45 -0
  152. package/packages/droid/commands/systematic-debugging.md +297 -0
  153. package/packages/droid/commands/test-driven-development.md +390 -0
  154. package/packages/droid/commands/test-generate.md +18 -0
  155. package/packages/droid/commands/testing-anti-patterns.md +304 -0
  156. package/packages/droid/commands/verification-before-completion.md +152 -0
  157. package/packages/droid/droids/1-create-prd.md +170 -0
  158. package/packages/droid/droids/2-generate-tasks.md +190 -0
  159. package/packages/droid/droids/3-process-task-list.md +225 -0
  160. package/packages/droid/droids/code-developer.md +198 -0
  161. package/packages/droid/droids/context-builder.md +142 -0
  162. package/packages/droid/droids/feature-planner.md +199 -0
  163. package/packages/droid/droids/market-researcher.md +89 -0
  164. package/packages/droid/droids/orchestrator.md +116 -0
  165. package/packages/droid/droids/quality-assurance.md +115 -0
  166. package/packages/droid/droids/system-architect.md +135 -0
  167. package/packages/droid/droids/ui-designer.md +184 -0
  168. package/packages/droid/variants.json +8 -0
  169. package/packages/opencode/AGENTS.md +52 -0
  170. package/packages/opencode/README.md +17 -0
  171. package/packages/opencode/agent/1-create-prd.md +179 -0
  172. package/packages/opencode/agent/2-generate-tasks.md +194 -0
  173. package/packages/opencode/agent/3-process-task-list.md +229 -0
  174. package/packages/opencode/agent/code-developer.md +202 -0
  175. package/packages/opencode/agent/context-builder.md +146 -0
  176. package/packages/opencode/agent/feature-planner.md +203 -0
  177. package/packages/opencode/agent/market-researcher.md +93 -0
  178. package/packages/opencode/agent/orchestrator.md +120 -0
  179. package/packages/opencode/agent/quality-assurance.md +119 -0
  180. package/packages/opencode/agent/system-architect.md +139 -0
  181. package/packages/opencode/agent/ui-designer.md +188 -0
  182. package/packages/opencode/command/brainstorming.md +56 -0
  183. package/packages/opencode/command/code-review.md +107 -0
  184. package/packages/opencode/command/condition-based-waiting/example.ts +158 -0
  185. package/packages/opencode/command/condition-based-waiting.md +122 -0
  186. package/packages/opencode/command/debug.md +20 -0
  187. package/packages/opencode/command/docs-builder/templates.md +572 -0
  188. package/packages/opencode/command/docs-builder.md +106 -0
  189. package/packages/opencode/command/explain.md +18 -0
  190. package/packages/opencode/command/git-commit.md +14 -0
  191. package/packages/opencode/command/optimize.md +20 -0
  192. package/packages/opencode/command/refactor.md +21 -0
  193. package/packages/opencode/command/review.md +18 -0
  194. package/packages/opencode/command/root-cause-tracing/find-polluter.sh +63 -0
  195. package/packages/opencode/command/root-cause-tracing.md +176 -0
  196. package/packages/opencode/command/security.md +21 -0
  197. package/packages/opencode/command/ship.md +18 -0
  198. package/packages/opencode/command/skill-creator/scripts/init_skill.py +303 -0
  199. package/packages/opencode/command/skill-creator/scripts/package_skill.py +110 -0
  200. package/packages/opencode/command/skill-creator/scripts/quick_validate.py +65 -0
  201. package/packages/opencode/command/skill-creator.md +211 -0
  202. package/packages/opencode/command/stash.md +45 -0
  203. package/packages/opencode/command/systematic-debugging.md +297 -0
  204. package/packages/opencode/command/test-driven-development.md +390 -0
  205. package/packages/opencode/command/test-generate.md +18 -0
  206. package/packages/opencode/command/testing-anti-patterns.md +304 -0
  207. package/packages/opencode/command/verification-before-completion.md +152 -0
  208. package/packages/opencode/opencode.jsonc +201 -0
  209. package/packages/opencode/variants.json +8 -0
  210. package/packages/subagentic-manual.md +349 -0
  211. package/postinstall.js +21 -0
  212. package/tools/ampcode/manifest-template.json +14 -0
  213. package/tools/claude/manifest-template.json +14 -0
  214. package/tools/droid/manifest-template.json +14 -0
  215. package/tools/opencode/manifest-template.json +14 -0
@@ -0,0 +1,384 @@
1
+ # Migration Guide - Agentic Kit
2
+
3
+ ## Overview
4
+
5
+ This guide helps you migrate from older versions of Agentic Kit to the new interactive installer system. The new system introduces variant-based installations (Lite/Standard/Pro) and improved multi-tool support.
6
+
7
+ ## What's New in Version 1.2.0
8
+
9
+ ### Major Changes
10
+ 1. **Variant System**: Choose between Lite, Standard, or Pro packages
11
+ 2. **Multi-Tool Support**: Install multiple AI tools (Claude, Opencode, Ampcode, Droid)
12
+ 3. **Interactive Installer**: Step-by-step guided installation process
13
+ 4. **Manifest Files**: Each installation now includes a manifest.json for tracking
14
+ 5. **Resume Capability**: Interrupted installations can be resumed
15
+ 6. **Rollback Support**: Failed installations automatically roll back
16
+
17
+ ### File Structure Changes
18
+
19
+ **Old Structure** (< 1.2.0):
20
+ ```
21
+ ~/.claude/
22
+ ├── agents/
23
+ ├── skills/
24
+ ├── resources/
25
+ └── hooks/
26
+ ```
27
+
28
+ **New Structure** (>= 1.2.0):
29
+ ```
30
+ ~/.claude/
31
+ ├── agents/
32
+ ├── skills/
33
+ ├── resources/
34
+ ├── hooks/
35
+ └── manifest.json ← NEW: Installation metadata
36
+ ```
37
+
38
+ ## Automatic Migration Detection
39
+
40
+ ### How It Works
41
+
42
+ When you run the new installer, it automatically:
43
+ 1. Checks for existing installations at default paths
44
+ 2. Detects if they're from older versions (no manifest.json)
45
+ 3. Prompts you to migrate: `"Legacy installation detected. Migrate to new installer? (Y/n)"`
46
+
47
+ ### Migration Process
48
+
49
+ If you choose to migrate (`Y`), the installer will:
50
+
51
+ 1. **Scan Existing Files**
52
+ - Counts agents, skills, resources, hooks in current installation
53
+ - Analyzes directory structure
54
+
55
+ 2. **Classify Variant**
56
+ - 3 agents, 0 skills → Classified as **Lite**
57
+ - 13 agents, 1-8 skills → Classified as **Standard**
58
+ - 13 agents, 9+ skills → Classified as **Pro**
59
+ - Custom configurations → Classified as **Custom** (closest match)
60
+
61
+ 3. **Create Manifest**
62
+ - Generates manifest.json with detected configuration
63
+ - Records file counts and paths
64
+ - Preserves installation timestamp
65
+
66
+ 4. **Preserve Customizations**
67
+ - Existing files are not modified
68
+ - Custom agents/skills are retained
69
+ - User-created content is preserved
70
+
71
+ 5. **Validation**
72
+ - Verifies all files are accessible
73
+ - Checks manifest integrity
74
+ - Reports any issues
75
+
76
+ ### Example Migration
77
+
78
+ ```bash
79
+ $ node installer/cli.js
80
+
81
+ Welcome to Agentic Kit Installer v1.2.0
82
+
83
+ ⚠ Legacy installation detected at ~/.claude
84
+ Found: 13 agents, 5 skills, 1 resource, 2 hooks
85
+ This appears to be from version < 1.2.0 (no manifest.json)
86
+
87
+ Migrate to new installer? (Y/n): y
88
+
89
+ Analyzing installation...
90
+ ✓ Classified as: Standard variant
91
+ ✓ All files accessible
92
+
93
+ Creating manifest...
94
+ ✓ manifest.json created
95
+
96
+ Migration complete!
97
+ Your installation is now compatible with v1.2.0
98
+ You can now use upgrade/downgrade features
99
+ ```
100
+
101
+ ## Manual Migration
102
+
103
+ If you prefer to migrate manually or the automatic migration fails:
104
+
105
+ ### Step 1: Backup Your Installation
106
+
107
+ ```bash
108
+ # Backup Claude installation
109
+ cp -r ~/.claude ~/.claude.backup
110
+
111
+ # Backup other tools if installed
112
+ cp -r ~/.config/opencode ~/.config/opencode.backup
113
+ cp -r ~/.amp ~/.amp.backup
114
+ cp -r ~/.factory ~/.factory.backup
115
+ ```
116
+
117
+ ### Step 2: Count Your Components
118
+
119
+ ```bash
120
+ # Count agents
121
+ ls ~/.claude/agents/*.md | wc -l
122
+
123
+ # Count skills
124
+ ls ~/.claude/skills/*.md 2>/dev/null | wc -l
125
+
126
+ # Count resources
127
+ ls ~/.claude/resources/* 2>/dev/null | wc -l
128
+
129
+ # Count hooks
130
+ ls ~/.claude/hooks/*.js 2>/dev/null | wc -l
131
+ ```
132
+
133
+ ### Step 3: Determine Your Variant
134
+
135
+ Based on component counts:
136
+ - **Lite**: 3 agents, 0 skills
137
+ - **Standard**: 13 agents, 1-8 skills
138
+ - **Pro**: 13 agents, 9+ skills
139
+
140
+ ### Step 4: Create Manifest Manually
141
+
142
+ Create `~/.claude/manifest.json`:
143
+
144
+ ```json
145
+ {
146
+ "tool": "claude",
147
+ "variant": "standard",
148
+ "version": "1.2.0",
149
+ "installed_at": "2025-01-15T10:00:00Z",
150
+ "migrated_from": "legacy",
151
+ "components": {
152
+ "agents": 13,
153
+ "skills": 5,
154
+ "resources": 1,
155
+ "hooks": 2
156
+ },
157
+ "paths": {
158
+ "agents": "~/.claude/agents",
159
+ "skills": "~/.claude/skills",
160
+ "resources": "~/.claude/resources",
161
+ "hooks": "~/.claude/hooks"
162
+ },
163
+ "files": {
164
+ "total": 21,
165
+ "size": "1.5MB"
166
+ },
167
+ "migration": {
168
+ "from_version": "unknown",
169
+ "migrated_at": "2025-01-15T10:00:00Z",
170
+ "migration_type": "manual"
171
+ }
172
+ }
173
+ ```
174
+
175
+ ### Step 5: Verify Migration
176
+
177
+ Run the installer to verify:
178
+
179
+ ```bash
180
+ node installer/cli.js
181
+
182
+ # Installer should recognize your installation
183
+ # and offer upgrade/downgrade options
184
+ ```
185
+
186
+ ## Migrating Custom Configurations
187
+
188
+ ### Custom Agents
189
+
190
+ If you have custom agents:
191
+
192
+ 1. Keep them in the `agents/` directory
193
+ 2. They will be preserved during migration
194
+ 3. Update manifest.json to include them in count
195
+ 4. Consider adding them to a custom variant in `variants.json`
196
+
197
+ ### Custom Skills
198
+
199
+ Custom skills are preserved automatically:
200
+
201
+ 1. Left in `skills/` directory
202
+ 2. Counted in manifest
203
+ 3. Can be used with any variant
204
+
205
+ ### Custom Paths
206
+
207
+ If you installed to custom paths (not default locations):
208
+
209
+ 1. Migration will detect the installation location
210
+ 2. Manifest will record the custom path
211
+ 3. Future upgrades will respect the custom path
212
+
213
+ Example for custom path `/custom/path/claude`:
214
+
215
+ ```bash
216
+ node installer/cli.js
217
+ # When prompted, enter your custom path
218
+ # Migration will detect and preserve it
219
+ ```
220
+
221
+ ## Troubleshooting Migration
222
+
223
+ ### Issue: Migration Not Detected
224
+
225
+ **Symptom**: Installer doesn't detect legacy installation
226
+
227
+ **Solutions**:
228
+ 1. Check installation path is correct:
229
+ ```bash
230
+ ls ~/.claude/agents/*.md
231
+ ```
232
+
233
+ 2. Verify directory structure:
234
+ ```bash
235
+ find ~/.claude -type d
236
+ ```
237
+
238
+ 3. Check permissions:
239
+ ```bash
240
+ ls -la ~/.claude
241
+ ```
242
+
243
+ ### Issue: Variant Classification Wrong
244
+
245
+ **Symptom**: Installer classifies your installation as wrong variant
246
+
247
+ **Solution**: Manually create manifest with correct variant:
248
+ ```bash
249
+ # Edit ~/.claude/manifest.json
250
+ # Change "variant" field to correct value
251
+ nano ~/.claude/manifest.json
252
+ ```
253
+
254
+ ### Issue: Custom Files Not Detected
255
+
256
+ **Symptom**: Custom agents/skills not counted in migration
257
+
258
+ **Solution**:
259
+ 1. Ensure files have correct extensions (.md for agents/skills)
260
+ 2. Verify files are in correct directories
261
+ 3. Check file permissions are readable
262
+
263
+ ### Issue: Migration Fails
264
+
265
+ **Symptom**: Migration process encounters errors
266
+
267
+ **Solutions**:
268
+ 1. Run with verbose logging:
269
+ ```bash
270
+ DEBUG=* node installer/cli.js
271
+ ```
272
+
273
+ 2. Try manual migration (see above)
274
+
275
+ 3. Restore from backup and try again:
276
+ ```bash
277
+ rm -rf ~/.claude
278
+ cp -r ~/.claude.backup ~/.claude
279
+ ```
280
+
281
+ 4. Report issue on GitHub with error message
282
+
283
+ ## Rollback to Old Version
284
+
285
+ If you need to rollback to pre-1.2.0 version:
286
+
287
+ ### Option 1: Remove Manifest Only
288
+
289
+ ```bash
290
+ # Remove manifest.json only
291
+ rm ~/.claude/manifest.json
292
+
293
+ # Your installation will still work with older tools
294
+ # But won't be recognized by new installer
295
+ ```
296
+
297
+ ### Option 2: Full Restore from Backup
298
+
299
+ ```bash
300
+ # Remove new installation
301
+ rm -rf ~/.claude
302
+
303
+ # Restore backup
304
+ cp -r ~/.claude.backup ~/.claude
305
+
306
+ # Reinstall old version
307
+ npm install -g agentflow@1.1.0
308
+ ```
309
+
310
+ ## Migration Checklist
311
+
312
+ Before migrating, verify:
313
+
314
+ - [ ] Backup of current installation exists
315
+ - [ ] All custom agents/skills are backed up
316
+ - [ ] Current installation is working correctly
317
+ - [ ] Have disk space for temporary files
318
+ - [ ] Node.js version is compatible (v14+)
319
+
320
+ After migrating, verify:
321
+
322
+ - [ ] manifest.json exists in installation directory
323
+ - [ ] All agents are still present
324
+ - [ ] All skills are still present
325
+ - [ ] Custom files are preserved
326
+ - [ ] Tool still works correctly
327
+ - [ ] Can run upgrade/downgrade commands
328
+
329
+ ## FAQ
330
+
331
+ ### Q: Will migration delete my custom agents/skills?
332
+
333
+ **A**: No. Migration preserves all existing files. It only adds a manifest.json.
334
+
335
+ ### Q: Can I migrate multiple tools at once?
336
+
337
+ **A**: Yes. Run the installer once, and it will detect and migrate all legacy installations.
338
+
339
+ ### Q: What if I have a very old version (< 1.0.0)?
340
+
341
+ **A**: The migration process works for all versions. Very old versions may require manual manifest creation.
342
+
343
+ ### Q: Will migration affect my running tools?
344
+
345
+ **A**: No. Migration doesn't restart or modify running processes. Your tools continue working during migration.
346
+
347
+ ### Q: Can I undo a migration?
348
+
349
+ **A**: Yes. Simply delete the manifest.json file to "unmigrate". Or restore from backup.
350
+
351
+ ### Q: Do I need to migrate?
352
+
353
+ **A**: Not required if you're happy with your current setup. However, migration enables:
354
+ - Upgrade/downgrade between variants
355
+ - Better uninstall support
356
+ - Resume capability for updates
357
+ - Multi-tool management
358
+
359
+ ### Q: Will future updates require migration?
360
+
361
+ **A**: Once migrated to v1.2.0+, future updates will use the new system. No further migrations needed.
362
+
363
+ ## Support
364
+
365
+ If you encounter issues during migration:
366
+
367
+ 1. **Check Documentation**: Review this guide and INSTALLER_GUIDE.md
368
+ 2. **GitHub Issues**: https://github.com/amrhas82/agentflow/issues
369
+ 3. **Debug Mode**: Run with `DEBUG=* node installer/cli.js`
370
+ 4. **Manual Migration**: Follow manual migration steps above
371
+
372
+ ## Version Compatibility
373
+
374
+ | Old Version | New Version | Migration | Notes |
375
+ |-------------|-------------|-----------|-------|
376
+ | < 1.0.0 | 1.2.0+ | Supported | May require manual manifest |
377
+ | 1.0.0 - 1.1.x | 1.2.0+ | Automatic | Fully supported |
378
+ | 1.2.0+ | 1.2.0+ | Not needed | Already using new system |
379
+
380
+ ---
381
+
382
+ **Last Updated**: January 2025
383
+ **Version**: 1.0
384
+ **Applies to**: Agentic Kit v1.2.0+