@pennixrv/trellis 0.7.2-beta.2 → 0.7.2-beta.20

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 (433) hide show
  1. package/README.md +14 -0
  2. package/dist/commands/init.d.ts.map +1 -1
  3. package/dist/commands/init.js +105 -107
  4. package/dist/commands/init.js.map +1 -1
  5. package/dist/commands/teamwork/adapters/acp.d.ts.map +1 -1
  6. package/dist/commands/teamwork/adapters/acp.js +3 -0
  7. package/dist/commands/teamwork/adapters/acp.js.map +1 -1
  8. package/dist/commands/teamwork/adapters/index.d.ts +1 -1
  9. package/dist/commands/teamwork/adapters/index.d.ts.map +1 -1
  10. package/dist/commands/teamwork/artifact.d.ts +1 -0
  11. package/dist/commands/teamwork/artifact.d.ts.map +1 -1
  12. package/dist/commands/teamwork/artifact.js +1 -1
  13. package/dist/commands/teamwork/artifact.js.map +1 -1
  14. package/dist/commands/teamwork/batch-reservation.d.ts.map +1 -1
  15. package/dist/commands/teamwork/batch-reservation.js +16 -8
  16. package/dist/commands/teamwork/batch-reservation.js.map +1 -1
  17. package/dist/commands/teamwork/batch.d.ts +15 -1
  18. package/dist/commands/teamwork/batch.d.ts.map +1 -1
  19. package/dist/commands/teamwork/batch.js +277 -22
  20. package/dist/commands/teamwork/batch.js.map +1 -1
  21. package/dist/commands/teamwork/coordinator.d.ts +3 -0
  22. package/dist/commands/teamwork/coordinator.d.ts.map +1 -1
  23. package/dist/commands/teamwork/coordinator.js +22 -3
  24. package/dist/commands/teamwork/coordinator.js.map +1 -1
  25. package/dist/commands/teamwork/create.d.ts +1 -0
  26. package/dist/commands/teamwork/create.d.ts.map +1 -1
  27. package/dist/commands/teamwork/create.js +4 -0
  28. package/dist/commands/teamwork/create.js.map +1 -1
  29. package/dist/commands/teamwork/evidence-references.d.ts +19 -0
  30. package/dist/commands/teamwork/evidence-references.d.ts.map +1 -0
  31. package/dist/commands/teamwork/evidence-references.js +249 -0
  32. package/dist/commands/teamwork/evidence-references.js.map +1 -0
  33. package/dist/commands/teamwork/foreground-wait.d.ts +4 -1
  34. package/dist/commands/teamwork/foreground-wait.d.ts.map +1 -1
  35. package/dist/commands/teamwork/foreground-wait.js +15 -1
  36. package/dist/commands/teamwork/foreground-wait.js.map +1 -1
  37. package/dist/commands/teamwork/index.d.ts.map +1 -1
  38. package/dist/commands/teamwork/index.js +46 -4
  39. package/dist/commands/teamwork/index.js.map +1 -1
  40. package/dist/commands/teamwork/list.d.ts +1 -0
  41. package/dist/commands/teamwork/list.d.ts.map +1 -1
  42. package/dist/commands/teamwork/list.js +4 -1
  43. package/dist/commands/teamwork/list.js.map +1 -1
  44. package/dist/commands/teamwork/prompt.js +1 -1
  45. package/dist/commands/teamwork/prompt.js.map +1 -1
  46. package/dist/commands/teamwork/rm.d.ts +27 -4
  47. package/dist/commands/teamwork/rm.d.ts.map +1 -1
  48. package/dist/commands/teamwork/rm.js +155 -51
  49. package/dist/commands/teamwork/rm.js.map +1 -1
  50. package/dist/commands/teamwork/run.d.ts.map +1 -1
  51. package/dist/commands/teamwork/run.js +10 -1
  52. package/dist/commands/teamwork/run.js.map +1 -1
  53. package/dist/commands/teamwork/runtime.d.ts +1 -1
  54. package/dist/commands/teamwork/runtime.d.ts.map +1 -1
  55. package/dist/commands/teamwork/runtime.js +14 -4
  56. package/dist/commands/teamwork/runtime.js.map +1 -1
  57. package/dist/commands/teamwork/spawn.d.ts.map +1 -1
  58. package/dist/commands/teamwork/spawn.js +4 -1
  59. package/dist/commands/teamwork/spawn.js.map +1 -1
  60. package/dist/commands/teamwork/supervisor/stdout.d.ts.map +1 -1
  61. package/dist/commands/teamwork/supervisor/stdout.js +7 -0
  62. package/dist/commands/teamwork/supervisor/stdout.js.map +1 -1
  63. package/dist/commands/teamwork/supervisor.d.ts +1 -1
  64. package/dist/commands/teamwork/supervisor.d.ts.map +1 -1
  65. package/dist/commands/teamwork/teammate-adapters.d.ts +3 -0
  66. package/dist/commands/teamwork/teammate-adapters.d.ts.map +1 -1
  67. package/dist/commands/teamwork/teammate-adapters.js +14 -5
  68. package/dist/commands/teamwork/teammate-adapters.js.map +1 -1
  69. package/dist/commands/teamwork/workers.d.ts +8 -0
  70. package/dist/commands/teamwork/workers.d.ts.map +1 -0
  71. package/dist/commands/teamwork/workers.js +67 -0
  72. package/dist/commands/teamwork/workers.js.map +1 -0
  73. package/dist/commands/update.d.ts.map +1 -1
  74. package/dist/commands/update.js +109 -55
  75. package/dist/commands/update.js.map +1 -1
  76. package/dist/commands/workflow.d.ts.map +1 -1
  77. package/dist/commands/workflow.js +5 -7
  78. package/dist/commands/workflow.js.map +1 -1
  79. package/dist/configurators/codebuddy.d.ts +1 -8
  80. package/dist/configurators/codebuddy.d.ts.map +1 -1
  81. package/dist/configurators/codebuddy.js +2 -12
  82. package/dist/configurators/codebuddy.js.map +1 -1
  83. package/dist/configurators/codex.d.ts +0 -36
  84. package/dist/configurators/codex.d.ts.map +1 -1
  85. package/dist/configurators/codex.js +2 -99
  86. package/dist/configurators/codex.js.map +1 -1
  87. package/dist/configurators/copilot.d.ts +1 -12
  88. package/dist/configurators/copilot.d.ts.map +1 -1
  89. package/dist/configurators/copilot.js +2 -20
  90. package/dist/configurators/copilot.js.map +1 -1
  91. package/dist/configurators/cursor.d.ts +1 -8
  92. package/dist/configurators/cursor.d.ts.map +1 -1
  93. package/dist/configurators/cursor.js +2 -12
  94. package/dist/configurators/cursor.js.map +1 -1
  95. package/dist/configurators/droid.d.ts +1 -8
  96. package/dist/configurators/droid.d.ts.map +1 -1
  97. package/dist/configurators/droid.js +2 -12
  98. package/dist/configurators/droid.js.map +1 -1
  99. package/dist/configurators/dsh.d.ts +1 -21
  100. package/dist/configurators/dsh.d.ts.map +1 -1
  101. package/dist/configurators/dsh.js +4 -37
  102. package/dist/configurators/dsh.js.map +1 -1
  103. package/dist/configurators/gemini.d.ts +1 -16
  104. package/dist/configurators/gemini.d.ts.map +1 -1
  105. package/dist/configurators/gemini.js +3 -21
  106. package/dist/configurators/gemini.js.map +1 -1
  107. package/dist/configurators/grok.d.ts +1 -12
  108. package/dist/configurators/grok.d.ts.map +1 -1
  109. package/dist/configurators/grok.js +2 -18
  110. package/dist/configurators/grok.js.map +1 -1
  111. package/dist/configurators/kimi.d.ts +1 -21
  112. package/dist/configurators/kimi.d.ts.map +1 -1
  113. package/dist/configurators/kimi.js +2 -38
  114. package/dist/configurators/kimi.js.map +1 -1
  115. package/dist/configurators/kiro.d.ts +1 -9
  116. package/dist/configurators/kiro.d.ts.map +1 -1
  117. package/dist/configurators/kiro.js +1 -9
  118. package/dist/configurators/kiro.js.map +1 -1
  119. package/dist/configurators/omp.d.ts.map +1 -1
  120. package/dist/configurators/omp.js +1 -5
  121. package/dist/configurators/omp.js.map +1 -1
  122. package/dist/configurators/pi.d.ts.map +1 -1
  123. package/dist/configurators/pi.js +2 -5
  124. package/dist/configurators/pi.js.map +1 -1
  125. package/dist/configurators/qoder.d.ts +1 -10
  126. package/dist/configurators/qoder.d.ts.map +1 -1
  127. package/dist/configurators/qoder.js +3 -15
  128. package/dist/configurators/qoder.js.map +1 -1
  129. package/dist/configurators/reasonix.d.ts +1 -12
  130. package/dist/configurators/reasonix.d.ts.map +1 -1
  131. package/dist/configurators/reasonix.js +3 -22
  132. package/dist/configurators/reasonix.js.map +1 -1
  133. package/dist/configurators/shared.d.ts +1 -24
  134. package/dist/configurators/shared.d.ts.map +1 -1
  135. package/dist/configurators/shared.js +5 -184
  136. package/dist/configurators/shared.js.map +1 -1
  137. package/dist/configurators/snow.d.ts +1 -20
  138. package/dist/configurators/snow.d.ts.map +1 -1
  139. package/dist/configurators/snow.js +2 -25
  140. package/dist/configurators/snow.js.map +1 -1
  141. package/dist/configurators/trae.d.ts +1 -14
  142. package/dist/configurators/trae.d.ts.map +1 -1
  143. package/dist/configurators/trae.js +3 -19
  144. package/dist/configurators/trae.js.map +1 -1
  145. package/dist/configurators/workflow.d.ts +2 -0
  146. package/dist/configurators/workflow.d.ts.map +1 -1
  147. package/dist/configurators/workflow.js +72 -56
  148. package/dist/configurators/workflow.js.map +1 -1
  149. package/dist/configurators/zcode.d.ts +1 -13
  150. package/dist/configurators/zcode.d.ts.map +1 -1
  151. package/dist/configurators/zcode.js +2 -18
  152. package/dist/configurators/zcode.js.map +1 -1
  153. package/dist/migrations/manifests/0.5.0-beta.5.json +1 -212
  154. package/dist/migrations/manifests/0.7.2-beta.10.json +9 -0
  155. package/dist/migrations/manifests/0.7.2-beta.11.json +9 -0
  156. package/dist/migrations/manifests/0.7.2-beta.12.json +9 -0
  157. package/dist/migrations/manifests/0.7.2-beta.13.json +9 -0
  158. package/dist/migrations/manifests/0.7.2-beta.14.json +9 -0
  159. package/dist/migrations/manifests/0.7.2-beta.15.json +9 -0
  160. package/dist/migrations/manifests/0.7.2-beta.16.json +9 -0
  161. package/dist/migrations/manifests/0.7.2-beta.17.json +9 -0
  162. package/dist/migrations/manifests/0.7.2-beta.18.json +9 -0
  163. package/dist/migrations/manifests/0.7.2-beta.19.json +11 -0
  164. package/dist/migrations/manifests/0.7.2-beta.20.json +9 -0
  165. package/dist/migrations/manifests/0.7.2-beta.3.json +9 -0
  166. package/dist/migrations/manifests/0.7.2-beta.4.json +9 -0
  167. package/dist/migrations/manifests/0.7.2-beta.5.json +9 -0
  168. package/dist/migrations/manifests/0.7.2-beta.6.json +9 -0
  169. package/dist/migrations/manifests/0.7.2-beta.7.json +9 -0
  170. package/dist/migrations/manifests/0.7.2-beta.8.json +9 -0
  171. package/dist/migrations/manifests/0.7.2-beta.9.json +9 -0
  172. package/dist/migrations/retired-native-paths.d.ts +109 -0
  173. package/dist/migrations/retired-native-paths.d.ts.map +1 -0
  174. package/dist/migrations/retired-native-paths.js +263 -0
  175. package/dist/migrations/retired-native-paths.js.map +1 -0
  176. package/dist/templates/claude/index.d.ts +1 -16
  177. package/dist/templates/claude/index.d.ts.map +1 -1
  178. package/dist/templates/claude/index.js +5 -32
  179. package/dist/templates/claude/index.js.map +1 -1
  180. package/dist/templates/claude/settings.json +0 -22
  181. package/dist/templates/codebuddy/index.d.ts +2 -3
  182. package/dist/templates/codebuddy/index.d.ts.map +1 -1
  183. package/dist/templates/codebuddy/index.js +2 -3
  184. package/dist/templates/codebuddy/index.js.map +1 -1
  185. package/dist/templates/codebuddy/settings.json +0 -10
  186. package/dist/templates/codex/config.toml +2 -19
  187. package/dist/templates/codex/hooks/session-start.py +25 -30
  188. package/dist/templates/codex/hooks.json +0 -12
  189. package/dist/templates/codex/index.d.ts +0 -5
  190. package/dist/templates/codex/index.d.ts.map +1 -1
  191. package/dist/templates/codex/index.js +0 -13
  192. package/dist/templates/codex/index.js.map +1 -1
  193. package/dist/templates/common/bundled-skills/trellis-decision-space-construction-and-merging/SKILL.md +2 -0
  194. package/dist/templates/common/bundled-skills/trellis-decision-space-construction-and-merging/workflow.md +7 -3
  195. package/dist/templates/common/bundled-skills/trellis-delivery-review-and-closeout/SKILL.md +2 -0
  196. package/dist/templates/common/bundled-skills/trellis-delivery-review-and-closeout/workflow.md +2 -0
  197. package/dist/templates/common/bundled-skills/trellis-goal-exploration-and-requirements/SKILL.md +2 -0
  198. package/dist/templates/common/bundled-skills/trellis-meta/SKILL.md +7 -7
  199. package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-agents.md +9 -51
  200. package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-context-loading.md +3 -15
  201. package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-hooks.md +1 -2
  202. package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/context-injection.md +4 -9
  203. package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/generated-files.md +2 -2
  204. package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/multi-agent-teamwork.md +6 -0
  205. package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/overview.md +1 -1
  206. package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/spec-system.md +10 -8
  207. package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/agents.md +9 -79
  208. package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/hooks-and-settings.md +2 -4
  209. package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/overview.md +3 -6
  210. package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/platform-map.md +24 -103
  211. package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/skills-and-commands.md +1 -1
  212. package/dist/templates/common/bundled-skills/trellis-session-insight/SKILL.md +1 -1
  213. package/dist/templates/common/bundled-skills/trellis-solution-design-and-convergence/SKILL.md +2 -0
  214. package/dist/templates/common/bundled-skills/trellis-solution-design-and-convergence/workflow.md +14 -5
  215. package/dist/templates/common/bundled-skills/trellis-spec-bootstrap/SKILL.md +6 -4
  216. package/dist/templates/common/bundled-skills/trellis-spec-bootstrap/references/spec-task-planning.md +5 -9
  217. package/dist/templates/common/bundled-skills/trellis-spec-bootstrap/references/spec-writing.md +8 -0
  218. package/dist/templates/common/bundled-skills/trellis-task-implementation/SKILL.md +2 -0
  219. package/dist/templates/common/bundled-skills/trellis-task-implementation/workflow.md +1 -1
  220. package/dist/templates/common/bundled-skills/trellis-teamwork/SKILL.md +8 -1
  221. package/dist/templates/common/bundled-skills/trellis-teamwork/references/teammate-processes.md +21 -1
  222. package/dist/templates/common/bundled-skills/trellis-teamwork/references/teamwork-plan-construction.md +13 -2
  223. package/dist/templates/common/bundled-skills/trellis-worktree-delegation/SKILL.md +14 -0
  224. package/dist/templates/common/bundled-skills/trellis-worktree-delegation/workflow.md +17 -0
  225. package/dist/templates/common/commands/continue.md +8 -0
  226. package/dist/templates/common/commands/start.md +2 -0
  227. package/dist/templates/common/skills/before-dev.md +3 -1
  228. package/dist/templates/common/skills/check.md +3 -1
  229. package/dist/templates/common/skills/request-intake.md +5 -3
  230. package/dist/templates/copilot/hooks/session-start.py +11 -30
  231. package/dist/templates/cursor/hooks.json +0 -7
  232. package/dist/templates/cursor/index.d.ts +1 -11
  233. package/dist/templates/cursor/index.d.ts.map +1 -1
  234. package/dist/templates/cursor/index.js +2 -10
  235. package/dist/templates/cursor/index.js.map +1 -1
  236. package/dist/templates/droid/index.d.ts +2 -3
  237. package/dist/templates/droid/index.d.ts.map +1 -1
  238. package/dist/templates/droid/index.js +2 -3
  239. package/dist/templates/droid/index.js.map +1 -1
  240. package/dist/templates/droid/settings.json +0 -10
  241. package/dist/templates/dsh/DSH.md +2 -33
  242. package/dist/templates/dsh/index.d.ts +1 -19
  243. package/dist/templates/dsh/index.d.ts.map +1 -1
  244. package/dist/templates/dsh/index.js +2 -21
  245. package/dist/templates/dsh/index.js.map +1 -1
  246. package/dist/templates/gemini/index.d.ts +1 -11
  247. package/dist/templates/gemini/index.d.ts.map +1 -1
  248. package/dist/templates/gemini/index.js +2 -10
  249. package/dist/templates/gemini/index.js.map +1 -1
  250. package/dist/templates/kiro/agents/trellis.json +1 -1
  251. package/dist/templates/kiro/index.d.ts +1 -13
  252. package/dist/templates/kiro/index.d.ts.map +1 -1
  253. package/dist/templates/kiro/index.js +1 -13
  254. package/dist/templates/kiro/index.js.map +1 -1
  255. package/dist/templates/markdown/agents.md +15 -3
  256. package/dist/templates/markdown/index.d.ts +1 -0
  257. package/dist/templates/markdown/index.d.ts.map +1 -1
  258. package/dist/templates/markdown/index.js +1 -0
  259. package/dist/templates/markdown/index.js.map +1 -1
  260. package/dist/templates/markdown/spec/index.md.txt +20 -0
  261. package/dist/templates/omp/extensions/trellis/index.ts.txt +11 -51
  262. package/dist/templates/omp/index.d.ts +0 -2
  263. package/dist/templates/omp/index.d.ts.map +1 -1
  264. package/dist/templates/omp/index.js +1 -4
  265. package/dist/templates/omp/index.js.map +1 -1
  266. package/dist/templates/opencode/lib/session-utils.js +17 -5
  267. package/dist/templates/opencode/lib/trellis-context.js +12 -321
  268. package/dist/templates/opencode/plugins/inject-shell-session-context.js +93 -0
  269. package/dist/templates/opencode/plugins/inject-workflow-state.js +4 -10
  270. package/dist/templates/opencode/plugins/session-start.js +2 -6
  271. package/dist/templates/pi/extensions/trellis/index.ts.txt +8 -1432
  272. package/dist/templates/pi/index.d.ts +1 -2
  273. package/dist/templates/pi/index.d.ts.map +1 -1
  274. package/dist/templates/pi/index.js +2 -5
  275. package/dist/templates/pi/index.js.map +1 -1
  276. package/dist/templates/qoder/index.d.ts +2 -3
  277. package/dist/templates/qoder/index.d.ts.map +1 -1
  278. package/dist/templates/qoder/index.js +2 -3
  279. package/dist/templates/qoder/index.js.map +1 -1
  280. package/dist/templates/shared-hooks/guard-teamwork-wait.py +118 -12
  281. package/dist/templates/shared-hooks/index.d.ts +2 -56
  282. package/dist/templates/shared-hooks/index.d.ts.map +1 -1
  283. package/dist/templates/shared-hooks/index.js +3 -70
  284. package/dist/templates/shared-hooks/index.js.map +1 -1
  285. package/dist/templates/shared-hooks/inject-spec-context.py +6 -35
  286. package/dist/templates/shared-hooks/inject-workflow-state.py +18 -77
  287. package/dist/templates/shared-hooks/session-start.py +8 -6
  288. package/dist/templates/snow/SNOW.md +6 -18
  289. package/dist/templates/snow/hooks/write-trellis-context.py +51 -133
  290. package/dist/templates/snow/index.d.ts +2 -21
  291. package/dist/templates/snow/index.d.ts.map +1 -1
  292. package/dist/templates/snow/index.js +3 -24
  293. package/dist/templates/snow/index.js.map +1 -1
  294. package/dist/templates/template-utils.d.ts +1 -2
  295. package/dist/templates/template-utils.d.ts.map +1 -1
  296. package/dist/templates/template-utils.js +1 -11
  297. package/dist/templates/template-utils.js.map +1 -1
  298. package/dist/templates/trae/index.d.ts +2 -3
  299. package/dist/templates/trae/index.d.ts.map +1 -1
  300. package/dist/templates/trae/index.js +2 -3
  301. package/dist/templates/trae/index.js.map +1 -1
  302. package/dist/templates/trellis/agents/delegated-worktree-primary-agent.md +20 -22
  303. package/dist/templates/trellis/agents/teammate.md +6 -2
  304. package/dist/templates/trellis/agents/worktree-delegation-node.md +24 -0
  305. package/dist/templates/trellis/config.yaml +7 -36
  306. package/dist/templates/trellis/gitignore.txt +4 -0
  307. package/dist/templates/trellis/index.d.ts +1 -0
  308. package/dist/templates/trellis/index.d.ts.map +1 -1
  309. package/dist/templates/trellis/index.js +3 -0
  310. package/dist/templates/trellis/index.js.map +1 -1
  311. package/dist/templates/trellis/scripts/common/active_task.py +23 -31
  312. package/dist/templates/trellis/scripts/common/config.py +1 -36
  313. package/dist/templates/trellis/scripts/common/git_context.py +13 -4
  314. package/dist/templates/trellis/scripts/common/io.py +2 -2
  315. package/dist/templates/trellis/scripts/common/packages_context.py +29 -1
  316. package/dist/templates/trellis/scripts/common/session_context.py +25 -50
  317. package/dist/templates/trellis/scripts/common/task_context.py +5 -3
  318. package/dist/templates/trellis/scripts/common/task_continuity.py +42 -9
  319. package/dist/templates/trellis/scripts/common/task_move.py +2 -2
  320. package/dist/templates/trellis/scripts/common/task_runtime.py +211 -0
  321. package/dist/templates/trellis/scripts/common/task_store.py +8 -78
  322. package/dist/templates/trellis/scripts/common/task_workflow.py +9 -26
  323. package/dist/templates/trellis/scripts/common/workflow_phase.py +3 -36
  324. package/dist/templates/trellis/scripts/common/workflow_selection.py +12 -2
  325. package/dist/templates/trellis/scripts/common/worktree_delegation.py +570 -0
  326. package/dist/templates/trellis/scripts/task.py +41 -2
  327. package/dist/templates/trellis/workflow.md +25 -10
  328. package/dist/templates/zcode/config.json +0 -10
  329. package/dist/templates/zcode/index.d.ts +3 -22
  330. package/dist/templates/zcode/index.d.ts.map +1 -1
  331. package/dist/templates/zcode/index.js +3 -24
  332. package/dist/templates/zcode/index.js.map +1 -1
  333. package/dist/types/ai-tools.d.ts +0 -4
  334. package/dist/types/ai-tools.d.ts.map +1 -1
  335. package/dist/types/ai-tools.js +4 -109
  336. package/dist/types/ai-tools.js.map +1 -1
  337. package/dist/utils/ablation-store.d.ts.map +1 -1
  338. package/dist/utils/ablation-store.js +24 -0
  339. package/dist/utils/ablation-store.js.map +1 -1
  340. package/dist/utils/asset-backup.d.ts.map +1 -1
  341. package/dist/utils/asset-backup.js +25 -20
  342. package/dist/utils/asset-backup.js.map +1 -1
  343. package/dist/utils/file-writer.d.ts +2 -0
  344. package/dist/utils/file-writer.d.ts.map +1 -1
  345. package/dist/utils/file-writer.js +1 -1
  346. package/dist/utils/file-writer.js.map +1 -1
  347. package/dist/utils/managed-markdown.d.ts +5 -0
  348. package/dist/utils/managed-markdown.d.ts.map +1 -0
  349. package/dist/utils/managed-markdown.js +64 -0
  350. package/dist/utils/managed-markdown.js.map +1 -0
  351. package/dist/utils/managed-removal.d.ts +2 -0
  352. package/dist/utils/managed-removal.d.ts.map +1 -1
  353. package/dist/utils/managed-removal.js +26 -2
  354. package/dist/utils/managed-removal.js.map +1 -1
  355. package/dist/utils/manifest-prune.d.ts.map +1 -1
  356. package/dist/utils/manifest-prune.js +5 -12
  357. package/dist/utils/manifest-prune.js.map +1 -1
  358. package/dist/utils/retired-native-assets.d.ts +17 -0
  359. package/dist/utils/retired-native-assets.d.ts.map +1 -0
  360. package/dist/utils/retired-native-assets.js +235 -0
  361. package/dist/utils/retired-native-assets.js.map +1 -0
  362. package/dist/utils/uninstall-scrubbers.d.ts.map +1 -1
  363. package/dist/utils/uninstall-scrubbers.js +6 -12
  364. package/dist/utils/uninstall-scrubbers.js.map +1 -1
  365. package/package.json +2 -2
  366. package/dist/templates/claude/agents/trellis-check.md +0 -115
  367. package/dist/templates/claude/agents/trellis-implement.md +0 -110
  368. package/dist/templates/claude/agents/trellis-research.md +0 -137
  369. package/dist/templates/codebuddy/agents/trellis-check.md +0 -115
  370. package/dist/templates/codebuddy/agents/trellis-implement.md +0 -110
  371. package/dist/templates/codebuddy/agents/trellis-research.md +0 -137
  372. package/dist/templates/codex/agents/trellis-check.toml +0 -56
  373. package/dist/templates/codex/agents/trellis-implement.toml +0 -37
  374. package/dist/templates/codex/agents/trellis-research.toml +0 -78
  375. package/dist/templates/cursor/agents/trellis-check.md +0 -114
  376. package/dist/templates/cursor/agents/trellis-implement.md +0 -109
  377. package/dist/templates/cursor/agents/trellis-research.md +0 -136
  378. package/dist/templates/droid/droids/trellis-check.md +0 -107
  379. package/dist/templates/droid/droids/trellis-implement.md +0 -102
  380. package/dist/templates/droid/droids/trellis-research.md +0 -137
  381. package/dist/templates/dsh/agents/trellis-check.md +0 -99
  382. package/dist/templates/dsh/agents/trellis-implement.md +0 -106
  383. package/dist/templates/dsh/agents/trellis-research.md +0 -134
  384. package/dist/templates/gemini/agents/trellis-check.md +0 -107
  385. package/dist/templates/gemini/agents/trellis-implement.md +0 -102
  386. package/dist/templates/gemini/agents/trellis-research.md +0 -136
  387. package/dist/templates/grok/agents/trellis-check.md +0 -105
  388. package/dist/templates/grok/agents/trellis-implement.md +0 -116
  389. package/dist/templates/grok/agents/trellis-research.md +0 -146
  390. package/dist/templates/grok/index.d.ts +0 -16
  391. package/dist/templates/grok/index.d.ts.map +0 -1
  392. package/dist/templates/grok/index.js +0 -19
  393. package/dist/templates/grok/index.js.map +0 -1
  394. package/dist/templates/kimi/agents/trellis-check.md +0 -103
  395. package/dist/templates/kimi/agents/trellis-implement.md +0 -115
  396. package/dist/templates/kimi/agents/trellis-research.md +0 -144
  397. package/dist/templates/kimi/index.d.ts +0 -20
  398. package/dist/templates/kimi/index.d.ts.map +0 -1
  399. package/dist/templates/kimi/index.js +0 -23
  400. package/dist/templates/kimi/index.js.map +0 -1
  401. package/dist/templates/kiro/agents/trellis-check.json +0 -26
  402. package/dist/templates/kiro/agents/trellis-implement.json +0 -26
  403. package/dist/templates/kiro/agents/trellis-research.json +0 -30
  404. package/dist/templates/omp/agents/trellis-check.md +0 -41
  405. package/dist/templates/omp/agents/trellis-implement.md +0 -45
  406. package/dist/templates/omp/agents/trellis-research.md +0 -30
  407. package/dist/templates/opencode/agents/trellis-check.md +0 -122
  408. package/dist/templates/opencode/agents/trellis-implement.md +0 -118
  409. package/dist/templates/opencode/agents/trellis-research.md +0 -145
  410. package/dist/templates/opencode/plugins/inject-subagent-context.js +0 -569
  411. package/dist/templates/pi/agents/trellis-check.md +0 -37
  412. package/dist/templates/pi/agents/trellis-implement.md +0 -42
  413. package/dist/templates/pi/agents/trellis-research.md +0 -25
  414. package/dist/templates/qoder/agents/trellis-check.md +0 -108
  415. package/dist/templates/qoder/agents/trellis-implement.md +0 -103
  416. package/dist/templates/qoder/agents/trellis-research.md +0 -137
  417. package/dist/templates/reasonix/agents/trellis-check.md +0 -36
  418. package/dist/templates/reasonix/agents/trellis-implement.md +0 -41
  419. package/dist/templates/reasonix/index.d.ts +0 -13
  420. package/dist/templates/reasonix/index.d.ts.map +0 -1
  421. package/dist/templates/reasonix/index.js +0 -16
  422. package/dist/templates/reasonix/index.js.map +0 -1
  423. package/dist/templates/shared-hooks/inject-subagent-context.py +0 -1217
  424. package/dist/templates/snow/agents/trellis-check.md +0 -135
  425. package/dist/templates/snow/agents/trellis-implement.md +0 -153
  426. package/dist/templates/snow/agents/trellis-research.md +0 -114
  427. package/dist/templates/snow/hooks/beforeSubAgentStart.json +0 -15
  428. package/dist/templates/trae/agents/trellis-check.md +0 -108
  429. package/dist/templates/trae/agents/trellis-implement.md +0 -103
  430. package/dist/templates/trae/agents/trellis-research.md +0 -137
  431. package/dist/templates/zcode/agents/trellis-check.md +0 -109
  432. package/dist/templates/zcode/agents/trellis-implement.md +0 -111
  433. package/dist/templates/zcode/agents/trellis-research.md +0 -133
