@pennixrv/trellis 0.7.2-beta.11 → 0.7.2-beta.16

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 (307) hide show
  1. package/dist/commands/init.d.ts.map +1 -1
  2. package/dist/commands/init.js +11 -13
  3. package/dist/commands/init.js.map +1 -1
  4. package/dist/commands/teamwork/batch-reservation.d.ts.map +1 -1
  5. package/dist/commands/teamwork/batch-reservation.js +16 -8
  6. package/dist/commands/teamwork/batch-reservation.js.map +1 -1
  7. package/dist/commands/teamwork/batch.d.ts +1 -0
  8. package/dist/commands/teamwork/batch.d.ts.map +1 -1
  9. package/dist/commands/teamwork/batch.js +112 -1
  10. package/dist/commands/teamwork/batch.js.map +1 -1
  11. package/dist/commands/teamwork/coordinator.d.ts +3 -0
  12. package/dist/commands/teamwork/coordinator.d.ts.map +1 -1
  13. package/dist/commands/teamwork/coordinator.js +21 -3
  14. package/dist/commands/teamwork/coordinator.js.map +1 -1
  15. package/dist/commands/teamwork/foreground-wait.d.ts +4 -1
  16. package/dist/commands/teamwork/foreground-wait.d.ts.map +1 -1
  17. package/dist/commands/teamwork/foreground-wait.js +8 -1
  18. package/dist/commands/teamwork/foreground-wait.js.map +1 -1
  19. package/dist/commands/teamwork/index.d.ts.map +1 -1
  20. package/dist/commands/teamwork/index.js +1 -0
  21. package/dist/commands/teamwork/index.js.map +1 -1
  22. package/dist/commands/update.d.ts.map +1 -1
  23. package/dist/commands/update.js +23 -10
  24. package/dist/commands/update.js.map +1 -1
  25. package/dist/commands/workflow.d.ts.map +1 -1
  26. package/dist/commands/workflow.js +5 -7
  27. package/dist/commands/workflow.js.map +1 -1
  28. package/dist/configurators/codebuddy.d.ts +1 -8
  29. package/dist/configurators/codebuddy.d.ts.map +1 -1
  30. package/dist/configurators/codebuddy.js +2 -12
  31. package/dist/configurators/codebuddy.js.map +1 -1
  32. package/dist/configurators/codex.d.ts +0 -36
  33. package/dist/configurators/codex.d.ts.map +1 -1
  34. package/dist/configurators/codex.js +2 -99
  35. package/dist/configurators/codex.js.map +1 -1
  36. package/dist/configurators/copilot.d.ts +1 -12
  37. package/dist/configurators/copilot.d.ts.map +1 -1
  38. package/dist/configurators/copilot.js +2 -20
  39. package/dist/configurators/copilot.js.map +1 -1
  40. package/dist/configurators/cursor.d.ts +1 -8
  41. package/dist/configurators/cursor.d.ts.map +1 -1
  42. package/dist/configurators/cursor.js +2 -12
  43. package/dist/configurators/cursor.js.map +1 -1
  44. package/dist/configurators/droid.d.ts +1 -8
  45. package/dist/configurators/droid.d.ts.map +1 -1
  46. package/dist/configurators/droid.js +2 -12
  47. package/dist/configurators/droid.js.map +1 -1
  48. package/dist/configurators/dsh.d.ts +1 -21
  49. package/dist/configurators/dsh.d.ts.map +1 -1
  50. package/dist/configurators/dsh.js +4 -37
  51. package/dist/configurators/dsh.js.map +1 -1
  52. package/dist/configurators/gemini.d.ts +1 -16
  53. package/dist/configurators/gemini.d.ts.map +1 -1
  54. package/dist/configurators/gemini.js +3 -21
  55. package/dist/configurators/gemini.js.map +1 -1
  56. package/dist/configurators/grok.d.ts +1 -12
  57. package/dist/configurators/grok.d.ts.map +1 -1
  58. package/dist/configurators/grok.js +2 -18
  59. package/dist/configurators/grok.js.map +1 -1
  60. package/dist/configurators/kimi.d.ts +1 -21
  61. package/dist/configurators/kimi.d.ts.map +1 -1
  62. package/dist/configurators/kimi.js +2 -38
  63. package/dist/configurators/kimi.js.map +1 -1
  64. package/dist/configurators/kiro.d.ts +1 -9
  65. package/dist/configurators/kiro.d.ts.map +1 -1
  66. package/dist/configurators/kiro.js +1 -9
  67. package/dist/configurators/kiro.js.map +1 -1
  68. package/dist/configurators/omp.d.ts.map +1 -1
  69. package/dist/configurators/omp.js +1 -5
  70. package/dist/configurators/omp.js.map +1 -1
  71. package/dist/configurators/pi.d.ts.map +1 -1
  72. package/dist/configurators/pi.js +2 -5
  73. package/dist/configurators/pi.js.map +1 -1
  74. package/dist/configurators/qoder.d.ts +1 -10
  75. package/dist/configurators/qoder.d.ts.map +1 -1
  76. package/dist/configurators/qoder.js +3 -15
  77. package/dist/configurators/qoder.js.map +1 -1
  78. package/dist/configurators/reasonix.d.ts +1 -12
  79. package/dist/configurators/reasonix.d.ts.map +1 -1
  80. package/dist/configurators/reasonix.js +3 -22
  81. package/dist/configurators/reasonix.js.map +1 -1
  82. package/dist/configurators/shared.d.ts +1 -24
  83. package/dist/configurators/shared.d.ts.map +1 -1
  84. package/dist/configurators/shared.js +5 -184
  85. package/dist/configurators/shared.js.map +1 -1
  86. package/dist/configurators/snow.d.ts +1 -20
  87. package/dist/configurators/snow.d.ts.map +1 -1
  88. package/dist/configurators/snow.js +2 -25
  89. package/dist/configurators/snow.js.map +1 -1
  90. package/dist/configurators/trae.d.ts +1 -14
  91. package/dist/configurators/trae.d.ts.map +1 -1
  92. package/dist/configurators/trae.js +3 -19
  93. package/dist/configurators/trae.js.map +1 -1
  94. package/dist/configurators/zcode.d.ts +1 -13
  95. package/dist/configurators/zcode.d.ts.map +1 -1
  96. package/dist/configurators/zcode.js +2 -18
  97. package/dist/configurators/zcode.js.map +1 -1
  98. package/dist/migrations/manifests/0.5.0-beta.5.json +1 -212
  99. package/dist/migrations/manifests/0.7.2-beta.11.json +9 -0
  100. package/dist/migrations/manifests/0.7.2-beta.12.json +9 -0
  101. package/dist/migrations/manifests/0.7.2-beta.13.json +9 -0
  102. package/dist/migrations/manifests/0.7.2-beta.14.json +9 -0
  103. package/dist/migrations/manifests/0.7.2-beta.15.json +9 -0
  104. package/dist/migrations/manifests/0.7.2-beta.16.json +9 -0
  105. package/dist/migrations/retired-native-paths.d.ts +109 -0
  106. package/dist/migrations/retired-native-paths.d.ts.map +1 -0
  107. package/dist/migrations/retired-native-paths.js +263 -0
  108. package/dist/migrations/retired-native-paths.js.map +1 -0
  109. package/dist/templates/claude/index.d.ts +1 -16
  110. package/dist/templates/claude/index.d.ts.map +1 -1
  111. package/dist/templates/claude/index.js +5 -32
  112. package/dist/templates/claude/index.js.map +1 -1
  113. package/dist/templates/claude/settings.json +0 -22
  114. package/dist/templates/codebuddy/index.d.ts +2 -3
  115. package/dist/templates/codebuddy/index.d.ts.map +1 -1
  116. package/dist/templates/codebuddy/index.js +2 -3
  117. package/dist/templates/codebuddy/index.js.map +1 -1
  118. package/dist/templates/codebuddy/settings.json +0 -10
  119. package/dist/templates/codex/config.toml +2 -19
  120. package/dist/templates/codex/hooks/session-start.py +1 -1
  121. package/dist/templates/codex/hooks.json +0 -12
  122. package/dist/templates/codex/index.d.ts +0 -5
  123. package/dist/templates/codex/index.d.ts.map +1 -1
  124. package/dist/templates/codex/index.js +0 -13
  125. package/dist/templates/codex/index.js.map +1 -1
  126. package/dist/templates/common/bundled-skills/trellis-meta/SKILL.md +7 -7
  127. package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-agents.md +9 -51
  128. package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-context-loading.md +3 -15
  129. package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-hooks.md +1 -2
  130. package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/context-injection.md +4 -9
  131. package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/generated-files.md +2 -2
  132. package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/overview.md +1 -1
  133. package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/spec-system.md +1 -1
  134. package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/agents.md +9 -79
  135. package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/hooks-and-settings.md +2 -4
  136. package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/overview.md +3 -6
  137. package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/platform-map.md +24 -103
  138. package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/skills-and-commands.md +1 -1
  139. package/dist/templates/common/bundled-skills/trellis-session-insight/SKILL.md +1 -1
  140. package/dist/templates/common/bundled-skills/trellis-teamwork/SKILL.md +1 -1
  141. package/dist/templates/common/bundled-skills/trellis-teamwork/references/teammate-processes.md +21 -1
  142. package/dist/templates/common/bundled-skills/trellis-teamwork/references/teamwork-plan-construction.md +7 -0
  143. package/dist/templates/copilot/hooks/session-start.py +1 -1
  144. package/dist/templates/cursor/hooks.json +0 -7
  145. package/dist/templates/cursor/index.d.ts +1 -11
  146. package/dist/templates/cursor/index.d.ts.map +1 -1
  147. package/dist/templates/cursor/index.js +2 -10
  148. package/dist/templates/cursor/index.js.map +1 -1
  149. package/dist/templates/droid/index.d.ts +2 -3
  150. package/dist/templates/droid/index.d.ts.map +1 -1
  151. package/dist/templates/droid/index.js +2 -3
  152. package/dist/templates/droid/index.js.map +1 -1
  153. package/dist/templates/droid/settings.json +0 -10
  154. package/dist/templates/dsh/DSH.md +2 -33
  155. package/dist/templates/dsh/index.d.ts +1 -19
  156. package/dist/templates/dsh/index.d.ts.map +1 -1
  157. package/dist/templates/dsh/index.js +2 -21
  158. package/dist/templates/dsh/index.js.map +1 -1
  159. package/dist/templates/gemini/index.d.ts +1 -11
  160. package/dist/templates/gemini/index.d.ts.map +1 -1
  161. package/dist/templates/gemini/index.js +2 -10
  162. package/dist/templates/gemini/index.js.map +1 -1
  163. package/dist/templates/kiro/index.d.ts +1 -13
  164. package/dist/templates/kiro/index.d.ts.map +1 -1
  165. package/dist/templates/kiro/index.js +1 -13
  166. package/dist/templates/kiro/index.js.map +1 -1
  167. package/dist/templates/markdown/agents.md +6 -3
  168. package/dist/templates/omp/extensions/trellis/index.ts.txt +11 -51
  169. package/dist/templates/omp/index.d.ts +0 -2
  170. package/dist/templates/omp/index.d.ts.map +1 -1
  171. package/dist/templates/omp/index.js +1 -4
  172. package/dist/templates/omp/index.js.map +1 -1
  173. package/dist/templates/opencode/lib/trellis-context.js +12 -321
  174. package/dist/templates/opencode/plugins/inject-shell-session-context.js +93 -0
  175. package/dist/templates/opencode/plugins/inject-workflow-state.js +4 -10
  176. package/dist/templates/opencode/plugins/session-start.js +2 -6
  177. package/dist/templates/pi/extensions/trellis/index.ts.txt +8 -1432
  178. package/dist/templates/pi/index.d.ts +1 -2
  179. package/dist/templates/pi/index.d.ts.map +1 -1
  180. package/dist/templates/pi/index.js +2 -5
  181. package/dist/templates/pi/index.js.map +1 -1
  182. package/dist/templates/qoder/index.d.ts +2 -3
  183. package/dist/templates/qoder/index.d.ts.map +1 -1
  184. package/dist/templates/qoder/index.js +2 -3
  185. package/dist/templates/qoder/index.js.map +1 -1
  186. package/dist/templates/shared-hooks/guard-teamwork-wait.py +110 -12
  187. package/dist/templates/shared-hooks/index.d.ts +2 -56
  188. package/dist/templates/shared-hooks/index.d.ts.map +1 -1
  189. package/dist/templates/shared-hooks/index.js +3 -70
  190. package/dist/templates/shared-hooks/index.js.map +1 -1
  191. package/dist/templates/shared-hooks/inject-spec-context.py +6 -35
  192. package/dist/templates/shared-hooks/inject-workflow-state.py +3 -77
  193. package/dist/templates/shared-hooks/session-start.py +1 -1
  194. package/dist/templates/snow/SNOW.md +6 -18
  195. package/dist/templates/snow/hooks/write-trellis-context.py +51 -133
  196. package/dist/templates/snow/index.d.ts +2 -21
  197. package/dist/templates/snow/index.d.ts.map +1 -1
  198. package/dist/templates/snow/index.js +3 -24
  199. package/dist/templates/snow/index.js.map +1 -1
  200. package/dist/templates/template-utils.d.ts +1 -2
  201. package/dist/templates/template-utils.d.ts.map +1 -1
  202. package/dist/templates/template-utils.js +1 -11
  203. package/dist/templates/template-utils.js.map +1 -1
  204. package/dist/templates/trae/index.d.ts +2 -3
  205. package/dist/templates/trae/index.d.ts.map +1 -1
  206. package/dist/templates/trae/index.js +2 -3
  207. package/dist/templates/trae/index.js.map +1 -1
  208. package/dist/templates/trellis/config.yaml +7 -36
  209. package/dist/templates/trellis/scripts/common/config.py +1 -36
  210. package/dist/templates/trellis/scripts/common/git_context.py +3 -4
  211. package/dist/templates/trellis/scripts/common/task_context.py +3 -3
  212. package/dist/templates/trellis/scripts/common/task_store.py +1 -77
  213. package/dist/templates/trellis/scripts/common/workflow_phase.py +3 -36
  214. package/dist/templates/trellis/scripts/common/workflow_selection.py +12 -2
  215. package/dist/templates/trellis/scripts/task.py +2 -2
  216. package/dist/templates/trellis/workflow.md +1 -7
  217. package/dist/templates/zcode/config.json +0 -10
  218. package/dist/templates/zcode/index.d.ts +3 -22
  219. package/dist/templates/zcode/index.d.ts.map +1 -1
  220. package/dist/templates/zcode/index.js +3 -24
  221. package/dist/templates/zcode/index.js.map +1 -1
  222. package/dist/types/ai-tools.d.ts +0 -4
  223. package/dist/types/ai-tools.d.ts.map +1 -1
  224. package/dist/types/ai-tools.js +4 -109
  225. package/dist/types/ai-tools.js.map +1 -1
  226. package/dist/utils/ablation-store.d.ts.map +1 -1
  227. package/dist/utils/ablation-store.js +24 -0
  228. package/dist/utils/ablation-store.js.map +1 -1
  229. package/dist/utils/asset-backup.d.ts.map +1 -1
  230. package/dist/utils/asset-backup.js +3 -0
  231. package/dist/utils/asset-backup.js.map +1 -1
  232. package/dist/utils/retired-native-assets.d.ts +16 -0
  233. package/dist/utils/retired-native-assets.d.ts.map +1 -0
  234. package/dist/utils/retired-native-assets.js +234 -0
  235. package/dist/utils/retired-native-assets.js.map +1 -0
  236. package/dist/utils/uninstall-scrubbers.d.ts.map +1 -1
  237. package/dist/utils/uninstall-scrubbers.js +1 -1
  238. package/dist/utils/uninstall-scrubbers.js.map +1 -1
  239. package/package.json +2 -2
  240. package/dist/templates/claude/agents/trellis-check.md +0 -115
  241. package/dist/templates/claude/agents/trellis-implement.md +0 -110
  242. package/dist/templates/claude/agents/trellis-research.md +0 -137
  243. package/dist/templates/codebuddy/agents/trellis-check.md +0 -115
  244. package/dist/templates/codebuddy/agents/trellis-implement.md +0 -110
  245. package/dist/templates/codebuddy/agents/trellis-research.md +0 -137
  246. package/dist/templates/codex/agents/trellis-check.toml +0 -56
  247. package/dist/templates/codex/agents/trellis-implement.toml +0 -37
  248. package/dist/templates/codex/agents/trellis-research.toml +0 -78
  249. package/dist/templates/cursor/agents/trellis-check.md +0 -114
  250. package/dist/templates/cursor/agents/trellis-implement.md +0 -109
  251. package/dist/templates/cursor/agents/trellis-research.md +0 -136
  252. package/dist/templates/droid/droids/trellis-check.md +0 -107
  253. package/dist/templates/droid/droids/trellis-implement.md +0 -102
  254. package/dist/templates/droid/droids/trellis-research.md +0 -137
  255. package/dist/templates/dsh/agents/trellis-check.md +0 -99
  256. package/dist/templates/dsh/agents/trellis-implement.md +0 -106
  257. package/dist/templates/dsh/agents/trellis-research.md +0 -134
  258. package/dist/templates/gemini/agents/trellis-check.md +0 -107
  259. package/dist/templates/gemini/agents/trellis-implement.md +0 -102
  260. package/dist/templates/gemini/agents/trellis-research.md +0 -136
  261. package/dist/templates/grok/agents/trellis-check.md +0 -105
  262. package/dist/templates/grok/agents/trellis-implement.md +0 -116
  263. package/dist/templates/grok/agents/trellis-research.md +0 -146
  264. package/dist/templates/grok/index.d.ts +0 -16
  265. package/dist/templates/grok/index.d.ts.map +0 -1
  266. package/dist/templates/grok/index.js +0 -19
  267. package/dist/templates/grok/index.js.map +0 -1
  268. package/dist/templates/kimi/agents/trellis-check.md +0 -103
  269. package/dist/templates/kimi/agents/trellis-implement.md +0 -115
  270. package/dist/templates/kimi/agents/trellis-research.md +0 -144
  271. package/dist/templates/kimi/index.d.ts +0 -20
  272. package/dist/templates/kimi/index.d.ts.map +0 -1
  273. package/dist/templates/kimi/index.js +0 -23
  274. package/dist/templates/kimi/index.js.map +0 -1
  275. package/dist/templates/kiro/agents/trellis-check.json +0 -26
  276. package/dist/templates/kiro/agents/trellis-implement.json +0 -26
  277. package/dist/templates/kiro/agents/trellis-research.json +0 -30
  278. package/dist/templates/omp/agents/trellis-check.md +0 -41
  279. package/dist/templates/omp/agents/trellis-implement.md +0 -45
  280. package/dist/templates/omp/agents/trellis-research.md +0 -30
  281. package/dist/templates/opencode/agents/trellis-check.md +0 -122
  282. package/dist/templates/opencode/agents/trellis-implement.md +0 -118
  283. package/dist/templates/opencode/agents/trellis-research.md +0 -145
  284. package/dist/templates/opencode/plugins/inject-subagent-context.js +0 -569
  285. package/dist/templates/pi/agents/trellis-check.md +0 -37
  286. package/dist/templates/pi/agents/trellis-implement.md +0 -42
  287. package/dist/templates/pi/agents/trellis-research.md +0 -25
  288. package/dist/templates/qoder/agents/trellis-check.md +0 -108
  289. package/dist/templates/qoder/agents/trellis-implement.md +0 -103
  290. package/dist/templates/qoder/agents/trellis-research.md +0 -137
  291. package/dist/templates/reasonix/agents/trellis-check.md +0 -36
  292. package/dist/templates/reasonix/agents/trellis-implement.md +0 -41
  293. package/dist/templates/reasonix/index.d.ts +0 -13
  294. package/dist/templates/reasonix/index.d.ts.map +0 -1
  295. package/dist/templates/reasonix/index.js +0 -16
  296. package/dist/templates/reasonix/index.js.map +0 -1
  297. package/dist/templates/shared-hooks/inject-subagent-context.py +0 -1217
  298. package/dist/templates/snow/agents/trellis-check.md +0 -135
  299. package/dist/templates/snow/agents/trellis-implement.md +0 -153
  300. package/dist/templates/snow/agents/trellis-research.md +0 -114
  301. package/dist/templates/snow/hooks/beforeSubAgentStart.json +0 -15
  302. package/dist/templates/trae/agents/trellis-check.md +0 -108
  303. package/dist/templates/trae/agents/trellis-implement.md +0 -103
  304. package/dist/templates/trae/agents/trellis-research.md +0 -137
  305. package/dist/templates/zcode/agents/trellis-check.md +0 -109
  306. package/dist/templates/zcode/agents/trellis-implement.md +0 -111
  307. package/dist/templates/zcode/agents/trellis-research.md +0 -133
