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
@@ -44,7 +44,7 @@ The command produces phased todo.md entries that map to the appropriate executio
44
44
 
45
45
  ## Shared Context
46
46
 
47
- **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.
47
+ **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.
48
48
 
49
49
  ## Token-Saving Directives
50
50
 
@@ -114,10 +114,10 @@ Refactoring Brief:
114
114
  - `docs/specs/` — project specifications (read TOC/headers first, expand relevant sections only)
115
115
  - `docs/adr/` — architectural decision records (scan for decisions relevant to the target area)
116
116
  - `README.md` — project overview
117
- - `.agents/hatch.json` — board configuration
117
+ - `.hatch3r/hatch.json` — board configuration
118
118
  - Existing `todo.md` — current backlog (check for overlap or related items)
119
119
  2. Scan GitHub issues via `search_issues` for existing work related to the refactoring area. Note in-progress work, dependencies, or prior refactoring attempts.
120
- 3. If `.agents/learnings/` exists, scan for learnings relevant to the target area. Match by area and tags against the refactoring brief.
120
+ 3. If `.hatch3r/learnings/` exists, scan for learnings relevant to the target area. Match by area and tags against the refactoring brief.
121
121
  4. Scan test coverage in the target area — identify which parts have strong test coverage (safe to refactor) vs. weak coverage (need tests first).
122
122
  5. Present a context summary:
123
123
 
@@ -445,7 +445,7 @@ If yes, instruct the user to invoke the `hatch3r-board-fill` command. Note that
445
445
  - **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).
446
446
  - **Conflicting researcher outputs:** Present both options side by side with trade-offs. Ask the user to decide. Do not silently pick one.
447
447
  - **File write failure:** Report the error and provide the full file content so the user can create the file manually.
448
- - **Missing project context:** If no `hatch3r-board-shared` or `.agents/hatch.json` exists, proceed without board context — this command does not require board configuration.
448
+ - **Missing project context:** If no `hatch3r-board-shared` or `.hatch3r/hatch.json` exists, proceed without board context — this command does not require board configuration.
449
449
  - **No existing specs or docs:** Proceed without spec references. Warn that the refactoring spec will be less contextualized without existing project documentation. Recommend running `hatch3r-project-spec` or `hatch3r-codebase-map` first for best results.
450
450
  - **Duplicate detection:** If the refactoring 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).
451
451
  - **Weak test coverage:** If the current state analyzer finds weak test coverage in the target area, the migration path planner MUST include a Phase 0 for test scaffolding. Do not proceed with refactoring phases without adequate coverage.
