@blulotus/trellis 0.7.0 → 0.7.1

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 (335) hide show
  1. package/README.md +2 -2
  2. package/dist/cli/index.js +2 -29
  3. package/dist/cli/index.js.map +1 -1
  4. package/dist/commands/init.d.ts +0 -22
  5. package/dist/commands/init.d.ts.map +1 -1
  6. package/dist/commands/init.js +5 -12
  7. package/dist/commands/init.js.map +1 -1
  8. package/dist/commands/mem.d.ts +2 -2
  9. package/dist/commands/mem.d.ts.map +1 -1
  10. package/dist/commands/mem.js +7 -40
  11. package/dist/commands/mem.js.map +1 -1
  12. package/dist/commands/uninstall.d.ts +1 -1
  13. package/dist/commands/uninstall.d.ts.map +1 -1
  14. package/dist/commands/uninstall.js +4 -34
  15. package/dist/commands/uninstall.js.map +1 -1
  16. package/dist/commands/update.d.ts.map +1 -1
  17. package/dist/commands/update.js +2 -20
  18. package/dist/commands/update.js.map +1 -1
  19. package/dist/configurators/index.d.ts.map +1 -1
  20. package/dist/configurators/index.js +7 -73
  21. package/dist/configurators/index.js.map +1 -1
  22. package/dist/configurators/shared.d.ts +18 -70
  23. package/dist/configurators/shared.d.ts.map +1 -1
  24. package/dist/configurators/shared.js +20 -299
  25. package/dist/configurators/shared.js.map +1 -1
  26. package/dist/migrations/manifests/0.1.9.json +0 -12
  27. package/dist/migrations/manifests/0.2.14.json +0 -84
  28. package/dist/migrations/manifests/0.3.0-beta.0.json +0 -87
  29. package/dist/migrations/manifests/0.3.4.json +1 -13
  30. package/dist/migrations/manifests/0.4.0-beta.1.json +24 -176
  31. package/dist/migrations/manifests/0.5.0-beta.0.json +67 -1203
  32. package/dist/migrations/manifests/0.5.0-beta.15.json +0 -96
  33. package/dist/migrations/manifests/0.5.0-beta.5.json +0 -168
  34. package/dist/migrations/manifests/0.5.0-beta.9.json +0 -20
  35. package/dist/migrations/manifests/0.6.0-beta.23.json +0 -66
  36. package/dist/migrations/manifests/0.6.3.json +1 -16
  37. package/dist/migrations/manifests/0.6.6.json +1 -9
  38. package/dist/migrations/manifests/0.7.0.json +9 -0
  39. package/dist/migrations/manifests/0.7.1.json +9 -0
  40. package/dist/migrations/manifests/0.8.0.json +9 -0
  41. package/dist/templates/codex/hooks/session-start.py +37 -13
  42. package/dist/templates/codex/hooks.json +5 -0
  43. package/dist/templates/common/bundled-skills/trellis-meta/SKILL.md +5 -5
  44. package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-agents.md +0 -10
  45. package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-hooks.md +1 -1
  46. package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-skills-or-commands.md +1 -13
  47. package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/overview.md +2 -2
  48. package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/bundled-skills.md +9 -28
  49. package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/generated-files.md +5 -5
  50. package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/overview.md +1 -1
  51. package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/agents.md +1 -17
  52. package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/hooks-and-settings.md +4 -12
  53. package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/overview.md +6 -6
  54. package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/platform-map.md +5 -75
  55. package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/skills-and-commands.md +0 -16
  56. package/dist/templates/common/bundled-skills/trellis-session-insight/SKILL.md +1 -1
  57. package/dist/templates/common/bundled-skills/trellis-session-insight/references/cli-quick-reference.md +2 -3
  58. package/dist/templates/common/commands/continue.md +24 -4
  59. package/dist/templates/common/commands/finish-work.md +19 -9
  60. package/dist/templates/common/commands/start.md +38 -29
  61. package/dist/templates/extract.d.ts +0 -10
  62. package/dist/templates/extract.d.ts.map +1 -1
  63. package/dist/templates/extract.js +0 -24
  64. package/dist/templates/extract.js.map +1 -1
  65. package/dist/templates/markdown/spec/guides/code-reuse-thinking-guide.md.txt +7 -9
  66. package/dist/templates/markdown/spec/guides/cross-layer-thinking-guide.md.txt +4 -8
  67. package/dist/templates/markdown/spec/guides/cross-platform-thinking-guide.md.txt +5 -5
  68. package/dist/templates/shared-hooks/index.d.ts +11 -43
  69. package/dist/templates/shared-hooks/index.d.ts.map +1 -1
  70. package/dist/templates/shared-hooks/index.js +9 -86
  71. package/dist/templates/shared-hooks/index.js.map +1 -1
  72. package/dist/templates/shared-hooks/inject-spec-context.py +1 -1
  73. package/dist/templates/shared-hooks/inject-subagent-context.py +23 -85
  74. package/dist/templates/shared-hooks/inject-workflow-state.py +56 -86
  75. package/dist/templates/shared-hooks/session-start.py +76 -98
  76. package/dist/templates/trellis/index.d.ts +0 -1
  77. package/dist/templates/trellis/index.d.ts.map +1 -1
  78. package/dist/templates/trellis/index.js +0 -2
  79. package/dist/templates/trellis/index.js.map +1 -1
  80. package/dist/templates/trellis/scripts/add_session.py +4 -4
  81. package/dist/templates/trellis/scripts/common/__init__.py +2 -0
  82. package/dist/templates/trellis/scripts/common/active_task.py +80 -152
  83. package/dist/templates/trellis/scripts/common/git_context.py +1 -1
  84. package/dist/templates/trellis/scripts/common/session_context.py +2 -2
  85. package/dist/templates/trellis/scripts/common/spec_inject.py +2 -2
  86. package/dist/templates/trellis/scripts/common/task_store.py +8 -28
  87. package/dist/templates/trellis/scripts/common/workflow_phase.py +4 -8
  88. package/dist/templates/trellis/scripts/get_context.py +2 -2
  89. package/dist/templates/trellis/scripts/init_developer.py +1 -1
  90. package/dist/templates/trellis/scripts/task.py +90 -57
  91. package/dist/templates/trellis/workflow.md +44 -66
  92. package/dist/types/ai-tools.d.ts +10 -10
  93. package/dist/types/ai-tools.d.ts.map +1 -1
  94. package/dist/types/ai-tools.js +3 -434
  95. package/dist/types/ai-tools.js.map +1 -1
  96. package/dist/utils/uninstall-scrubbers.d.ts +3 -18
  97. package/dist/utils/uninstall-scrubbers.d.ts.map +1 -1
  98. package/dist/utils/uninstall-scrubbers.js +24 -154
  99. package/dist/utils/uninstall-scrubbers.js.map +1 -1
  100. package/package.json +2 -2
  101. package/dist/configurators/antigravity.d.ts +0 -7
  102. package/dist/configurators/antigravity.d.ts.map +0 -1
  103. package/dist/configurators/antigravity.js +0 -11
  104. package/dist/configurators/antigravity.js.map +0 -1
  105. package/dist/configurators/codebuddy.d.ts +0 -10
  106. package/dist/configurators/codebuddy.d.ts.map +0 -1
  107. package/dist/configurators/codebuddy.js +0 -24
  108. package/dist/configurators/codebuddy.js.map +0 -1
  109. package/dist/configurators/copilot.d.ts +0 -14
  110. package/dist/configurators/copilot.d.ts.map +0 -1
  111. package/dist/configurators/copilot.js +0 -46
  112. package/dist/configurators/copilot.js.map +0 -1
  113. package/dist/configurators/cursor.d.ts +0 -10
  114. package/dist/configurators/cursor.d.ts.map +0 -1
  115. package/dist/configurators/cursor.js +0 -23
  116. package/dist/configurators/cursor.js.map +0 -1
  117. package/dist/configurators/devin.d.ts +0 -8
  118. package/dist/configurators/devin.d.ts.map +0 -1
  119. package/dist/configurators/devin.js +0 -12
  120. package/dist/configurators/devin.js.map +0 -1
  121. package/dist/configurators/droid.d.ts +0 -10
  122. package/dist/configurators/droid.d.ts.map +0 -1
  123. package/dist/configurators/droid.js +0 -24
  124. package/dist/configurators/droid.js.map +0 -1
  125. package/dist/configurators/dsh.d.ts +0 -26
  126. package/dist/configurators/dsh.d.ts.map +0 -1
  127. package/dist/configurators/dsh.js +0 -76
  128. package/dist/configurators/dsh.js.map +0 -1
  129. package/dist/configurators/gemini.d.ts +0 -18
  130. package/dist/configurators/gemini.d.ts.map +0 -1
  131. package/dist/configurators/gemini.js +0 -39
  132. package/dist/configurators/gemini.js.map +0 -1
  133. package/dist/configurators/grok.d.ts +0 -17
  134. package/dist/configurators/grok.d.ts.map +0 -1
  135. package/dist/configurators/grok.js +0 -38
  136. package/dist/configurators/grok.js.map +0 -1
  137. package/dist/configurators/kilo.d.ts +0 -7
  138. package/dist/configurators/kilo.d.ts.map +0 -1
  139. package/dist/configurators/kilo.js +0 -11
  140. package/dist/configurators/kilo.js.map +0 -1
  141. package/dist/configurators/kimi.d.ts +0 -26
  142. package/dist/configurators/kimi.d.ts.map +0 -1
  143. package/dist/configurators/kimi.js +0 -74
  144. package/dist/configurators/kimi.js.map +0 -1
  145. package/dist/configurators/kiro.d.ts +0 -11
  146. package/dist/configurators/kiro.d.ts.map +0 -1
  147. package/dist/configurators/kiro.js +0 -30
  148. package/dist/configurators/kiro.js.map +0 -1
  149. package/dist/configurators/omp.d.ts +0 -6
  150. package/dist/configurators/omp.d.ts.map +0 -1
  151. package/dist/configurators/omp.js +0 -28
  152. package/dist/configurators/omp.js.map +0 -1
  153. package/dist/configurators/opencode.d.ts +0 -5
  154. package/dist/configurators/opencode.d.ts.map +0 -1
  155. package/dist/configurators/opencode.js +0 -84
  156. package/dist/configurators/opencode.js.map +0 -1
  157. package/dist/configurators/pi.d.ts +0 -5
  158. package/dist/configurators/pi.d.ts.map +0 -1
  159. package/dist/configurators/pi.js +0 -39
  160. package/dist/configurators/pi.js.map +0 -1
  161. package/dist/configurators/qoder.d.ts +0 -12
  162. package/dist/configurators/qoder.d.ts.map +0 -1
  163. package/dist/configurators/qoder.js +0 -30
  164. package/dist/configurators/qoder.js.map +0 -1
  165. package/dist/configurators/reasonix.d.ts +0 -17
  166. package/dist/configurators/reasonix.d.ts.map +0 -1
  167. package/dist/configurators/reasonix.js +0 -37
  168. package/dist/configurators/reasonix.js.map +0 -1
  169. package/dist/configurators/snow.d.ts +0 -25
  170. package/dist/configurators/snow.d.ts.map +0 -1
  171. package/dist/configurators/snow.js +0 -69
  172. package/dist/configurators/snow.js.map +0 -1
  173. package/dist/configurators/trae.d.ts +0 -16
  174. package/dist/configurators/trae.d.ts.map +0 -1
  175. package/dist/configurators/trae.js +0 -34
  176. package/dist/configurators/trae.js.map +0 -1
  177. package/dist/configurators/zcode.d.ts +0 -23
  178. package/dist/configurators/zcode.d.ts.map +0 -1
  179. package/dist/configurators/zcode.js +0 -63
  180. package/dist/configurators/zcode.js.map +0 -1
  181. package/dist/templates/codebuddy/agents/trellis-check.md +0 -115
  182. package/dist/templates/codebuddy/agents/trellis-implement.md +0 -115
  183. package/dist/templates/codebuddy/agents/trellis-research.md +0 -137
  184. package/dist/templates/codebuddy/index.d.ts +0 -15
  185. package/dist/templates/codebuddy/index.d.ts.map +0 -1
  186. package/dist/templates/codebuddy/index.js +0 -15
  187. package/dist/templates/codebuddy/index.js.map +0 -1
  188. package/dist/templates/codebuddy/settings.json +0 -69
  189. package/dist/templates/copilot/copilot-instructions.md +0 -11
  190. package/dist/templates/copilot/hooks/session-start.py +0 -564
  191. package/dist/templates/copilot/hooks.json +0 -19
  192. package/dist/templates/copilot/index.d.ts +0 -28
  193. package/dist/templates/copilot/index.d.ts.map +0 -1
  194. package/dist/templates/copilot/index.js +0 -61
  195. package/dist/templates/copilot/index.js.map +0 -1
  196. package/dist/templates/copilot/prompts/before-dev.prompt.md +0 -39
  197. package/dist/templates/copilot/prompts/brainstorm.prompt.md +0 -173
  198. package/dist/templates/copilot/prompts/break-loop.prompt.md +0 -129
  199. package/dist/templates/copilot/prompts/check-cross-layer.prompt.md +0 -170
  200. package/dist/templates/copilot/prompts/check.prompt.md +0 -110
  201. package/dist/templates/copilot/prompts/create-command.prompt.md +0 -116
  202. package/dist/templates/copilot/prompts/finish-work.prompt.md +0 -99
  203. package/dist/templates/copilot/prompts/integrate-skill.prompt.md +0 -223
  204. package/dist/templates/copilot/prompts/onboard.prompt.md +0 -362
  205. package/dist/templates/copilot/prompts/parallel.prompt.md +0 -204
  206. package/dist/templates/copilot/prompts/record-session.prompt.md +0 -66
  207. package/dist/templates/copilot/prompts/start.prompt.md +0 -63
  208. package/dist/templates/copilot/prompts/update-spec.prompt.md +0 -358
  209. package/dist/templates/cursor/agents/trellis-check.md +0 -114
  210. package/dist/templates/cursor/agents/trellis-implement.md +0 -114
  211. package/dist/templates/cursor/agents/trellis-research.md +0 -136
  212. package/dist/templates/cursor/hooks.json +0 -24
  213. package/dist/templates/cursor/index.d.ts +0 -13
  214. package/dist/templates/cursor/index.d.ts.map +0 -1
  215. package/dist/templates/cursor/index.js +0 -13
  216. package/dist/templates/cursor/index.js.map +0 -1
  217. package/dist/templates/droid/droids/trellis-check.md +0 -107
  218. package/dist/templates/droid/droids/trellis-implement.md +0 -107
  219. package/dist/templates/droid/droids/trellis-research.md +0 -137
  220. package/dist/templates/droid/index.d.ts +0 -15
  221. package/dist/templates/droid/index.d.ts.map +0 -1
  222. package/dist/templates/droid/index.js +0 -15
  223. package/dist/templates/droid/index.js.map +0 -1
  224. package/dist/templates/droid/settings.json +0 -69
  225. package/dist/templates/dsh/DSH.md +0 -80
  226. package/dist/templates/dsh/agents/trellis-check.md +0 -99
  227. package/dist/templates/dsh/agents/trellis-implement.md +0 -106
  228. package/dist/templates/dsh/agents/trellis-research.md +0 -134
  229. package/dist/templates/dsh/index.d.ts +0 -22
  230. package/dist/templates/dsh/index.d.ts.map +0 -1
  231. package/dist/templates/dsh/index.js +0 -27
  232. package/dist/templates/dsh/index.js.map +0 -1
  233. package/dist/templates/gemini/agents/trellis-check.md +0 -107
  234. package/dist/templates/gemini/agents/trellis-implement.md +0 -107
  235. package/dist/templates/gemini/agents/trellis-research.md +0 -136
  236. package/dist/templates/gemini/index.d.ts +0 -13
  237. package/dist/templates/gemini/index.d.ts.map +0 -1
  238. package/dist/templates/gemini/index.js +0 -13
  239. package/dist/templates/gemini/index.js.map +0 -1
  240. package/dist/templates/gemini/settings.json +0 -40
  241. package/dist/templates/grok/agents/trellis-check.md +0 -106
  242. package/dist/templates/grok/agents/trellis-implement.md +0 -121
  243. package/dist/templates/grok/agents/trellis-research.md +0 -146
  244. package/dist/templates/grok/index.d.ts +0 -16
  245. package/dist/templates/grok/index.d.ts.map +0 -1
  246. package/dist/templates/grok/index.js +0 -19
  247. package/dist/templates/grok/index.js.map +0 -1
  248. package/dist/templates/kimi/agents/trellis-check.md +0 -104
  249. package/dist/templates/kimi/agents/trellis-implement.md +0 -120
  250. package/dist/templates/kimi/agents/trellis-research.md +0 -144
  251. package/dist/templates/kimi/index.d.ts +0 -20
  252. package/dist/templates/kimi/index.d.ts.map +0 -1
  253. package/dist/templates/kimi/index.js +0 -23
  254. package/dist/templates/kimi/index.js.map +0 -1
  255. package/dist/templates/kiro/agents/trellis-check.json +0 -26
  256. package/dist/templates/kiro/agents/trellis-implement.json +0 -26
  257. package/dist/templates/kiro/agents/trellis-research.json +0 -30
  258. package/dist/templates/kiro/agents/trellis.json +0 -34
  259. package/dist/templates/kiro/hooks/trellis-workflow-state.kiro.hook +0 -14
  260. package/dist/templates/kiro/index.d.ts +0 -32
  261. package/dist/templates/kiro/index.d.ts.map +0 -1
  262. package/dist/templates/kiro/index.js +0 -28
  263. package/dist/templates/kiro/index.js.map +0 -1
  264. package/dist/templates/omp/agents/trellis-check.md +0 -41
  265. package/dist/templates/omp/agents/trellis-implement.md +0 -55
  266. package/dist/templates/omp/agents/trellis-research.md +0 -30
  267. package/dist/templates/omp/extensions/trellis/index.ts.txt +0 -592
  268. package/dist/templates/omp/index.d.ts +0 -4
  269. package/dist/templates/omp/index.d.ts.map +0 -1
  270. package/dist/templates/omp/index.js +0 -9
  271. package/dist/templates/omp/index.js.map +0 -1
  272. package/dist/templates/opencode/agents/trellis-check.md +0 -122
  273. package/dist/templates/opencode/agents/trellis-implement.md +0 -123
  274. package/dist/templates/opencode/agents/trellis-research.md +0 -145
  275. package/dist/templates/opencode/lib/context-visibility.js +0 -86
  276. package/dist/templates/opencode/lib/session-utils.js +0 -526
  277. package/dist/templates/opencode/lib/trellis-context.js +0 -627
  278. package/dist/templates/opencode/package.json +0 -5
  279. package/dist/templates/opencode/plugins/inject-spec-context.js +0 -121
  280. package/dist/templates/opencode/plugins/inject-subagent-context.js +0 -569
  281. package/dist/templates/opencode/plugins/inject-workflow-state.js +0 -340
  282. package/dist/templates/opencode/plugins/session-start.js +0 -74
  283. package/dist/templates/pi/agents/trellis-check.md +0 -37
  284. package/dist/templates/pi/agents/trellis-implement.md +0 -52
  285. package/dist/templates/pi/agents/trellis-research.md +0 -25
  286. package/dist/templates/pi/extensions/trellis/index.ts.txt +0 -2033
  287. package/dist/templates/pi/index.d.ts +0 -5
  288. package/dist/templates/pi/index.d.ts.map +0 -1
  289. package/dist/templates/pi/index.js +0 -12
  290. package/dist/templates/pi/index.js.map +0 -1
  291. package/dist/templates/pi/settings.json +0 -9
  292. package/dist/templates/qoder/agents/trellis-check.md +0 -108
  293. package/dist/templates/qoder/agents/trellis-implement.md +0 -108
  294. package/dist/templates/qoder/agents/trellis-research.md +0 -137
  295. package/dist/templates/qoder/index.d.ts +0 -15
  296. package/dist/templates/qoder/index.d.ts.map +0 -1
  297. package/dist/templates/qoder/index.js +0 -15
  298. package/dist/templates/qoder/index.js.map +0 -1
  299. package/dist/templates/qoder/settings.json +0 -59
  300. package/dist/templates/reasonix/agents/trellis-check.md +0 -36
  301. package/dist/templates/reasonix/agents/trellis-implement.md +0 -51
  302. package/dist/templates/reasonix/index.d.ts +0 -13
  303. package/dist/templates/reasonix/index.d.ts.map +0 -1
  304. package/dist/templates/reasonix/index.js +0 -16
  305. package/dist/templates/reasonix/index.js.map +0 -1
  306. package/dist/templates/shared-hooks/inject-shell-session-context.py +0 -292
  307. package/dist/templates/snow/SNOW.md +0 -86
  308. package/dist/templates/snow/agents/trellis-check.md +0 -136
  309. package/dist/templates/snow/agents/trellis-implement.md +0 -158
  310. package/dist/templates/snow/agents/trellis-research.md +0 -114
  311. package/dist/templates/snow/hooks/beforeSubAgentStart.json +0 -15
  312. package/dist/templates/snow/hooks/onSessionStart.json +0 -15
  313. package/dist/templates/snow/hooks/onUserMessage.json +0 -15
  314. package/dist/templates/snow/hooks/write-trellis-context.py +0 -644
  315. package/dist/templates/snow/index.d.ts +0 -26
  316. package/dist/templates/snow/index.d.ts.map +0 -1
  317. package/dist/templates/snow/index.js +0 -36
  318. package/dist/templates/snow/index.js.map +0 -1
  319. package/dist/templates/trae/agents/trellis-check.md +0 -108
  320. package/dist/templates/trae/agents/trellis-implement.md +0 -108
  321. package/dist/templates/trae/agents/trellis-research.md +0 -137
  322. package/dist/templates/trae/hooks.json +0 -39
  323. package/dist/templates/trae/index.d.ts +0 -15
  324. package/dist/templates/trae/index.d.ts.map +0 -1
  325. package/dist/templates/trae/index.js +0 -15
  326. package/dist/templates/trae/index.js.map +0 -1
  327. package/dist/templates/trellis/scripts/common/cli_adapter.py +0 -982
  328. package/dist/templates/zcode/agents/trellis-check.md +0 -110
  329. package/dist/templates/zcode/agents/trellis-implement.md +0 -116
  330. package/dist/templates/zcode/agents/trellis-research.md +0 -133
  331. package/dist/templates/zcode/config.json +0 -52
  332. package/dist/templates/zcode/index.d.ts +0 -25
  333. package/dist/templates/zcode/index.d.ts.map +0 -1
  334. package/dist/templates/zcode/index.js +0 -29
  335. package/dist/templates/zcode/index.js.map +0 -1