@@ -29,12 +29,11 @@ from .packages_context import (
29
29
  )
30
30
  from .paths import get_repo_root
31
31
  from .spec_match import match_specs_for_file
32
- from .trellis_config import read_trellis_config
33
32
  from .workflow_phase import (
34
33
  filter_platform,
35
34
  get_phase_index,
36
35
  get_step,
37
- resolve_effective_platform,
36
+ resolve_platform_label,
38
37
  )
39
38
 
40
39
  # Backward-compatible alias — external modules import this name
@@ -106,8 +105,8 @@ def main() -> None:
106
105
  else:
107
106
  parser.exit(2, "Phase Index section not found in workflow.md\n")
108
107
  if args.platform:
109
- effective = resolve_effective_platform(
110
- args.platform, read_trellis_config()
108
+ effective = resolve_platform_label(
109
+ args.platform
111
110
  )
112
111
  content = filter_platform(content, effective)
113
112
  print(content, end="")
@@ -10,7 +10,7 @@ Provides:
10
10
  Note:
11
11
  ``cmd_init_context`` was removed in v0.5.0-beta.12. JSONL context files
12
12
  are created empty at ``task.py create`` time; the AI agent curates real
13
- entries during planning when the task needs sub-agent/spec context. See
13
+ entries during planning when the task needs spec/research context. See
14
14
  ``.trellis/workflow.md`` for the current planning artifact contract.
15
15
 
16
16
  Older Trellis versions seeded those files with a ``{"_example": ...}``
@@ -35,7 +35,7 @@ from .task_utils import resolve_task_dir
35
35
  # Extensions that look like code rather than spec/research docs. Entries with
36
36
  # one of these extensions outside .trellis/spec/, docs/docs-site, or the
37
37
  # task's own directory get a hygiene warning in `task.py validate` — the
38
- # reader is a sub-agent, not a human, so code paths belong in the diff the
38
+ # reader is an AI session, so code paths belong in the diff the
39
39
  # agent reads itself, not in implement.jsonl / check.jsonl.
40
40
  _CODE_FILE_EXTENSIONS = {
41
41
  ".ts",
@@ -208,7 +208,7 @@ def _validate_jsonl(jsonl_file: Path, repo_root: Path, task_dir: Path | None = N
208
208
  non-blocking hygiene warnings (never counted in ``errors``, never change
209
209
  the exit code): entries that look like code files rather than
210
210
  spec/research docs, and entries whose file size exceeds the configured
211
- sub-agent context injection cap (``context_injection.max_file_bytes``).
211
+ main-session context injection cap (``context_injection.max_file_bytes``).
212
212
  """
213
213
  file_name = jsonl_file.name
214
214
  errors = 0
@@ -25,7 +25,6 @@ from datetime import datetime
25
25
  from pathlib import Path
26
26
 
27
27
  from .config import (
28
- get_codex_dispatch_mode,
29
28
  get_packages,
30
29
  is_monorepo,
31
30
  resolve_package,
@@ -195,52 +194,6 @@ def _task_identity_change_allowed(repo_root: Path, task_dir: Path, data: dict) -
195
194
  return True
196
195
 
197
196
 
198
- # Sub-agent platform detection + JSONL context files
199
- # =============================================================================
200
-
201
- # Config directories of platforms that consume implement.jsonl / check.jsonl.
202
- # Keep in sync with src/types/ai-tools.ts AI_TOOLS entries — these are the
203
- # platforms listed in workflow.md's "agent-capable" Skill Routing block.
204
- # Codex is checked separately because explicit inline mode does not consume
205
- # JSONL. Kilo / Antigravity / Devin are NOT in this list either: they load
206
- # specs through skills instead of JSONL.
207
- _SUBAGENT_CONFIG_DIRS: tuple[str, ...] = (
208
- ".claude",
209
- ".cursor",
210
- ".kiro",
211
- ".gemini",
212
- ".opencode",
213
- ".qoder",
214
- ".codebuddy",
215
- ".factory", # Factory Droid
216
- ".github/copilot",
217
- ".pi", # Pi Agent
218
- ".trae", # Trae IDE
219
- ".omp", # Oh My Pi
220
- ".zcode", # ZCode
221
- ".grok", # Grok Build
222
- ".kimi-code", # Kimi Code
223
- ".dsh", # DeepSeek Harness
224
- )
225
- _CODEX_CONFIG_DIR = ".codex"
226
-
227
-
228
- def _has_subagent_platform(repo_root: Path) -> bool:
229
- """Return True if any sub-agent-capable platform is configured.
230
-
231
- Detected by probing well-known config directories at the repo root. Codex
232
- counts by default through ``codex.dispatch_mode: auto`` (including the
233
- legacy ``sub-agent`` alias); explicit inline mode loads context through
234
- skills, not JSONL.
235
- """
236
- for config_dir in _SUBAGENT_CONFIG_DIRS:
237
- if (repo_root / config_dir).is_dir():
238
- return True
239
- if (repo_root / _CODEX_CONFIG_DIR).is_dir():
240
- return get_codex_dispatch_mode(repo_root) == "auto"
241
- return False
242
-
243
-
244
197
  def _parse_meta_pairs(pairs: list[str] | None) -> dict[str, str] | None:
245
198
  """Parse repeatable ``--meta key=value`` pairs into a dict.
246
199
 
@@ -580,21 +533,6 @@ def cmd_create(args: argparse.Namespace) -> int:
580
533
  encoding="utf-8",
581
534
  )
582
535
 
583
- # Create empty implement.jsonl / check.jsonl for sub-agent-capable
584
- # platforms. They stay empty until the agent curates real entries during
585
- # planning — a placeholder row would read as unresolved scaffolding to
586
- # `task.py validate` and to PR preflight, so the curation instructions go
587
- # to the console below instead of into the files. Agent-less platforms
588
- # (Kilo / Antigravity / Devin) skip this — they load specs via the
589
- # trellis-before-dev skill instead of JSONL.
590
- created_jsonl = False
591
- if _has_subagent_platform(repo_root):
592
- for jsonl_name in ("implement.jsonl", "check.jsonl"):
593
- jsonl_path = task_dir / jsonl_name
594
- if not jsonl_path.exists():
595
- jsonl_path.write_text("", encoding="utf-8")
596
- created_jsonl = True
597
-
598
536
  # Establish the bidirectional link. Both sides were validated above, so a
599
537
  # failure here is a write failure, not a bad argument.
600
538
  if parent_dir is not None and parent_data is not None:
@@ -691,21 +629,7 @@ def cmd_create(args: argparse.Namespace) -> int:
691
629
  print(" - Fill prd.md with requirements and acceptance criteria", file=sys.stderr)
692
630
  print(" - Lightweight task: PRD-only is valid", file=sys.stderr)
693
631
  print(" - Complex task: add design.md and implement.md before task.py start", file=sys.stderr)
694
- if created_jsonl:
695
- print(
696
- " - Curate implement.jsonl / check.jsonl (created empty) as spec/research "
697
- "manifests before task.py start when sub-agents need context:",
698
- file=sys.stderr,
699
- )
700
- print(
701
- ' one JSON object per line — {"file": "<path>", "reason": "<why>"}; '
702
- "spec/research docs only, no code paths",
703
- file=sys.stderr,
704
- )
705
- print(
706
- " list available specs: python3 .trellis/scripts/get_context.py --mode packages",
707
- file=sys.stderr,
708
- )
632
+ print(" - Add optional spec/research context with task.py add-context when needed", file=sys.stderr)
709
633
  print(" - Use /trellis:continue or phase context to decide the next step", file=sys.stderr)
710
634
  print("", file=sys.stderr)
711
635
 
@@ -162,42 +162,9 @@ _PLATFORM_MARKER_LABELS: dict[str, str] = {
162
162
  }
163
163
 
164
164
 
165
- def resolve_effective_platform(platform: str, config: dict) -> str:
166
- """Map ``codex`` to a dispatch-mode-namespaced virtual platform name.
167
-
168
- When ``--platform codex`` is passed, return ``"codex-sub-agent"`` by
169
- default or ``"codex-inline"`` when explicitly configured in
170
- ``.trellis/config.yaml``. ``sub-agent`` remains an alias for ``auto``.
171
- ``filter_platform`` then surfaces blocks whose marker lists include the
172
- namespaced name (e.g. ``[codex-sub-agent, ...]`` or ``[codex-inline, Kilo,
173
- Antigravity, Devin]``).
174
-
175
- Native Codex context injection supports the ``auto`` default. Invalid
176
- explicit values fall back to ``inline`` safely; this renderer deliberately
177
- does not warn because it can run in normal CLI output flows.
178
-
179
- Platforms whose marker label differs from their id resolve through
180
- ``_PLATFORM_MARKER_LABELS``. Everything else is returned unchanged.
181
- """
182
- label = _PLATFORM_MARKER_LABELS.get(platform.strip().lower())
183
- if label:
184
- return label
185
- if platform == "codex":
186
- mode = "auto"
187
- codex_cfg = config.get("codex") if isinstance(config, dict) else None
188
- if codex_cfg is not None:
189
- if not isinstance(codex_cfg, dict):
190
- mode = "inline"
191
- else:
192
- cfg_mode = str(codex_cfg.get("dispatch_mode", mode)).strip().lower()
193
- if cfg_mode == "inline":
194
- mode = "inline"
195
- elif cfg_mode in ("auto", "sub-agent"):
196
- mode = "auto"
197
- else:
198
- mode = "inline"
199
- return "codex-sub-agent" if mode == "auto" else "codex-inline"
200
- return platform
165
+ def resolve_platform_label(platform: str) -> str:
166
+ """Resolve a real host identifier to its workflow marker label."""
167
+ return _PLATFORM_MARKER_LABELS.get(platform.strip().lower(), platform)
201
168
 
202
169
 
203
170
  def filter_platform(content: str, platform: str) -> str:
@@ -44,7 +44,17 @@ WORKFLOW_ID_RE = re.compile(r"^[A-Za-z0-9_-]+$")
44
44
 
45
45
 
46
46
  def _global_workflow_md(repo_root: Path) -> Path:
47
- return repo_root / DIR_WORKFLOW / "workflow.md"
47
+ return _current_workflow(repo_root / DIR_WORKFLOW / "workflow.md")
48
+
49
+
50
+ def _current_workflow(candidate: Path) -> Path:
51
+ """Retired execution instructions may remain archived, but cannot be loaded."""
52
+ if candidate.is_file() and re.search(
53
+ r"planning-inline|in_progress-inline|<codex-mode>|已配置时可使用宿主原生 agent 路径",
54
+ candidate.read_text(encoding="utf-8"),
55
+ ):
56
+ raise ValueError(f"Retired native workflow cannot be activated: {candidate}")
57
+ return candidate
48
58
 
49
59
 
50
60
  def _library_variant(repo_root: Path, workflow_id: str | None) -> Path | None:
@@ -59,7 +69,7 @@ def _library_variant(repo_root: Path, workflow_id: str | None) -> Path | None:
59
69
  if not WORKFLOW_ID_RE.match(workflow_id):
60
70
  return None
61
71
  variant = repo_root / DIR_WORKFLOW / DIR_WORKFLOWS / f"{workflow_id}.md"
62
- return variant if variant.is_file() else None
72
+ return _current_workflow(variant) if variant.is_file() else None
63
73
 
64
74
 
65
75
  def _developer_workflow_id(repo_root: Path) -> str | None:
@@ -679,11 +679,11 @@ def main() -> int:
679
679
  file=sys.stderr,
680
680
  )
681
681
  print(
682
- "implement.jsonl / check.jsonl are now seeded on `task.py create` for",
682
+ "implement.jsonl / check.jsonl are optional; use `task.py add-context`",
683
683
  file=sys.stderr,
684
684
  )
685
685
  print(
686
- "sub-agent-capable platforms and curated by the AI during planning when needed.",
686
+ "to add explicitly selected spec/research context when needed.",
687
687
  file=sys.stderr,
688
688
  )
689
689
  print("See .trellis/workflow.md planning artifact guidance or run:", file=sys.stderr)
@@ -116,17 +116,11 @@ flowchart LR
116
116
  任务尚未初始化阶段路线。核对需求后,按适用性选择有序阶段,并为省略阶段记录理由和证据,再使用 `task.py phase init`。解决方案设计与收敛阶段的实施合同获接受且另行取得实施授权前,不得开始实施。
117
117
  [/workflow-state:planning]
118
118
 
119
- [workflow-state:planning-inline]
120
- 遵循 `planning` 的相同规划路线,并在主会话中工作。除非用户或任务合同有此要求,否则不要派发原生实施或检查 agent。
121
- [/workflow-state:planning-inline]
122
119
 
123
120
  [workflow-state:in_progress]
124
- 任务生命周期状态为 `in_progress`。读取下方当前阶段提示。任务实施与测试验证阶段按已接受合同和目标包适用规范推进,并运行与改动相称的验证。代码修改前或切换目标包时,可使用 `trellis-before-dev` 辅助定位规范;需要完整质量核验时,可使用 `trellis-check`。已配置时可使用宿主原生 agent 路径。实施变更不得超出授权范围。
121
+ 任务生命周期状态为 `in_progress`。读取下方当前阶段提示。任务实施与测试验证阶段按已接受合同和目标包适用规范推进,并运行与改动相称的验证。代码修改前或切换目标包时,可使用 `trellis-before-dev` 辅助定位规范;需要完整质量核验时,可使用 `trellis-check`。协作仅通过已授权的 trellis teamwork 或 paseo-based-parallelism;已有历史记录不授予派发权限。实施变更不得超出授权范围。
125
122
  [/workflow-state:in_progress]
126
123
 
127
- [workflow-state:in_progress-inline]
128
- 遵循 `in_progress` 的相同阶段路线,并在主会话中工作,运行与变更相称的检查。
129
- [/workflow-state:in_progress-inline]
130
124
 
131
125
  [workflow-state:goal_exploration_and_requirements]
132
126
  读取 `trellis-goal-exploration-and-requirements` 及其 `workflow.md`。用户明确确认当前需求资产 revision 前,不得离开目标探索与需求核对阶段。
@@ -26,16 +26,6 @@
26
26
  }