@@ -130,7 +130,7 @@ def _has_curated_jsonl_entry(jsonl_path: Path) -> bool:
130
130
  A newly created jsonl is empty, and older tasks may still carry a
131
131
  ``{"_example": ...}`` placeholder row (no ``file`` key) — neither is
132
132
  "ready". Readiness requires at least one curated entry. Matches the
133
- contract used by ``inject-subagent-context.py``.
133
+ contract used by main-session context readers.
134
134
  """
135
135
  try:
136
136
  for line in jsonl_path.read_text(encoding="utf-8").splitlines():
@@ -267,9 +267,9 @@ def _get_task_status(trellis_dir: Path, hook_input: dict) -> str:
267
267
  if task_status == "planning":
268
268
  next_action = (
269
269
  "Follow the current per-turn workflow-state. Task lifecycle status and artifact presence "
270
- "do not identify the business phase. If no phase route is initialized, load "
271
- "`trellis-goal-exploration-and-requirements` and confirm the requirements baseline "
272
- "before initializing the route."
270
+ "do not identify the business phase. If no phase route is initialized, inspect recorded "
271
+ "requirements and authorization, choose applicable ordered phases with evidence for omissions, "
272
+ "then initialize through Trellis CLI and load the current phase Skill. Reuse valid confirmations."
273
273
  )
274
274
  if any(
275
275
  path.is_file() and not _has_curated_jsonl_entry(path)
@@ -324,31 +324,12 @@ def _repo_relative(repo_root: Path, path: Path) -> str:
324
324
  return str(path)
325
325
 
326
326
 
327
- def _collect_spec_index_paths(trellis_dir: Path) -> list[str]:
328
- paths: list[str] = []
329
- guides_index = trellis_dir / "spec" / "guides" / "index.md"
330
- if guides_index.is_file():
331
- paths.append(".trellis/spec/guides/index.md")
332
-
333
- spec_dir = trellis_dir / "spec"
334
- if not spec_dir.is_dir():
335
- return paths
336
-
337
- for sub in sorted(spec_dir.iterdir()):
338
- if not sub.is_dir() or sub.name.startswith(".") or sub.name == "guides":
339
- continue
340
- index_file = sub / "index.md"
341
- if index_file.is_file():
342
- paths.append(f".trellis/spec/{sub.name}/index.md")
343
- continue
344
- for nested in sorted(sub.iterdir()):
345
- if not nested.is_dir():
346
- continue
347
- nested_index = nested / "index.md"
348
- if nested_index.is_file():
349
- paths.append(f".trellis/spec/{sub.name}/{nested.name}/index.md")
350
-
351
- return paths
327
+ def _collect_spec_index_paths(trellis_dir: Path, input_data: dict | None = None) -> list[str]:
328
+ scripts = str(trellis_dir / "scripts")
329
+ if scripts not in sys.path:
330
+ sys.path.insert(0, scripts)
331
+ from common.packages_context import collect_spec_index_paths # type: ignore[import-not-found]
332
+ return collect_spec_index_paths(trellis_dir.parent, input_data, platform="copilot")
352
333
 
353
334
 
354
335
  def _build_compact_current_state(
@@ -514,7 +495,7 @@ def main() -> None:
514
495
  configure_project_encoding(project_dir)
515
496
 
516
497
  trellis_dir = project_dir / ".trellis"
517
- spec_index_paths = _collect_spec_index_paths(trellis_dir)
498
+ spec_index_paths = _collect_spec_index_paths(trellis_dir, hook_input)
518
499
 
519
500
  output = StringIO()
520
501
 
@@ -1,13 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
3
  "hooks": {
4
- "preToolUse": [
5
- {
6
- "command": "{{PYTHON_CMD}} .cursor/hooks/inject-subagent-context.py",
7
- "matcher": "Task|Subagent",
8
- "timeout": 30
9
- }
10
- ],
11
4
  "sessionStart": [
12
5
  {
13
6
  "command": "{{PYTHON_CMD}} .cursor/hooks/session-start.py",
@@ -1,13 +1,3 @@
1
- /**
2
- * Cursor templates
3
- *
4
- * Directory structure:
5
- * cursor/
6
- * ├── agents/ # Sub-agent definitions
7
- * └── hooks.json # Hooks configuration
8
- */
9
- import { type AgentTemplate } from "../template-utils.js";
10
- export type { AgentTemplate };
11
- export declare const getAllAgents: () => AgentTemplate[];
1
+ /** Main-session platform assets and native context entry points. */
12
2
  export declare const getHooksConfig: () => string;
13
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/cursor/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAwB,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAChF,YAAY,EAAE,aAAa,EAAE,CAAC;AAI9B,eAAO,MAAM,YAAY,QAAO,aAAa,EAAoB,CAAC;AAClE,eAAO,MAAM,cAAc,QAAO,MAAiC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/cursor/index.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAKpE,eAAO,MAAM,cAAc,QAAO,MAAiC,CAAC"}
@@ -1,13 +1,5 @@
1
- /**
2
- * Cursor templates
3
- *
4
- * Directory structure:
5
- * cursor/
6
- * ├── agents/ # Sub-agent definitions
7
- * └── hooks.json # Hooks configuration
8
- */
1
+ /** Main-session platform assets and native context entry points. */
9
2
  import { createTemplateReader } from "../template-utils.js";
10
- const { listMdAgents, getConfig } = createTemplateReader(import.meta.url);
11
- export const getAllAgents = () => listMdAgents();
3
+ const { getConfig } = createTemplateReader(import.meta.url);
12
4
  export const getHooksConfig = () => getConfig("hooks.json");
13
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/cursor/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,oBAAoB,EAAsB,MAAM,sBAAsB,CAAC;AAGhF,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,oBAAoB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAE1E,MAAM,CAAC,MAAM,YAAY,GAAG,GAAoB,EAAE,CAAC,YAAY,EAAE,CAAC;AAClE,MAAM,CAAC,MAAM,cAAc,GAAG,GAAW,EAAE,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/cursor/index.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAEpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,EAAE,SAAS,EAAE,GAAG,oBAAoB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC5D,MAAM,CAAC,MAAM,cAAc,GAAG,GAAW,EAAE,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC"}
@@ -8,8 +8,7 @@
8
8
  * ├── droids/ # Multi-agent pipeline droids (agents)
9
9
  * └── settings.json # Settings configuration
10
10
  */
11
- import { type AgentTemplate, type HookTemplate } from "../template-utils.js";
12
- export type { AgentTemplate, HookTemplate };
13
- export declare const getAllDroids: () => AgentTemplate[];
11
+ import { type HookTemplate } from "../template-utils.js";
12
+ export type { HookTemplate };
14
13
  export declare const getSettingsTemplate: () => HookTemplate;
15
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/droid/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,YAAY,EAClB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,CAAC;AAI5C,eAAO,MAAM,YAAY,QAAO,aAAa,EAA4B,CAAC;AAC1E,eAAO,MAAM,mBAAmB,QAAO,YAA6B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/droid/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAwB,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAC/E,YAAY,EAAE,YAAY,EAAE,CAAC;AAG7B,eAAO,MAAM,mBAAmB,QAAO,YAA6B,CAAC"}
@@ -8,8 +8,7 @@
8
8
  * ├── droids/ # Multi-agent pipeline droids (agents)
9
9
  * └── settings.json # Settings configuration
10
10
  */
11
- import { createTemplateReader, } from "../template-utils.js";
12
- const { listMdAgents, getSettings } = createTemplateReader(import.meta.url);
13
- export const getAllDroids = () => listMdAgents("droids");
11
+ import { createTemplateReader } from "../template-utils.js";
12
+ const { getSettings } = createTemplateReader(import.meta.url);
14
13
  export const getSettingsTemplate = () => getSettings();
15
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/droid/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EACL,oBAAoB,GAGrB,MAAM,sBAAsB,CAAC;AAG9B,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,GAAG,oBAAoB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAE5E,MAAM,CAAC,MAAM,YAAY,GAAG,GAAoB,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;AAC1E,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAiB,EAAE,CAAC,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/droid/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,oBAAoB,EAAqB,MAAM,sBAAsB,CAAC;AAG/E,MAAM,EAAE,WAAW,EAAE,GAAG,oBAAoB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC9D,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAiB,EAAE,CAAC,WAAW,EAAE,CAAC"}
@@ -33,16 +33,6 @@
33
33
  }
34
34
  ],
35
35
  "PreToolUse": [
36
- {
37
- "matcher": "Task",
38
- "hooks": [
39
- {
40
- "type": "command",
41
- "command": "{{PYTHON_CMD}} .factory/hooks/inject-subagent-context.py",
42
- "timeout": 30
43
- }
44
- ]
45
- },
46
36
  {
47
37
  "matcher": "Execute|Bash",
48
38
  "hooks": [
@@ -1,17 +1,6 @@
1
1
  # Trellis on DeepSeek Harness (dsh)
2
2
 
3
- dsh is a **class-2 pull-based** Trellis host. It discovers Trellis skills from
4
- the project, uses native continuable sub-agents for isolated implementation and
5
- review roles, and exposes a stable `DSH_SESSION_ID` to every managed shell.
6
-
7
- | Capability | Without companion plugin | With `dsh-trellis` |
8
- | --- | --- | --- |
9
- | Shared and entry skills | Works | Works |
10
- | Session-scoped active task | Works through verified `DSH_SHELL=1` + `DSH_SESSION_ID`, including nested launches | Managed per-execution identity can forward a distinct child session |
11
- | Implement/check/research roles | Foreground native sub-agent | Background native sub-agent |
12
- | Per-turn workflow breadcrumb | Not available | Injected from `workflow.md` |
13
- | Event-driven child wait | Not available | `trellis_wait` |
14
- | Utility commands | Not available | `/trellis-status`, `/trellis-finish` |
3
+ dsh discovers project Skills and exposes a stable `DSH_SESSION_ID` to managed shells. The optional companion plugin supplies main-session breadcrumbs; Trellis does not install that plugin.
15
4
 
16
5
  ## Quick start
17
6
 
@@ -24,26 +13,10 @@ In dsh:
24
13
 
25
14
  1. Describe the work in natural language and load `trellis-start` when a
26
15
  session needs explicit Trellis bootstrap.
27
- 2. The main session dispatches `trellis-agent-research`,
28
- `trellis-agent-implement`, and `trellis-agent-check` through DSH's native
29
- `subagent` tool. Each child loads exactly one matching role skill.
16
+ 2. Follow the current task phase and authorized contract. Collaboration uses `trellis teamwork` or `paseo-based-parallelism`.
30
17
  3. Use Delivery Review and On-Site Closeout Phase to review and close the task. `trellis-finish-work` records
31
18
  session progress separately and does not change task lifecycle state.
32
19
 
33
- ## Companion plugin fallback contract
34
-
35
- The Trellis adapter does not install a DSH profile plugin. Before dispatching a
36
- role, check whether the `trellis_wait` tool is available:
37
-
38
- - If available, use DSH's default continuable background mode, continue
39
- independent work, then call `trellis_wait` once per dependent child id and
40
- consume each native settlement notice before entering the dependent gate.
41
- - If unavailable, dispatch every child with `run_in_background: false` from the outset
42
- so the dependent workflow gate cannot overtake it.
43
-
44
- Never replace either path with shell sleep, polling loops, `job_output`, or
45
- repeated agent-list polling.
46
-
47
20
  ## Nested host sessions
48
21
 
49
22
  DSH inherits ordinary environment variables from the process that launches it.
@@ -62,8 +35,6 @@ from the shell's own session id.
62
35
  the other Agent Skills writers.
63
36
  - `.dsh/skills/trellis-{start,continue,finish-work}/` — DSH-private entry
64
37
  skills.
65
- - `.dsh/skills/trellis-agent-{research,implement,check}/` — child-only role
66
- skills; implement/check include the pull-based task context prelude.
67
38
  - `.dsh/DSH.md` — this operator guide.
68
39
  - `.trellis/` — workflow, specs, tasks, workspace journal, and shared scripts.
69
40
 
@@ -71,8 +42,6 @@ from the shell's own session id.
71
42
 
72
43
  - Generated Python commands use `python3` in source templates and are rendered
73
44
  to the detected Windows launcher during `trellis init` / `trellis update`.
74
- - Role dispatch prompts start with `Active task: <task path>`. This exact task
75
- path is the child's primary context source; children must not guess globally.
76
45
  - Each `dsh --profile headless` invocation creates a fresh DSH session. Do not
77
46
  expect an active-task pointer to persist across separate headless calls; keep
78
47
  the workflow in one session or explicitly resume its returned session id.
@@ -1,22 +1,4 @@
1
- /**
2
- * DeepSeek Harness (dsh) template module.
3
- *
4
- * dsh is a class-2 pull-based platform:
5
- * - Workflow/bundled skills go to the shared `.agents/skills/` root via the
6
- * neutral resolver (byte-identical to Codex/Gemini/Pi/Kimi writes).
7
- * - User-invocable entry points (`trellis-start` / `trellis-continue` /
8
- * `trellis-finish-work`) and Trellis role prompts live under
9
- * `.dsh/skills/trellis-agent-<role>/SKILL.md`.
10
- * - Operator guide `.dsh/DSH.md`.
11
- *
12
- * dsh has no project-level hooks/settings file Trellis may write and no
13
- * declarative custom sub-agent definitions, so the Trellis agent prompts ship
14
- * as skills; the main session dispatches them through the `subagent` tool and
15
- * trellis-agent-implement / trellis-agent-check get the pull-based prelude.
16
- */
17
- import { type AgentTemplate } from "../template-utils.js";
18
- /** Source role prompts; the configurator installs collision-free DSH skills. */
19
- export declare function getAllAgents(): AgentTemplate[];
1
+ /** Main-session platform assets and native context entry points. */
20
2
  /** Operator guide copied to `.dsh/DSH.md`. */
21
3
  export declare function getDshGuide(): string;
22
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/dsh/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAwB,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAIhF,gFAAgF;AAChF,wBAAgB,YAAY,IAAI,aAAa,EAAE,CAE9C;AAED,8CAA8C;AAC9C,wBAAgB,WAAW,IAAI,MAAM,CAEpC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/dsh/index.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAMpE,8CAA8C;AAC9C,wBAAgB,WAAW,IAAI,MAAM,CAEpC"}
@@ -1,25 +1,6 @@
1
- /**
2
- * DeepSeek Harness (dsh) template module.
3
- *
4
- * dsh is a class-2 pull-based platform:
5
- * - Workflow/bundled skills go to the shared `.agents/skills/` root via the
6
- * neutral resolver (byte-identical to Codex/Gemini/Pi/Kimi writes).
7
- * - User-invocable entry points (`trellis-start` / `trellis-continue` /
8
- * `trellis-finish-work`) and Trellis role prompts live under
9
- * `.dsh/skills/trellis-agent-<role>/SKILL.md`.
10
- * - Operator guide `.dsh/DSH.md`.
11
- *
12
- * dsh has no project-level hooks/settings file Trellis may write and no
13
- * declarative custom sub-agent definitions, so the Trellis agent prompts ship
14
- * as skills; the main session dispatches them through the `subagent` tool and
15
- * trellis-agent-implement / trellis-agent-check get the pull-based prelude.
16
- */
1
+ /** Main-session platform assets and native context entry points. */
17
2
  import { createTemplateReader } from "../template-utils.js";
18
- const { listMdAgents, readTemplate } = createTemplateReader(import.meta.url);
19
- /** Source role prompts; the configurator installs collision-free DSH skills. */
20
- export function getAllAgents() {
21
- return listMdAgents();
22
- }
3
+ const { readTemplate } = createTemplateReader(import.meta.url);
23
4
  /** Operator guide copied to `.dsh/DSH.md`. */
24
5
  export function getDshGuide() {
25
6
  return readTemplate("DSH.md");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/dsh/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,oBAAoB,EAAsB,MAAM,sBAAsB,CAAC;AAEhF,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,GAAG,oBAAoB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAE7E,gFAAgF;AAChF,MAAM,UAAU,YAAY;IAC1B,OAAO,YAAY,EAAE,CAAC;AACxB,CAAC;AAED,8CAA8C;AAC9C,MAAM,UAAU,WAAW;IACzB,OAAO,YAAY,CAAC,QAAQ,CAAC,CAAC;AAChC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/dsh/index.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAEpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,EAAE,YAAY,EAAE,GAAG,oBAAoB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAE/D,8CAA8C;AAC9C,MAAM,UAAU,WAAW;IACzB,OAAO,YAAY,CAAC,QAAQ,CAAC,CAAC;AAChC,CAAC"}
@@ -1,13 +1,3 @@
1
- /**
2
- * Gemini CLI templates
3
- *
4
- * Directory structure:
5
- * gemini/
6
- * ├── agents/ # Sub-agent definitions
7
- * └── settings.json # Settings configuration
8
- */
9
- import { type AgentTemplate } from "../template-utils.js";
10
- export type { AgentTemplate };
11
- export declare const getAllAgents: () => AgentTemplate[];
1
+ /** Main-session platform assets and native context entry points. */
12
2
  export declare const getSettingsTemplate: () => string;
13
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/gemini/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAwB,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAChF,YAAY,EAAE,aAAa,EAAE,CAAC;AAI9B,eAAO,MAAM,YAAY,QAAO,aAAa,EAAoB,CAAC;AAClE,eAAO,MAAM,mBAAmB,QAAO,MAAoC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/gemini/index.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAKpE,eAAO,MAAM,mBAAmB,QAAO,MAAoC,CAAC"}
@@ -1,13 +1,5 @@
1
- /**
2
- * Gemini CLI templates
3
- *
4
- * Directory structure:
5
- * gemini/
6
- * ├── agents/ # Sub-agent definitions
7
- * └── settings.json # Settings configuration
8
- */
1
+ /** Main-session platform assets and native context entry points. */
9
2
  import { createTemplateReader } from "../template-utils.js";
10
- const { listMdAgents, getConfig } = createTemplateReader(import.meta.url);
11
- export const getAllAgents = () => listMdAgents();
3
+ const { getConfig } = createTemplateReader(import.meta.url);
12
4
  export const getSettingsTemplate = () => getConfig("settings.json");
13
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/gemini/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,oBAAoB,EAAsB,MAAM,sBAAsB,CAAC;AAGhF,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,oBAAoB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAE1E,MAAM,CAAC,MAAM,YAAY,GAAG,GAAoB,EAAE,CAAC,YAAY,EAAE,CAAC;AAClE,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAW,EAAE,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/gemini/index.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAEpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,EAAE,SAAS,EAAE,GAAG,oBAAoB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC5D,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAW,EAAE,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "trellis",
3
3
  "description": "Trellis workflow main agent. Follows the current task route and matching Skills, or uses the taskless route when eligible.",
4
- "prompt": "# Trellis Workflow Agent\n\nYou are the main session agent for a project that uses the Trellis workflow.\n\n## On Every Turn\n\nA `userPromptSubmit` hook injects a `<workflow-state>` breadcrumb each turn with the active task and its current phase. An `agentSpawn` hook injects a `<session-context>` overview when this agent starts. Use these to orient yourself; resolve missing or stale state through Trellis CLI.\n\n## How to Work\n\n1. Follow `.trellis/workflow.md` and the matching phase Skill. The workflow and its task route define the business phase; task lifecycle status and artifact presence do not.\n2. If the breadcrumb is missing or stale, inspect the active task with `python3 ./.trellis/scripts/task.py current --json` and `python3 ./.trellis/scripts/task.py phase show <task>`.\n3. With no active task, use the taskless route only when `.trellis/workflow.md` permits it; otherwise create the task and establish its baseline through Goal Exploration and Requirements Confirmation Phase.\n4. The Goal Exploration and Requirements Confirmation Phase requires the user's confirmation of the current requirements revision. Before Task Implementation and Test Verification Phase, both an accepted `implementation_contract` from Solution Design and Convergence Phase and separate implementation authorization are required. Delivery Review and On-Site Closeout Phase governs delivery acceptance, task completion, and cancellation.\n5. Use task artifacts and context manifests as required by the current route and any dispatched agent; do not require a fixed set of planning documents based only on task complexity.\n6. Verify with project checks appropriate to the changes before reporting completion.\n\n## Constraints\n\n- Do NOT run `git commit` / `git push` / `git merge` unless the user explicitly asks.\n- Keep changes scoped to the request.\n- Discover guidelines on demand: `python3 ./.trellis/scripts/get_context.py --mode packages`.\n",
4
+ "prompt": "# Trellis Workflow Agent\n\nYou are the main session agent for a project that uses the Trellis workflow.\n\n## On Every Turn\n\nA `userPromptSubmit` hook injects a `<workflow-state>` breadcrumb each turn with the active task and its current phase. An `agentSpawn` hook injects a `<session-context>` overview when this agent starts. Use these to orient yourself; resolve missing or stale state through Trellis CLI.\n\n## How to Work\n\n1. Follow `.trellis/workflow.md` and the matching phase Skill. The workflow and its task route define the business phase; task lifecycle status and artifact presence do not.\n2. If the breadcrumb is missing or stale, inspect the active task with `python3 ./.trellis/scripts/task.py current --json` and `python3 ./.trellis/scripts/task.py phase show <task>`.\n3. With no active task, classify the request against the taskless contract first. If taskless is eligible, process and verify it directly. If you infer that a task is needed and the user did not explicitly request one, explain the gap, proposed owner/scope/route, and risk, then ask before running task.py create. An explicit request to create or resume a task authorizes that lifecycle action only; establish its baseline through Goal Exploration and Requirements Confirmation Phase.\n4. The Goal Exploration and Requirements Confirmation Phase requires the user's confirmation of the current requirements revision. Before Task Implementation and Test Verification Phase, both an accepted `implementation_contract` from Solution Design and Convergence Phase and separate implementation authorization are required. Delivery Review and On-Site Closeout Phase governs delivery acceptance, task completion, and cancellation.\n5. Use task artifacts and context manifests as required by the current route and any dispatched agent; do not require a fixed set of planning documents based only on task complexity.\n6. Verify with project checks appropriate to the changes before reporting completion.\n\n## Constraints\n\n- Do NOT run `git commit` / `git push` / `git merge` unless the user explicitly asks.\n- Keep changes scoped to the request.\n- Discover guidelines on demand: `python3 ./.trellis/scripts/get_context.py --mode packages`.\n",
5
5
  "tools": [
6
6
  "read",
7
7
  "write",
@@ -1,16 +1,4 @@
1
- /**
2
- * Kiro templates
3
- *
4
- * Kiro uses pure JSON agent definitions, not Markdown.
5
- * CLI agents embed hooks in their JSON (`hooks.agentSpawn`,
6
- * `hooks.userPromptSubmit`); the IDE surface reads standalone `.kiro.hook`
7
- * JSON files (`when`/`then` schema).
8
- *
9
- * Directory structure:
10
- * kiro/
11
- * ├── agents/ # Agent definitions (JSON) — main `trellis` + 3 sub-agents
12
- * └── hooks/ # IDE `.kiro.hook` definitions (JSON)
13
- */
1
+ /** Main-session platform assets and native context entry points. */
14
2
  import { type AgentTemplate } from "../template-utils.js";
15
3
  export type { AgentTemplate };
16
4
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/kiro/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAwB,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAChF,YAAY,EAAE,aAAa,EAAE,CAAC;AAM9B;;;GAGG;AACH,eAAO,MAAM,YAAY,QAAO,aAAa,EAAsB,CAAC;AAEpE,MAAM,WAAW,eAAe;IAC9B,yDAAyD;IACzD,IAAI,EAAE,MAAM,CAAC;IACb,6DAA6D;IAC7D,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,QAAO,eAAe,EAGqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/kiro/index.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAEpE,OAAO,EAAwB,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAChF,YAAY,EAAE,aAAa,EAAE,CAAC;AAM9B;;;GAGG;AACH,eAAO,MAAM,YAAY,QAAO,aAAa,EAAsB,CAAC;AAEpE,MAAM,WAAW,eAAe;IAC9B,yDAAyD;IACzD,IAAI,EAAE,MAAM,CAAC;IACb,6DAA6D;IAC7D,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,QAAO,eAAe,EAGqB,CAAC"}
@@ -1,16 +1,4 @@
1
- /**
2
- * Kiro templates
3
- *
4
- * Kiro uses pure JSON agent definitions, not Markdown.
5
- * CLI agents embed hooks in their JSON (`hooks.agentSpawn`,
6
- * `hooks.userPromptSubmit`); the IDE surface reads standalone `.kiro.hook`
7
- * JSON files (`when`/`then` schema).
8
- *
9
- * Directory structure:
10
- * kiro/
11
- * ├── agents/ # Agent definitions (JSON) — main `trellis` + 3 sub-agents
12
- * └── hooks/ # IDE `.kiro.hook` definitions (JSON)
13
- */
1
+ /** Main-session platform assets and native context entry points. */
14
2
  import { createTemplateReader } from "../template-utils.js";
15
3
  const { listFiles, readTemplate, listJsonAgents } = createTemplateReader(import.meta.url);
16
4
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/kiro/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,oBAAoB,EAAsB,MAAM,sBAAsB,CAAC;AAGhF,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,cAAc,EAAE,GAAG,oBAAoB,CACtE,MAAM,CAAC,IAAI,CAAC,GAAG,CAChB,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,GAAoB,EAAE,CAAC,cAAc,EAAE,CAAC;AASpE;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,GAAsB,EAAE,CACjD,SAAS,CAAC,OAAO,CAAC;KACf,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;KACvC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,YAAY,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/kiro/index.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAEpE,OAAO,EAAE,oBAAoB,EAAsB,MAAM,sBAAsB,CAAC;AAGhF,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,cAAc,EAAE,GAAG,oBAAoB,CACtE,MAAM,CAAC,IAAI,CAAC,GAAG,CAChB,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,GAAoB,EAAE,CAAC,cAAc,EAAE,CAAC;AASpE;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,GAAsB,EAAE,CACjD,SAAS,CAAC,OAAO,CAAC;KACf,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;KACvC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,YAAY,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC"}
@@ -3,6 +3,15 @@
3
3
 
4
4
  These instructions are for AI assistants working in this project.
5
5
 
6
+ For a new session use `trellis-start`; for existing work use `trellis-continue`
7
+ and resume the known unfinished action. Read `.trellis/workflow.md` for the
8
+ native route and ownership rules. Task CLI owns task and phase state; specs
9
+ describe engineering conventions, not implementation authorization.
10
+
11
+ Without hook context, run `python3 ./.trellis/scripts/get_context.py --mode phase`
12
+ and `python3 ./.trellis/scripts/task.py phase show <task>`, then explicitly read
13
+ the applicable spec indexes and their referenced guidelines.
14
+
6
15
  This project is managed by Trellis. The working knowledge you need lives under `.trellis/`:
7
16
 
8
17
  - `.trellis/workflow.md` — development phases, when to create tasks, skill routing
@@ -12,9 +21,12 @@ This project is managed by Trellis. The working knowledge you need lives under `
12
21
 
13
22
  If a Trellis command is available on your platform (e.g. `/trellis:finish-work`, `/trellis:continue`), prefer it over manual steps. Not every platform exposes every command.
14
23
 
15
- If you're using Codex or another agent-capable tool, additional project-scoped helpers may live in:
16
- - `.agents/skills/` — reusable Trellis skills
17
- - `.codex/agents/` — optional custom subagents
24
+ Project-scoped helpers use these native owners:
25
+ - `.agents/skills/` — reusable Trellis methods
26
+ - `.trellis/agents/` — Teamwork role cards and Paseo node methods
27
+
28
+ The main session owns task decisions and integration. Collaboration uses
29
+ `trellis teamwork` or `paseo-based-parallelism` under the authorized contract.
18
30
 
19
31
  Managed by Trellis. Edits outside this block are preserved; edits inside may be overwritten by a future `trellis update`.
20
32
 
@@ -8,6 +8,7 @@ export declare const agentsMdContent: string;
8
8
  export declare const workspaceIndexContent: string;
9
9
  export declare const agentProgressIndexContent: string;
10
10
  export declare const workflowGitignoreContent: string;
11
+ export declare const specIndexContent: string;
11
12
  export declare const backendIndexContent: string;
12
13
  export declare const backendDirectoryStructureContent: string;
13
14
  export declare const backendDatabaseGuidelinesContent: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/markdown/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAqBH,eAAO,MAAM,eAAe,EAAE,MAAuC,CAAC;AAGtE,eAAO,MAAM,qBAAqB,EAAE,MACK,CAAC;AAG1C,eAAO,MAAM,yBAAyB,QAAwB,CAAC;AAG/D,eAAO,MAAM,wBAAwB,EAAE,MACH,CAAC;AAQrC,eAAO,MAAM,mBAAmB,EAAE,MAEjC,CAAC;AACF,eAAO,MAAM,gCAAgC,EAAE,MAE9C,CAAC;AACF,eAAO,MAAM,gCAAgC,EAAE,MAE9C,CAAC;AACF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AAE,MAE/C,CAAC;AACF,eAAO,MAAM,yBAAyB,EAAE,MAEvC,CAAC;AACF,eAAO,MAAM,6BAA6B,EAAE,MAE3C,CAAC;AACF,eAAO,MAAM,kCAAkC,EAAE,MAEhD,CAAC;AACF,eAAO,MAAM,gCAAgC,EAAE,MAE9C,CAAC;AACF,eAAO,MAAM,8BAA8B,EAAE,MAE5C,CAAC;AAGF,eAAO,MAAM,kBAAkB,EAAE,MAEhC,CAAC;AACF,eAAO,MAAM,oCAAoC,EAAE,MAElD,CAAC;AACF,eAAO,MAAM,mCAAmC,EAAE,MAEjD,CAAC"}
@@ -31,6 +31,7 @@ export const workflowGitignoreContent = readLocalTemplate("gitignore.txt");
31
31
  // These are NOT dogfooded - they are generic templates for new projects
32
32
  // =============================================================================
33
33
  // Backend structure (multi-doc format)
34
+ export const specIndexContent = readLocalTemplate("spec/index.md.txt");
34
35
  export const backendIndexContent = readLocalTemplate("spec/backend/index.md.txt");
35
36
  export const backendDirectoryStructureContent = readLocalTemplate("spec/backend/directory-structure.md.txt");
36
37
  export const backendDatabaseGuidelinesContent = readLocalTemplate("spec/backend/database-guidelines.md.txt");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/markdown/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAEtC;;GAEG;AACH,SAAS,iBAAiB,CAAC,QAAgB;IACzC,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;IAC3C,OAAO,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,iBAAiB,CACrE,uCAAuC,CACxC,CAAC;AAEF,mBAAmB;AACnB,MAAM,CAAC,MAAM,kBAAkB,GAAW,iBAAiB,CACzD,0BAA0B,CAC3B,CAAC;AACF,MAAM,CAAC,MAAM,oCAAoC,GAAW,iBAAiB,CAC3E,+CAA+C,CAChD,CAAC;AACF,MAAM,CAAC,MAAM,mCAAmC,GAAW,iBAAiB,CAC1E,8CAA8C,CAC/C,CAAC"}
@@ -0,0 +1,20 @@
1
+ # Project Development Guidelines
2
+
3
+ This index is the starting navigation for project engineering conventions;
4
+ its existence does not verify their content. Use `trellis-spec-bootstrap`
5
+ to establish or refresh relevant topics from source, tests and
6
+ existing project rules. No domain or layer is required by default.
7
+
8
+ ## Pre-Development Checklist
9
+
10
+ Read this index, the applicable package index (when configured), and the topic
11
+ guidelines for the code you will change. Read the shared `guides/index.md` at
12
+ the spec root when present. Follow existing layer indexes in projects that use them.
13
+
14
+ ## Quality Check
15
+
16
+ Review the change against the applicable guidelines and run the checks they
17
+ require. Record actual results and any unavailable verification.
18
+
19
+ Add links to real topic guidelines here as the project establishes them. For
20
+ an empty project, leave conventions pending until implementation supplies evidence.