nitm-ai-dev-toolkit 4.0.0 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) hide show
  1. package/CHANGELOG.md +83 -1
  2. package/README.md +87 -11
  3. package/bin/cli.js +721 -84
  4. package/bin/factory-archive.js +71 -0
  5. package/bin/factory-prune.js +79 -0
  6. package/bin/factory-watch.js +509 -0
  7. package/package.json +1 -1
  8. package/src/monorepo/.agents/skills/factory/SKILL.md +643 -0
  9. package/src/monorepo/.claude/agents/admin-portal.agent.md +1 -1
  10. package/src/monorepo/.claude/agents/api-specialist.agent.md +1 -1
  11. package/src/monorepo/.claude/agents/backend-architect.agent.md +1 -1
  12. package/src/monorepo/.claude/agents/documenter.agent.md +1 -1
  13. package/src/monorepo/.claude/agents/factory-approver.agent.md +12 -0
  14. package/src/monorepo/.claude/agents/factory-builder.agent.md +12 -0
  15. package/src/monorepo/.claude/agents/factory-reviewer-code.agent.md +12 -0
  16. package/src/monorepo/.claude/agents/factory-reviewer-security.agent.md +12 -0
  17. package/src/monorepo/.claude/agents/factory-reviewer-ui.agent.md +12 -0
  18. package/src/monorepo/.claude/agents/factory-reviewer-ux.agent.md +12 -0
  19. package/src/monorepo/.claude/agents/factory-spec-writer.agent.md +12 -0
  20. package/src/monorepo/.claude/agents/feature-builder.agent.md +1 -1
  21. package/src/monorepo/.claude/agents/frontend-developer.agent.md +1 -1
  22. package/src/monorepo/.claude/agents/green.agent.md +1 -1
  23. package/src/monorepo/.claude/agents/implementer.agent.md +1 -1
  24. package/src/monorepo/.claude/agents/planner.agent.md +1 -1
  25. package/src/monorepo/.claude/agents/red.agent.md +1 -1
  26. package/src/monorepo/.claude/agents/refactor.agent.md +1 -1
  27. package/src/monorepo/.claude/agents/researcher.agent.md +1 -1
  28. package/src/monorepo/.claude/agents/reviewer.agent.md +1 -1
  29. package/src/monorepo/.claude/agents/tdd.agent.md +1 -1
  30. package/src/monorepo/.claude/agents-snippets/factory-approver.md +72 -0
  31. package/src/monorepo/.claude/agents-snippets/factory-builder.md +101 -0
  32. package/src/monorepo/.claude/agents-snippets/factory-reviewer-code.md +57 -0
  33. package/src/monorepo/.claude/agents-snippets/factory-reviewer-security.md +48 -0
  34. package/src/monorepo/.claude/agents-snippets/factory-reviewer-ui.md +64 -0
  35. package/src/monorepo/.claude/agents-snippets/factory-reviewer-ux.md +64 -0
  36. package/src/monorepo/.claude/agents-snippets/factory-spec-writer.md +119 -0
  37. package/src/monorepo/.claude/agents-snippets/feature-builder.md +1 -1
  38. package/src/monorepo/.claude/commands/assign-tasks.md +1 -0
  39. package/src/monorepo/.claude/commands/factory.md +24 -0
  40. package/src/monorepo/.claude/commands/ponytail-review.md +1 -1
  41. package/src/monorepo/.claude/prompt-snippets/assign-tasks.md +16 -2
  42. package/src/monorepo/.claude/prompt-snippets/bootstrap-patch.md +31 -24
  43. package/src/monorepo/.claude/prompt-snippets/bootstrap-upgrade.md +12 -13
  44. package/src/monorepo/.claude/prompt-snippets/bootstrap.md +30 -21
  45. package/src/monorepo/.claude/prompt-snippets/factory.md +20 -0
  46. package/src/monorepo/.claude/prompt-snippets/implement-feature.md +4 -2
  47. package/src/monorepo/.claude/prompt-snippets/tasks.md +49 -87
  48. package/src/monorepo/.claude/rules-snippets/documentation.md +8 -6
  49. package/src/monorepo/.claude/rules-snippets/subagent-workflow.md +2 -2
  50. package/src/monorepo/.cursor/agents/factory-approver.agent.md +11 -0
  51. package/src/monorepo/.cursor/agents/factory-builder.agent.md +11 -0
  52. package/src/monorepo/.cursor/agents/factory-reviewer-code.agent.md +11 -0
  53. package/src/monorepo/.cursor/agents/factory-reviewer-security.agent.md +11 -0
  54. package/src/monorepo/.cursor/agents/factory-reviewer-ui.agent.md +11 -0
  55. package/src/monorepo/.cursor/agents/factory-reviewer-ux.agent.md +11 -0
  56. package/src/monorepo/.cursor/agents/factory-spec-writer.agent.md +11 -0
  57. package/src/monorepo/.cursor/commands/factory.md +24 -0
  58. package/src/monorepo/.github/agents/factory-approver.agent.md +11 -0
  59. package/src/monorepo/.github/agents/factory-builder.agent.md +11 -0
  60. package/src/monorepo/.github/agents/factory-reviewer-code.agent.md +11 -0
  61. package/src/monorepo/.github/agents/factory-reviewer-security.agent.md +11 -0
  62. package/src/monorepo/.github/agents/factory-reviewer-ui.agent.md +11 -0
  63. package/src/monorepo/.github/agents/factory-reviewer-ux.agent.md +11 -0
  64. package/src/monorepo/.github/agents/factory-spec-writer.agent.md +11 -0
  65. package/src/monorepo/.github/prompts/factory.prompt.md +25 -0
  66. package/src/monorepo/.opencode/agents/admin-portal.md +1 -1
  67. package/src/monorepo/.opencode/agents/api-specialist.md +1 -1
  68. package/src/monorepo/.opencode/agents/backend-architect.md +1 -1
  69. package/src/monorepo/.opencode/agents/documenter.md +1 -1
  70. package/src/monorepo/.opencode/agents/factory-approver.md +20 -0
  71. package/src/monorepo/.opencode/agents/factory-builder.md +20 -0
  72. package/src/monorepo/.opencode/agents/factory-reviewer-code.md +20 -0
  73. package/src/monorepo/.opencode/agents/factory-reviewer-security.md +20 -0
  74. package/src/monorepo/.opencode/agents/factory-reviewer-ui.md +20 -0
  75. package/src/monorepo/.opencode/agents/factory-reviewer-ux.md +20 -0
  76. package/src/monorepo/.opencode/agents/factory-spec-writer.md +20 -0
  77. package/src/monorepo/.opencode/agents/feature-builder.md +1 -1
  78. package/src/monorepo/.opencode/agents/frontend-developer.md +1 -1
  79. package/src/monorepo/.opencode/agents/green.md +1 -1
  80. package/src/monorepo/.opencode/agents/implementer.md +1 -1
  81. package/src/monorepo/.opencode/agents/planner.md +1 -1
  82. package/src/monorepo/.opencode/agents/red.md +1 -1
  83. package/src/monorepo/.opencode/agents/refactor.md +1 -1
  84. package/src/monorepo/.opencode/agents/researcher.md +1 -1
  85. package/src/monorepo/.opencode/agents/reviewer.md +1 -1
  86. package/src/monorepo/.opencode/agents/tdd.md +1 -1
  87. package/src/monorepo/.opencode/commands/assign-tasks.md +1 -1
  88. package/src/monorepo/.opencode/commands/bootstrap-patch.md +1 -1
  89. package/src/monorepo/.opencode/commands/bootstrap-upgrade.md +1 -1
  90. package/src/monorepo/.opencode/commands/bootstrap.md +1 -1
  91. package/src/monorepo/.opencode/commands/commit-push.md +1 -1
  92. package/src/monorepo/.opencode/commands/constitution.md +1 -1
  93. package/src/monorepo/.opencode/commands/create-skill.md +1 -1
  94. package/src/monorepo/.opencode/commands/factory.md +29 -0
  95. package/src/monorepo/.opencode/commands/implement-feature.md +1 -1
  96. package/src/monorepo/.opencode/commands/implement-fixes.md +1 -1
  97. package/src/monorepo/.opencode/commands/implement.md +1 -1
  98. package/src/monorepo/.opencode/commands/plan.md +1 -1
  99. package/src/monorepo/.opencode/commands/playwright-test.md +1 -1
  100. package/src/monorepo/.opencode/commands/ponytail-audit.md +1 -1
  101. package/src/monorepo/.opencode/commands/ponytail-debt.md +1 -1
  102. package/src/monorepo/.opencode/commands/ponytail-gain.md +1 -1
  103. package/src/monorepo/.opencode/commands/ponytail-help.md +1 -1
  104. package/src/monorepo/.opencode/commands/ponytail-review.md +1 -1
  105. package/src/monorepo/.opencode/commands/ponytail.md +1 -1
  106. package/src/monorepo/.opencode/commands/release-notes.md +1 -1
  107. package/src/monorepo/.opencode/commands/review-pr.md +1 -1
  108. package/src/monorepo/.opencode/commands/review.md +1 -1
  109. package/src/monorepo/.opencode/commands/specify.md +1 -1
  110. package/src/monorepo/.opencode/commands/tasks.md +1 -1
  111. package/src/monorepo/.opencode/opencode.jsonc +1 -2
  112. package/src/monorepo/.opencode/rules/agent-conduct.md +1 -1
  113. package/src/monorepo/.opencode/rules/api-server.md +1 -1
  114. package/src/monorepo/.opencode/rules/coding-standards.md +1 -1
  115. package/src/monorepo/.opencode/rules/component-structure.md +1 -1
  116. package/src/monorepo/.opencode/rules/core-libraries.md +1 -1
  117. package/src/monorepo/.opencode/rules/environment-tooling.md +1 -1
  118. package/src/monorepo/.opencode/rules/logging-comments.md +1 -1
  119. package/src/monorepo/.opencode/rules/logging.md +1 -1
  120. package/src/monorepo/.opencode/rules/prisma-migrations.md +1 -1
  121. package/src/monorepo/.opencode/rules/project-context.md +1 -1
  122. package/src/monorepo/.opencode/rules/server-client-separation.md +1 -1
  123. package/src/monorepo/.opencode/rules/subagent-workflow.md +1 -1
  124. package/src/monorepo/.opencode/rules/testing-quality.md +1 -1
  125. package/src/monorepo/.opencode/rules/ui-accessibility.md +1 -1
  126. package/src/monorepo/.opencode/rules/version-control.md +1 -1
  127. package/src/monorepo/.opencode/rules/what-to-avoid.md +1 -1
  128. package/src/monorepo/AGENTS.md +25 -4
  129. package/src/monorepo/README.md +10 -4
  130. package/src/monorepo/factory/README.md +219 -0
  131. package/src/monorepo/factory/_gitignore +5 -0
  132. package/src/monorepo/factory/worktree-bootstrap.md +32 -0
  133. package/src/repo/.agents/skills/factory/SKILL.md +643 -0
  134. package/src/repo/.claude/agents/admin-portal.agent.md +1 -1
  135. package/src/repo/.claude/agents/api-specialist.agent.md +1 -1
  136. package/src/repo/.claude/agents/backend-architect.agent.md +1 -1
  137. package/src/repo/.claude/agents/documenter.agent.md +1 -1
  138. package/src/repo/.claude/agents/factory-approver.agent.md +12 -0
  139. package/src/repo/.claude/agents/factory-builder.agent.md +12 -0
  140. package/src/repo/.claude/agents/factory-reviewer-code.agent.md +12 -0
  141. package/src/repo/.claude/agents/factory-reviewer-security.agent.md +12 -0
  142. package/src/repo/.claude/agents/factory-reviewer-ui.agent.md +12 -0
  143. package/src/repo/.claude/agents/factory-reviewer-ux.agent.md +12 -0
  144. package/src/repo/.claude/agents/factory-spec-writer.agent.md +12 -0
  145. package/src/repo/.claude/agents/feature-builder.agent.md +1 -1
  146. package/src/repo/.claude/agents/frontend-developer.agent.md +1 -1
  147. package/src/repo/.claude/agents/green.agent.md +1 -1
  148. package/src/repo/.claude/agents/implementer.agent.md +1 -1
  149. package/src/repo/.claude/agents/planner.agent.md +1 -1
  150. package/src/repo/.claude/agents/red.agent.md +1 -1
  151. package/src/repo/.claude/agents/refactor.agent.md +1 -1
  152. package/src/repo/.claude/agents/researcher.agent.md +1 -1
  153. package/src/repo/.claude/agents/reviewer.agent.md +1 -1
  154. package/src/repo/.claude/agents/tdd.agent.md +1 -1
  155. package/src/repo/.claude/agents-snippets/factory-approver.md +72 -0
  156. package/src/repo/.claude/agents-snippets/factory-builder.md +100 -0
  157. package/src/repo/.claude/agents-snippets/factory-reviewer-code.md +57 -0
  158. package/src/repo/.claude/agents-snippets/factory-reviewer-security.md +48 -0
  159. package/src/repo/.claude/agents-snippets/factory-reviewer-ui.md +64 -0
  160. package/src/repo/.claude/agents-snippets/factory-reviewer-ux.md +64 -0
  161. package/src/repo/.claude/agents-snippets/factory-spec-writer.md +117 -0
  162. package/src/repo/.claude/agents-snippets/feature-builder.md +1 -1
  163. package/src/repo/.claude/commands/assign-tasks.md +1 -0
  164. package/src/repo/.claude/commands/factory.md +24 -0
  165. package/src/repo/.claude/commands/ponytail-review.md +1 -1
  166. package/src/repo/.claude/prompt-snippets/assign-tasks.md +16 -2
  167. package/src/repo/.claude/prompt-snippets/bootstrap-patch.md +31 -24
  168. package/src/repo/.claude/prompt-snippets/bootstrap-upgrade.md +16 -16
  169. package/src/repo/.claude/prompt-snippets/bootstrap.md +38 -28
  170. package/src/repo/.claude/prompt-snippets/factory.md +20 -0
  171. package/src/repo/.claude/prompt-snippets/implement-feature.md +4 -2
  172. package/src/repo/.claude/prompt-snippets/tasks.md +49 -112
  173. package/src/repo/.claude/rules-snippets/subagent-workflow.md +2 -2
  174. package/src/repo/.cursor/agents/factory-approver.agent.md +11 -0
  175. package/src/repo/.cursor/agents/factory-builder.agent.md +11 -0
  176. package/src/repo/.cursor/agents/factory-reviewer-code.agent.md +11 -0
  177. package/src/repo/.cursor/agents/factory-reviewer-security.agent.md +11 -0
  178. package/src/repo/.cursor/agents/factory-reviewer-ui.agent.md +11 -0
  179. package/src/repo/.cursor/agents/factory-reviewer-ux.agent.md +11 -0
  180. package/src/repo/.cursor/agents/factory-spec-writer.agent.md +11 -0
  181. package/src/repo/.cursor/commands/factory.md +24 -0
  182. package/src/repo/.github/agents/factory-approver.agent.md +11 -0
  183. package/src/repo/.github/agents/factory-builder.agent.md +11 -0
  184. package/src/repo/.github/agents/factory-reviewer-code.agent.md +11 -0
  185. package/src/repo/.github/agents/factory-reviewer-security.agent.md +11 -0
  186. package/src/repo/.github/agents/factory-reviewer-ui.agent.md +11 -0
  187. package/src/repo/.github/agents/factory-reviewer-ux.agent.md +11 -0
  188. package/src/repo/.github/agents/factory-spec-writer.agent.md +11 -0
  189. package/src/repo/.github/prompts/factory.prompt.md +25 -0
  190. package/src/repo/.opencode/agents/admin-portal.md +1 -1
  191. package/src/repo/.opencode/agents/api-specialist.md +1 -1
  192. package/src/repo/.opencode/agents/backend-architect.md +1 -1
  193. package/src/repo/.opencode/agents/documenter.md +1 -1
  194. package/src/repo/.opencode/agents/factory-approver.md +20 -0
  195. package/src/repo/.opencode/agents/factory-builder.md +20 -0
  196. package/src/repo/.opencode/agents/factory-reviewer-code.md +20 -0
  197. package/src/repo/.opencode/agents/factory-reviewer-security.md +20 -0
  198. package/src/repo/.opencode/agents/factory-reviewer-ui.md +20 -0
  199. package/src/repo/.opencode/agents/factory-reviewer-ux.md +20 -0
  200. package/src/repo/.opencode/agents/factory-spec-writer.md +20 -0
  201. package/src/repo/.opencode/agents/feature-builder.md +1 -1
  202. package/src/repo/.opencode/agents/frontend-developer.md +1 -1
  203. package/src/repo/.opencode/agents/green.md +1 -1
  204. package/src/repo/.opencode/agents/implementer.md +1 -1
  205. package/src/repo/.opencode/agents/planner.md +1 -1
  206. package/src/repo/.opencode/agents/red.md +1 -1
  207. package/src/repo/.opencode/agents/refactor.md +1 -1
  208. package/src/repo/.opencode/agents/researcher.md +1 -1
  209. package/src/repo/.opencode/agents/reviewer.md +1 -1
  210. package/src/repo/.opencode/agents/tdd.md +1 -1
  211. package/src/repo/.opencode/commands/assign-tasks.md +1 -1
  212. package/src/repo/.opencode/commands/bootstrap-patch.md +1 -1
  213. package/src/repo/.opencode/commands/bootstrap-upgrade.md +1 -1
  214. package/src/repo/.opencode/commands/bootstrap.md +1 -1
  215. package/src/repo/.opencode/commands/commit-push.md +1 -1
  216. package/src/repo/.opencode/commands/constitution.md +1 -1
  217. package/src/repo/.opencode/commands/create-skill.md +1 -1
  218. package/src/repo/.opencode/commands/factory.md +29 -0
  219. package/src/repo/.opencode/commands/implement-feature.md +1 -1
  220. package/src/repo/.opencode/commands/implement-fixes.md +1 -1
  221. package/src/repo/.opencode/commands/implement.md +1 -1
  222. package/src/repo/.opencode/commands/plan.md +1 -1
  223. package/src/repo/.opencode/commands/playwright-test.md +1 -1
  224. package/src/repo/.opencode/commands/ponytail-audit.md +1 -1
  225. package/src/repo/.opencode/commands/ponytail-debt.md +1 -1
  226. package/src/repo/.opencode/commands/ponytail-gain.md +1 -1
  227. package/src/repo/.opencode/commands/ponytail-help.md +1 -1
  228. package/src/repo/.opencode/commands/ponytail-review.md +1 -1
  229. package/src/repo/.opencode/commands/ponytail.md +1 -1
  230. package/src/repo/.opencode/commands/release-notes.md +1 -1
  231. package/src/repo/.opencode/commands/review-pr.md +1 -1
  232. package/src/repo/.opencode/commands/review.md +1 -1
  233. package/src/repo/.opencode/commands/specify.md +1 -1
  234. package/src/repo/.opencode/commands/tasks.md +1 -1
  235. package/src/repo/.opencode/opencode.jsonc +1 -2
  236. package/src/repo/.opencode/rules/agent-conduct.md +1 -1
  237. package/src/repo/.opencode/rules/api-server.md +1 -1
  238. package/src/repo/.opencode/rules/coding-standards.md +1 -1
  239. package/src/repo/.opencode/rules/component-structure.md +1 -1
  240. package/src/repo/.opencode/rules/core-libraries.md +1 -1
  241. package/src/repo/.opencode/rules/environment-tooling.md +1 -1
  242. package/src/repo/.opencode/rules/logging-comments.md +1 -1
  243. package/src/repo/.opencode/rules/logging.md +1 -1
  244. package/src/repo/.opencode/rules/prisma-migrations.md +1 -1
  245. package/src/repo/.opencode/rules/project-context.md +1 -1
  246. package/src/repo/.opencode/rules/server-client-separation.md +1 -1
  247. package/src/repo/.opencode/rules/subagent-workflow.md +1 -1
  248. package/src/repo/.opencode/rules/testing-quality.md +1 -1
  249. package/src/repo/.opencode/rules/ui-accessibility.md +1 -1
  250. package/src/repo/.opencode/rules/version-control.md +1 -1
  251. package/src/repo/.opencode/rules/what-to-avoid.md +1 -1
  252. package/src/repo/AGENTS.md +22 -4
  253. package/src/repo/README.md +10 -4
  254. package/src/repo/factory/README.md +213 -0
  255. package/src/repo/factory/_gitignore +5 -0
  256. package/src/repo/factory/worktree-bootstrap.md +32 -0