27
27
  ],
28
28
  "PreToolUse": [
29
- {
30
- "matcher": "Agent|Task",
31
- "hooks": [
32
- {
33
- "type": "command",
34
- "command": "{{PYTHON_CMD}} \"${ZCODE_PROJECT_DIR}/.zcode/hooks/inject-subagent-context.py\"",
35
- "timeout": 30
36
- }
37
- ]
38
- },
39
29
  {
40
30
  "matcher": "Bash",
41
31
  "hooks": [
@@ -1,25 +1,6 @@
1
- /**
2
- * ZCode template module.
3
- *
4
- * ZCode (智谱) is an agentic AI coding tool that supports multi-agent
5
- * collaboration. It stores agents as `.zcode/agents/<name>.md`
6
- * (Markdown with YAML frontmatter: name, description, color).
7
- *
8
- * trellis-implement and trellis-check use pull-based context injection.
9
- * trellis-research is intentionally standalone: it does not receive the
10
- * implement/check prelude, and persists findings under the active task's
11
- * research directory instead.
12
- *
13
- * ZCode 3.x supports a workspace hook config at `.zcode/config.json`
14
- * (SessionStart + UserPromptSubmit). Shared Python hook scripts are written
15
- * to `.zcode/hooks/` and registered via the config. The config schema is the
16
- * workspace form: `{ hooks: { enabled: true, events: { <Event>: [...] } } }`
17
- * — distinct from plugin `hooks.json` files (no `enabled`/`events` wrapper).
18
- */
19
- import { type AgentTemplate, type HookTemplate } from "../template-utils.js";
20
- export type { AgentTemplate, HookTemplate };
21
- /** Sub-agent definitions (trellis-implement, trellis-check, trellis-research). */
22
- export declare function getAllAgents(): AgentTemplate[];
1
+ /** Main-session platform assets and native context entry points. */
2
+ import { type HookTemplate } from "../template-utils.js";
3
+ export type { HookTemplate };
23
4
  /** Hook configuration written to `.zcode/config.json` (workspace config form). */
24
5
  export declare function getHooksConfig(): HookTemplate;
25
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/zcode/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,YAAY,EAClB,MAAM,sBAAsB,CAAC;AAE9B,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,CAAC;AAI5C,kFAAkF;AAClF,wBAAgB,YAAY,IAAI,aAAa,EAAE,CAE9C;AAED,kFAAkF;AAClF,wBAAgB,cAAc,IAAI,YAAY,CAE7C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/zcode/index.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAEpE,OAAO,EAAwB,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAE/E,YAAY,EAAE,YAAY,EAAE,CAAC;AAI7B,kFAAkF;AAClF,wBAAgB,cAAc,IAAI,YAAY,CAE7C"}
@@ -1,27 +1,6 @@
1
- /**
2
- * ZCode template module.
3
- *
4
- * ZCode (智谱) is an agentic AI coding tool that supports multi-agent
5
- * collaboration. It stores agents as `.zcode/agents/<name>.md`
6
- * (Markdown with YAML frontmatter: name, description, color).
7
- *
8
- * trellis-implement and trellis-check use pull-based context injection.
9
- * trellis-research is intentionally standalone: it does not receive the
10
- * implement/check prelude, and persists findings under the active task's
11
- * research directory instead.
12
- *
13
- * ZCode 3.x supports a workspace hook config at `.zcode/config.json`
14
- * (SessionStart + UserPromptSubmit). Shared Python hook scripts are written
15
- * to `.zcode/hooks/` and registered via the config. The config schema is the
16
- * workspace form: `{ hooks: { enabled: true, events: { <Event>: [...] } } }`
17
- * — distinct from plugin `hooks.json` files (no `enabled`/`events` wrapper).
18
- */
19
- import { createTemplateReader, } from "../template-utils.js";
20
- const { listMdAgents, getSettings } = createTemplateReader(import.meta.url);
21
- /** Sub-agent definitions (trellis-implement, trellis-check, trellis-research). */
22
- export function getAllAgents() {
23
- return listMdAgents();
24
- }
1
+ /** Main-session platform assets and native context entry points. */
2
+ import { createTemplateReader } from "../template-utils.js";
3
+ const { getSettings } = createTemplateReader(import.meta.url);
25
4
  /** Hook configuration written to `.zcode/config.json` (workspace config form). */
26
5
  export function getHooksConfig() {
27
6
  return getSettings("config.json");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/zcode/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EACL,oBAAoB,GAGrB,MAAM,sBAAsB,CAAC;AAI9B,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,GAAG,oBAAoB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAE5E,kFAAkF;AAClF,MAAM,UAAU,YAAY;IAC1B,OAAO,YAAY,EAAE,CAAC;AACxB,CAAC;AAED,kFAAkF;AAClF,MAAM,UAAU,cAAc;IAC5B,OAAO,WAAW,CAAC,aAAa,CAAC,CAAC;AACpC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/zcode/index.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAEpE,OAAO,EAAE,oBAAoB,EAAqB,MAAM,sBAAsB,CAAC;AAI/E,MAAM,EAAE,WAAW,EAAE,GAAG,oBAAoB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAE9D,kFAAkF;AAClF,MAAM,UAAU,cAAc;IAC5B,OAAO,WAAW,CAAC,aAAa,CAAC,CAAC;AACpC,CAAC"}
@@ -23,12 +23,8 @@ export type CliFlag = "claude" | "cursor" | "opencode" | "codex" | "kilo" | "kir
23
23
  export interface TemplateContext {
24
24
  /** Prefix for cross-referencing other commands/skills */
25
25
  cmdRefPrefix: "/trellis:" | "/trellis-" | "$" | "/" | "/skill trellis-" | "/skill:trellis-" | "trellis-";
26
- /** Description of AI executor actions shown in role tables */
27
- executorAI: "Bash scripts or Task calls" | "Bash scripts or tool calls" | "Bash scripts or Agent calls" | "Bash scripts or file reads";
28
26
  /** Label for user-invocable actions */
29
27
  userActionLabel: "Slash commands" | "Skills" | "Workflows" | "Prompts" | "Commands";
30
- /** Platform supports spawning sub-agents with isolated context */
31
- agentCapable: boolean;
32
28
  /** Platform has hook system (SessionStart, PreToolUse) */
33
29
  hasHooks: boolean;
34
30
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ai-tools.d.ts","sourceRoot":"","sources":["../../src/types/ai-tools.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AACH,MAAM,MAAM,MAAM,GACd,aAAa,GACb,QAAQ,GACR,UAAU,GACV,OAAO,GACP,MAAM,GACN,MAAM,GACN,QAAQ,GACR,aAAa,GACb,OAAO,GACP,OAAO,GACP,WAAW,GACX,SAAS,GACT,OAAO,GACP,KAAK,GACL,IAAI,GACJ,UAAU,GACV,OAAO,GACP,MAAM,GACN,KAAK,GACL,MAAM,GACN,MAAM,GACN,MAAM,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,WAAW,GACnB,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,OAAO,GACP,MAAM,GACN,MAAM,GACN,QAAQ,GACR,aAAa,GACb,OAAO,GACP,OAAO,GACP,WAAW,GACX,SAAS,GACT,OAAO,GACP,KAAK,GACL,IAAI,GACJ,UAAU,GACV,OAAO,GACP,MAAM,GACN,KAAK,GACL,MAAM,GACN,MAAM,GACN,MAAM,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,OAAO,GACf,QAAQ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AAE,MAAM,CAAC;KACxB,CAAC;IACF,sEAAsE;IACtE,eAAe,EAAE,eAAe,CAAC;CAClC;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAudjD,CAAC;AAEF;;GAEG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,CAExD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAUtD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,EAAE,CAE3D"}
1
+ {"version":3,"file":"ai-tools.d.ts","sourceRoot":"","sources":["../../src/types/ai-tools.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AACH,MAAM,MAAM,MAAM,GACd,aAAa,GACb,QAAQ,GACR,UAAU,GACV,OAAO,GACP,MAAM,GACN,MAAM,GACN,QAAQ,GACR,aAAa,GACb,OAAO,GACP,OAAO,GACP,WAAW,GACX,SAAS,GACT,OAAO,GACP,KAAK,GACL,IAAI,GACJ,UAAU,GACV,OAAO,GACP,MAAM,GACN,KAAK,GACL,MAAM,GACN,MAAM,GACN,MAAM,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,WAAW,GACnB,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,OAAO,GACP,MAAM,GACN,MAAM,GACN,QAAQ,GACR,aAAa,GACb,OAAO,GACP,OAAO,GACP,WAAW,GACX,SAAS,GACT,OAAO,GACP,KAAK,GACL,IAAI,GACJ,UAAU,GACV,OAAO,GACP,MAAM,GACN,KAAK,GACL,MAAM,GACN,MAAM,GACN,MAAM,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,OAAO,GACf,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,OAAO,GACP,MAAM,GACN,MAAM,GACN,QAAQ,GACR,aAAa,GACb,OAAO,GACP,O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