hatch3r 1.8.0 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (276) hide show
  1. package/README.md +36 -55
  2. package/dist/cli/index.js +13073 -14671
  3. package/dist/cli/index.js.map +1 -1
  4. package/{agents → dist/content/agents}/hatch3r-a11y-auditor.md +2 -2
  5. package/{agents → dist/content/agents}/hatch3r-ci-watcher.md +2 -2
  6. package/{agents → dist/content/agents}/hatch3r-context-rules.md +5 -5
  7. package/{agents → dist/content/agents}/hatch3r-creator.md +15 -15
  8. package/{agents → dist/content/agents}/hatch3r-dependency-auditor.md +1 -1
  9. package/{agents → dist/content/agents}/hatch3r-devops.md +3 -3
  10. package/{agents → dist/content/agents}/hatch3r-fixer.md +2 -2
  11. package/{agents → dist/content/agents}/hatch3r-handoff-loader.md +11 -11
  12. package/{agents → dist/content/agents}/hatch3r-handoff-preparer.md +7 -7
  13. package/{agents → dist/content/agents}/hatch3r-implementer.md +2 -2
  14. package/{agents → dist/content/agents}/hatch3r-learnings-loader.md +11 -11
  15. package/{agents → dist/content/agents}/hatch3r-lint-fixer.md +2 -2
  16. package/{agents → dist/content/agents}/hatch3r-researcher.md +3 -3
  17. package/{agents → dist/content/agents}/hatch3r-reviewer.md +4 -4
  18. package/{agents → dist/content/agents}/hatch3r-security-auditor.md +2 -2
  19. package/{agents → dist/content/agents}/hatch3r-test-writer.md +2 -2
  20. package/{agents → dist/content/agents}/shared/external-knowledge.md +1 -1
  21. package/{agents → dist/content/agents}/shared/injection-patterns.md +1 -1
  22. package/{agents → dist/content/agents}/shared/quality-charter.md +31 -3
  23. package/{agents → dist/content/agents}/shared/user-content-templates.md +10 -10
  24. package/{agents → dist/content/agents}/shared/user-question-protocol.md +2 -0
  25. package/{commands → dist/content/commands}/board/pickup-azure-devops.md +1 -1
  26. package/{commands → dist/content/commands}/board/pickup-delegation-multi.md +4 -4
  27. package/{commands → dist/content/commands}/board/pickup-delegation.md +3 -3
  28. package/{commands → dist/content/commands}/board/pickup-github.md +1 -1
  29. package/{commands → dist/content/commands}/board/pickup-gitlab.md +1 -1
  30. package/{commands → dist/content/commands}/board/pickup-post-impl.md +2 -2
  31. package/{commands → dist/content/commands}/board/shared-azure-devops.md +1 -1
  32. package/{commands → dist/content/commands}/board/shared-github.md +2 -2
  33. package/{commands → dist/content/commands}/board/shared-gitlab.md +1 -1
  34. package/{commands → dist/content/commands}/hatch3r-api-spec.md +1 -1
  35. package/{commands → dist/content/commands}/hatch3r-benchmark.md +1 -1
  36. package/{commands → dist/content/commands}/hatch3r-board-fill.md +7 -7
  37. package/{commands → dist/content/commands}/hatch3r-board-pickup.md +6 -6
  38. package/{commands → dist/content/commands}/hatch3r-bug-plan.md +5 -5
  39. package/{commands → dist/content/commands}/hatch3r-codebase-map.md +2 -2
  40. package/{commands → dist/content/commands}/hatch3r-create.md +11 -11
  41. package/{commands → dist/content/commands}/hatch3r-debug.md +11 -11
  42. package/{commands → dist/content/commands}/hatch3r-feature-plan.md +5 -5
  43. package/{commands → dist/content/commands}/hatch3r-handoff.md +9 -9
  44. package/{commands → dist/content/commands}/hatch3r-healthcheck.md +1 -1
  45. package/{commands → dist/content/commands}/hatch3r-hooks.md +12 -12
  46. package/{commands → dist/content/commands}/hatch3r-learn.md +11 -11
  47. package/{commands → dist/content/commands}/hatch3r-migration-plan.md +2 -2
  48. package/{commands → dist/content/commands}/hatch3r-onboard.md +7 -7
  49. package/{commands → dist/content/commands}/hatch3r-pr-resolve.md +8 -8
  50. package/{commands → dist/content/commands}/hatch3r-project-spec.md +3 -3
  51. package/{commands → dist/content/commands}/hatch3r-quick-change.md +7 -7
  52. package/{commands → dist/content/commands}/hatch3r-refactor-plan.md +4 -4
  53. package/{commands → dist/content/commands}/hatch3r-report.md +1 -1
  54. package/{commands → dist/content/commands}/hatch3r-revision.md +7 -7
  55. package/{commands → dist/content/commands}/hatch3r-roadmap.md +2 -2
  56. package/{commands → dist/content/commands}/hatch3r-security-audit.md +2 -2
  57. package/{commands → dist/content/commands}/hatch3r-test-plan.md +5 -5
  58. package/{commands → dist/content/commands}/hatch3r-workflow.md +9 -9
  59. package/{commands → dist/content/commands}/revision/revision-delegation.md +2 -2
  60. package/{commands → dist/content/commands}/revision/revision-quality.md +2 -2
  61. package/{github-agents → dist/content/github-agents}/hatch3r-docs-agent.md +1 -1
  62. package/{github-agents → dist/content/github-agents}/hatch3r-lint-agent.md +1 -1
  63. package/{github-agents → dist/content/github-agents}/hatch3r-security-agent.md +1 -1
  64. package/{github-agents → dist/content/github-agents}/hatch3r-test-agent.md +1 -1
  65. package/{hooks → dist/content/hooks}/hatch3r-ci-failure.md +3 -3
  66. package/{hooks → dist/content/hooks}/hatch3r-file-save.md +3 -3
  67. package/{hooks → dist/content/hooks}/hatch3r-post-merge.md +1 -1
  68. package/{hooks → dist/content/hooks}/hatch3r-pre-commit.md +1 -1
  69. package/{hooks → dist/content/hooks}/hatch3r-pre-push.md +3 -3
  70. package/{hooks → dist/content/hooks}/hatch3r-session-start.md +3 -3
  71. package/{rules → dist/content/rules}/hatch3r-accessibility-standards.md +2 -1
  72. package/{rules → dist/content/rules}/hatch3r-accessibility-standards.mdc +1 -0
  73. package/{rules → dist/content/rules}/hatch3r-agent-orchestration-detail.md +2 -2
  74. package/{rules → dist/content/rules}/hatch3r-agent-orchestration-detail.mdc +1 -1
  75. package/{rules → dist/content/rules}/hatch3r-agent-orchestration.md +2 -2
  76. package/{rules → dist/content/rules}/hatch3r-agent-orchestration.mdc +1 -1
  77. package/{rules → dist/content/rules}/hatch3r-ai-evals.md +2 -1
  78. package/{rules → dist/content/rules}/hatch3r-ai-evals.mdc +2 -1
  79. package/{rules → dist/content/rules}/hatch3r-ai-ux-patterns.md +1 -1
  80. package/{rules → dist/content/rules}/hatch3r-api-versioning.md +1 -0
  81. package/{rules → dist/content/rules}/hatch3r-api-versioning.mdc +1 -0
  82. package/{rules → dist/content/rules}/hatch3r-auth-patterns.md +2 -1
  83. package/{rules → dist/content/rules}/hatch3r-auth-patterns.mdc +1 -0
  84. package/{rules → dist/content/rules}/hatch3r-browser-verification.md +6 -10
  85. package/{rules → dist/content/rules}/hatch3r-browser-verification.mdc +6 -10
  86. package/{rules → dist/content/rules}/hatch3r-ci-cd.md +1 -0
  87. package/{rules → dist/content/rules}/hatch3r-ci-cd.mdc +1 -0
  88. package/{rules → dist/content/rules}/hatch3r-code-standards.md +1 -1
  89. package/{rules → dist/content/rules}/hatch3r-component-conventions.md +1 -1
  90. package/{rules → dist/content/rules}/hatch3r-container-hardening.md +2 -1
  91. package/{rules → dist/content/rules}/hatch3r-container-hardening.mdc +1 -0
  92. package/{rules → dist/content/rules}/hatch3r-contract-testing.md +1 -0
  93. package/{rules → dist/content/rules}/hatch3r-contract-testing.mdc +1 -0
  94. package/{rules → dist/content/rules}/hatch3r-data-classification.md +2 -1
  95. package/{rules → dist/content/rules}/hatch3r-data-classification.mdc +1 -0
  96. package/{rules → dist/content/rules}/hatch3r-deep-context.md +1 -1
  97. package/{rules → dist/content/rules}/hatch3r-dependency-management.md +2 -1
  98. package/{rules → dist/content/rules}/hatch3r-dependency-management.mdc +1 -0
  99. package/{rules → dist/content/rules}/hatch3r-design-system-detection.md +2 -1
  100. package/{rules → dist/content/rules}/hatch3r-design-system-detection.mdc +1 -0
  101. package/{rules → dist/content/rules}/hatch3r-event-schema-evolution.md +1 -0
  102. package/{rules → dist/content/rules}/hatch3r-event-schema-evolution.mdc +1 -0
  103. package/{rules → dist/content/rules}/hatch3r-git-conventions.md +1 -1
  104. package/{rules → dist/content/rules}/hatch3r-handoff-readiness.md +4 -4
  105. package/{rules → dist/content/rules}/hatch3r-handoff-readiness.mdc +3 -3
  106. package/{rules → dist/content/rules}/hatch3r-i18n.md +1 -1
  107. package/{rules → dist/content/rules}/hatch3r-iteration-summary.md +1 -1
  108. package/{rules → dist/content/rules}/hatch3r-learning-consult.md +7 -7
  109. package/{rules → dist/content/rules}/hatch3r-learning-consult.mdc +6 -6
  110. package/{rules → dist/content/rules}/hatch3r-migrations.md +2 -1
  111. package/{rules → dist/content/rules}/hatch3r-migrations.mdc +1 -0
  112. package/{rules → dist/content/rules}/hatch3r-observability-logging.md +1 -0
  113. package/{rules → dist/content/rules}/hatch3r-observability-logging.mdc +1 -0
  114. package/{rules → dist/content/rules}/hatch3r-observability-metrics.md +1 -0
  115. package/{rules → dist/content/rules}/hatch3r-observability-metrics.mdc +1 -0
  116. package/{rules → dist/content/rules}/hatch3r-observability-tracing.md +1 -0
  117. package/{rules → dist/content/rules}/hatch3r-observability-tracing.mdc +1 -0
  118. package/{rules → dist/content/rules}/hatch3r-operability.md +1 -0
  119. package/{rules → dist/content/rules}/hatch3r-operability.mdc +1 -0
  120. package/{rules → dist/content/rules}/hatch3r-passkey-server.md +2 -1
  121. package/{rules → dist/content/rules}/hatch3r-passkey-server.mdc +1 -0
  122. package/{rules → dist/content/rules}/hatch3r-performance-budgets.md +1 -1
  123. package/{rules → dist/content/rules}/hatch3r-performance-budgets.mdc +1 -1
  124. package/{rules → dist/content/rules}/hatch3r-resilience-patterns.md +1 -0
  125. package/{rules → dist/content/rules}/hatch3r-resilience-patterns.mdc +1 -0
  126. package/{rules → dist/content/rules}/hatch3r-secrets-management.md +2 -1
  127. package/{rules → dist/content/rules}/hatch3r-secrets-management.mdc +1 -0
  128. package/{rules → dist/content/rules}/hatch3r-security-patterns.md +2 -1
  129. package/{rules → dist/content/rules}/hatch3r-security-patterns.mdc +1 -0
  130. package/{rules → dist/content/rules}/hatch3r-testing.md +2 -1
  131. package/{rules → dist/content/rules}/hatch3r-testing.mdc +1 -0
  132. package/{rules → dist/content/rules}/hatch3r-theming.md +1 -1
  133. package/{rules → dist/content/rules}/hatch3r-tooling-hierarchy.md +4 -4
  134. package/{rules → dist/content/rules}/hatch3r-tooling-hierarchy.mdc +3 -3
  135. package/{rules → dist/content/rules}/hatch3r-ux-states-and-flows.md +2 -1
  136. package/{rules → dist/content/rules}/hatch3r-ux-states-and-flows.mdc +1 -0
  137. package/{skills → dist/content/skills}/hatch3r-a11y-audit/SKILL.md +1 -1
  138. package/{skills → dist/content/skills}/hatch3r-architecture-review/SKILL.md +1 -1
  139. package/{commands/hatch3r-board-groom.md → dist/content/skills/hatch3r-board-groom/SKILL.md} +5 -18
  140. package/{commands/hatch3r-board-init.md → dist/content/skills/hatch3r-board-init/SKILL.md} +17 -30
  141. package/{commands/hatch3r-board-refresh.md → dist/content/skills/hatch3r-board-refresh/SKILL.md} +5 -18
  142. package/{commands/hatch3r-board-shared.md → dist/content/skills/hatch3r-board-shared/SKILL.md} +7 -14
  143. package/{skills → dist/content/skills}/hatch3r-bug-fix/SKILL.md +1 -1
  144. package/{skills → dist/content/skills}/hatch3r-cli-fd/SKILL.md +1 -1
  145. package/{skills → dist/content/skills}/hatch3r-cli-fzf/SKILL.md +1 -1
  146. package/{skills → dist/content/skills}/hatch3r-cli-gh/SKILL.md +4 -4
  147. package/{skills → dist/content/skills}/hatch3r-cli-jq/SKILL.md +3 -3
  148. package/{skills → dist/content/skills}/hatch3r-cli-ripgrep/SKILL.md +3 -3
  149. package/dist/content/skills/hatch3r-cli-toolbox/SKILL.md +269 -0
  150. package/{skills → dist/content/skills}/hatch3r-context-health/SKILL.md +18 -2
  151. package/{skills → dist/content/skills}/hatch3r-cost-tracking/SKILL.md +59 -7
  152. package/{skills → dist/content/skills}/hatch3r-customize/SKILL.md +5 -6
  153. package/{skills → dist/content/skills}/hatch3r-dep-audit/SKILL.md +6 -2
  154. package/{skills → dist/content/skills}/hatch3r-design-system-detect/SKILL.md +1 -1
  155. package/{skills → dist/content/skills}/hatch3r-feature/SKILL.md +1 -1
  156. package/{skills → dist/content/skills}/hatch3r-gh-agentic-workflows/SKILL.md +4 -4
  157. package/{skills → dist/content/skills}/hatch3r-gh-agentic-workflows/references/azure-devops.md +2 -2
  158. package/{skills → dist/content/skills}/hatch3r-gh-agentic-workflows/references/gitlab-ci.md +1 -1
  159. package/{skills → dist/content/skills}/hatch3r-handoff-prepare/SKILL.md +9 -9
  160. package/{skills → dist/content/skills}/hatch3r-handoff-resume/SKILL.md +2 -2
  161. package/{skills → dist/content/skills}/hatch3r-incident-response/SKILL.md +2 -2
  162. package/{skills → dist/content/skills}/hatch3r-issue-workflow/SKILL.md +4 -4
  163. package/{skills → dist/content/skills}/hatch3r-migration/SKILL.md +1 -1
  164. package/{skills → dist/content/skills}/hatch3r-observability-verify/SKILL.md +0 -1
  165. package/{skills → dist/content/skills}/hatch3r-perf-audit/SKILL.md +1 -1
  166. package/{skills → dist/content/skills}/hatch3r-pr-creation/SKILL.md +4 -4
  167. package/{skills → dist/content/skills}/hatch3r-qa-validation/SKILL.md +2 -2
  168. package/{skills → dist/content/skills}/hatch3r-recipe/SKILL.md +82 -2
  169. package/{skills → dist/content/skills}/hatch3r-refactor/SKILL.md +1 -1
  170. package/{skills → dist/content/skills}/hatch3r-release/SKILL.md +35 -2
  171. package/{skills → dist/content/skills}/hatch3r-ui-ux-verify/SKILL.md +1 -1
  172. package/{skills → dist/content/skills}/hatch3r-visual-refactor/SKILL.md +1 -1
  173. package/package.json +6 -18
  174. package/commands/hatch3r-agent-customize.md +0 -201
  175. package/commands/hatch3r-command-customize.md +0 -113
  176. package/commands/hatch3r-context-health.md +0 -147
  177. package/commands/hatch3r-cost-tracking.md +0 -163
  178. package/commands/hatch3r-dep-audit.md +0 -188
  179. package/commands/hatch3r-recipe.md +0 -194
  180. package/commands/hatch3r-release.md +0 -350
  181. package/commands/hatch3r-rule-customize.md +0 -133
  182. package/commands/hatch3r-skill-customize.md +0 -112
  183. package/prompts/hatch3r-bug-triage.md +0 -158
  184. package/prompts/hatch3r-code-review.md +0 -134
  185. package/prompts/hatch3r-pr-description.md +0 -176
  186. package/rules/hatch3r-observability-tracing-detail.md +0 -20
  187. package/rules/hatch3r-observability-tracing-detail.mdc +0 -14
  188. package/rules/hatch3r-observability.md +0 -20
  189. package/rules/hatch3r-observability.mdc +0 -14
  190. package/skills/hatch3r-agent-customize/SKILL.md +0 -23
  191. package/skills/hatch3r-cli-aichat/SKILL.md +0 -84
  192. package/skills/hatch3r-cli-ast-grep/SKILL.md +0 -85
  193. package/skills/hatch3r-cli-az-devops/SKILL.md +0 -89
  194. package/skills/hatch3r-cli-bat/SKILL.md +0 -85
  195. package/skills/hatch3r-cli-comby/SKILL.md +0 -85
  196. package/skills/hatch3r-cli-csvkit/SKILL.md +0 -84
  197. package/skills/hatch3r-cli-delta/SKILL.md +0 -86
  198. package/skills/hatch3r-cli-difftastic/SKILL.md +0 -84
  199. package/skills/hatch3r-cli-docker/SKILL.md +0 -89
  200. package/skills/hatch3r-cli-duckdb/SKILL.md +0 -84
  201. package/skills/hatch3r-cli-glab/SKILL.md +0 -89
  202. package/skills/hatch3r-cli-lazygit/SKILL.md +0 -78
  203. package/skills/hatch3r-cli-llm/SKILL.md +0 -84
  204. package/skills/hatch3r-cli-miller/SKILL.md +0 -84
  205. package/skills/hatch3r-cli-mods/SKILL.md +0 -84
  206. package/skills/hatch3r-cli-overview/SKILL.md +0 -60
  207. package/skills/hatch3r-cli-playwright/SKILL.md +0 -89
  208. package/skills/hatch3r-cli-podman/SKILL.md +0 -84
  209. package/skills/hatch3r-cli-qsv/SKILL.md +0 -91
  210. package/skills/hatch3r-cli-rtk/SKILL.md +0 -91
  211. package/skills/hatch3r-cli-sd/SKILL.md +0 -85
  212. package/skills/hatch3r-cli-stagehand/SKILL.md +0 -111
  213. package/skills/hatch3r-cli-taplo/SKILL.md +0 -84
  214. package/skills/hatch3r-cli-yq/SKILL.md +0 -85
  215. package/skills/hatch3r-cli-zstd/SKILL.md +0 -85
  216. package/skills/hatch3r-command-customize/SKILL.md +0 -23
  217. package/skills/hatch3r-rule-customize/SKILL.md +0 -23
  218. package/skills/hatch3r-skill-customize/SKILL.md +0 -23
  219. /package/{agents → dist/content/agents}/hatch3r-architect.md +0 -0
  220. /package/{agents → dist/content/agents}/hatch3r-docs-writer.md +0 -0
  221. /package/{agents → dist/content/agents}/hatch3r-perf-profiler.md +0 -0
  222. /package/{agents → dist/content/agents}/modes/architecture.md +0 -0
  223. /package/{agents → dist/content/agents}/modes/boundary-analysis.md +0 -0
  224. /package/{agents → dist/content/agents}/modes/codebase-impact.md +0 -0
  225. /package/{agents → dist/content/agents}/modes/complexity-risk.md +0 -0
  226. /package/{agents → dist/content/agents}/modes/coverage-analysis.md +0 -0
  227. /package/{agents → dist/content/agents}/modes/current-state.md +0 -0
  228. /package/{agents → dist/content/agents}/modes/feature-design.md +0 -0
  229. /package/{agents → dist/content/agents}/modes/impact-analysis.md +0 -0
  230. /package/{agents → dist/content/agents}/modes/library-docs.md +0 -0
  231. /package/{agents → dist/content/agents}/modes/migration-path.md +0 -0
  232. /package/{agents → dist/content/agents}/modes/prior-art.md +0 -0
  233. /package/{agents → dist/content/agents}/modes/refactoring-strategy.md +0 -0
  234. /package/{agents → dist/content/agents}/modes/regression.md +0 -0
  235. /package/{agents → dist/content/agents}/modes/requirements-elicitation.md +0 -0
  236. /package/{agents → dist/content/agents}/modes/risk-assessment.md +0 -0
  237. /package/{agents → dist/content/agents}/modes/risk-prioritization.md +0 -0
  238. /package/{agents → dist/content/agents}/modes/root-cause.md +0 -0
  239. /package/{agents → dist/content/agents}/modes/similar-implementation.md +0 -0
  240. /package/{agents → dist/content/agents}/modes/symptom-trace.md +0 -0
  241. /package/{agents → dist/content/agents}/modes/test-pattern.md +0 -0
  242. /package/{agents → dist/content/agents}/modes/user-flows.md +0 -0
  243. /package/{agents → dist/content/agents}/shared/efficiency-patterns.md +0 -0
  244. /package/{agents → dist/content/agents}/shared/prompt-structure.md +0 -0
  245. /package/{checks → dist/content/checks}/README.md +0 -0
  246. /package/{checks → dist/content/checks}/accessibility.md +0 -0
  247. /package/{checks → dist/content/checks}/code-quality.md +0 -0
  248. /package/{checks → dist/content/checks}/performance.md +0 -0
  249. /package/{checks → dist/content/checks}/security.md +0 -0
  250. /package/{checks → dist/content/checks}/testing.md +0 -0
  251. /package/{commands → dist/content/commands}/board/pickup-modes.md +0 -0
  252. /package/{commands → dist/content/commands}/board/shared-board-overview.md +0 -0
  253. /package/{commands → dist/content/commands}/revision/revision-board-integration.md +0 -0
  254. /package/{commands → dist/content/commands}/revision/revision-modes.md +0 -0
  255. /package/{mcp → dist/content/mcp}/mcp.json +0 -0
  256. /package/{rules → dist/content/rules}/hatch3r-ai-ux-patterns.mdc +0 -0
  257. /package/{rules → dist/content/rules}/hatch3r-api-design.md +0 -0
  258. /package/{rules → dist/content/rules}/hatch3r-api-design.mdc +0 -0
  259. /package/{rules → dist/content/rules}/hatch3r-code-standards.mdc +0 -0
  260. /package/{rules → dist/content/rules}/hatch3r-component-conventions.mdc +0 -0
  261. /package/{rules → dist/content/rules}/hatch3r-deep-context.mdc +0 -0
  262. /package/{rules → dist/content/rules}/hatch3r-feature-flags.md +0 -0
  263. /package/{rules → dist/content/rules}/hatch3r-feature-flags.mdc +0 -0
  264. /package/{rules → dist/content/rules}/hatch3r-git-conventions.mdc +0 -0
  265. /package/{rules → dist/content/rules}/hatch3r-i18n.mdc +0 -0
  266. /package/{rules → dist/content/rules}/hatch3r-iteration-summary.mdc +0 -0
  267. /package/{rules → dist/content/rules}/hatch3r-progressive-delivery.md +0 -0
  268. /package/{rules → dist/content/rules}/hatch3r-progressive-delivery.mdc +0 -0
  269. /package/{rules → dist/content/rules}/hatch3r-theming.mdc +0 -0
  270. /package/{skills → dist/content/skills}/hatch3r-a11y-audit/references/manual-audit-checklist.md +0 -0
  271. /package/{skills → dist/content/skills}/hatch3r-ai-feature/SKILL.md +0 -0
  272. /package/{skills → dist/content/skills}/hatch3r-api-spec/SKILL.md +0 -0
  273. /package/{skills → dist/content/skills}/hatch3r-ci-pipeline/SKILL.md +0 -0
  274. /package/{skills → dist/content/skills}/hatch3r-issue-workflow/references/delegation-patterns.md +0 -0
  275. /package/{skills → dist/content/skills}/hatch3r-logical-refactor/SKILL.md +0 -0
  276. /package/{skills → dist/content/skills}/hatch3r-reliability-verify/SKILL.md +0 -0