@@ -17,4 +17,4 @@ permissions:
17
17
 
18
18
  Build user interfaces, implement components, handle state management, and optimize frontend performance.
19
19
 
20
- @.claude/agents-snippets/frontend-developer.md
20
+ Read and follow `.claude/agents-snippets/frontend-developer.md` before performing this role.
@@ -17,4 +17,4 @@ permissions:
17
17
 
18
18
  Write minimal code to make failing tests pass. Part of the TDD red-green-refactor cycle.
19
19
 
20
- @.claude/agents-snippets/green.md
20
+ Read and follow `.claude/agents-snippets/green.md` before performing this role.
@@ -17,4 +17,4 @@ permissions:
17
17
 
18
18
  Implement code changes for a specific task. Follow TDD, write tests alongside code, and self-review before reporting completion.
19
19
 
20
- @.claude/agents-snippets/implementer.md
20
+ Read and follow `.claude/agents-snippets/implementer.md` before performing this role.
@@ -17,4 +17,4 @@ permissions:
17
17
 
18
18
  Break down feature requests into implementation tasks. Read specifications, analyze codebase patterns, and produce structured plans with dependencies.
19
19
 
20
- @.claude/agents-snippets/planner.md
20
+ Read and follow `.claude/agents-snippets/planner.md` before performing this role.
@@ -17,4 +17,4 @@ permissions:
17
17
 