@@ -120,19 +120,17 @@ export function resolvePlaceholders(content, context) {
120
120
  return result;
121
121
  }
122
122
  /**
123
- * Resolve placeholders for files written under `.agents/skills/` (the shared
124
- * Agent Skills directory consumed by multiple platforms via the upstream
125
- * `.agents/skills/` workspace alias Codex, Gemini CLI 0.40+, etc.).
123
+ * Resolve placeholders for files written under `.agents/skills/` the shared
124
+ * Agent Skills directory of the agentskills.io standard, which Codex reads and
125
+ * other tools on the same standard may read too.
126
126
  *
127
- * Identical to {@link resolvePlaceholders} except that {@link CMD_REF} is
128
- * rendered in a platform-neutral form (`` `name` (Trellis command) ``)
129
- * instead of substituting a platform-specific prefix. This is the only
130
- * placeholder that varies between platforms in the auto-triggered skill templates
131
- * from `common/skills/`, so
132
- * neutralizing it makes the rendered SKILL.md files byte-identical regardless
133
- * of which Trellis configurator wrote them — eliminating the
134
- * "last-writer-wins" collision when both Codex and Gemini target
135
- * `.agents/skills/`.
127
+ * Identical to {@link resolvePlaceholders} except that `{{CMD_REF:name}}` is
128
+ * rendered in a platform-neutral form (`` `name` (Trellis command) ``) instead
129
+ * of substituting a platform-specific prefix. That is the only placeholder in
130
+ * the auto-triggered skill templates from `common/skills/` whose value varies
131
+ * per platform, so neutralizing it keeps the rendered SKILL.md files
132
+ * byte-identical no matter which writer produced them the property that makes
133
+ * a shared directory safe to write into.
136
134
  *
137
135
  * `{{CLI_FLAG}}`, `{{EXECUTOR_AI}}`, `{{USER_ACTION_LABEL}}`, conditionals,
138
136
  * and `{{PYTHON_CMD}}` are still resolved from the platform context. The
@@ -196,58 +194,6 @@ export function wrapWithSkillFrontmatter(name, content) {
196
194
  }
197
195
  return `---\nname: ${name}\ndescription: "${description}"\n---\n\n${content}`;
198
196
  }
199
- /**
200
- * One-line blurbs shown in a `/` command palette — kept separate from
201
- * SKILL_DESCRIPTIONS, which is long prose aimed at the skill matcher.
202
- */
203
- const COMMAND_DESCRIPTIONS = {
204
- start: "Initialize a Trellis development session.",
205
- continue: "Resume work on the current task at the correct phase.",
206
- "finish-work": "Wrap up the current session: quality gate, commit reminder, archive, journal.",
207
- };
208
- /** Wrap resolved command content with YAML frontmatter (name + description). */
209
- export function wrapWithCommandFrontmatter(name, content) {
210
- const baseName = name.replace(/^trellis-/, "");
211
- const description = COMMAND_DESCRIPTIONS[baseName];
212
- if (!description) {
213
- throw new Error(`Missing command description for "${baseName}". Add it to COMMAND_DESCRIPTIONS in shared.ts.`);
214
- }
215
- // JSON.stringify produces a double-quoted YAML scalar, which is safe even
216
- // when the description contains a colon (an unquoted plain scalar cannot
217
- // contain ": " — some parsers reject it outright, e.g. Trae CLI's SlashCommand
218
- // schema; others silently truncate at the second colon).
219
- return `---\nname: ${name}\ndescription: ${JSON.stringify(description)}\n---\n\n${content}`;
220
- }
221
- /**
222
- * Argument-hint values for commands that accept positional args.
223
- * Used by OMP platform's YAML frontmatter.
224
- */
225
- const COMMAND_ARGUMENT_HINTS = {
226
- "finish-work": "[task-name]",
227
- };
228
- /**
229
- * Wrap resolved command content with OMP-style YAML frontmatter.
230
- * OMP uses `description` (required) + optional `argument-hint`.
231
- * The leading `# Title` heading from the source template is stripped
232
- * because OMP's frontmatter replaces its role.
233
- */
234
- export function wrapWithOmpFrontmatter(name, content) {
235
- const baseName = name.replace(/^trellis-/, "");
236
- const description = COMMAND_DESCRIPTIONS[baseName];
237
- if (!description) {
238
- throw new Error(`Missing command description for "${baseName}". Add it to COMMAND_DESCRIPTIONS in shared.ts.`);
239
- }
240
- // Strip leading H1 + blank line from template body
241
- const body = content.replace(/^# [^\n]+\n\n/, "");
242
- const hint = COMMAND_ARGUMENT_HINTS[baseName];
243
- // JSON.stringify produces a double-quoted YAML scalar, safe even when the
244
- // description contains a colon (see wrapWithCommandFrontmatter).
245
- const quotedDescription = JSON.stringify(description);
246
- const frontmatter = hint
247
- ? `---\ndescription: ${quotedDescription}\nargument-hint: ${JSON.stringify(hint)}\n---`
248
- : `---\ndescription: ${quotedDescription}\n---`;
249
- return `${frontmatter}\n\n${body}`;
250
- }
251
197
  // ---------------------------------------------------------------------------
252
198
  // Shared configurator helpers
253
199
  // ---------------------------------------------------------------------------
@@ -255,60 +201,19 @@ import path from "node:path";
255
201
  import { ensureDir, writeFile } from "../utils/file-writer.js";
256
202
  import { getBundledSkillTemplates, getCommandTemplates, getSkillTemplates, } from "../templates/common/index.js";
257
203
  import { getSharedHookScriptsForPlatform, } from "../templates/shared-hooks/index.js";
258
- /**
259
- * Filter command templates based on platform capabilities.
260
- *
261
- * `start.md` is stripped only on platforms that are BOTH `agentCapable` AND
262
- * `hasHooks` — those platforms (Claude Code, Cursor, Kiro, Gemini, Qoder,
263
- * CodeBuddy, Copilot, Droid, Pi) have a SessionStart-style hook that
264
- * auto-injects the workflow overview, so a user-facing `start` would be
265
- * redundant.
266
- *
267
- * `agentCapable && !hasHooks` platforms (Codex, ZCode, OpenCode, Reasonix, Grok)
268
- * have no such hook (or use an out-of-band plugin), so they need the
269
- * user-invocable `trellis-start` skill / `start.md` command as fallback.
270
- * Snow is class-1 (`hasHooks: true`) with auto inject + project agents.
271
- * Agent-less platforms (Kilo, Antigravity, Devin) also keep `start` since
272
- * they rely entirely on user-triggered workflows.
273
- */
274
- function filterCommands(templates, ctx) {
275
- if (ctx.agentCapable && ctx.hasHooks) {
276
- return templates.filter((t) => t.name !== "start");
277
- }
278
- return templates;
279
- }
280
- /**
281
- * Resolve ALL templates as skills with trellis- prefix.
282
- * Used by skill-only platforms (Kiro, Qoder, Codex) where everything is a skill.
283
- *
284
- * `start` is filtered out on agent-capable platforms — the session-start hook
285
- * injects the workflow overview instead.
286
- */
287
- export function resolveAllAsSkills(ctx) {
288
- const templates = [
289
- ...filterCommands(getCommandTemplates(), ctx),
290
- ...getSkillTemplates(),
291
- ];
292
- return templates.map((tmpl) => ({
293
- name: `trellis-${tmpl.name}`,
294
- content: wrapWithSkillFrontmatter(`trellis-${tmpl.name}`, resolvePlaceholders(tmpl.content, ctx)),
295
- }));
296
- }
297
204
  /**
298
205
  * Resolve command templates as plain commands (no wrapping).
299
- * Used by "both" platforms for the user-ritual commands.
300
- *
301
- * `start` is filtered out on agent-capable platforms.
206
+ * Used by platforms with a native command surface (Claude Code).
302
207
  */
303
208
  export function resolveCommands(ctx) {
304
- return filterCommands(getCommandTemplates(), ctx).map((tmpl) => ({
209
+ return getCommandTemplates().map((tmpl) => ({
305
210
  name: tmpl.name,
306
211
  content: resolvePlaceholders(tmpl.content, ctx),
307
212
  }));
308
213
  }
309
214
  /**
310
215
  * Resolve the auto-triggered skill templates from `common/skills/` with trellis- prefix + SKILL.md frontmatter.
311
- * Used by "both" platforms for the auto-triggered skills.
216
+ * Used for a platform-private skill root (Claude Code's `.claude/skills/`).
312
217
  */
313
218
  export function resolveSkills(ctx) {
314
219
  return getSkillTemplates().map((tmpl) => ({
@@ -317,30 +222,17 @@ export function resolveSkills(ctx) {
317
222
  }));
318
223
  }
319
224
  /**
320
- * Same as {@link resolveSkills} but uses {@link resolvePlaceholdersNeutral}
321
- * so the rendered SKILL.md files are byte-identical across any two platforms
322
- * that target `.agents/skills/`. Use this for shared `.agents/skills/`
323
- * writes (Gemini); platform-private skill roots should keep
324
- * {@link resolveSkills}.
325
- */
326
- export function resolveSkillsNeutral(ctx) {
327
- return getSkillTemplates().map((tmpl) => ({
328
- name: `trellis-${tmpl.name}`,
329
- content: wrapWithSkillFrontmatter(`trellis-${tmpl.name}`, resolvePlaceholdersNeutral(tmpl.content, ctx)),
330
- }));
331
- }
332
- /**
333
- * Same as {@link resolveAllAsSkills} but uses
334
- * {@link resolvePlaceholdersNeutral} for the shared common skills. The 2 command
335
- * templates (continue, finish-work) folded into the skill set still resolve
225
+ * Fold the command templates into the skill set (trellis- prefix + SKILL.md
226
+ * frontmatter) and render everything through
227
+ * {@link resolvePlaceholdersNeutral}. Used by Codex, whose only user-invocable
228
+ * surface is skills and whose skill root is the shared `.agents/skills/`.
229
+ *
230
+ * The 3 command templates (start, continue, finish-work) still resolve
336
231
  * `{{CLI_FLAG}}` / `{{PYTHON_CMD}}` per platform — only Codex writes those
337
232
  * files into `.agents/skills/`, so byte-identity isn't required there.
338
233
  */
339
234
  export function resolveAllAsSkillsNeutral(ctx) {
340
- const templates = [
341
- ...filterCommands(getCommandTemplates(), ctx),
342
- ...getSkillTemplates(),
343
- ];
235
+ const templates = [...getCommandTemplates(), ...getSkillTemplates()];
344
236
  return templates.map((tmpl) => ({
345
237
  name: `trellis-${tmpl.name}`,
346
238
  content: wrapWithSkillFrontmatter(`trellis-${tmpl.name}`, resolvePlaceholdersNeutral(tmpl.content, ctx)),
@@ -416,175 +308,4 @@ export function collectSharedHooks(hooksPath, platform) {
416
308
  }
417
309
  return files;
418
310
  }
419
- /** Collect commands + skills for "both" platforms (a commands directory plus
420
- * a skills root). */
421
- export function collectBothTemplates(ctx, cmdPath, skillRoot, wrapCmd) {
422
- const files = new Map();
423
- for (const cmd of resolveCommands(ctx)) {
424
- const filePath = cmdPath(cmd.name);
425
- files.set(filePath, wrapCmd ? wrapCmd(filePath, cmd.content) : cmd.content);
426
- }
427
- for (const [filePath, content] of collectSkillTemplates(skillRoot, resolveSkills(ctx), resolveBundledSkills(ctx))) {
428
- files.set(filePath, content);
429
- }
430
- return files;
431
- }
432
- /** Build the standard "load Trellis context first" prelude block. */
433
- export function buildPullBasedPrelude(agentType) {
434
- // JSONL filenames stay as implement.jsonl / check.jsonl — they are internal
435
- // context buckets keyed by role (not by platform-visible agent name).
436
- const jsonl = agentType === "check" ? "check.jsonl" : "implement.jsonl";
437
- return replacePythonCommandLiterals(`## Required: Load Trellis Context First
438
-
439
- This platform does NOT auto-inject task context via hook. Before doing anything else, you MUST load context yourself.
440
-
441
- ### Step 1: Find the active task path
442
-
443
- Try in order — stop at the first one that yields a task path:
444
-
445
- 1. **Look at the dispatch prompt** you received from the main agent. If its first line is \`Active task: <path>\` (e.g. \`Active task: .trellis/tasks/04-17-foo\`), use that path. The main agent is required to include this line on class-2 platforms.
446
- 2. **Run** \`python3 ./.trellis/scripts/task.py current --source\` and read the \`Current task:\` line.
447
- 3. **If both fail** (no \`Active task:\` line in the prompt and \`task.py current\` returns no task), ask the user which task to work on; do NOT guess.
448
-
449
- ### Step 2: Load task context from the resolved path
450
-
451
- 1. Read \`<task-path>/${jsonl}\` — JSONL list of spec/research files relevant to this agent.
452
- 2. For each entry in the JSONL, Read its \`file\` path — these are the specs and research notes you must follow.
453
- **Skip rows without a \`"file"\` field** (e.g. \`{"_example": "..."}\` seed rows left over from \`task.py create\` before the curator ran).
454
- 3. Read the task's \`prd.md\` (requirements), then \`design.md\` if present (technical design), then \`implement.md\` if present (execution plan).
455
-
456
- If \`${jsonl}\` has no curated entries (only a seed row, or the file is missing), fall back to: read the task artifacts, list available specs with \`python3 ./.trellis/scripts/get_context.py --mode packages\`, and pick the specs that match the task domain yourself. Do NOT block on the missing jsonl — read \`prd.md\`, \`design.md\`, and \`implement.md\` from the task directory instead.
457
-
458
- If the resolved task path has no \`prd.md\`, ask the user what to work on; do NOT proceed without context.
459
-
460
- ---
461
-
462
- `);
463
- }
464
- /** Insert prelude into a markdown agent definition (after YAML frontmatter). */
465
- export function injectPullBasedPreludeMarkdown(content, agentType) {
466
- const prelude = buildPullBasedPrelude(agentType);
467
- const sections = splitMarkdownFrontmatter(content);
468
- if (!sections) {
469
- return prelude + content;
470
- }
471
- const head = `---\n${sections.frontmatter}\n---`;
472
- const tailTrimmed = sections.body.replace(/^(\r?\n)+/, "");
473
- return `${head}\n\n${prelude}${tailTrimmed}`;
474
- }
475
- /** Insert prelude into a TOML agent (codex `developer_instructions`). */
476
- export function injectPullBasedPreludeToml(content, agentType) {
477
- const prelude = buildPullBasedPrelude(agentType);
478
- // Match: developer_instructions = """ followed by newline
479
- const re = /(developer_instructions\s*=\s*""")(\r?\n)/;
480
- if (!re.test(content)) {
481
- return content;
482
- }
483
- return content.replace(re, `$1$2${prelude}`);
484
- }
485
- /** Best-effort detect agent type from filename ("trellis-implement.md" → "implement").
486
- * Returns null for research and unknown names — they skip the prelude.
487
- */
488
- export function detectSubAgentType(name) {
489
- const base = name.replace(/\.(md|toml|prompt\.md)$/, "");
490
- if (base === "trellis-implement" || base === "trellis-check") {
491
- return base === "trellis-implement" ? "implement" : "check";
492
- }
493
- return null;
494
- }
495
- function splitMarkdownFrontmatter(content) {
496
- const match = content.match(/^---\r?\n([\s\S]*?)\r?\n---\r?\n?/);
497
- if (!match) {
498
- return null;
499
- }
500
- return {
501
- frontmatter: match[1],
502
- body: content.slice(match[0].length),
503
- };
504
- }
505
- export function applyPullBasedPreludeMarkdown(agents) {
506
- return agents.map((a) => {
507
- const t = detectSubAgentType(a.name);
508
- if (!t)
509
- return { ...a };
510
- return {
511
- ...a,
512
- content: injectPullBasedPreludeMarkdown(a.content, t),
513
- };
514
- });
515
- }
516
- function mapLegacyToolToCopilot(tool) {
517
- switch (tool) {
518
- case "Read":
519
- return ["read"];
520
- case "Write":
521
- case "Edit":
522
- return ["edit"];
523
- case "Glob":
524
- case "Grep":
525
- return ["search"];
526
- case "Bash":
527
- return ["execute"];
528
- // Generic MCP wildcard — used by trellis-research to opt into "any MCP
529
- // tool the user has configured" without locking the source template to a
530
- // specific provider. Claude Code parses wildcards as glob-match-at-runtime
531
- // (no silent agent-registration skip if nothing matches), so this is the
532
- // safe default; explicit `mcp__exa__*` names would silent-skip the agent
533
- // when the Exa MCP server is absent (#302).
534
- case "mcp__*":
535
- return ["web", "exa/*", "chrome-devtools/*"];
536
- case "mcp__exa__web_search_exa":
537
- case "mcp__exa__get_code_context_exa":
538
- return ["web", "exa/*"];
539
- case "mcp__chrome-devtools__*":
540
- return ["chrome-devtools/*"];
541
- case "Skill":
542
- return [];
543
- default:
544
- return [];
545
- }
546
- }
547
- function normalizeCopilotMarkdownAgentFrontmatter(content) {
548
- const sections = splitMarkdownFrontmatter(content);
549
- if (!sections) {
550
- return content;
551
- }
552
- const frontmatter = sections.frontmatter.split(/\r?\n/);
553
- const body = sections.body;
554
- const normalized = [];
555
- for (const line of frontmatter) {
556
- if (!line.startsWith("tools:")) {
557
- normalized.push(line);
558
- continue;
559
- }
560
- const legacyTools = line
561
- .slice("tools:".length)
562
- .split(",")
563
- .map((token) => token.trim())
564
- .filter((token) => token.length > 0);
565
- const tools = [...new Set(legacyTools.flatMap(mapLegacyToolToCopilot))];
566
- normalized.push("tools:");
567
- for (const tool of tools) {
568
- normalized.push(` - ${tool}`);
569
- }
570
- }
571
- return `---\n${normalized.join("\n")}\n---\n${body}`;
572
- }
573
- export function normalizeCopilotMarkdownAgents(agents) {
574
- return agents.map((agent) => ({
575
- ...agent,
576
- content: normalizeCopilotMarkdownAgentFrontmatter(agent.content),
577
- }));
578
- }
579
- export function applyPullBasedPreludeToml(agents) {
580
- return agents.map((a) => {
581
- const t = detectSubAgentType(a.name);
582
- if (!t)
583
- return { ...a };
584
- return {
585
- ...a,
586
- content: injectPullBasedPreludeToml(a.content, t),
587
- };
588
- });
589
- }
590
311
  //# sourceMappingURL=shared.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"shared.js","sour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12
- "type": "rename",
13
- "from": ".cursor/commands/onboard-developer.md",
14
- "to": ".cursor/commands/onboard.md",
15
- "description": "Shortened onboard-developer to onboard"
16
- },
17
11
  {
18
12
  "type": "rename",
19
13
  "from": ".claude/commands/record-agent-flow.md",
20
14
  "to": ".claude/commands/record-session.md",
21
15
  "description": "Renamed record-agent-flow to record-session"
22
- },
23
- {
24
- "type": "rename",
25
- "from": ".cursor/commands/record-agent-flow.md",
26
- "to": ".cursor/commands/record-session.md",
27
- "description": "Renamed record-agent-flow to record-session"
28
16
  }
29
17
  ]
30
18
  }
@@ -85,90 +85,6 @@
85
85
  "from": ".claude/commands/parallel.md",
86
86
  "to": ".claude/commands/trellis/parallel.md",
87
87
  "description": "Move Claude parallel command to trellis/ subdirectory"
88
- },
89
- {
90
- "type": "rename",
91
- "from": ".cursor/commands/start.md",
92
- "to": ".cursor/commands/trellis-start.md",
93
- "description": "Rename Cursor start command with trellis- prefix"
94
- },
95
- {
96
- "type": "rename",
97
- "from": ".cursor/commands/finish-work.md",
98
- "to": ".cursor/commands/trellis-finish-work.md",
99
- "description": "Rename Cursor finish-work command with trellis- prefix"
100
- },
101
- {
102
- "type": "rename",
103
- "from": ".cursor/commands/before-frontend-dev.md",
104
- "to": ".cursor/commands/trellis-before-frontend-dev.md",
105
- "description": "Rename Cursor before-frontend-dev command with trellis- prefix"
106
- },
107
- {
108
- "type": "rename",
109
- "from": ".cursor/commands/before-backend-dev.md",
110
- "to": ".cursor/commands/trellis-before-backend-dev.md",
111
- "description": "Rename Cursor before-backend-dev command with trellis- prefix"
112
- },
113
- {
114
- "type": "rename",
115
- "from": ".cursor/commands/check-frontend.md",
116
- "to": ".cursor/commands/trellis-check-frontend.md",
117
- "description": "Rename Cursor check-frontend command with trellis- prefix"
118
- },
119
- {
120
- "type": "rename",
121
- "from": ".cursor/commands/check-backend.md",
122
- "to": ".cursor/commands/trellis-check-backend.md",
123
- "description": "Rename Cursor check-backend command with trellis- prefix"
124
- },
125
- {
126
- "type": "rename",
127
- "from": ".cursor/commands/check-cross-layer.md",
128
- "to": ".cursor/commands/trellis-check-cross-layer.md",
129
- "description": "Rename Cursor check-cross-layer command with trellis- prefix"
130
- },
131
- {
132
- "type": "rename",
133
- "from": ".cursor/commands/record-session.md",
134
- "to": ".cursor/commands/trellis-record-session.md",
135
- "description": "Rename Cursor record-session command with trellis- prefix"
136
- },
137
- {
138
- "type": "rename",
139
- "from": ".cursor/commands/update-spec.md",
140
- "to": ".cursor/commands/trellis-update-spec.md",
141
- "description": "Rename Cursor update-spec command with trellis- prefix"
142
- },
143
- {
144
- "type": "rename",
145
- "from": ".cursor/commands/onboard.md",
146
- "to": ".cursor/commands/trellis-onboard.md",
147
- "description": "Rename Cursor onboard command with trellis- prefix"
148
- },
149
- {
150
- "type": "rename",
151
- "from": ".cursor/commands/break-loop.md",
152
- "to": ".cursor/commands/trellis-break-loop.md",
153
- "description": "Rename Cursor break-loop command with trellis- prefix"
154
- },
155
- {
156
- "type": "rename",
157
- "from": ".cursor/commands/integrate-skill.md",
158
- "to": ".cursor/commands/trellis-integrate-skill.md",
159
- "description": "Rename Cursor integrate-skill command with trellis- prefix"
160
- },
161
- {
162
- "type": "rename",
163
- "from": ".cursor/commands/create-command.md",
164
- "to": ".cursor/commands/trellis-create-command.md",
165
- "description": "Rename Cursor create-command command with trellis- prefix"
166
- },
167
- {
168
- "type": "rename",
169
- "from": ".cursor/commands/parallel.md",
170
- "to": ".cursor/commands/trellis-parallel.md",
171
- "description": "Rename Cursor parallel command with trellis- prefix"
172
88
  }
173
89
  ],
174
90
  "notes": "This release includes: (1) Command namespace migration - Claude Code uses subdirectory (.claude/commands/trellis/), Cursor uses filename prefix (.cursor/commands/trellis-*); (2) Bug fix for incorrect task directory paths in agent docs - these files will be updated via normal template sync"
@@ -91,91 +91,6 @@
91
91
  "to": ".claude/commands/trellis/parallel.md",
92
92
  "description": "Move Claude parallel command to trellis/ subdirectory"
93
93
  },
94
- {
95
- "type": "rename",
96
- "from": ".cursor/commands/start.md",
97
- "to": ".cursor/commands/trellis-start.md",
98
- "description": "Rename Cursor start command with trellis- prefix"
99
- },
100
- {
101
- "type": "rename",
102
- "from": ".cursor/commands/finish-work.md",
103
- "to": ".cursor/commands/trellis-finish-work.md",
104
- "description": "Rename Cursor finish-work command with trellis- prefix"
105
- },
106
- {
107
- "type": "rename",
108
- "from": ".cursor/commands/before-frontend-dev.md",
109
- "to": ".cursor/commands/trellis-before-frontend-dev.md",
110
- "description": "Rename Cursor before-frontend-dev command with trellis- prefix"
111
- },
112
- {
113
- "type": "rename",
114
- "from": ".cursor/commands/before-backend-dev.md",
115
- "to": ".cursor/commands/trellis-before-backend-dev.md",
116
- "description": "Rename Cursor before-backend-dev command with trellis- prefix"
117
- },
118
- {
119
- "type": "rename",
120
- "from": ".cursor/commands/check-frontend.md",
121
- "to": ".cursor/commands/trellis-check-frontend.md",
122
- "description": "Rename Cursor check-frontend command with trellis- prefix"
123
- },
124
- {
125
- "type": "rename",
126
- "from": ".cursor/commands/check-backend.md",
127
- "to": ".cursor/commands/trellis-check-backend.md",
128
- "description": "Rename Cursor check-backend command with trellis- prefix"
129
- },
130
- {
131
- "type": "rename",
132
- "from": ".cursor/commands/check-cross-layer.md",
133
- "to": ".cursor/commands/trellis-check-cross-layer.md",
134
- "description": "Rename Cursor check-cross-layer command with trellis- prefix"
135
- },
136
- {
137
- "type": "rename",
138
- "from": ".cursor/commands/record-session.md",
139
- "to": ".cursor/commands/trellis-record-session.md",
140
- "description": "Rename Cursor record-session command with trellis- prefix"
141
- },
142
- {
143
- "type": "rename",
144
- "from": ".cursor/commands/update-spec.md",
145
- "to": ".cursor/commands/trellis-update-spec.md",
146
- "description": "Rename Cursor update-spec command with trellis- prefix"
147
- },
148
- {
149
- "type": "rename",
150
- "from": ".cursor/commands/onboard.md",
151
- "to": ".cursor/commands/trellis-onboard.md",
152
- "description": "Rename Cursor onboard command with trellis- prefix"
153
- },
154
- {
155
- "type": "rename",
156
- "from": ".cursor/commands/break-loop.md",
157
- "to": ".cursor/commands/trellis-break-loop.md",
158
- "description": "Rename Cursor break-loop command with trellis- prefix"
159
- },
160
- {
161
- "type": "rename",
162
- "from": ".cursor/commands/integrate-skill.md",
163
- "to": ".cursor/commands/trellis-integrate-skill.md",
164
- "description": "Rename Cursor integrate-skill command with trellis- prefix"
165
- },
166
- {
167
- "type": "rename",
168
- "from": ".cursor/commands/create-command.md",
169
- "to": ".cursor/commands/trellis-create-command.md",
170
- "description": "Rename Cursor create-command command with trellis- prefix"
171
- },
172
- {
173
- "type": "rename",
174
- "from": ".cursor/commands/parallel.md",
175
- "to": ".cursor/commands/trellis-parallel.md",
176
- "description": "Rename Cursor parallel command with trellis- prefix"
177
- },
178
-
179
94
  {
180
95
  "type": "rename",
181
96
  "from": ".trellis/scripts/get-developer.sh",
@@ -212,7 +127,6 @@
212
127
  "to": ".trellis/scripts-shell-archive/create-bootstrap.sh",
213
128
  "description": "Archive legacy shell script (replaced by Python)"
214
129
  },
215
-
216
130
  {
217
131
  "type": "rename",
218
132
  "from": ".trellis/scripts/common/paths.sh",
@@ -261,7 +175,6 @@
261
175
  "to": ".trellis/scripts-shell-archive/common/registry.sh",
262
176
  "description": "Archive legacy shell script (replaced by Python)"
263
177
  },
264
-
265
178
  {
266
179
  "type": "rename",
267
180
  "from": ".trellis/scripts/multi-agent/start.sh",
@@ -4,18 +4,6 @@
4
4
  "breaking": false,
5
5
  "recommendMigrate": true,
6
6
  "changelog": "**Enhancements:**\n- feat(platform): add Qoder support as skills-based platform (.qoder/skills/)\n- feat(record-session): enforce task archive check before recording; add --mode record for focused context output\n- feat(record-session): sync record-session prompt across all 9 platforms\n- feat(task): auto-commit after archive, add --no-commit flag\n\n**Bug Fixes:**\n- fix(kilo): rename commands/trellis/ to workflows/ to match Kilo official spec\n- fix(iflow): add IFLOW_NON_INTERACTIVE check in session-start hook\n- fix(multi-agent): clear CLAUDECODE env var to allow nested CLI launch\n- fix(update): skip workflow.md and workspace/index.md during update (user-customizable content)",
7
- "migrations": [
8
- {
9
- "type": "rename-dir",
10
- "from": ".kilocode/commands/trellis",
11
- "to": ".kilocode/workflows",
12
- "description": "Kilo uses workflows/ instead of commands/trellis/ per official spec"
13
- },
14
- {
15
- "type": "delete",
16
- "from": ".kilocode/commands",
17
- "description": "Remove empty commands/ directory after workflow migration"
18
- }
19
- ],
7
+ "migrations": [],
20
8
  "notes": "Kilo users: run trellis update to migrate commands/trellis/ to workflows/. New Qoder platform available via --qoder flag."
21
9
  }