@@ -4,7 +4,7 @@ type: command
4
4
  orchestrator: true
5
5
  agentPipeline: [hatch3r-researcher, hatch3r-implementer, hatch3r-reviewer, hatch3r-fixer, hatch3r-test-writer, hatch3r-security-auditor]
6
6
  description: Standalone debug-and-fix workflow — add strategic debug logging, collect runtime logs from the user, perform root cause analysis, implement the fix, and clean up all debug artifacts.
7
- tags: [core, implementation]
7
+ tags: [implementation, orchestration]
8
8
  quality_charter: agents/shared/quality-charter.md
9
9
  efficiency_patterns: agents/shared/efficiency-patterns.md
10
10
  cache_friendly: true
@@ -57,7 +57,7 @@ It retains:
57
57
  - Quality checks (lint, typecheck, test) — always mandatory
58
58
  - Sub-agent delegation for all non-trivial work
59
59
  - Full review pipeline in Stage 5 (reviewer, test-writer, security-auditor)
60
- - `scope: always` rules from `.agents/rules/`
60
+ - `scope: always` rules from `rules/`
61
61
  - Debug artifact cleanup guarantee
62
62
 
63
63
  ---
@@ -127,8 +127,8 @@ You can also paste an error log, stack trace, or screenshot description and I'll
127
127
  1. Check for existing documentation:
128
128
  - `docs/specs/` — project specifications (read TOC/headers first, expand relevant sections only)
129
129
  - `README.md` — project overview and setup instructions
130
- - `AGENTS.md` or `.agents/rules/` — agent rules and project conventions
131
- 2. If `.agents/learnings/` exists, scan for learnings relevant to the affected area. Match by area and tags against the bug description.
130
+ - `AGENTS.md` or `rules/` — agent rules and project conventions
131
+ 2. If `.hatch3r/learnings/` exists, scan for learnings relevant to the affected area. Match by area and tags against the bug description.
132
132
  3. Scan the affected code area — read the primary files involved, trace imports and dependencies one level deep.
133
133
 
134
134
  **Knowledge hierarchy:** project specs → codebase exploration → Context7 MCP (`resolve-library-id` then `query-docs`) → web research. Exhaust each level before escalating to the next.
@@ -166,7 +166,7 @@ The researcher prompt MUST include:
166
166
  - The affected files and modules identified in Stage 1b.
167
167
  - Instruction to follow the **hatch3r-researcher agent protocol** with mode `symptom-trace`.
168
168
  - Instruction to identify specific instrumentation points: decision branches, data flow boundaries, error handlers, state transitions, and external call sites in the affected area.
169
- - All `scope: always` rule directives from `.agents/rules/`.
169
+ - All `scope: always` rule directives from `rules/`.
170
170
 