18
18
  Write failing tests that define expected behavior. Part of the TDD red-green-refactor cycle.
19
19
 
20
- @.claude/agents-snippets/red.md
20
+ Read and follow `.claude/agents-snippets/red.md` before performing this role.
@@ -17,4 +17,4 @@ permissions:
17
17
 
18
18
  Improve code quality and structure while keeping all tests passing. Part of the TDD red-green-refactor cycle.
19
19
 
20
- @.claude/agents-snippets/refactor.md
20
+ Read and follow `.claude/agents-snippets/refactor.md` before performing this role.
@@ -17,4 +17,4 @@ permissions:
17
17
 
18
18
  Research codebase patterns, dependencies, and technical context. Analyze code structure, find relevant examples, and report findings without making changes.
19
19
 
20
- @.claude/agents-snippets/researcher.md
20
+ Read and follow `.claude/agents-snippets/researcher.md` before performing this role.
@@ -17,4 +17,4 @@ permissions:
17
17
 
18
18
  Review code changes for correctness, code quality, security, and adherence to project patterns.
19
19
 
20
- @.claude/agents-snippets/reviewer.md
20
+ Read and follow `.claude/agents-snippets/reviewer.md` before performing this role.
@@ -20,4 +20,4 @@ permissions:
20
20
 