@@ -112,7 +112,7 @@ Create `.hatch3r/reports/` if missing. Write the rendered markdown (executive su
112
112
  ### File Footprint
113
113
 
114
114
  - 12 distinct files read; 9 distinct files edited
115
- - Top 3 most-read: src/cli/commands/validate.ts (4x), commands/hatch3r-context-health.md (2x), CHANGELOG.md (2x)
115
+ - Top 3 most-read: src/cli/commands/validate.ts (4x), skills/hatch3r-context-health/SKILL.md (2x), CHANGELOG.md (2x)
116
116
 
117
117
  ### Diagnostics
118
118
 
@@ -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: User-guided revision of agent-implemented code in a fresh context window. Reconstructs what was done, interviews the user for feedback, fixes issues, cleans up leftovers, and drives toward merge readiness. Delegation, quality pipeline, modes, and board integration details are in commands/revision/.
7
- tags: [implementation, team]
7
+ tags: [implementation, 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
@@ -53,7 +53,7 @@ The user is the reviewer. The agent is the interviewer and fixer.
53
53
 
54
54
  ## Shared Context
55
55
 
56
- **If board context exists** (current branch has an associated PR linked to issues), **read the `hatch3r-board-shared` command at the start of the run.** It contains Board Configuration, Platform Detection, Platform Context, Board Sync Procedure, and tooling directives. Cache all values for the duration of this run.
56
+ **If board context exists** (current branch has an associated PR linked to issues), **read the `hatch3r-board-shared` skill at the start of the run.** It contains Board Configuration, Platform Detection, Platform Context, Board Sync Procedure, and tooling directives. Cache all values for the duration of this run.
57
57
 
58
58
  If no board context exists (plain instruction, no PR, no linked issues), skip shared context loading and work from the git diff alone.
59
59
 
@@ -105,7 +105,7 @@ Rebuild full context in the fresh window. No prior implementation context is ass
105
105
  #### 1a. Detect Scope of Changes
106
106
 
107
107
  1. Identify the current branch: `git branch --show-current`.
108
- 2. Determine the default branch from `.agents/hatch.json` (`board.defaultBranch`). Fall back to `main` if unavailable.
108
+ 2. Determine the default branch from `.hatch3r/hatch.json` (`board.defaultBranch`). Fall back to `main` if unavailable.
109
109
  3. Compute the diff: `git diff {defaultBranch}...HEAD --stat` for a summary, then `git diff {defaultBranch}...HEAD` for the full diff.
110
110
  4. Parse the diff summary: files changed, lines added/removed, file types affected.
111
111
  5. Identify affected areas from the file paths (e.g., `src/routes/` -> API, `src/components/` -> UI, `tests/` -> testing).
@@ -114,7 +114,7 @@ Rebuild full context in the fresh window. No prior implementation context is ass
114
114
 
115
115
  > Platform-specific CLI commands: see `commands/board/shared-{platform}.md` for PR/issue lookup
116
116
 
117
- 1. Detect the platform from `.agents/hatch.json` (`board.platform`). Fall back to GitHub if unavailable.
117
+ 1. Detect the platform from `.hatch3r/hatch.json` (`board.platform`). Fall back to GitHub if unavailable.
118
118
  2. Search for an open PR on this branch using the platform CLI:
119
119
  - **GitHub:** `gh pr list --head {branch} --state open --json number,title,body,url --limit 1`
120
120
  - **Azure DevOps:** `az repos pr list --source-branch {branch} --status active --top 1`
@@ -127,11 +127,11 @@ Rebuild full context in the fresh window. No prior implementation context is ass
127
127
 
128
128
  #### 1c. Load Project Rules
129
129
 
130
- Read all `scope: always` rules from `.agents/rules/`. These must be included in every sub-agent prompt in Step 6.
130
+ Read all `scope: always` rules from `rules/`. These must be included in every sub-agent prompt in Step 6.
131
131
 
132
132
  #### 1d. Consult Learnings
133
133
 
134
- If `.agents/learnings/` exists, scan for learnings with matching areas or tags that overlap with the affected areas from Step 1a.5. Cache relevant learnings for Step 6.
134
+ If `.hatch3r/learnings/` exists, scan for learnings with matching areas or tags that overlap with the affected areas from Step 1a.5. Cache relevant learnings for Step 6.
135
135
 
136
136
  ---
137
137
 
@@ -460,7 +460,7 @@ Capture revision-specific learnings. Focus on patterns that inform future implem
460
460
  - Were there any integration issues between sub-agent outputs?
461
461
 
462
462
  2. If significant learnings are identified:
463
- - Create learning files in `.agents/learnings/` following the `hatch3r-learn` command format.
463
+ - Create learning files in `.hatch3r/learnings/` following the `hatch3r-learn` command format.
464
464
  - Use category `pitfall` for issues agents commonly miss.
465
465
  - Use category `pattern` for revision approaches that worked well.
466
466
  - Tag with relevant area labels.
@@ -4,7 +4,7 @@ type: command
4
4
  orchestrator: true
5
5
  agentPipeline: [hatch3r-researcher, hatch3r-docs-writer]
6
6
  description: Sequence delivery phases over time into a dependency-ordered milestone plan with business and technical lenses, emitting a todo.md rollout schedule rather than design docs
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 @@ Generate a dependency-aware, priority-ordered roadmap with **two parallel dimens
35
35
 
36
36
  ## Shared Context
37
37
 
38
- **Read the `hatch3r-board-shared` command at the start of the run.** It contains Board Configuration, GitHub Context, Project Reference, Projects v2 sync procedure, and tooling directives. Cache all values for the duration of this run.
38
+ **Read the `hatch3r-board-shared` skill at the start of the run.** It contains Board Configuration, GitHub Context, Project Reference, Projects v2 sync procedure, and tooling directives. Cache all values for the duration of this run.
39
39
 
40
40
  ## Token-Saving Directives
41
41
 
@@ -3,7 +3,7 @@ id: hatch3r-security-audit
3
3
  type: command
4
4
  orchestrator: false
5
5
  description: Open an OWASP ASI security epic reviewing auth boundaries, input validation, and supply-chain risks with one hardening sub-issue per module plus trust-boundary audit
6
- tags: [maintenance, security]
6
+ tags: [maintenance, floor:security]
7
7
  quality_charter: agents/shared/quality-charter.md
8
8
  efficiency_patterns: agents/shared/efficiency-patterns.md
9
9
  cache_friendly: true
@@ -34,7 +34,7 @@ Create a security audit epic on **{owner}/{repo}** with one sub-issue per logica
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
 
@@ -4,7 +4,7 @@ type: command
4
4
  orchestrator: true
5
5
  agentPipeline: [hatch3r-researcher, hatch3r-docs-writer]
6
6
  description: Plan a comprehensive test strategy -- spawn parallel researchers, produce test plan spec with coverage targets, priority ordering, test case outlines, and structured todo.md entries for board-fill.
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 test planning scope (feature, module, or codebase area) 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 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
 
@@ -122,11 +122,11 @@ Answer these now, or say 'use defaults' for any where you're comfortable with a
122
122
  - `docs/specs/` -- project specifications (read TOC/headers first, expand relevant sections only)
123
123
  - `docs/adr/` -- architectural decision records (scan for testing-related decisions)
124
124
  - `README.md` -- project overview
125
- - `.agents/hatch.json` -- board configuration
125
+ - `.hatch3r/hatch.json` -- board configuration
126
126
  - Existing `todo.md` -- current backlog (check for overlap or related items)
127
127
  - Feature spec -- if mode is feature-scoped, look for the referenced feature spec in `docs/specs/`
128
128
  2. Scan GitHub issues via `search_issues` for existing testing-related work. Note duplicates or partial overlaps.
129
- 3. If `.agents/learnings/` exists, scan for learnings relevant to testing, coverage, or quality.
129
+ 3. If `.hatch3r/learnings/` exists, scan for learnings relevant to testing, coverage, or quality.
130
130
  4. Present a context summary:
131
131
 
132
132
  ```
@@ -534,7 +534,7 @@ If `hatch3r-board-fill`: instruct the user to invoke `hatch3r-board-fill`. Note
534
534
  - **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).
535
535
  - **Conflicting researcher outputs:** Present both options side by side with trade-offs. Ask the user to decide. Do not silently pick one.
536
536
  - **File write failure:** Report the error and provide the full file content so the user can create the file manually.
537
- - **Missing project context:** If no `hatch3r-board-shared` or `.agents/hatch.json` exists, proceed without board context -- this command does not require board configuration.
537
+ - **Missing project context:** If no `hatch3r-board-shared` or `.hatch3r/hatch.json` exists, proceed without board context -- this command does not require board configuration.
538
538
  - **No existing tests:** Switch to bootstrapping strategy -- the test plan becomes a greenfield test setup plan. Include infrastructure setup (framework installation, config, CI gates) as P0 items. Warn that coverage baselines will be unavailable.
539
539
  - **No coverage tooling:** Recommend coverage setup as a prerequisite. Include coverage tooling installation as a P0 infrastructure item in the test plan. Proceed with estimated coverage from code analysis rather than measured coverage.
540
540
  - **Feature spec not found (feature-scoped mode):** Warn that the test plan will be less informed without a feature spec. Recommend running `hatch3r-feature-plan` first for best results. Proceed with what's available from codebase analysis.
@@ -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, hatch3r-docs-writer, hatch3r-lint-fixer, hatch3r-a11y-auditor, hatch3r-perf-profiler]
6
6
  description: Guided development lifecycle with 4 phases (Analyze, Plan, Implement, Review) and scale-adaptive Quick Mode for small tasks.
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
@@ -51,7 +51,7 @@ If **no**: all browser verification steps are skipped silently throughout the en
51
51
 
52
52
  ## Shared Context
53
53
 
54
- **Read the `hatch3r-board-shared` command at the start of the run.** It contains Board Configuration, GitHub Context, Project Reference, Projects v2 sync procedure, and tooling directives. Cache all values for the duration of this run.
54
+ **Read the `hatch3r-board-shared` skill at the start of the run.** It contains Board Configuration, GitHub Context, Project Reference, Projects v2 sync procedure, and tooling directives. Cache all values for the duration of this run.
55
55
 
56
56
  ## Global Rule Overrides
57
57
 
@@ -151,7 +151,7 @@ Cache the researcher outputs for use in Phase 2 and Phase 3.
151
151
 
152
152
  #### 1d. Consult Learnings
153
153
 
154
- If `.agents/learnings/` exists:
154
+ If `.hatch3r/learnings/` exists:
155
155
 
156
156
  1. Search for learnings tagged with relevant areas or technologies.
157
157
  2. Surface any applicable past experiences that inform this task.
@@ -261,8 +261,8 @@ The implementer sub-agent prompt MUST include:
261
261
  - The task description, acceptance criteria, and type.
262
262
  - The researcher output from Step 3a (if not skipped).
263
263
  - The selected hatch3r skill name and instructions.
264
- - All `scope: always` rule directives from `.agents/rules/`.
265
- - Relevant learnings from `.agents/learnings/`.
264
+ - All `scope: always` rule directives from `rules/`.
265
+ - Relevant learnings from `.hatch3r/learnings/`.
266
266
  - Explicit instruction: do NOT create branches, commits, or PRs.
267
267
  - **Reference conventions** from `similar-implementation` output (Tier 2/3) — triggers the implementer's Convention Lock step.
268
268
  - **Resolved requirements** from `requirements-elicitation` answers (Tier 2/3) — explicit decisions on ambiguities.
@@ -310,7 +310,7 @@ After each reviewer iteration, assess the reviewer's findings confidence: if the
310
310
 
311
311
  Each reviewer/fixer sub-agent prompt MUST include:
312
312
  - The agent protocol to follow.
313
- - All `scope: always` rule directives from `.agents/rules/`.
313
+ - All `scope: always` rule directives from `rules/`.
314
314
  - The diff or file changes to review/fix.
315
315
  - The task's acceptance criteria.
316
316
  - 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.
@@ -336,7 +336,7 @@ Each reviewer/fixer sub-agent prompt MUST include:
336
336
 
337
337
  Each specialist sub-agent prompt MUST include:
338
338
  - The agent protocol to follow.
339
- - All `scope: always` rule directives from `.agents/rules/`.
339
+ - All `scope: always` rule directives from `rules/`.
340
340
  - The diff or file changes to review.
341
341
  - The task's acceptance criteria.
342
342
  - 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.
@@ -371,10 +371,10 @@ Review Results:
371
371
 
372
372
  #### 4e. Capture Learnings
373
373
 
374
- If `.agents/learnings/` exists:
374
+ If `.hatch3r/learnings/` exists:
375
375
 
376
376
  1. Extract learnings from this implementation session (patterns discovered, pitfalls encountered, decisions made).
377
- 2. Store in `.agents/learnings/` with appropriate area tags.
377
+ 2. Store in `.hatch3r/learnings/` with appropriate area tags.
378
378
 
379
379
  ---
380
380
 
@@ -63,9 +63,9 @@ Each sub-agent prompt MUST include:
63
63
 
64
64
  1. The specific findings to address (file paths, line numbers, descriptions, expected behavior).
65
65
  2. Instruction to follow the corresponding agent protocol (e.g., "Follow the hatch3r-implementer agent protocol").
66
- 3. All `scope: always` rule directives from `.agents/rules/` — sub-agents do not inherit rules automatically.
66
+ 3. All `scope: always` rule directives from `rules/` — sub-agents do not inherit rules automatically.
67
67
  4. Acceptance criteria from linked issues (if available from Step 1b).
68
- 5. Relevant learnings from `.agents/learnings/` (if found in Step 1d).
68
+ 5. Relevant learnings from `.hatch3r/learnings/` (if found in Step 1d).
69
69
  6. Explicit instruction: do NOT create branches, commits, or PRs.
70
70
  7. 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.
71
71
  8. Revision-specific constraint: "You are fixing existing code, not implementing new features. Stay within the architecture established by the original implementation."
@@ -38,7 +38,7 @@ Run an iterative review loop (max 3 iterations) until 0 Critical + 0 Warning fin
38
38
 
39
39
  The reviewer prompt MUST include:
40
40
  - The diff of all changes made (use `git diff` on the working tree).
41
- - All `scope: always` rule directives from `.agents/rules/`.
41
+ - All `scope: always` rule directives from `rules/`.
42
42
  - Iteration number and previous findings (if not the first iteration).
43
43
  - 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.
44
44
 
@@ -82,7 +82,7 @@ After the review loop is clean, spawn specialist agents in parallel via the Task
82
82
 
83
83
  Each specialist sub-agent prompt MUST include:
84
84
  - The agent protocol to follow (e.g., "Follow the hatch3r-test-writer agent protocol").
85
- - All `scope: always` rule directives from `.agents/rules/` (sub-agents do not inherit rules automatically).
85
+ - All `scope: always` rule directives from `rules/` (sub-agents do not inherit rules automatically).
86
86
  - The diff or file changes to review.
87
87
  - The linked issue's acceptance criteria (if available).
88
88
  - 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.
@@ -3,7 +3,7 @@ name: hatch3r-docs-agent
3
3
  type: github-agent
4
4
  description: Technical writer who maintains specs, ADRs, and documentation
5
5
  # Simplified agent for GitHub Copilot/Codex
6
- tags: [team, devops]
6
+ tags: [devops, ctx:team-only]
7
7
  quality_charter: agents/shared/quality-charter.md
8
8
  efficiency_patterns: agents/shared/efficiency-patterns.md
9
9
  cache_friendly: true
@@ -3,7 +3,7 @@ name: hatch3r-lint-agent
3
3
  type: github-agent
4
4
  description: Code quality enforcer who fixes style, formatting, and type issues
5
5
  # Simplified agent for GitHub Copilot/Codex
6
- tags: [team, devops]
6
+ tags: [devops, ctx:team-only]
7
7
  quality_charter: agents/shared/quality-charter.md
8
8
  efficiency_patterns: agents/shared/efficiency-patterns.md
9
9
  cache_friendly: true
@@ -3,7 +3,7 @@ name: hatch3r-security-agent
3
3
  type: github-agent
4
4
  description: Security analyst who audits code, rules, and data flows
5
5
  # Simplified agent for GitHub Copilot/Codex
6
- tags: [team, devops]
6
+ tags: [devops, floor:security, ctx:team-only]
7
7
  quality_charter: agents/shared/quality-charter.md
8
8
  efficiency_patterns: agents/shared/efficiency-patterns.md
9
9
  cache_friendly: true
@@ -3,7 +3,7 @@ name: hatch3r-test-agent
3
3
  type: github-agent
4
4
  description: QA engineer who writes and maintains tests
5
5
  # Simplified agent for GitHub Copilot/Codex
6
- tags: [team, devops]
6
+ tags: [review, ctx:team-only]
7
7
  quality_charter: agents/shared/quality-charter.md
8
8
  efficiency_patterns: agents/shared/efficiency-patterns.md
9
9
  cache_friendly: true
@@ -4,7 +4,7 @@ type: hook
4
4
  event: ci-failure
5
5
  agent: ci-watcher
6
6
  description: Diagnose CI pipeline failures
7
- tags: [core]
7
+ tags: [devops]
8
8
  quality_charter: agents/shared/quality-charter.md
9
9
  cache_friendly: true
10
10
  ---
@@ -22,7 +22,7 @@ When this hook fires, the assigned agent should:
22
22
  4. For test failures: identify the specific failing test(s), expected vs. actual values, and the source file(s) involved.
23
23
  5. For build/type errors: extract the compiler error message and the source location.
24
24
  6. Produce a root-cause hypothesis with a concrete suggested fix (code change, config change, or retry recommendation for flaky failures).
25
- 7. If the failure matches a known pattern from `.agents/learnings/`, reference the relevant learning.
25
+ 7. If the failure matches a known pattern from `.hatch3r/learnings/`, reference the relevant learning.
26
26
 
27
27
  ## Expected Output
28
28
 
@@ -33,7 +33,7 @@ A structured diagnostic report containing:
33
33
  - **Root cause**: Concise explanation of why the failure occurred.
34
34
  - **Error excerpt**: The relevant log output (truncated to key lines).
35
35
  - **Suggested fix**: Specific, actionable remediation steps.
36
- - **Related learnings**: Links to any matching entries in `.agents/learnings/` (if applicable).
36
+ - **Related learnings**: Links to any matching entries in `.hatch3r/learnings/` (if applicable).
37
37
 
38
38
  ## Configuration
39
39
 
@@ -5,7 +5,7 @@ event: file-save
5
5
  agent: context-rules
6
6
  description: Activate context-specific rules on file save
7
7
  globs: "**/*.ts, **/*.tsx, **/*.js, **/*.jsx"
8
- tags: [core]
8
+ tags: [orchestration]
9
9
  quality_charter: agents/shared/quality-charter.md
10
10
  cache_friendly: true
11
11
  ---
@@ -17,7 +17,7 @@ Activate context-specific rules when a file is saved, applying relevant coding s
17
17
 
18
18
  When this hook fires, the assigned agent should:
19
19
 
20
- 1. Determine the saved file's path and match it against the project's rule definitions in `.agents/rules/`.
20
+ 1. Determine the saved file's path and match it against the project's rule definitions in `rules/`.
21
21
  2. Load all rules where `scope: always` applies, plus any rules with glob patterns matching the saved file's path.
22
22
  3. Evaluate the saved file's contents against the loaded rules — check for convention violations, pattern mismatches, or missing required elements (e.g., missing error handling in API routes, missing accessibility attributes in components).
23
23
  4. If violations are found, surface them as inline warnings or suggestions (not blocking — file-save hooks should be non-disruptive).
@@ -31,5 +31,5 @@ When this hook fires, the assigned agent should:
31
31
  ## Configuration
32
32
 
33
33
  - **Globs**: Controlled by the `globs` frontmatter field. Adjust to match your project's source file extensions.
34
- - **Rule sources**: Reads from `.agents/rules/`. Rules with matching `globs` or `scope: always` are activated.
34
+ - **Rule sources**: Reads from `rules/`. Rules with matching `globs` or `scope: always` are activated.
35
35
  - **Debounce**: To avoid excessive processing during rapid saves, the agent debounces with a 2-second window (configurable via `debounceMs`).
@@ -4,7 +4,7 @@ type: hook
4
4
  event: post-merge
5
5
  agent: ci-watcher
6
6
  description: Check CI pipeline status after merge
7
- tags: [core]
7
+ tags: [devops]
8
8
  quality_charter: agents/shared/quality-charter.md
9
9
  cache_friendly: true
10
10
  ---
@@ -5,7 +5,7 @@ event: pre-commit
5
5
  agent: lint-fixer
6
6
  description: Auto-fix lint and formatting issues before commit
7
7
  globs: "**/*.ts, **/*.tsx, **/*.js, **/*.jsx"
8
- tags: [core]
8
+ tags: [implementation]
9
9
  quality_charter: agents/shared/quality-charter.md
10
10
  cache_friendly: true
11
11
  ---
@@ -4,7 +4,7 @@ type: hook
4
4
  event: pre-push
5
5
  agent: security-auditor
6
6
  description: Scan for secrets and security issues before push
7
- tags: [core]
7
+ tags: [floor:security]
8
8
  quality_charter: agents/shared/quality-charter.md
9
9
  cache_friendly: true
10
10
  ---
@@ -29,6 +29,6 @@ When this hook fires, the assigned agent should:
29
29
 
30
30
  ## Configuration
31
31
 
32
- - **Allowlist**: Add known false positives to `.agents/security/secret-allowlist.json` (patterns or file paths to ignore).
33
- - **Pattern extensions**: The agent uses built-in patterns for common secret types. Add project-specific patterns via `.agents/security/custom-patterns.json`.
32
+ - **Allowlist**: Add known false positives to `.hatch3r/security/secret-allowlist.json` (patterns or file paths to ignore).
33
+ - **Pattern extensions**: The agent uses built-in patterns for common secret types. Add project-specific patterns via `.hatch3r/security/custom-patterns.json`.
34
34
  - **Scope**: By default, scans only the diff of outgoing commits. Set `scanFullHistory: true` to scan all files (slower, useful for initial audits).
@@ -4,7 +4,7 @@ type: hook
4
4
  event: session-start
5
5
  agent: learnings-loader
6
6
  description: Load relevant learnings at session start
7
- tags: [core]
7
+ tags: [orchestration]
8
8
  quality_charter: agents/shared/quality-charter.md
9
9
  cache_friendly: true
10
10
  ---
@@ -16,11 +16,11 @@ Activate the learnings-loader agent when a new coding session starts to surface
16
16
 
17
17
  When this hook fires, the assigned agent should:
18
18
 
19
- 1. Read the `.agents/learnings/` directory and index all available learning files by area, tags, and recency.
19
+ 1. Read the `.hatch3r/learnings/` directory and index all available learning files by area, tags, and recency.
20
20
  2. Identify the most relevant learnings based on recently modified files in the working tree (using `git diff` and `git log` to infer the active work area).
21
21
  3. Surface the top 3-5 most relevant learnings as a brief summary, prioritizing: (a) learnings from the last 7 days, (b) learnings matching the current branch's area labels, (c) learnings tagged as high-impact or cross-cutting.
22
22
  4. If there are recent architectural decisions or convention changes, highlight them prominently.
23
- 5. If `.agents/learnings/` does not exist or is empty, skip silently.
23
+ 5. If `.hatch3r/learnings/` does not exist or is empty, skip silently.
24
24
 
25
25
  ## Expected Output
26
26
 
@@ -3,7 +3,8 @@ id: hatch3r-accessibility-standards
3
3
  type: rule
4
4
  description: Accessibility standards covering WCAG 2.2 AA compliance, keyboard navigation, screen readers, and ARIA patterns
5
5
  scope: "**/*.vue,**/*.jsx,**/*.tsx,**/*.svelte,**/components/**,**/*.html,**/*a11y*,**/*accessibility*"
6
- tags: [a11y]
6
+ tags: [floor:ui-ux, a11y]
7
+ precedence: high
7
8
  quality_charter: agents/shared/quality-charter.md
8
9
  cache_friendly: true
9
10
  ---
@@ -2,6 +2,7 @@
2
2
  description: Accessibility standards covering WCAG 2.2 AA compliance, keyboard navigation, screen readers, and ARIA patterns
3
3
  globs: ["**/*.vue", "**/*.jsx", "**/*.tsx", "**/*.svelte", "**/components/**", "**/*.html", "**/*a11y*", "**/*accessibility*"]
4
4
  alwaysApply: false
5
+ precedence: high
5
6
  ---
6
7
  # Accessibility Standards
7
8
 
@@ -3,8 +3,8 @@ id: hatch3r-agent-orchestration-detail
3
3
  type: rule
4
4
  description: Extended orchestration reference — PipelineContext schemas, resilience protocols, observability integration, and auto-mode guardrails
5
5
  scope: conditional
6
- globs: "**/.agents/**,**/pipeline/**,**/*orchestrat*,**/*agent*"
7
- tags: [core]
6
+ globs: "**/.hatch3r/**,**/pipeline/**,**/*orchestrat*,**/*agent*"
7
+ tags: [orchestration, floor:protocol]
8
8
  precedence: normal
9
9
  quality_charter: agents/shared/quality-charter.md
10
10
  cache_friendly: true
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  description: Extended orchestration reference — PipelineContext schemas, resilience protocols, observability integration, and auto-mode guardrails
3
- globs: ["**/.agents/**", "**/pipeline/**", "**/*orchestrat*", "**/*agent*"]
3
+ globs: ["**/.hatch3r/**", "**/pipeline/**", "**/*orchestrat*", "**/*agent*"]
4
4
  alwaysApply: false
5
5
  precedence: normal
6
6
  detail_rule: true
@@ -3,7 +3,7 @@ id: hatch3r-agent-orchestration
3
3
  type: rule
4
4
  description: Mandatory agent delegation, skill loading, and subagent usage directives for ALL tasks in ALL contexts
5
5
  scope: always
6
- tags: [core]
6
+ tags: [orchestration, floor:protocol]
7
7
  precedence: high
8
8
  quality_charter: agents/shared/quality-charter.md
9
9
  cache_friendly: true
@@ -371,6 +371,6 @@ All `scope: always` rules apply to every task including subagent work. Include r
371
371
  - `hatch3r-dependency-management` -- dependency-auditor
372
372
 
373
373
  **Tier 3 -- On-demand:**
374
- - `hatch3r-api-design`, `hatch3r-secrets-management`, `hatch3r-data-classification`, `hatch3r-performance-budgets`, `hatch3r-browser-verification`, `hatch3r-component-conventions`, `hatch3r-i18n`, `hatch3r-theming`, `hatch3r-migrations`, `hatch3r-feature-flags`, `hatch3r-observability-logging`, `hatch3r-observability-metrics`, `hatch3r-observability-tracing`, `hatch3r-observability-tracing-detail`
374
+ - `hatch3r-api-design`, `hatch3r-secrets-management`, `hatch3r-data-classification`, `hatch3r-performance-budgets`, `hatch3r-browser-verification`, `hatch3r-component-conventions`, `hatch3r-i18n`, `hatch3r-theming`, `hatch3r-migrations`, `hatch3r-feature-flags`, `hatch3r-observability-logging`, `hatch3r-observability-metrics`, `hatch3r-observability-tracing`
375
375
 
376
376
  For limited context windows, Tier 1 is mandatory. Tier 2/3 included selectively by agent role and task scope.
@@ -366,6 +366,6 @@ All `scope: always` rules apply to every task including subagent work. Include r
366
366
  - `hatch3r-dependency-management` -- dependency-auditor
367
367
 
368
368
  **Tier 3 -- On-demand:**
369
- - `hatch3r-api-design`, `hatch3r-secrets-management`, `hatch3r-data-classification`, `hatch3r-performance-budgets`, `hatch3r-browser-verification`, `hatch3r-component-conventions`, `hatch3r-i18n`, `hatch3r-theming`, `hatch3r-migrations`, `hatch3r-feature-flags`, `hatch3r-observability-logging`, `hatch3r-observability-metrics`, `hatch3r-observability-tracing`, `hatch3r-observability-tracing-detail`
369
+ - `hatch3r-api-design`, `hatch3r-secrets-management`, `hatch3r-data-classification`, `hatch3r-performance-budgets`, `hatch3r-browser-verification`, `hatch3r-component-conventions`, `hatch3r-i18n`, `hatch3r-theming`, `hatch3r-migrations`, `hatch3r-feature-flags`, `hatch3r-observability-logging`, `hatch3r-observability-metrics`, `hatch3r-observability-tracing`
370
370
 
371
371
  For limited context windows, Tier 1 is mandatory. Tier 2/3 included selectively by agent role and task scope.
@@ -4,6 +4,7 @@ type: rule
4
4
  description: AI feature evaluation, prompt versioning, cost telemetry, prompt caching, model fallback, and hallucination-as-SLI for end-user projects shipping LLM features
5
5
  scope: "**/ai/**,**/llm/**,**/chat/**,**/assistant/**,**/agents/**,**/copilot/**,**/evals/**,**/prompts/**,**/rag/**"
6
6
  tags: [review, implementation, ai]
7
+ precedence: high
7
8
  quality_charter: agents/shared/quality-charter.md
8
9
  cache_friendly: true
9
10
  ---
@@ -67,7 +68,7 @@ Match the metric to the task class:
67
68
 
68
69
  Every LLM call logs: `tokens_in`, `tokens_out`, `cache_hit` (boolean + cached_tokens count), `model`, `cost_usd`, `latency_ms`, `cost_center` (feature ID), `prompt_version`, `prompt_hash`, `user_id_hash`.
69
70
 
70
- Aggregate dashboards in the observability stack — cross-reference `rules/hatch3r-observability-metrics.md` and `rules/hatch3r-observability-tracing-detail.md` for the SLI/SLO vocabulary, and `skills/hatch3r-observability-verify` for the wiring checklist. Per-feature budget alerts fire at 50%, 75%, and 90% of monthly budget; abuse-detection alert at 10x user p99 cost over a 1-hour window.
71
+ Aggregate dashboards in the observability stack — cross-reference `rules/hatch3r-observability-metrics.md` and `rules/hatch3r-observability-tracing.md` for the SLI/SLO vocabulary, and `skills/hatch3r-observability-verify` for the wiring checklist. Per-feature budget alerts fire at 50%, 75%, and 90% of monthly budget; abuse-detection alert at 10x user p99 cost over a 1-hour window.
71
72
 
72
73
  ## Prompt Caching (Anthropic)
73
74
 
@@ -2,6 +2,7 @@
2
2
  description: AI feature evaluation, prompt versioning, cost telemetry, prompt caching, model fallback, and hallucination-as-SLI for end-user projects shipping LLM features
3
3
  globs: ["**/ai/**", "**/llm/**", "**/chat/**", "**/assistant/**", "**/agents/**", "**/copilot/**", "**/evals/**", "**/prompts/**", "**/rag/**"]
4
4
  alwaysApply: false
5
+ precedence: high
5
6
  ---
6
7
  # AI Feature Evaluation and Cost Governance (2026)
7
8
 
@@ -63,7 +64,7 @@ Match the metric to the task class:
63
64
 
64
65
  Every LLM call logs: `tokens_in`, `tokens_out`, `cache_hit` (boolean + cached_tokens count), `model`, `cost_usd`, `latency_ms`, `cost_center` (feature ID), `prompt_version`, `prompt_hash`, `user_id_hash`.
65
66
 
66
- Aggregate dashboards in the observability stack — cross-reference `rules/hatch3r-observability-metrics.md` and `rules/hatch3r-observability-tracing-detail.md` for the SLI/SLO vocabulary, and `skills/hatch3r-observability-verify` for the wiring checklist. Per-feature budget alerts fire at 50%, 75%, and 90% of monthly budget; abuse-detection alert at 10x user p99 cost over a 1-hour window.
67
+ Aggregate dashboards in the observability stack — cross-reference `rules/hatch3r-observability-metrics.md` and `rules/hatch3r-observability-tracing.md` for the SLI/SLO vocabulary, and `skills/hatch3r-observability-verify` for the wiring checklist. Per-feature budget alerts fire at 50%, 75%, and 90% of monthly budget; abuse-detection alert at 10x user p99 cost over a 1-hour window.
67
68
 
68
69
  ## Prompt Caching (Anthropic)
69
70
 
@@ -3,7 +3,7 @@ id: hatch3r-ai-ux-patterns
3
3
  type: rule
4
4
  description: 2026 AI/agentic UX patterns for end-user projects shipping AI features — streaming, tool-call UI, human-approval gates, cancel/abort/undo, citations
5
5
  scope: "**/*.vue,**/*.jsx,**/*.tsx,**/*.svelte,**/ai/**,**/chat/**,**/assistant/**,**/agents/**,**/llm/**,**/copilot/**"
6
- tags: [ux, ai, frontend]
6
+ tags: [implementation, floor:ui-ux, ux, ai, frontend]
7
7
  quality_charter: agents/shared/quality-charter.md
8
8
  cache_friendly: true
9
9
  ---
@@ -4,6 +4,7 @@ type: rule
4
4
  description: API versioning, deprecation lifecycle, and idempotency — RFC 9457 errors, RFC 9745 Deprecation header, RFC 8594 Sunset, OAuth 2.1, Idempotency-Key, semver vs CalVer for APIs
5
5
  scope: "**/api/**,**/openapi*,**/asyncapi*,**/*.proto,**/routes/**,**/handlers/**,**/controllers/**"
6
6
  tags: [implementation, devops]
7
+ precedence: high
7
8
  quality_charter: agents/shared/quality-charter.md
8
9
  cache_friendly: true
9
10
  ---
@@ -2,6 +2,7 @@
2
2
  description: API versioning, deprecation lifecycle, and idempotency — RFC 9457 errors, RFC 9745 Deprecation header, RFC 8594 Sunset, OAuth 2.1, Idempotency-Key, semver vs CalVer for APIs
3
3
  globs: ["**/api/**", "**/openapi*", "**/asyncapi*", "**/*.proto", "**/routes/**", "**/handlers/**", "**/controllers/**"]
4
4
  alwaysApply: false
5
+ precedence: high
5
6
  ---
6
7
  # API Versioning, Deprecation & Idempotency
7
8
 
@@ -3,7 +3,8 @@ id: hatch3r-auth-patterns
3
3
  type: rule
4
4
  description: Authentication and authorization patterns for end-user apps — OAuth 2.1, OIDC, DPoP, JWT rotation, cookie security, RBAC vs ABAC vs ReBAC rubric
5
5
  scope: "**/auth/**,**/login/**,**/session/**,**/oauth/**,**/oidc/**,**/jwt/**,**/permissions/**,**/policies/**,**/middleware/**"
6
- tags: [security, implementation]
6
+ tags: [implementation, floor:security]
7
+ precedence: high
7
8
  quality_charter: agents/shared/quality-charter.md
8
9
  cache_friendly: true
9
10
  ---
@@ -2,6 +2,7 @@
2
2
  description: Authentication and authorization patterns for end-user apps — OAuth 2.1, OIDC, DPoP, JWT rotation, cookie security, RBAC vs ABAC vs ReBAC rubric
3
3
  globs: ["**/auth/**", "**/login/**", "**/session/**", "**/oauth/**", "**/oidc/**", "**/jwt/**", "**/permissions/**", "**/policies/**", "**/middleware/**"]
4
4
  alwaysApply: false
5
+ precedence: high
5
6
  ---
6
7
  # Authentication & Authorization Patterns
7
8