171
171
  The researcher must produce a structured list of recommended instrumentation points:
172
172
 
@@ -186,7 +186,7 @@ Spawn a `hatch3r-implementer` sub-agent via the Task tool (`subagent_type: "gene
186
186
  The implementer prompt MUST include:
187
187
  - The researcher's instrumentation points from Stage 2a.
188
188
  - The confirmed bug context from Stage 1c.
189
- - All `scope: always` rule directives from `.agents/rules/`.
189
+ - All `scope: always` rule directives from `rules/`.
190
190
  - Explicit instruction: do NOT create branches, commits, or PRs.
191
191
 
192
192
  **Debug logging rules** (include these verbatim in the implementer prompt):
@@ -281,7 +281,7 @@ The researcher prompt MUST include:
281
281
  - The structured log analysis from Stage 3b (full parsed output).
282
282
  - The instrumentation point list from Stage 2a (to correlate expected vs. actual behavior).
283
283
  - Instruction to follow the **hatch3r-researcher agent protocol** with mode `root-cause` and depth `deep`.
284
- - All `scope: always` rule directives from `.agents/rules/`.
284
+ - All `scope: always` rule directives from `rules/`.
285
285
  - Instruction to produce ranked hypotheses with evidence from the log data.
286
286
 
287
287
  **Knowledge hierarchy for the researcher:** project specs → codebase → Context7 MCP → web research. Use `gh` CLI (e.g., `gh issue list`, `gh pr list`) for reading GitHub data; prefer `gh` over GitHub MCP tools.
@@ -324,7 +324,7 @@ Spawn a `hatch3r-implementer` sub-agent via the Task tool (`subagent_type: "gene
324
324
  The implementer prompt MUST include:
325
325
  - The confirmed diagnosis from Stage 4b (root cause, evidence, recommended fix approach).
326
326
  - The full list of files modified in Stage 2b (debug logging locations) for cleanup reference.
327
- - All `scope: always` rule directives from `.agents/rules/`.
327
+ - All `scope: always` rule directives from `rules/`.
328
328
  - Explicit instruction: do NOT create branches, commits, or PRs.
329
329
 
330
330
  **Fix implementation rules** (include these verbatim in the implementer prompt):
@@ -355,7 +355,7 @@ Run a review-fix loop, maximum 3 iterations, until the reviewer reports a clean
355
355
  - The diff of all changes (use `git diff` on the working tree).
356
356
  - The original bug context from Stage 1c.
357
357
  - The diagnosis from Stage 4b.
358
- - All `scope: always` rule directives from `.agents/rules/`.
358
+ - All `scope: always` rule directives from `rules/`.
359
359
  - Instruction to verify: correctness of the fix, no remaining debug artifacts, code quality, no regressions introduced.
360
360
 
361
361
  2. If the reviewer reports findings (critical or warning level):
@@ -378,12 +378,12 @@ After the review loop completes clean (or the user proceeds), spawn these two su
378
378
  - The fix diff (what was changed).
379
379
  - The root cause from Stage 4b.
380
380
  - Instruction to write tests that would have caught this bug — regression tests targeting the specific failure mode.
381
- - All `scope: always` rule directives from `.agents/rules/`.
381
+ - All `scope: always` rule directives from `rules/`.
382
382
 
383
383
  2. **`hatch3r-security-auditor`** — security review of the fix. The prompt MUST include:
384
384
  - The fix diff.
385
385
  - The affected files and data flows.
386
- - All `scope: always` rule directives from `.agents/rules/`.
386
+ - All `scope: always` rule directives from `rules/`.
387
387
 
388
388
  Await both sub-agents. Apply any findings (additional tests, security fixes).
389
389
 
@@ -4,7 +4,7 @@ type: command
4
4
  orchestrator: true
5
5
  agentPipeline: [hatch3r-researcher, hatch3r-docs-writer]
6
6
  description: Design a new capability -- draft user stories, acceptance criteria, data model, API surface, and sub-issue breakdown as an epic-shaped todo.md for greenfield features
7
- tags: [core, planning]
7
+ tags: [planning, orchestration]
8
8
  quality_charter: agents/shared/quality-charter.md
9
9
  efficiency_patterns: agents/shared/efficiency-patterns.md
10
10
  cache_friendly: true
@@ -35,7 +35,7 @@ Take a single feature idea and produce a complete feature specification (`docs/s
35
35
 
36
36
  ## Shared Context
37
37
 
38
- **Read the `hatch3r-board-shared` command at the start of the run** if it exists. While this command does not perform board operations directly, it establishes patterns and context (GitHub owner/repo, tooling directives) that downstream commands like `hatch3r-board-fill` rely on. Cache any values found.
38
+ **Read the `hatch3r-board-shared` skill at the start of the run** if it exists. While this command does not perform board operations directly, it establishes patterns and context (GitHub owner/repo, tooling directives) that downstream commands like `hatch3r-board-fill` rely on. Cache any values found.
39
39
 
40
40
  ## Token-Saving Directives
41
41
 
@@ -118,10 +118,10 @@ Answer these now, or say 'use defaults' for any where you're comfortable with a
118
118
  - `docs/specs/` — project specifications (read TOC/headers first, expand relevant sections only)
119
119
  - `docs/adr/` — architectural decision records (scan for decisions relevant to the feature area)
120
120
  - `README.md` — project overview
121
- - `.agents/hatch.json` — board configuration
121
+ - `.hatch3r/hatch.json` — board configuration
122
122
  - Existing `todo.md` — current backlog (check for overlap or related items)
123
123
  2. Scan GitHub issues via `search_issues` for existing work related to the feature. Note duplicates or partial overlaps.
124
- 3. If `.agents/learnings/` exists, scan for learnings relevant to the feature area. Match by area and tags against the feature brief.
124
+ 3. If `.hatch3r/learnings/` exists, scan for learnings relevant to the feature area. Match by area and tags against the feature brief.
125
125
  4. Present a context summary:
126
126
 
127
127
  ```
@@ -448,7 +448,7 @@ If yes, instruct the user to invoke the `hatch3r-board-fill` command. Note that
448
448
  - **Sub-agent failure:** Retry the failed sub-agent once. If it fails again, present partial results from the remaining sub-agents and ask the user how to proceed (continue without that researcher's input / provide the missing information manually / abort).
449
449
  - **Conflicting researcher outputs:** Present both options side by side with trade-offs. Ask the user to decide. Do not silently pick one.
450
450
  - **File write failure:** Report the error and provide the full file content so the user can create the file manually.
451
- - **Missing project context:** If no `hatch3r-board-shared` or `.agents/hatch.json` exists, proceed without board context — this command does not require board configuration.
451
+ - **Missing project context:** If no `hatch3r-board-shared` or `.hatch3r/hatch.json` exists, proceed without board context — this command does not require board configuration.
452
452
  - **No existing specs or docs:** Proceed without spec references. Warn that the feature spec will be less contextualized without existing project documentation. Recommend running `hatch3r-project-spec` or `hatch3r-codebase-map` first for best results.
453
453
  - **Duplicate detection:** If the feature overlaps significantly with existing todo.md items or GitHub issues found in Step 2, present the overlap and ASK whether to proceed (augment existing / replace / abort).
454
454
 
@@ -4,7 +4,7 @@ type: command
4
4
  orchestrator: true
5
5
  agentPipeline: [hatch3r-handoff-preparer]
6
6
  description: Prepare, resume, list, complete, and prune cross-session handoff documents.
7
- tags: [core, maintenance]
7
+ tags: [orchestration, maintenance]
8
8
  quality_charter: agents/shared/quality-charter.md
9
9
  efficiency_patterns: agents/shared/efficiency-patterns.md
10
10
  cache_friendly: true
@@ -25,11 +25,11 @@ The `prepare` subcommand delegates to `hatch3r-handoff-preparer` via the Task to
25
25
 
26
26
  ## Learnings Consultation
27
27
 
28
- Before starting, scan `.agents/learnings/` for entries tagged `handoff`, `context-switch`, `resume`, or `session-state`. Apply the protocol in `rules/hatch3r-learning-consult.md` (frontmatter-first scan; surface top 5 by confidence). Skip if the directory has fewer than 3 files.
28
+ Before starting, scan `.hatch3r/learnings/` for entries tagged `handoff`, `context-switch`, `resume`, or `session-state`. Apply the protocol in `rules/hatch3r-learning-consult.md` (frontmatter-first scan; surface top 5 by confidence). Skip if the directory has fewer than 3 files.
29
29
 
30
30
  # Handoff Management — Cross-Session Work Continuity
31
31
 
32
- Manage canonical handoff documents at `.agents/handoffs/active/` for mid-work state capture and resumption across sessions, tools, or developers.
32
+ Manage canonical handoff documents at `.hatch3r/handoffs/active/` for mid-work state capture and resumption across sessions, tools, or developers.
33
33
 
34
34
  ---
35
35
 
@@ -101,13 +101,13 @@ ID STATUS BRANCH
101
101
 
102
102
  **ASK:** "Mark `{id}` completed and archive? (y/N). Reason will be recorded: `{reason or 'no reason given'}`."
103
103
 
104
- 4. On confirm: transition `status` to `completed`, stamp `updated` to now, prepend the archival notice (mirrors learnings archival format), then atomic-rename to `.agents/handoffs/archived/<id>.md`.
104
+ 4. On confirm: transition `status` to `completed`, stamp `updated` to now, prepend the archival notice (mirrors learnings archival format), then atomic-rename to `.hatch3r/handoffs/archived/<id>.md`.
105
105
 
106
106
  ## Subcommand: prune
107
107
 
108
108
  1. Parse `--dry-run` flag.
109
- 2. Scan `.agents/handoffs/active/`: collect entries whose `expires_after` ISO-8601 timestamp is at-or-before now (preparer default stamps `created + 30 days`).
110
- 3. Scan `.agents/handoffs/archived/`: collect entries where `updated` is older than 90 days.
109
+ 2. Scan `.hatch3r/handoffs/active/`: collect entries whose `expires_after` ISO-8601 timestamp is at-or-before now (preparer default stamps `created + 30 days`).
110
+ 3. Scan `.hatch3r/handoffs/archived/`: collect entries where `updated` is older than 90 days.
111
111
  4. Present a two-section preview (Active expirations to archive, Archives to delete).
112
112
  5. If `--dry-run`: print the preview and exit.
113
113
 
@@ -119,7 +119,7 @@ ID STATUS BRANCH
119
119
 
120
120
  ## Error Handling
121
121
 
122
- - `.agents/handoffs/active/` missing or empty: emit `No active handoffs. Run 'hatch3r-handoff prepare' to capture one.` and exit 0.
122
+ - `.hatch3r/handoffs/active/` missing or empty: emit `No active handoffs. Run 'hatch3r-handoff prepare' to capture one.` and exit 0.
123
123
  - Ambiguous `<id>` (multiple partial matches): list the matches and **ASK** the user to pick one.
124
124
  - Write conflict (concurrent prepare for same `work_item`): surface the existing handoff path and **ASK** whether to overwrite (only if existing handoff is older than 24 hours per `writeHandoff` policy).
125
125
  - `complete` or `prune` requested on a missing id: report the path that was looked up and suggest `hatch3r-handoff list`.
@@ -127,7 +127,7 @@ ID STATUS BRANCH
127
127
  ## Guardrails
128
128
 
129
129
  - **Never delete** a handoff without explicit user confirmation. Prune deletes only archives older than 90 days, and only after the confirm prompt.
130
- - **Never modify** a file already in `.agents/handoffs/archived/`. Archived entries are immutable history.
130
+ - **Never modify** a file already in `.hatch3r/handoffs/archived/`. Archived entries are immutable history.
131
131
  - **Never include secrets** (API keys, tokens, credentials) in any handoff body. The preparer scans for credential-shaped strings; reject the write if any are detected.
132
- - **Never write** outside `.agents/handoffs/active/` for new handoffs. Archival is the only path into `archived/`.
132
+ - **Never write** outside `.hatch3r/handoffs/active/` for new handoffs. Archival is the only path into `archived/`.
133
133
  - **Always emit the Iteration Summary block** at the end of the iteration per `rules/hatch3r-iteration-summary.md`.
@@ -34,7 +34,7 @@ Create a healthcheck epic on **{owner}/{repo}** with one sub-issue per logical p
34
34
 
35
35
  ## Shared Context
36
36
 
37
- **Read the project's shared board context at the start of the run** (e.g., `.agents/commands/hatch3r-board-shared.md` or equivalent). It contains GitHub Context, Project Reference, Projects v2 sync procedure, and Board Overview template. Cache all values for the duration of this run.
37
+ **Read the project's shared board context at the start of the run** (e.g., `commands/hatch3r-board-shared/SKILL.md` or equivalent). It contains GitHub Context, Project Reference, Projects v2 sync procedure, and Board Overview template. Cache all values for the duration of this run.
38
38
 
39
39
  ## Token-Saving Directives
40
40
 
@@ -3,7 +3,7 @@ id: hatch3r-hooks
3
3
  type: command
4
4
  orchestrator: false
5
5
  description: Define and manage event-driven hooks that activate agents on project events
6
- tags: [core, devops]
6
+ tags: [devops, orchestration]
7
7
  quality_charter: agents/shared/quality-charter.md
8
8
  efficiency_patterns: agents/shared/efficiency-patterns.md
9
9
  cache_friendly: true
@@ -20,7 +20,7 @@ This command runs as a single orchestrator without sub-agent delegation. Hook de
20
20
 
21
21
  ## Learnings Consultation
22
22
 
23
- If `.agents/learnings/` exists, scan for learnings related to hook configurations, event trigger patterns, or prior hook issues before starting.
23
+ If `.hatch3r/learnings/` exists, scan for learnings related to hook configurations, event trigger patterns, or prior hook issues before starting.
24
24
 
25
25
  # Hooks — Event-Driven Agent Activation
26
26
 
@@ -34,8 +34,8 @@ Execute these steps in order. **Do not skip any step.** Ask the user at every ch
34
34
 
35
35
  ### Step 1: Discover Current State
36
36
 
37
- 1. Check `.agents/hooks/` for existing hook definition files (`.md` files with frontmatter).
38
- 2. Read `.agents/hatch.json` for configured tools and features.
37
+ 1. Check `hooks/` for existing hook definition files (`.md` files with frontmatter).
38
+ 2. Read `.hatch3r/hatch.json` for configured tools and features.
39
39
  3. List existing hooks with their event, agent, and conditions.
40
40
 
41
41
  Present the current state:
@@ -95,7 +95,7 @@ Present available hatch3r agents:
95
95
  - `dependency-auditor` — Dependency security and update checks
96
96
  - `docs-writer` — Documentation generation and updates
97
97
 
98
- If the user wants a custom agent name not in this list, accept it but warn that the agent must exist in `.agents/agents/`.
98
+ If the user wants a custom agent name not in this list, accept it but warn that the agent must exist in `agents/`.
99
99
 
100
100
  **ASK:** "Select an agent to activate when this event fires."
101
101
 
@@ -108,7 +108,7 @@ If the user wants a custom agent name not in this list, accept it but warn that
108
108
 
109
109
  #### 2d. Write Hook Definition File
110
110
 
111
- Generate the hook definition file at `.agents/hooks/{event}-{agent-short-name}.md`:
111
+ Generate the hook definition file at `hooks/{event}-{agent-short-name}.md`:
112
112
 
113
113
  ```markdown
114
114
  ---
@@ -150,7 +150,7 @@ For editing an existing hook:
150
150
  1. List all hooks and ask which to edit.
151
151
  2. Show current definition.
152
152
  3. Ask what to change (event, agent, conditions, description).
153
- 4. Update the hook file in `.agents/hooks/`.
153
+ 4. Update the hook file in `hooks/`.
154
154
 
155
155
  **ASK:** "Updated hook: {summary}. Save? (yes / revert / cancel)"
156
156
 
@@ -161,7 +161,7 @@ For editing an existing hook:
161
161
  1. List all hooks and ask which to remove.
162
162
  2. Show the hook definition.
163
163
 
164
- **ASK:** "Remove hook '{id}'? This will delete `.agents/hooks/{filename}`. (yes / cancel)"
164
+ **ASK:** "Remove hook '{id}'? This will delete `hooks/{filename}`. (yes / cancel)"
165
165
 
166
166
  3. Delete the file. Warn that tool-specific generated files (e.g., `.cursor/rules/hatch3r-hook-*.mdc`) will be cleaned up on the next `npx hatch3r sync`.
167
167
 
@@ -169,7 +169,7 @@ For editing an existing hook:
169
169
 
170
170
  ### Step 5: Sync Hooks to Tools
171
171
 
172
- 1. Read all hook definitions from `.agents/hooks/`.
172
+ 1. Read all hook definitions from `hooks/`.
173
173
  2. For each configured tool in `hatch.json`, describe what will be generated:
174
174
  - **Claude Code:** Hook documentation appended to managed section of `CLAUDE.md`
175
175
  - **Cursor:** Glob-based `.mdc` rule files in `.cursor/rules/hatch3r-hook-*.mdc`
@@ -209,7 +209,7 @@ In `hatch.json`:
209
209
  }
210
210
  ```
211
211
 
212
- Custom events follow the same hook definition format as built-in events — create a hook file in `.agents/hooks/` with `event: custom:{domain}:{action}`.
212
+ Custom events follow the same hook definition format as built-in events — create a hook file in `hooks/` with `event: custom:{domain}:{action}`.
213
213
 
214
214
  ---
215
215
 
@@ -284,9 +284,9 @@ For `pre-commit` with three hooks:
284
284
 
285
285
  ## Error Handling
286
286
 
287
- - `.agents/hooks/` doesn't exist: create it automatically.
287
+ - `hooks/` doesn't exist: create it automatically.
288
288
  - Invalid event type: warn and show the valid events table.
289
- - Agent not found in `.agents/agents/`: warn but allow (agent may be added later).
289
+ - Agent not found in `agents/`: warn but allow (agent may be added later).
290
290
  - Adapter doesn't support hooks: generate hook definition file anyway, warn that sync for that tool is a no-op.
291
291
  - Duplicate hook ID: warn and ask the user to choose a different name or overwrite.
292
292
 
@@ -3,7 +3,7 @@ id: hatch3r-learn
3
3
  type: command
4
4
  orchestrator: false
5
5
  description: Capture learnings from development sessions into reusable knowledge files for future consultation.
6
- tags: [core, maintenance]
6
+ tags: [orchestration, maintenance]
7
7
  quality_charter: agents/shared/quality-charter.md
8
8
  efficiency_patterns: agents/shared/efficiency-patterns.md
9
9
  cache_friendly: true
@@ -56,9 +56,9 @@ Execute these steps in order. **Do not skip any step.** Ask the user at every ch
56
56
 
57
57
  ### Step 3: Validate and Write Learning Files
58
58
 
59
- For each confirmed learning, validate content security and then create a file in `.agents/learnings/`.
59
+ For each confirmed learning, validate content security and then create a file in `.hatch3r/learnings/`.
60
60
 
61
- If `.agents/learnings/` does not exist, create it.
61
+ If `.hatch3r/learnings/` does not exist, create it.
62
62
 
63
63
  #### Content Validation (ASI06 — before write)
64
64
 
@@ -152,8 +152,8 @@ Present all saved learnings with file paths.
152
152
 
153
153
  ```
154
154
  Learnings Captured:
155
- .agents/learnings/{filename1}.md -- {category}: {one-line summary}
156
- .agents/learnings/{filename2}.md -- {category}: {one-line summary}
155
+ .hatch3r/learnings/{filename1}.md -- {category}: {one-line summary}
156
+ .hatch3r/learnings/{filename2}.md -- {category}: {one-line summary}
157
157
  ```
158
158
 
159
159
  Remind user that these will be auto-consulted during future board-pickup and board-fill runs.
@@ -173,7 +173,7 @@ Remind user that these will be auto-consulted during future board-pickup and boa
173
173
  To prevent unbounded context growth, the learnings system enforces a configurable maximum count of active learnings:
174
174
 
175
175
  - **Default cap:** 100 active learnings (not counting archived or deprecated entries).
176
- - **Configurable:** Set `learnings.maxActive` in `.agents/hatch.json` to override the default (e.g., `"learnings": { "maxActive": 150 }`).
176
+ - **Configurable:** Set `learnings.maxActive` in `.hatch3r/hatch.json` to override the default (e.g., `"learnings": { "maxActive": 150 }`).
177
177
  - **Enforcement:** When the active count reaches the cap, the `hatch3r learn` command refuses to write new learnings until existing ones are archived or pruned. Display the message: "Active learnings limit reached ({count}/{max}). Archive or prune existing learnings before adding new ones."
178
178
  - **Per-session cap:** A single `hatch3r learn` invocation may capture at most 10 learnings. If more than 10 are identified in Step 2, present the top 10 by relevance and inform the user that the remainder can be captured in a follow-up session.
179
179
 
@@ -216,7 +216,7 @@ integrity: sha256:{hex-digest} # SHA-256 of body content for tamper detection
216
216
 
217
217
  ### Archival
218
218
 
219
- Archived learnings are moved to `.agents/learnings/archived/` with their original filename. An archival notice is prepended:
219
+ Archived learnings are moved to `.hatch3r/learnings/archived/` with their original filename. An archival notice is prepended:
220
220
 
221
221
  ```markdown
222
222
  > **Archived on {date}**: {reason — expired | deprecated | superseded by {id}}
@@ -242,7 +242,7 @@ Archived learnings are moved to `.agents/learnings/archived/` with their origina
242
242
  ```
243
243
  Learnings matching "{query}":
244
244
  [{confidence}] {title} ({date}, tags: {tags})
245
- .agents/learnings/{filename}.md
245
+ .hatch3r/learnings/{filename}.md
246
246
  Applies when: {trigger summary}
247
247
  ```
248
248
 
@@ -288,8 +288,8 @@ When writing learning files, validate:
288
288
 
289
289
  ## Error Handling
290
290
 
291
- - `.agents/learnings/` directory doesn't exist: create it silently.
292
- - `.agents/learnings/archived/` directory doesn't exist: create it when first archival occurs.
291
+ - `.hatch3r/learnings/` directory doesn't exist: create it silently.
292
+ - `.hatch3r/learnings/archived/` directory doesn't exist: create it when first archival occurs.
293
293
  - Duplicate learning detected: warn and **ASK** whether to merge or create separate.
294
294
  - No learnings identified: **ASK** user directly what they learned. If still nothing, skip silently.
295
295
  - Learning exceeds quality thresholds: warn user with specific violations and suggest fixes.
@@ -302,7 +302,7 @@ When writing learning files, validate:
302
302
  - **Never delete learnings.** Use archival (move to `archived/`) instead of deletion.
303
303
  - **Learnings must be specific and actionable.** Reject generic advice like "write better tests."
304
304
  - **Always include trigger conditions** in the "Applies When" section.
305
- - **Tags must match project vocabulary** -- use area labels from `.agents/hatch.json`.
305
+ - **Tags must match project vocabulary** -- use area labels from `.hatch3r/hatch.json`.
306
306
  - **Max ~20 lines per learning** file body (excluding frontmatter).
307
307
  - **Learnings without evidence must be `hypothesis`.** Do not allow `proven` or `experimental` without evidence.
308
308
  - **Expired learnings are archived, not deleted.** Preserve institutional knowledge.
@@ -4,7 +4,7 @@ type: command
4
4
  orchestrator: true
5
5
  agentPipeline: [hatch3r-researcher, hatch3r-architect, hatch3r-docs-writer]
6
6
  description: Create a phased migration plan for a major dependency or framework upgrade. Analyzes breaking changes and produces an actionable plan with rollback procedures.
7
- tags: [planning, brownfield]
7
+ tags: [planning, ctx:brownfield-only]
8
8
  quality_charter: agents/shared/quality-charter.md
9
9
  efficiency_patterns: agents/shared/efficiency-patterns.md
10
10
  cache_friendly: true
@@ -35,7 +35,7 @@ Take a dependency or framework upgrade target and produce a complete migration p
35
35
 
36
36
  ## Shared Context
37
37
 
38
- **Read the `hatch3r-board-shared` command at the start of the run** if it exists. While this command does not perform board operations directly, it establishes patterns and context (GitHub owner/repo, tooling directives) that downstream commands like `hatch3r-board-fill` rely on. Cache any values found.
38
+ **Read the `hatch3r-board-shared` skill at the start of the run** if it exists. While this command does not perform board operations directly, it establishes patterns and context (GitHub owner/repo, tooling directives) that downstream commands like `hatch3r-board-fill` rely on. Cache any values found.
39
39
 
40
40
  ## Token-Saving Directives
41
41
 
@@ -4,7 +4,7 @@ type: command
4
4
  orchestrator: true
5
5
  agentPipeline: [hatch3r-researcher, hatch3r-docs-writer]
6
6
  description: Generate a comprehensive onboarding guide for a new developer joining the project -- spawn parallel researchers to analyze codebase structure, architecture, and conventions, then produce a tailored onboarding document with setup instructions, architecture walkthrough, coding conventions, key workflows, tribal knowledge, and a quick-reference cheat sheet.
7
- tags: [brownfield, team]
7
+ tags: [planning, ctx:brownfield-only, ctx:team-only]
8
8
  quality_charter: agents/shared/quality-charter.md
9
9
  efficiency_patterns: agents/shared/efficiency-patterns.md
10
10
  cache_friendly: true
@@ -35,7 +35,7 @@ Take a new developer's role, experience level, and focus areas and produce a com
35
35
 
36
36
  ## Shared Context
37
37
 
38
- **Read the `hatch3r-board-shared` command at the start of the run** if it exists. While this command does not perform board operations, it establishes patterns and context (GitHub owner/repo, tooling directives) that provide project metadata useful for the onboarding guide. Cache any values found.
38
+ **Read the `hatch3r-board-shared` skill at the start of the run** if it exists. While this command does not perform board operations, it establishes patterns and context (GitHub owner/repo, tooling directives) that provide project metadata useful for the onboarding guide. Cache any values found.
39
39
 
40
40
  ## Token-Saving Directives
41
41
 
@@ -117,11 +117,11 @@ Answer these now, or say 'skip' for any where you'd rather I omit that section f
117
117
  - `package.json` / `pyproject.toml` / `go.mod` / `Cargo.toml` — project metadata, scripts, dependencies
118
118
  - `.env.example` — environment variable template
119
119
  - `docs/` — any existing documentation
120
- - `.agents/rules/` — coding standards and conventions
121
- - `.agents/learnings/` — team learnings and institutional knowledge
120
+ - `rules/` — coding standards and conventions
121
+ - `.hatch3r/learnings/` — team learnings and institutional knowledge
122
122
  - CI config (`.github/workflows/`, `.gitlab-ci.yml`, etc.) — CI/CD pipeline
123
123
  2. Scan the top-level directory structure to understand project organization.
124
- 3. If `.agents/learnings/` exists, scan for learnings relevant to onboarding, common mistakes, and gotchas. Match by area and tags.
124
+ 3. If `.hatch3r/learnings/` exists, scan for learnings relevant to onboarding, common mistakes, and gotchas. Match by area and tags.
125
125
  4. Present a context summary:
126
126
 
127
127
  ```
@@ -131,7 +131,7 @@ Context Loaded:
131
131
  Package manifest: {type — with N scripts, M dependencies}
132
132
  Env template: {found / not found}
133
133
  Docs: {N} files in docs/ ({key ones listed})
134
- Rules: {N} files in .agents/rules/ ({areas covered})
134
+ Rules: {N} files in rules/ ({areas covered})
135
135
  Learnings: {N} relevant learnings
136
136
  CI: {type — N workflows}
137
137
  Gaps: {list any missing context — e.g., "no CONTRIBUTING.md", "no .env.example"}
@@ -287,7 +287,7 @@ Recommended Follow-ups:
287
287
  - **Multiple languages/frameworks:** Generate setup sections for each language/framework detected. Organize by language with shared prerequisites listed first. Note which parts of the codebase use which stack.
288
288
  - **Missing credentials or access documentation:** Never invent or guess credentials. Include placeholder sections marked `[ACTION REQUIRED]` with instructions on who to contact for access. Flag each missing credential in the Recommended Follow-ups.
289
289
  - **File write failure:** Report the error and provide the full guide content so the user can create the file manually.
290
- - **Missing project context:** If no shared board context or `.agents/hatch.json` exists, proceed without board context — this command does not require board configuration.
290
+ - **Missing project context:** If no shared board context or `.hatch3r/hatch.json` exists, proceed without board context — this command does not require board configuration.
291
291
  - **Empty or minimal codebase:** If the project has fewer than 10 source files, generate a condensed guide without the architecture and tribal knowledge sections. Note that the guide will be more useful after the project matures.
292
292
  - **Conflicting documentation:** If README instructions conflict with actual project structure or scripts, flag both versions in the guide and note the discrepancy for the developer to verify.
293
293
 
@@ -4,7 +4,7 @@ type: command
4
4
  orchestrator: true
5
5
  agentPipeline: [hatch3r-implementer, hatch3r-lint-fixer, hatch3r-test-writer, hatch3r-reviewer, hatch3r-fixer, hatch3r-security-auditor, hatch3r-docs-writer, hatch3r-a11y-auditor, hatch3r-perf-profiler]
6
6
  description: Read all open PR comments (inline + review summary + general discussion) across GitHub, Azure DevOps, and GitLab; evaluate each against current code via the rigor contract; implement accepted findings through the standard agent pipeline; and reply per comment with rationale. Auto-detects the PR from the current branch (or accepts an explicit PR number).
7
- tags: [implementation, team, review]
7
+ tags: [implementation, review, ctx:team-only]
8
8
  quality_charter: agents/shared/quality-charter.md
9
9
  efficiency_patterns: agents/shared/efficiency-patterns.md
10
10
  cache_friendly: true
@@ -58,7 +58,7 @@ Optional positional argument: `<pr-number>` (integer).
58
58
 
59
59
  ## Shared Context
60
60
 
61
- If board context exists (current branch has an associated PR or board configuration in `.agents/hatch.json`), **read the `hatch3r-board-shared` command at the start of the run.** Cache `board.platform`, `board.owner`, `board.repo`, `board.defaultBranch`, and `board.projectNumber` for the duration of the run.
61
+ If board context exists (current branch has an associated PR or board configuration in `.hatch3r/hatch.json`), **read the `hatch3r-board-shared` skill at the start of the run.** Cache `board.platform`, `board.owner`, `board.repo`, `board.defaultBranch`, and `board.projectNumber` for the duration of the run.
62
62
 
63
63
  After loading `hatch3r-board-shared`, **read the platform-specific shared file** matching `board.platform`:
64
64
  - GitHub → `commands/board/shared-github.md`
@@ -67,7 +67,7 @@ After loading `hatch3r-board-shared`, **read the platform-specific shared file**
67
67
 
68
68
  Each platform file's **Cross-Cutting Tooling** table now includes PR-comment read and reply endpoints used in Steps 2 and 8.
69
69
 
70
- If no `.agents/hatch.json` exists, fall back to GitHub and proceed — the command can still run on any GitHub repo where `gh auth login` has been completed.
70
+ If no `.hatch3r/hatch.json` exists, fall back to GitHub and proceed — the command can still run on any GitHub repo where `gh auth login` has been completed.
71
71
 
72
72
  ---
73
73
 
@@ -83,7 +83,7 @@ If no `.agents/hatch.json` exists, fall back to GitHub and proceed — the comma
83
83
  1. **One fetch per comment scope.** Issue exactly one paginated request per scope in Step 2; cache and reuse for Steps 3, 4, and 8.
84
84
  2. **One diff computation.** Compute `git diff {defaultBranch}...HEAD` once in Step 1; reuse for Steps 4 (outdated detection) and 7 (review loop input).
85
85
  3. **Targeted file reads.** In Step 4, read only the files referenced by a comment's `path`/`line` — not the full codebase.
86
- 4. **No re-reading shared rules.** `scope: always` rules from `.agents/rules/` load once at session start; pass their content into sub-agent prompts (Step 6) rather than reloading.
86
+ 4. **No re-reading shared rules.** `scope: always` rules from `rules/` load once at session start; pass their content into sub-agent prompts (Step 6) rather than reloading.
87
87
  5. **Per-platform reference cache.** Load the matching `commands/board/shared-{platform}.md` once at run start (Shared Context). Step 8 reads templates from the cache, not from disk.
88
88
 
89
89
  ---
@@ -163,7 +163,7 @@ Tier assignment is recomputed after Step 4 (when severity is known). If the init
163
163
 
164
164
  #### 1b. Detect Platform
165
165
 
166
- 1. Read `.agents/hatch.json`. Extract `board.platform` (`github | azure-devops | gitlab`).
166
+ 1. Read `.hatch3r/hatch.json`. Extract `board.platform` (`github | azure-devops | gitlab`).
167
167
  2. If absent or unreadable, default to GitHub and record a Low-confidence platform-detection finding in `run_cache.errors`.
168
168
 
169
169
  #### 1c. Look Up the PR
@@ -453,9 +453,9 @@ Each sub-agent prompt MUST include:
453
453
 
454
454
  1. The findings list for that agent: `(comment_id, file, line, comment body verbatim as the "ask", proposed_action from Step 4)`.
455
455
  2. Instruction to follow the corresponding agent protocol.
456
- 3. All `scope: always` rule directives from `.agents/rules/`.
456
+ 3. All `scope: always` rule directives from `rules/`.
457
457
  4. Acceptance criteria from `run_cache.pr.linked_issues` (read once at Step 1, cached).
458
- 5. Relevant `.agents/learnings/` matching the affected areas.
458
+ 5. Relevant `.hatch3r/learnings/` matching the affected areas.
459
459
  6. Explicit: do NOT create branches, commits, or PRs.
460
460
  7. Confidence expression requirement (verbatim from the Confidence Propagation Contract above).
461
461
  8. PR-resolve-specific constraint: "You are addressing reviewer comments on an existing PR. Stay within the architecture established by the PR's existing changes; do not introduce scope creep beyond the comments listed below."
@@ -543,7 +543,7 @@ All reply bodies are signed with a trailing line: `_— hatch3r-pr-resolve (conf
543
543
 
544
544
  Reply bodies are written to a `mktemp` file and passed with `-f body=@{file}` (GitHub/GitLab) or via the JSON `--body` argument (Azure); this avoids shell-quoting issues with markdown content.
545
545
 
546
- **Field typing for `gh api`:** Integer-typed fields like `in_reply_to` require `-F` (capital); string fields like `body` use `-f` (lowercase). Mixing them returns HTTP 422 and the reply silently fails into the retry/backoff path. See `commands/board/shared-github.md` → GitHub CLI Field-Typing Notes for the full table. **Pager:** Every `gh api` invocation from this command must run with `GH_PAGER=cat` and `PAGER=cat` set; see `commands/hatch3r-board-shared.md` → Pager-Bypass Directive.
546
+ **Field typing for `gh api`:** Integer-typed fields like `in_reply_to` require `-F` (capital); string fields like `body` use `-f` (lowercase). Mixing them returns HTTP 422 and the reply silently fails into the retry/backoff path. See `commands/board/shared-github.md` → GitHub CLI Field-Typing Notes for the full table. **Pager:** Every `gh api` invocation from this command must run with `GH_PAGER=cat` and `PAGER=cat` set; see `commands/hatch3r-board-shared/SKILL.md` → Pager-Bypass Directive.
547
547
 
548
548
  #### 8c. Resilience
549
549
 
@@ -4,7 +4,7 @@ type: command
4
4
  orchestrator: true
5
5
  agentPipeline: [hatch3r-researcher, hatch3r-docs-writer]
6
6
  description: Translate a greenfield vision into future-state design artifacts -- ADRs, domain model, API contracts, per-module technical specs, and a board-ready todo.md
7
- tags: [planning, greenfield]
7
+ tags: [planning, ctx:greenfield-only]
8
8
  quality_charter: agents/shared/quality-charter.md
9
9
  efficiency_patterns: agents/shared/efficiency-patterns.md
10
10
  cache_friendly: true
@@ -35,7 +35,7 @@ Take a project idea or vision and produce complete project documentation across
35
35
 
36
36
  ## Shared Context
37
37
 
38
- **Read the `hatch3r-board-shared` command at the start of the run** if it exists. While this command does not perform board operations directly, it establishes patterns and context (GitHub owner/repo, tooling directives) that downstream commands like `hatch3r-board-fill` rely on. Cache any values found.
38
+ **Read the `hatch3r-board-shared` skill at the start of the run** if it exists. While this command does not perform board operations directly, it establishes patterns and context (GitHub owner/repo, tooling directives) that downstream commands like `hatch3r-board-fill` rely on. Cache any values found.
39
39
 
40
40
  ## Token-Saving Directives
41
41
 
@@ -1194,7 +1194,7 @@ Which would you like to run next? (or none)"
1194
1194
  - **Sub-agent failure:** Retry the failed sub-agent once. If it fails again, present partial results from the remaining sub-agents and ask the user how to proceed (continue without that researcher's input / provide the missing information manually / abort).
1195
1195
  - **Conflicting researcher outputs:** Present both options side by side with trade-offs. Ask the user to decide. Do not silently pick one.
1196
1196
  - **File write failure:** Report the error and provide the full file content so the user can create the file manually.
1197
- - **Missing project context:** If no `hatch3r-board-shared` or `.agents/hatch.json` exists, proceed without board context — this command does not require board configuration.
1197
+ - **Missing project context:** If no `hatch3r-board-shared` or `.hatch3r/hatch.json` exists, proceed without board context — this command does not require board configuration.
1198
1198
  - **Business context gaps:** If the user cannot answer business discovery questions, proceed with "TBD" markers and flag these as open items in the business specs.
1199
1199
  - **Stage assessment unclear:** Default to "early-revenue" if the user is unsure. This provides balanced analysis depth without over- or under-engineering recommendations.
1200
1200
  - **Competitor research gaps:** If web search returns insufficient data for a competitor, note it as "limited public information" and present what was found.
@@ -4,7 +4,7 @@ type: command
4
4
  orchestrator: true
5
5
  agentPipeline: [hatch3r-implementer, hatch3r-lint-fixer, hatch3r-reviewer, hatch3r-fixer, hatch3r-test-writer, hatch3r-security-auditor]
6
6
  description: Lightweight command for small changes not worth tracking on the board. Adaptive ceremony with inline or sub-agent implementation, batch support, and soft scope guards.
7
- tags: [core, implementation]
7
+ tags: [implementation, orchestration]
8
8
  quality_charter: agents/shared/quality-charter.md
9
9
  efficiency_patterns: agents/shared/efficiency-patterns.md
10
10
  cache_friendly: true
@@ -60,7 +60,7 @@ It retains:
60
60
  - Quality checks (lint, typecheck, test) -- always mandatory
61
61
  - Adaptive sub-agent delegation (implementer for nontrivial items)
62
62
  - Light code review (reviewer for nontrivial items only)
63
- - `scope: always` rules from `.agents/rules/`
63
+ - `scope: always` rules from `rules/`
64
64
  - Soft scope guards to prevent misuse
65
65
  - Lightweight learnings consultation (file-path scan, 150-token budget)
66
66
 
@@ -163,7 +163,7 @@ Quick Change Scope:
163
163
 
164
164
  #### 2c. Lightweight Learnings Scan (Optional)
165
165
 
166
- If `.agents/learnings/` exists:
166
+ If `.hatch3r/learnings/` exists:
167
167
 
168
168
  1. Collect the file paths from the affected areas identified in Step 1.
169
169
  2. Scan learning file frontmatter for `area` or `tags` that match the affected file paths or directories.
@@ -179,7 +179,7 @@ If `.agents/learnings/` exists:
179
179
 
180
180
  **Token budget:** Max 150 tokens for this entire step. Read frontmatter only — do not read learning bodies unless the frontmatter matches. Limit to 3 surfaced learnings. If more than 3 match, show the 3 with highest confidence.
181
181
 
182
- If `.agents/learnings/` does not exist, skip this step silently.
182
+ If `.hatch3r/learnings/` does not exist, skip this step silently.
183
183
 
184
184
  **ASK:** "Proceed with these changes? (yes / adjust)"
185
185
 
@@ -231,7 +231,7 @@ No sub-agent delegation. No researcher. Implement and move on.
231
231
 
232
232
  For each nontrivial item (or group of related nontrivial items):
233
233
 
234
- 1. Read `scope: always` rules from `.agents/rules/`.
234
+ 1. Read `scope: always` rules from `rules/`.
235
235
 
236
236
  2. **Lightweight research (Tier 2 items only):** If the item scored Tier 2 in Step 2b and the user chose to proceed with lightweight research, spawn a `hatch3r-researcher` sub-agent with:
237
237
  - **Modes:** `similar-implementation` at `quick` depth (1 reference implementation)
@@ -291,7 +291,7 @@ For nontrivial items, run an iterative review loop (max 3 iterations) until 0 Cr
291
291
  The reviewer prompt MUST include:
292
292
  - The diff of all changes made (use `git diff` on the working tree).
293
293
  - Focus areas: **correctness and code quality only**. Skip security deep-dive, performance profiling, and documentation review.
294
- - All `scope: always` rule directives from `.agents/rules/`.
294
+ - All `scope: always` rule directives from `rules/`.
295
295
  - Iteration number and previous findings (if not the first iteration).
296
296
  - Confidence expression requirement: rate every recommendation and finding as high/medium/low confidence per the quality charter (`agents/shared/quality-charter.md`). High = verified against current code. Medium = pattern-based, not fully verified. Low = best judgment, recommend human review.
297
297
  - Requirement that the reviewer output include a top-level `confidence: high | medium | low` field (not just per-finding) so the gate in step 2 can evaluate it deterministically.
@@ -317,7 +317,7 @@ After the review loop is clean, spawn both agents in parallel via the Task tool:
317
317
 
318
318
  Both prompts MUST include:
319
319
  - The diff of all changes made.
320
- - All `scope: always` rule directives from `.agents/rules/`.
320
+ - All `scope: always` rule directives from `rules/`.
321
321
  - Confidence expression requirement: rate every recommendation and finding as high/medium/low confidence per the quality charter (`agents/shared/quality-charter.md`). High = verified against current code. Medium = pattern-based, not fully verified. Low = best judgment, recommend human review.
322
322
 
323
323
  Apply any resulting changes (new tests, security fixes). Re-run quality checks (Step 5a) if changes were made.