21
21
  Implement a feature using test-driven development with red-green-refactor cycle.
22
22
 
23
- @.claude/agents-snippets/tdd.md
23
+ Read and follow `.claude/agents-snippets/tdd.md` before performing this role.
@@ -13,4 +13,4 @@ description: "Create {{ISSUE_TRACKER}} tickets from requirements or task files"
13
13
 
14
14
  $ARGUMENTS
15
15
 
16
- @.claude/prompt-snippets/assign-tasks.md
16
+ Read and follow `.claude/prompt-snippets/assign-tasks.md` before executing this command.
@@ -15,4 +15,4 @@ description: "Patch AI instructions by fetching updates from the toolkit repo an
15
15
 
16
16
  $ARGUMENTS
17
17
 
18
- @.claude/prompt-snippets/bootstrap-patch.md
18
+ Read and follow `.claude/prompt-snippets/bootstrap-patch.md` before executing this command.
@@ -15,4 +15,4 @@ description: "Upgrade AI instructions from pre-3.0 inline pattern to 3.0+ snippe
15
15
 
16
16
  $ARGUMENTS
17
17
 
18
- @.claude/prompt-snippets/bootstrap-upgrade.md
18
+ Read and follow `.claude/prompt-snippets/bootstrap-upgrade.md` before executing this command.
@@ -15,4 +15,4 @@ description: "Bootstrap AI instructions for monorepo by analyzing workspace and
15
15
 
16
16
  $ARGUMENTS
17
17
 
18
- @.claude/prompt-snippets/bootstrap.md
18
+ Read and follow `.claude/prompt-snippets/bootstrap.md` before executing this command.
@@ -11,6 +11,6 @@ description: "Commit and push changes with conventional commit messages"
11
11
 
12
12
  Commit and push changes using conventional commit format.
13
13
 
14
- @.claude/prompt-snippets/commit-push.md
14
+ Read and follow `.claude/prompt-snippets/commit-push.md` before executing this command.
15
15
 
16
16
  $ARGUMENTS
@@ -15,4 +15,4 @@ description: "Create or update the project constitution defining core principles
15
15
 
16
16
  $ARGUMENTS
17
17
 
18
- @.claude/prompt-snippets/constitution.md
18
+ Read and follow `.claude/prompt-snippets/constitution.md` before executing this command.
@@ -13,4 +13,4 @@ description: "Create a new agent skill following VS Code and agentskills.io spec
13
13
 
14
14
  $ARGUMENTS
15
15
 
16
- @.claude/prompt-snippets/create-skill.md
16
+ Read and follow `.claude/prompt-snippets/create-skill.md` before executing this command.
@@ -0,0 +1,29 @@
1
+ ---
2
+ description: "Run an opt-in factory job: intake, spec and plan gates, build in a worktree or in place, reviews, approval, local merge"
3
+ ---
4
+
5
+ # Factory
6
+
7
+ ## Agent Dispatch
8
+
9
+ > **Run in the main session.** The orchestrator dispatches these agents; they cannot dispatch others.
10
+
11
+ | Agent | When to use |
12
+ |-------|-------------|
13
+ | `factory-spec-writer` | Spec stage (`spec` mode) writes `spec.md`; plan stage (`plan` mode) writes `plan.md` and `tasks.md` |
14
+ | `factory-builder` | Build, repair, and rework: writes `build.md` in the job folder; edits code at the build location |
15
+ | `factory-reviewer-code` | Review round, `code` lens |
16
+ | `factory-reviewer-security` | Review round, `security` lens |
17
+ | `factory-reviewer-ux` | Review round, `ux` lens (opt-in) |
18
+ | `factory-reviewer-ui` | Review round, `ui` lens (opt-in) |
19
+ | `factory-approver` | Approval gate: writes `decision.md` |
20
+
21
+ Dispatch each agent by its kebab-case name, as in the first column. Copilot may show a display name; pick the agent with that name.
22
+
23
+ ## Arguments
24
+
25
+ Subcommands: `[--in-place] <feature request>` · `start [--in-place] <request | KEY | slug | job-id>` · `approve <job-id>` · `rework <job-id> <note>` · `abandon <job-id>` · `status [--all]` · `watch [--all]` · `archive [--all] [--dry-run]` · `prune [--all] [--abandoned] [--dry-run]`
26
+
27
+ $ARGUMENTS
28
+
29
+ Read and follow `.claude/prompt-snippets/factory.md` before executing this command.
@@ -15,4 +15,4 @@ description: "Implement a feature by completing tasks sequentially"
15
15
 
16
16
  $ARGUMENTS
17
17
 
18
- @.claude/prompt-snippets/implement-feature.md
18
+ Read and follow `.claude/prompt-snippets/implement-feature.md` before executing this command.
@@ -17,4 +17,4 @@ argument-hint: "bug description or fix requirements"
17
17
 
18
18
  $ARGUMENTS
19
19
 
20
- @.claude/prompt-snippets/implement-fixes.md
20
+ Read and follow `.claude/prompt-snippets/implement-fixes.md` before executing this command.
@@ -15,4 +15,4 @@ description: "Execute implementation tasks from a task list or specification"
15
15
 
16
16
  $ARGUMENTS
17
17
 
18
- @.claude/prompt-snippets/implement.md
18
+ Read and follow `.claude/prompt-snippets/implement.md` before executing this command.
@@ -15,4 +15,4 @@ description: "Create an implementation plan from a feature specification or requ
15
15
 
16
16
  $ARGUMENTS
17
17
 
18
- @.claude/prompt-snippets/plan.md
18
+ Read and follow `.claude/prompt-snippets/plan.md` before executing this command.
@@ -13,4 +13,4 @@ description: "Run or create E2E tests using Playwright"
13
13
 
14
14
  $ARGUMENTS
15
15
 
16
- @.claude/prompt-snippets/playwright-test.md
16
+ Read and follow `.claude/prompt-snippets/playwright-test.md` before executing this command.
@@ -7,4 +7,4 @@ description: "Whole-repo audit for over-engineering. Scans entire codebase for w
7
7
  > **Recommended agent:** `oracle`
8
8
  > Whole-repo over-engineering analysis
9
9
 
10
- @.claude/prompt-snippets/ponytail-audit.md
10
+ Read and follow `.claude/prompt-snippets/ponytail-audit.md` before executing this command.
@@ -7,4 +7,4 @@
7
7
  > **Recommended agent:** `fixer`
8
8
  > Debt ledger harvesting
9
9
 
10
- @.claude/prompt-snippets/ponytail-debt.md
10
+ Read and follow `.claude/prompt-snippets/ponytail-debt.md` before executing this command.
@@ -7,4 +7,4 @@
7
7
  > **Recommended agent:** `fixer`
8
8
  > Impact scoreboard display
9
9
 
10
- @.claude/prompt-snippets/ponytail-gain.md
10
+ Read and follow `.claude/prompt-snippets/ponytail-gain.md` before executing this command.
@@ -7,4 +7,4 @@
7
7
  > **Recommended agent:** `fixer`
8
8
  > Quick-reference display
9
9
 
10
- @.claude/prompt-snippets/ponytail-help.md
10
+ Read and follow `.claude/prompt-snippets/ponytail-help.md` before executing this command.
@@ -7,4 +7,4 @@
7
7
  > **Recommended agent:** `oracle`
8
8
  > Diff-level over-engineering review
9
9
 
10
- @.claude/prompt-snippets/ponytail-review.md
10
+ Read and follow `.claude/prompt-snippets/ponytail-review.md` before executing this command.
@@ -7,4 +7,4 @@ description: "Forces the laziest solution that actually works — YAGNI, stdlib,
7
7
  > **Recommended agent:** `fixer`
8
8
  > Apply YAGNI/stdlib discipline
9
9
 
10
- @.claude/prompt-snippets/ponytail.md
10
+ Read and follow `.claude/prompt-snippets/ponytail.md` before executing this command.
@@ -13,4 +13,4 @@ description: "Generate release notes from git commits (web, git tag, or document
13
13
 
14
14
  $ARGUMENTS
15
15
 
16
- @.claude/prompt-snippets/release-notes.md
16
+ Read and follow `.claude/prompt-snippets/release-notes.md` before executing this command.
@@ -13,6 +13,6 @@ description: "Conduct comprehensive pull request code review"
13
13
 
14
14
  Conduct comprehensive code review for pull requests.
15
15
 
16
- @.claude/prompt-snippets/review-pr.md
16
+ Read and follow `.claude/prompt-snippets/review-pr.md` before executing this command.
17
17
 
18
18
  $ARGUMENTS
@@ -13,6 +13,6 @@ description: "Conduct code review for files or features"
13
13
 
14
14
  Review code for quality, security, and adherence to project patterns.
15
15
 
16
- @.claude/prompt-snippets/review.md
16
+ Read and follow `.claude/prompt-snippets/review.md` before executing this command.
17
17
 
18
18
  $ARGUMENTS
@@ -15,4 +15,4 @@ description: "Create a feature specification from a natural language description
15
15
 
16
16
  $ARGUMENTS
17
17
 
18
- @.claude/prompt-snippets/specify.md
18
+ Read and follow `.claude/prompt-snippets/specify.md` before executing this command.
@@ -13,4 +13,4 @@ description: "Generate an actionable task list from a specification or plan"
13
13
 
14
14
  $ARGUMENTS
15
15
 
16
- @.claude/prompt-snippets/tasks.md
16
+ Read and follow `.claude/prompt-snippets/tasks.md` before executing this command.
@@ -11,8 +11,7 @@
11
11
  ],
12
12
  "plugins": [
13
13
  "opencode-mem",
14
- "@tarquinen/opencode-dcp@latest",
15
- "@dietrichgebert/ponytail@4.12.0"
14
+ "@tarquinen/opencode-dcp@latest"
16
15
  // "opentmux": V1-only; enable only after it supports V2.
17
16
  ],
18
17
  "lsp": true
@@ -2,7 +2,7 @@
2
2
 
3
3
  Agent conduct and clarification rules for ambiguous requirements.
4
4
 
5
- @.claude/rules-snippets/agent-conduct.md
5
+ Read and follow `.claude/rules-snippets/agent-conduct.md` when these standards apply.
6
6
 
7
7
  ## Key points
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  API and server-side development standards.
4
4
 
5
- @.claude/rules-snippets/api-server.md
5
+ Read and follow `.claude/rules-snippets/api-server.md` when these standards apply.
6
6
 
7
7
  ## Key points
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Coding standards and language conventions.
4
4
 
5
- @.claude/rules-snippets/coding-standards.md
5
+ Read and follow `.claude/rules-snippets/coding-standards.md` when these standards apply.
6
6
 
7
7
  ## Key points
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Component structure and composition patterns.
4
4
 
5
- @.claude/rules-snippets/component-structure.md
5
+ Read and follow `.claude/rules-snippets/component-structure.md` when these standards apply.
6
6
 
7
7
  ## Key points
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Core library and framework usage conventions.
4
4
 
5
- @.claude/rules-snippets/core-libraries.md
5
+ Read and follow `.claude/rules-snippets/core-libraries.md` when these standards apply.
6
6
 
7
7
  ## Key points
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Environment and tooling configuration.
4
4
 
5
- @.claude/rules-snippets/environment-tooling.md
5
+ Read and follow `.claude/rules-snippets/environment-tooling.md` when these standards apply.
6
6
 
7
7
  ## Key points
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Logging identifiers and code comment conventions.
4
4
 
5
- @.claude/rules-snippets/logging-comments.md
5
+ Read and follow `.claude/rules-snippets/logging-comments.md` when these standards apply.
6
6
 
7
7
  ## Key points
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Structured logging standards and best practices.
4
4
 
5
- @.claude/rules-snippets/logging.md
5
+ Read and follow `.claude/rules-snippets/logging.md` when these standards apply.
6
6
 
7
7
  ## Key points
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Database migration and schema management.
4
4
 
5
- @.claude/rules-snippets/prisma-migrations.md
5
+ Read and follow `.claude/rules-snippets/prisma-migrations.md` when these standards apply.
6
6
 
7
7
  ## Key points
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Project context and documentation references.
4
4
 
5
- @.claude/rules-snippets/project-context.md
5
+ Read and follow `.claude/rules-snippets/project-context.md` when these standards apply.
6
6
 
7
7
  ## Key points
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Server and client code boundary enforcement.
4
4
 
5
- @.claude/rules-snippets/server-client-separation.md
5
+ Read and follow `.claude/rules-snippets/server-client-separation.md` when these standards apply.
6
6
 
7
7
  ## Key points
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Subagent workflow and orchestration patterns.
4
4
 
5
- @.claude/rules-snippets/subagent-workflow.md
5
+ Read and follow `.claude/rules-snippets/subagent-workflow.md` when these standards apply.
6
6
 
7
7
  ## Key points
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Testing standards and quality gates.
4
4
 
5
- @.claude/rules-snippets/testing-quality.md
5
+ Read and follow `.claude/rules-snippets/testing-quality.md` when these standards apply.
6
6
 
7
7
  ## Key points
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  UI accessibility and responsive design standards.
4
4
 
5
- @.claude/rules-snippets/ui-accessibility.md
5
+ Read and follow `.claude/rules-snippets/ui-accessibility.md` when these standards apply.
6
6
 
7
7
  ## Key points
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Version control and commit conventions.
4
4
 
5
- @.claude/rules-snippets/version-control.md
5
+ Read and follow `.claude/rules-snippets/version-control.md` when these standards apply.
6
6
 
7
7
  ## Key points
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Patterns and practices to avoid.
4
4
 
5
- @.claude/rules-snippets/what-to-avoid.md
5
+ Read and follow `.claude/rules-snippets/what-to-avoid.md` when these standards apply.
6
6
 
7
7
  ## Key points
8
8
 
@@ -44,6 +44,21 @@ The [orient-to-recent-work](.agents/skills/orient-to-recent-work/SKILL.md) skill
44
44
  | `{{PACKAGE_SCOPE}}/{{PACKAGE_NAME_2}}` | {{PACKAGE_2_DESCRIPTION}} |
45
45
  | `{{PACKAGE_SCOPE}}/config` | Shared configuration |
46
46
 
47
+ ## Commands
48
+
49
+ Root commands cover every app and package. Filtered commands run one workspace, where `<workspace>` is its package name. The filter syntax follows `{{PACKAGE_MANAGER}}` (pnpm and turbo `--filter`, npm `-w`, yarn `workspace`). `dev`, `test`, `lint`, and `build` are the workspace's script names. Default dev port for each app: its own `AGENTS.md`.
50
+
51
+ | Task | Root | Filtered (one workspace) |
52
+ | --------------- | ------------------- | ------------------------------------------------ |
53
+ | Setup | `{{SETUP_COMMAND}}` | n/a, setup runs once at the root |
54
+ | Dev server | `{{DEV_COMMAND}}` | `{{PACKAGE_MANAGER}} --filter <workspace> dev` |
55
+ | Dev server port | `{{DEV_PORT_FLAG}}` | same flag on the filtered dev command |
56
+ | Test | `{{TEST_COMMAND}}` | `{{PACKAGE_MANAGER}} --filter <workspace> test` |
57
+ | Lint | `{{LINT_COMMAND}}` | `{{PACKAGE_MANAGER}} --filter <workspace> lint` |
58
+ | Build | `{{BUILD_COMMAND}}` | `{{PACKAGE_MANAGER}} --filter <workspace> build` |
59
+
60
+ `{{DEV_PORT_FLAG}}` is the flag or env var that sets the port; `<port>` is the port value.
61
+
47
62
  ## Project Management
48
63
 
49
64
  **Tracker:** {{ISSUE_TRACKER}}
@@ -104,11 +119,11 @@ Each app has its own `AGENTS.md` with detailed patterns:
104
119
 
105
120
  ## OpenCode V2 Context
106
121
 
107
- OpenCode use with toolkit v4 requires native V2; Slim >=3.0.0 requires OpenCode >=2.0.7. Read [native setup](README.md#native-opencode-v2) before migration. All bootstrap flows run `opencode --version` before changes for confirmed OpenCode use: V1 must stop and upgrade OpenCode or remain on toolkit 3.x; missing/unparseable versions block OpenCode steps and toolkit 4.0.0 marking. Directory presence is not harness proof; other-harness-only setup is unaffected.
122
+ OpenCode use with toolkit 4.0.0 and later requires native V2; Slim >=3.0.0 requires OpenCode >=2.0.7. Read [native setup](README.md#native-opencode-v2) before migration. All bootstrap flows run `opencode --version` before changes for confirmed OpenCode use: V1 must stop and upgrade OpenCode or remain on toolkit 3.x; missing/unparseable versions block OpenCode steps and marking the installed toolkit version (4.0.0 or later). Directory presence is not harness proof; other-harness-only setup is unaffected.
108
123
 
109
- Use `agents`/`system`, `request.body.temperature`, ordered `permissions` (`action`/`resource`/`effect`, `shell`/`subagent`), `commands`, `plugins`, directory-based `skills`, and `mcp.servers`. Preserve user models/providers/plugins and Slim's separate strict schema; do not host-migrate its `prompt`/`permission`/`variant` fields or silently upgrade the separate external starter. Templates register the author's native V2 `@dietrichgebert/ponytail@4.12.0` locally instead of a bundled Ponytail plugin; `opentmux` stays commented as V1-only. Remove only known obsolete toolkit Ponytail `.js`/`.mjs`/`.ts` copies after backup and approval, preserve unrelated local plugins, and merge/deduplicate upstream registration locally without editing global config. No local API port or bridge is used; plugin/runtime integration is untested.
124
+ Use `agents`/`system`, `request.body.temperature`, ordered `permissions` (`action`/`resource`/`effect`, `shell`/`subagent`), `commands`, `plugins`, directory-based `skills`, and `mcp.servers`. Preserve user models/providers/plugins and Slim's separate strict schema; do not host-migrate its `prompt`/`permission`/`variant` fields or silently upgrade the separate external starter. The OpenCode Ponytail plugin (`@dietrichgebert/ponytail`) is installed globally by the operator; the toolkit does not register it. Bootstrap may check for it and tell the operator to install it globally, but must never add it to project config. `opentmux` stays commented as V1-only. Remove only known obsolete toolkit Ponytail `.js`/`.mjs`/`.ts` copies after backup and approval, and preserve unrelated local plugins. No local API port or bridge is used; plugin/runtime integration is untested. The Claude Code hooks in `hooks/*.json` use `${CLAUDE_PLUGIN_ROOT}` and are plugin-only: they fire only when installed through the Ponytail plugin, not from project settings.
110
125
 
111
- Ambient root/nested `AGENTS.md` works; config `instructions` entries do not load. `@refs` are ordinary text: explicitly read linked snippets. `request.body.temperature` remains in config, but the current runner does not send it. Preserve `lsp: true`; use workspace lint/typecheck/compiler commands, not unavailable V2 LSP diagnostics. Back up V1 before native conversion; converted files are incompatible with V1. Activate on the next run/restart.
126
+ Ambient root/nested `AGENTS.md` works. Config `instructions` entries load only when the runtime injects them (OpenChamber does; other hosts may not), so do not rely on them: write explicit "Read and follow" wrappers regardless. `@refs` are ordinary text: explicitly read linked snippets. `request.body.temperature` remains in config, but the current runner does not send it. Preserve `lsp: true`; use workspace lint/typecheck/compiler commands, not unavailable V2 LSP diagnostics. Back up V1 before native conversion; converted files are incompatible with V1. Activate on the next run/restart.
112
127
 
113
128
  ## Detailed Instructions
114
129
 
@@ -149,6 +164,7 @@ For detailed standards on specific topics, refer to these skills in `.agents/ski
149
164
  | **Debugging** | `systematic-debugging/SKILL.md` | Debugging workflows |
150
165
  | **Documentation** | `project-documentation/SKILL.md` | README, comments, ADRs, changelogs |
151
166
  | **Executing Plans** | `executing-plans/SKILL.md` | Following through on implementation plans |
167
+ | **Factory** | `factory/SKILL.md` | Opt-in spec-to-merge feature pipeline |
152
168
  | **Finishing Branches** | `finishing-a-development-branch/SKILL.md` | Completing and merging branches |
153
169
  | **GitHub CLI** | `gh-cli/SKILL.md` | GitHub Issues CLI command reference |
154
170
  | **GitLab CLI** | `glab-cli/SKILL.md` | GitLab MRs, issues, pipelines CLI reference |
@@ -348,13 +364,18 @@ Subagents are typically **agent-initiated** — the coordinator decides when to
348
364
 
349
365
  > **Docs:** [VS Code Subagents](https://code.visualstudio.com/docs/copilot/agents/subagents) · [Cursor Subagents](https://cursor.com/docs/subagents)
350
366
 
367
+ ### Factory (opt-in)
368
+
369
+ An optional file-driven pipeline for feature-sized work, alongside Feature Builder and TDD. Start it with `/factory <request>` in Claude Code, Copilot, Cursor, or OpenCode. The orchestrator reads the project and asks only the glaring questions before it creates anything, then asks you to continue or change the answers. Resume a feature with `/factory start <KEY | slug | job-id>`. Codex runs the orchestrator skill directly. Each job belongs to a feature folder in `docs/features/`, stops at a spec gate and a plan gate for your confirmation before any ticket or build, builds in its own git worktree unless you ask for `--in-place`, and moves its tickets when the project tracks them. The orchestrator is [.agents/skills/factory/SKILL.md](.agents/skills/factory/SKILL.md). Its seven agents are `factory-spec-writer`, `factory-builder`, `factory-reviewer-code`, `factory-reviewer-security`, `factory-reviewer-ux`, `factory-reviewer-ui`, and `factory-approver`, with wrappers in each harness's agents folder that point to the shared snippets in `.claude/agents-snippets/`. Setup, placeholders, and approval modes are in [factory/README.md](factory/README.md). Jobs name the affected apps and packages in their spec, and checks run for those with the filtered commands in [Commands](#commands).
370
+
351
371
  ## Documentation Requirements
352
372
 
353
373
  Documentation updates are **mandatory before committing** any feature or fix. See [`.github/instructions/documentation.instructions.md`](.github/instructions/documentation.instructions.md) for the full pre-commit checklist, templates, and AI agent directives.
354
374
 
355
375
  **Quick summary:**
356
376
 
357
- - Create or update `apps/{{APP_NAME}}/docs/features/{{ISSUE_ID}}-{{FEATURE_NAME}}/` (spec + plan) for every feature
377
+ - Create or update `apps/{{APP_NAME}}/docs/features/<feature>/` (spec + plan) for every feature, where `<feature>` is `<KEY>-<slug>` or `<slug>`
378
+ - Features run through the factory pipeline live in root `docs/features/<feature>/` because the pipeline is root-scoped; other features stay in their app or package
358
379
  - Add fixes to the monthly log in `apps/{{APP_NAME}}/docs/fixes/{{YYYY-MM}}.md` (or a dedicated folder for complex fixes)
359
380
  - Use root `docs/` only for monorepo-wide concerns: `docs/architecture/`, `docs/integration/`, `docs/guides/`
360
381
  - Update `docs/api/`, `README.md`, and `CHANGELOG.md` when applicable
@@ -13,6 +13,12 @@ Templates use `{{PLACEHOLDER}}` syntax (SCREAMING_SNAKE_CASE). The most common p
13
13
  | `{{LANGUAGE}}` | Programming language (TypeScript, PHP, Python, C#, etc.) |
14
14
  | `{{PACKAGE_MANAGER}}` | Package manager (npm, pnpm, composer, pip, etc.) |
15
15
  | `{{DEV_PORT}}` | Development server port |
16
+ | `{{DEV_PORT_FLAG}}` | Flag or env var that sets the dev port |
17
+ | `{{SETUP_COMMAND}}` | Install command |
18
+ | `{{DEV_COMMAND}}` | Dev server command |
19
+ | `{{TEST_COMMAND}}` | Test command |
20
+ | `{{LINT_COMMAND}}` | Lint command |
21
+ | `{{BUILD_COMMAND}}` | Build command |
16
22
  | `{{DEPLOY_PLATFORM}}` | Deployment target |
17
23
  | `{{ISSUE_TRACKER}}` | Issue tracker (Jira, Linear, GitHub Issues) |
18
24
  | `{{ISSUE_ID}}` | Issue or ticket identifier |
@@ -52,17 +58,17 @@ This is a monorepo managed with {{BUILD_SYSTEM}}.
52
58
 
53
59
  ### Native OpenCode V2
54
60
 
55
- Toolkit v4 requires **OpenCode V2 (major >=2)** for OpenCode use; oh-my-opencode-slim >=3.0.0 requires OpenCode >=2.0.7. Bootstrap, patch, and upgrade run `opencode --version` before changes (optional leading `v` accepted). V1 must stop before OpenCode customization/migration or marking toolkit 4.0.0: upgrade OpenCode or remain on toolkit 3.x. A missing CLI or unparseable version stops OpenCode steps and version marking until confirmed/installed. Confirm harness use from runtime evidence or ask, not scaffold directories; other-harness-only setup is unaffected.
61
+ Toolkit 4.0.0 and later require **OpenCode V2 (major >=2)** for OpenCode use; oh-my-opencode-slim >=3.0.0 requires OpenCode >=2.0.7. Bootstrap, patch, and upgrade run `opencode --version` before changes (optional leading `v` accepted). V1 must stop before OpenCode customization/migration or marking toolkit 4.0.0: upgrade OpenCode or remain on toolkit 3.x. A missing CLI or unparseable version stops OpenCode steps and version marking until confirmed/installed. Confirm harness use from runtime evidence or ask, not scaffold directories; other-harness-only setup is unaffected.
56
62
 
57
- The template's local `plugins` array registers the author's native V2 package `@dietrichgebert/ponytail@4.12.0`, alongside `opencode-mem` and `@tarquinen/opencode-dcp@latest`; `opentmux` remains commented as V1-only. The obsolete local Ponytail plugin is no longer bundled; no local API port or bridge is used. For existing projects, back up and obtain approval before removing only known toolkit `.opencode/plugins/ponytail.js`, `.mjs`, or `.ts` copies; preserve unrelated local plugins and merge/deduplicate upstream registration locally without editing global plugins. Native local plugins are discovered automatically; do not register them twice.
63
+ The template's local `plugins` array registers `opencode-mem` and `@tarquinen/opencode-dcp@latest`; `opentmux` remains commented as V1-only. The OpenCode Ponytail plugin (`@dietrichgebert/ponytail`) is installed globally by the operator and is not registered by the toolkit. Bootstrap may check for it and tell the operator to install it globally, but never adds it to project config. The obsolete local Ponytail plugin is no longer bundled; no local API port or bridge is used. For existing projects, back up and obtain approval before removing only known toolkit `.opencode/plugins/ponytail.js`, `.mjs`, or `.ts` copies; preserve unrelated local plugins and global plugins. Native local plugins are discovered automatically. The Claude Code hooks in `hooks/*.json` use `${CLAUDE_PLUGIN_ROOT}` and are plugin-only: they fire only when installed through the Ponytail plugin, not from project settings.
58
64
 
59
65
  With approval, merge `"plugins": ["oh-my-opencode-slim@3.0.0"]` locally without replacing other registrations. Slim's separate strict schema retains `prompt`, `permission`, and `variant`; do not host-migrate it. The external starter is a separate package, not automatically upgraded. Plugin/runtime integration has not been tested.
60
66
 
61
67
  Use native `agents`/`system`, `request.body.temperature`, ordered `permissions` (`action`/`resource`/`effect`, `shell`/`subagent`), `commands`/`subagent`, `plugins` with `{ "package": "…", "options": {} }`, skill-directory arrays, and `mcp.servers` with inverse `disabled` and `timeout.catalog`/`timeout.execution`. Follow the [V2 migration guide](https://opencode.ai/v2/docs/migrate-v1) and [plugin guide](https://opencode.ai/v2/docs/build/plugins); the published schema may describe V1 and is not V2 validation authority.
62
68
 
63
- Ambient root/nested `AGENTS.md` works; config `instructions` entries are not loaded. `@refs` are ordinary text: read linked snippets explicitly. `request.body.temperature` remains in config, but the current runner does not send it. Preserve `lsp: true`; use workspace lint/typecheck/compiler commands (no V2 LSP tools/diagnostics currently).
69
+ Ambient root/nested `AGENTS.md` works. Config `instructions` entries load only when the runtime injects them (OpenChamber does; other hosts may not), so do not rely on them: write explicit "Read and follow" wrappers regardless. `@refs` are ordinary text: read linked snippets explicitly. `request.body.temperature` remains in config, but the current runner does not send it. Preserve `lsp: true`; use workspace lint/typecheck/compiler commands (no V2 LSP tools/diagnostics currently).
64
70
 
65
- `--env opencode` supplies minimal shared references without activating other harnesses. Back up V1, merge rather than clobber models/providers/plugins, and activate on the next run/restart. Native-converted files are incompatible with V1. Verify with installed V2; `doctor` is not runtime validation. Toolkit 4.0.0 publishing has not been executed.
71
+ `--env opencode` supplies minimal shared references without activating other harnesses. Back up V1, merge rather than clobber models/providers/plugins, and activate on the next run/restart. Native-converted files are incompatible with V1. Verify with installed V2; `doctor` is not runtime validation.
66
72
 
67
73
  ### Native Codex
68
74