hatch3r 1.4.0 → 1.5.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.
- package/README.md +10 -6
- package/agents/hatch3r-a11y-auditor.md +13 -2
- package/agents/hatch3r-architect.md +20 -1
- package/agents/hatch3r-ci-watcher.md +25 -1
- package/agents/hatch3r-context-rules.md +15 -3
- package/agents/hatch3r-dependency-auditor.md +23 -2
- package/agents/hatch3r-devops.md +11 -0
- package/agents/hatch3r-docs-writer.md +27 -2
- package/agents/hatch3r-fixer.md +46 -3
- package/agents/hatch3r-implementer.md +19 -1
- package/agents/hatch3r-learnings-loader.md +19 -0
- package/agents/hatch3r-lint-fixer.md +11 -0
- package/agents/hatch3r-perf-profiler.md +21 -1
- package/agents/hatch3r-researcher.md +51 -911
- package/agents/hatch3r-reviewer.md +24 -2
- package/agents/hatch3r-security-auditor.md +20 -0
- package/agents/hatch3r-test-writer.md +24 -0
- package/agents/modes/architecture.md +1 -0
- package/agents/modes/boundary-analysis.md +2 -1
- package/agents/modes/codebase-impact.md +1 -0
- package/agents/modes/complexity-risk.md +1 -0
- package/agents/modes/coverage-analysis.md +1 -0
- package/agents/modes/current-state.md +1 -0
- package/agents/modes/feature-design.md +1 -0
- package/agents/modes/impact-analysis.md +1 -0
- package/agents/modes/library-docs.md +2 -1
- package/agents/modes/migration-path.md +1 -0
- package/agents/modes/prior-art.md +1 -0
- package/agents/modes/refactoring-strategy.md +1 -0
- package/agents/modes/regression.md +1 -0
- package/agents/modes/requirements-elicitation.md +1 -0
- package/agents/modes/risk-assessment.md +1 -0
- package/agents/modes/risk-prioritization.md +1 -0
- package/agents/modes/root-cause.md +1 -0
- package/agents/modes/similar-implementation.md +2 -1
- package/agents/modes/symptom-trace.md +1 -0
- package/agents/modes/test-pattern.md +2 -1
- package/agents/shared/external-knowledge.md +10 -0
- package/agents/shared/quality-charter.md +18 -0
- package/checks/README.md +1 -0
- package/checks/accessibility.md +55 -0
- package/commands/board/pickup-azure-devops.md +1 -0
- package/commands/board/pickup-delegation-multi.md +6 -1
- package/commands/board/pickup-delegation.md +1 -0
- package/commands/board/pickup-github.md +1 -0
- package/commands/board/pickup-gitlab.md +1 -0
- package/commands/board/pickup-modes.md +1 -0
- package/commands/board/pickup-post-impl.md +2 -1
- package/commands/board/shared-azure-devops.md +1 -0
- package/commands/board/shared-board-overview.md +1 -0
- package/commands/board/shared-github.md +1 -0
- package/commands/board/shared-gitlab.md +1 -0
- package/commands/hatch3r-agent-customize.md +1 -0
- package/commands/hatch3r-api-spec.md +1 -0
- package/commands/hatch3r-benchmark.md +4 -3
- package/commands/hatch3r-board-fill.md +52 -9
- package/commands/hatch3r-board-groom.md +69 -5
- package/commands/hatch3r-board-init.md +2 -1
- package/commands/hatch3r-board-pickup.md +1 -0
- package/commands/hatch3r-board-refresh.md +1 -0
- package/commands/hatch3r-board-shared.md +34 -3
- package/commands/hatch3r-bug-plan.md +2 -1
- package/commands/hatch3r-codebase-map.md +4 -3
- package/commands/hatch3r-command-customize.md +2 -1
- package/commands/hatch3r-context-health.md +1 -0
- package/commands/hatch3r-cost-tracking.md +1 -0
- package/commands/hatch3r-debug.md +4 -3
- package/commands/hatch3r-dep-audit.md +3 -0
- package/commands/hatch3r-feature-plan.md +3 -2
- package/commands/hatch3r-healthcheck.md +1 -0
- package/commands/hatch3r-hooks.md +5 -0
- package/commands/hatch3r-learn.md +1 -0
- package/commands/hatch3r-migration-plan.md +3 -2
- package/commands/hatch3r-onboard.md +2 -1
- package/commands/hatch3r-project-spec.md +4 -3
- package/commands/hatch3r-quick-change.md +2 -0
- package/commands/hatch3r-recipe.md +1 -0
- package/commands/hatch3r-refactor-plan.md +2 -1
- package/commands/hatch3r-release.md +4 -1
- package/commands/hatch3r-revision.md +2 -1
- package/commands/hatch3r-roadmap.md +5 -4
- package/commands/hatch3r-rule-customize.md +1 -0
- package/commands/hatch3r-security-audit.md +1 -0
- package/commands/hatch3r-skill-customize.md +1 -0
- package/commands/hatch3r-test-plan.md +3 -2
- package/commands/hatch3r-workflow.md +5 -0
- package/dist/cli/index.js +7467 -4582
- package/dist/cli/index.js.map +1 -1
- package/hooks/hatch3r-ci-failure.md +1 -0
- package/hooks/hatch3r-file-save.md +1 -0
- package/hooks/hatch3r-post-merge.md +1 -0
- package/hooks/hatch3r-pre-commit.md +1 -0
- package/hooks/hatch3r-pre-push.md +1 -0
- package/hooks/hatch3r-session-start.md +1 -0
- package/package.json +19 -4
- package/rules/hatch3r-accessibility-standards.md +2 -1
- package/rules/hatch3r-accessibility-standards.mdc +1 -1
- package/rules/hatch3r-agent-orchestration-detail.md +49 -1
- package/rules/hatch3r-agent-orchestration-detail.mdc +47 -1
- package/rules/hatch3r-agent-orchestration.md +87 -5
- package/rules/hatch3r-agent-orchestration.mdc +85 -5
- package/rules/hatch3r-api-design.md +2 -1
- package/rules/hatch3r-api-design.mdc +1 -1
- package/rules/hatch3r-browser-verification.md +4 -2
- package/rules/hatch3r-browser-verification.mdc +1 -0
- package/rules/hatch3r-ci-cd.md +2 -1
- package/rules/hatch3r-ci-cd.mdc +1 -1
- package/rules/hatch3r-code-standards.md +15 -2
- package/rules/hatch3r-code-standards.mdc +12 -0
- package/rules/hatch3r-component-conventions.md +2 -1
- package/rules/hatch3r-component-conventions.mdc +1 -0
- package/rules/hatch3r-data-classification.md +2 -1
- package/rules/hatch3r-data-classification.mdc +1 -1
- package/rules/hatch3r-deep-context.md +26 -1
- package/rules/hatch3r-deep-context.mdc +25 -1
- package/rules/hatch3r-dependency-management.md +2 -1
- package/rules/hatch3r-dependency-management.mdc +1 -1
- package/rules/hatch3r-feature-flags.md +2 -0
- package/rules/hatch3r-feature-flags.mdc +1 -0
- package/rules/hatch3r-git-conventions.md +2 -1
- package/rules/hatch3r-git-conventions.mdc +2 -1
- package/rules/hatch3r-i18n.md +2 -1
- package/rules/hatch3r-i18n.mdc +1 -0
- package/rules/hatch3r-learning-consult.md +11 -1
- package/rules/hatch3r-learning-consult.mdc +11 -1
- package/rules/hatch3r-migrations.md +2 -1
- package/rules/hatch3r-migrations.mdc +1 -1
- package/rules/hatch3r-observability-logging.md +34 -0
- package/rules/hatch3r-observability-logging.mdc +30 -0
- package/rules/hatch3r-observability-metrics.md +74 -0
- package/rules/hatch3r-observability-metrics.mdc +70 -0
- package/rules/hatch3r-observability-tracing-detail.md +160 -0
- package/rules/hatch3r-observability-tracing-detail.mdc +63 -0
- package/rules/hatch3r-observability-tracing.md +86 -0
- package/rules/hatch3r-observability-tracing.mdc +77 -0
- package/rules/hatch3r-observability.md +9 -448
- package/rules/hatch3r-observability.mdc +7 -448
- package/rules/hatch3r-performance-budgets.md +2 -0
- package/rules/hatch3r-performance-budgets.mdc +1 -0
- package/rules/hatch3r-secrets-management.md +2 -1
- package/rules/hatch3r-secrets-management.mdc +1 -1
- package/rules/hatch3r-security-patterns.md +3 -2
- package/rules/hatch3r-security-patterns.mdc +1 -1
- package/rules/hatch3r-testing.md +12 -2
- package/rules/hatch3r-testing.mdc +10 -1
- package/rules/hatch3r-theming.md +3 -2
- package/rules/hatch3r-theming.mdc +1 -0
- package/rules/hatch3r-tooling-hierarchy.md +3 -2
- package/rules/hatch3r-tooling-hierarchy.mdc +1 -1
- package/skills/hatch3r-a11y-audit/SKILL.md +11 -4
- package/skills/hatch3r-agent-customize/SKILL.md +1 -0
- package/skills/hatch3r-api-spec/SKILL.md +9 -2
- package/skills/hatch3r-architecture-review/SKILL.md +7 -0
- package/skills/hatch3r-bug-fix/SKILL.md +16 -7
- package/skills/hatch3r-ci-pipeline/SKILL.md +8 -1
- package/skills/hatch3r-command-customize/SKILL.md +1 -0
- package/skills/hatch3r-context-health/SKILL.md +23 -2
- package/skills/hatch3r-cost-tracking/SKILL.md +16 -6
- package/skills/hatch3r-customize/SKILL.md +8 -1
- package/skills/hatch3r-dep-audit/SKILL.md +9 -2
- package/skills/hatch3r-feature/SKILL.md +12 -4
- package/skills/hatch3r-gh-agentic-workflows/SKILL.md +7 -0
- package/skills/hatch3r-incident-response/SKILL.md +7 -0
- package/skills/hatch3r-issue-workflow/SKILL.md +8 -1
- package/skills/hatch3r-logical-refactor/SKILL.md +8 -1
- package/skills/hatch3r-migration/SKILL.md +7 -0
- package/skills/hatch3r-perf-audit/SKILL.md +9 -2
- package/skills/hatch3r-pr-creation/SKILL.md +8 -1
- package/skills/hatch3r-qa-validation/SKILL.md +8 -1
- package/skills/hatch3r-recipe/SKILL.md +8 -1
- package/skills/hatch3r-refactor/SKILL.md +10 -2
- package/skills/hatch3r-release/SKILL.md +8 -1
- package/skills/hatch3r-rule-customize/SKILL.md +1 -0
- package/skills/hatch3r-skill-customize/SKILL.md +1 -0
- package/skills/hatch3r-visual-refactor/SKILL.md +12 -5
|
@@ -3,6 +3,7 @@ id: hatch3r-recipe
|
|
|
3
3
|
type: command
|
|
4
4
|
description: Execute shareable workflow recipes that compose agents, skills, and commands into guided sequences for common development scenarios
|
|
5
5
|
tags: [core]
|
|
6
|
+
quality_charter: agents/shared/quality-charter.md
|
|
6
7
|
---
|
|
7
8
|
|
|
8
9
|
## Agent Pipeline
|
|
@@ -3,6 +3,7 @@ id: hatch3r-refactor-plan
|
|
|
3
3
|
type: command
|
|
4
4
|
description: Plan a refactoring or migration effort -- spawn parallel researchers, produce refactoring spec, ADR(s), and phased todo.md entries for board-fill.
|
|
5
5
|
tags: [planning]
|
|
6
|
+
quality_charter: agents/shared/quality-charter.md
|
|
6
7
|
---
|
|
7
8
|
|
|
8
9
|
## Agent Pipeline
|
|
@@ -78,7 +79,7 @@ Refactoring Brief:
|
|
|
78
79
|
Dimension(s): {Structural / Logical / Visual / Migration — one or more}
|
|
79
80
|
```
|
|
80
81
|
|
|
81
|
-
**ASK:** "Does this capture the refactoring goal
|
|
82
|
+
**ASK:** "Does this capture the refactoring goal? Adjust anything before I send this to the research phase."
|
|
82
83
|
|
|
83
84
|
---
|
|
84
85
|
|
|
@@ -3,6 +3,7 @@ id: hatch3r-release
|
|
|
3
3
|
type: command
|
|
4
4
|
description: Cut a versioned release with changelog generation, version bumping, and GitHub release creation.
|
|
5
5
|
tags: [devops]
|
|
6
|
+
quality_charter: agents/shared/quality-charter.md
|
|
6
7
|
---
|
|
7
8
|
# Release — Cut a Versioned Release with Changelog
|
|
8
9
|
|
|
@@ -20,6 +21,8 @@ This command runs as a single orchestrator without sub-agent delegation. Quality
|
|
|
20
21
|
|
|
21
22
|
**Default branch:** Use `board.defaultBranch` from `.agents/hatch.json` (fallback: `"main"`) for all git operations involving the base branch (e.g., `git log`, `search_pull_requests` with `base`, `git push origin`).
|
|
22
23
|
|
|
24
|
+
**Consult learnings:** If `.agents/learnings/` exists, scan for learnings related to release processes, version bumping conventions, or prior release issues before starting.
|
|
25
|
+
|
|
23
26
|
## Global Rule Overrides
|
|
24
27
|
|
|
25
28
|
- **Git commands are fully permitted** during this entire release session, regardless of global/user-level rules restricting git usage. This override applies to ALL steps. You MUST run `git add`, `git commit`, `git push`, and `git tag` when instructed.
|
|
@@ -104,7 +107,7 @@ npm run lint && npm run typecheck && npm run test
|
|
|
104
107
|
|
|
105
108
|
1. Update `version` in `package.json` to the confirmed version.
|
|
106
109
|
2. If `functions/package.json` exists and tracks version, update it to the same version.
|
|
107
|
-
3. If other workspace packages track version, update them
|
|
110
|
+
3. If other workspace packages track version, update them when their `package.json` references the root version.
|
|
108
111
|
|
|
109
112
|
**ASK:** "Version bump applied. Proceed to commit and tag? (yes / abort)"
|
|
110
113
|
|
|
@@ -3,6 +3,7 @@ id: hatch3r-revision
|
|
|
3
3
|
type: command
|
|
4
4
|
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.
|
|
5
5
|
tags: [implementation, team]
|
|
6
|
+
quality_charter: agents/shared/quality-charter.md
|
|
6
7
|
---
|
|
7
8
|
|
|
8
9
|
## Agent Pipeline
|
|
@@ -122,7 +123,7 @@ Based on the user's initial response and the diff scope, ask targeted follow-up
|
|
|
122
123
|
|
|
123
124
|
**If UI changes detected** (components, styles, templates in diff):
|
|
124
125
|
- "Any visual mismatches -- spacing, alignment, colors, typography?"
|
|
125
|
-
- "Does it
|
|
126
|
+
- "Does it render and respond as expected at different viewport sizes?"
|
|
126
127
|
- "Any interaction issues -- hover states, focus, transitions, animations?"
|
|
127
128
|
|
|
128
129
|
**If API/backend changes detected** (routes, services, middleware in diff):
|
|
@@ -3,6 +3,7 @@ id: hatch3r-roadmap
|
|
|
3
3
|
type: command
|
|
4
4
|
description: Generate a dual-lens phased roadmap (business milestones + technical milestones) from specs and vision using parallel researcher sub-agents, output to todo.md in the format that hatch3r-board-fill expects.
|
|
5
5
|
tags: [planning, greenfield]
|
|
6
|
+
quality_charter: agents/shared/quality-charter.md
|
|
6
7
|
---
|
|
7
8
|
# Roadmap — Generate Phased Roadmap from Specs & Vision
|
|
8
9
|
|
|
@@ -353,7 +354,7 @@ Business-Critical Path: {biz milestone 1} → {biz milestone 2} → {launch}
|
|
|
353
354
|
|
|
354
355
|
**ASK:** "Here is the proposed dual-lens roadmap with business and technical milestones. Review:
|
|
355
356
|
- Are the business milestones and their timelines realistic?
|
|
356
|
-
- Are the technical prerequisites
|
|
357
|
+
- Are the technical prerequisites mapped with accurate dependency links?
|
|
357
358
|
- Adjust priorities, add/remove items, change grouping?
|
|
358
359
|
(confirm / adjust)"
|
|
359
360
|
|
|
@@ -396,7 +397,7 @@ Write `todo.md` in the exact format that `hatch3r-board-fill` expects, with `[BI
|
|
|
396
397
|
**Format requirements:**
|
|
397
398
|
|
|
398
399
|
- Each item on one line as `- [ ] **[BIZ/TECH/BOTH] {bold title}**: {description}`.
|
|
399
|
-
- Include `Ref:` with source spec/ADR path when the item was derived from a specific document. Use `docs/specs/business/` or `docs/specs/technical/` paths
|
|
400
|
+
- Include `Ref:` with source spec/ADR path when the item was derived from a specific document. Use `docs/specs/business/` or `docs/specs/technical/` paths matching the item's category.
|
|
400
401
|
- For business items: include revenue/conversion/retention impact where known.
|
|
401
402
|
- For technical items: include what business milestone they enable where applicable.
|
|
402
403
|
- For time-sensitive items: include deadline or market window.
|
|
@@ -465,7 +466,7 @@ If yes or review-first: spawn a `hatch3r-docs-writer` sub-agent via the Task too
|
|
|
465
466
|
```markdown
|
|
466
467
|
# {Project Name} — Agent Instructions
|
|
467
468
|
|
|
468
|
-
> Auto-generated by hatch3r-roadmap on {today's date}. Review and adjust
|
|
469
|
+
> Auto-generated by hatch3r-roadmap on {today's date}. Review and adjust before use.
|
|
469
470
|
|
|
470
471
|
## Project Purpose
|
|
471
472
|
|
|
@@ -560,7 +561,7 @@ Hatch3r's breadth across 13+ adapters (Claude, Cursor, Windsurf, Cline, Copilot,
|
|
|
560
561
|
- **Never overwrite todo.md without explicit user confirmation.**
|
|
561
562
|
- **todo.md format must be compatible with board-fill** — markdown checklist with bold titles, priority headers matching `## P{N} — {Label}`, items tagged with `[BIZ]`/`[TECH]`/`[BOTH]`.
|
|
562
563
|
- **Keep items at the right granularity** — epic-level for complex features (XL effort), standalone for simple tasks (S/M effort).
|
|
563
|
-
- **Always reference source documentation** (specs, ADRs) where items were derived from. Use `docs/specs/business/` or `docs/specs/technical/` paths
|
|
564
|
+
- **Always reference source documentation** (specs, ADRs) where items were derived from. Use `docs/specs/business/` or `docs/specs/technical/` paths matching the item's category.
|
|
564
565
|
- **Do not duplicate work already tracked in GitHub issues.**
|
|
565
566
|
- **Effort estimates are rough and clearly labeled as estimates.**
|
|
566
567
|
- **Respect existing priority conventions in the project.**
|
|
@@ -3,6 +3,7 @@ id: hatch3r-rule-customize
|
|
|
3
3
|
type: command
|
|
4
4
|
description: Configure per-rule customization including scope overrides, description changes, enable/disable control, and project-specific markdown instructions
|
|
5
5
|
tags: [customize]
|
|
6
|
+
quality_charter: agents/shared/quality-charter.md
|
|
6
7
|
---
|
|
7
8
|
|
|
8
9
|
## Agent Pipeline
|
|
@@ -3,6 +3,7 @@ id: hatch3r-skill-customize
|
|
|
3
3
|
type: command
|
|
4
4
|
description: Configure per-skill customization including description overrides, enable/disable control, and project-specific markdown instructions
|
|
5
5
|
tags: [customize]
|
|
6
|
+
quality_charter: agents/shared/quality-charter.md
|
|
6
7
|
---
|
|
7
8
|
|
|
8
9
|
## Agent Pipeline
|
|
@@ -3,6 +3,7 @@ id: hatch3r-test-plan
|
|
|
3
3
|
type: command
|
|
4
4
|
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.
|
|
5
5
|
tags: [core, planning]
|
|
6
|
+
quality_charter: agents/shared/quality-charter.md
|
|
6
7
|
---
|
|
7
8
|
|
|
8
9
|
## Agent Pipeline
|
|
@@ -58,7 +59,7 @@ Test Planning Brief:
|
|
|
58
59
|
Constraints: {list}
|
|
59
60
|
```
|
|
60
61
|
|
|
61
|
-
**ASK:** "Does this capture the test planning scope
|
|
62
|
+
**ASK:** "Does this capture the test planning scope? Adjust anything before I send this to the research phase."
|
|
62
63
|
|
|
63
64
|
#### Step 1b: Dimension Probing (Test Strategy Elicitation)
|
|
64
65
|
|
|
@@ -76,7 +77,7 @@ After the test planning brief is confirmed, probe for missing requirements acros
|
|
|
76
77
|
- **Flaky test tolerance**: Existing flaky tests? Quarantine process in place? Retry budget in CI?
|
|
77
78
|
3. Skip dimensions that the brief already addresses clearly.
|
|
78
79
|
|
|
79
|
-
**ASK:** "Before research begins, I have {N} questions to
|
|
80
|
+
**ASK:** "Before research begins, I have {N} questions to confirm the test plan covers all relevant dimensions:
|
|
80
81
|
{numbered question list -- each with the dimension label and why the answer matters}
|
|
81
82
|
|
|
82
83
|
Answer these now, or say 'use defaults' for any where you're comfortable with a reasonable default."
|
|
@@ -3,6 +3,7 @@ id: hatch3r-workflow
|
|
|
3
3
|
type: command
|
|
4
4
|
description: Guided development lifecycle with 4 phases (Analyze, Plan, Implement, Review) and scale-adaptive Quick Mode for small tasks.
|
|
5
5
|
tags: [core, implementation]
|
|
6
|
+
quality_charter: agents/shared/quality-charter.md
|
|
6
7
|
---
|
|
7
8
|
# Development Workflow -- Guided Lifecycle for Structured Implementation
|
|
8
9
|
|
|
@@ -304,6 +305,10 @@ Each specialist sub-agent prompt MUST include:
|
|
|
304
305
|
|
|
305
306
|
Await all specialist sub-agents. Apply their feedback (fixes, additional tests, documentation updates).
|
|
306
307
|
|
|
308
|
+
#### 4b.1. Re-Review After Phase 4 Fixes
|
|
309
|
+
|
|
310
|
+
If any Phase 4 specialist produced fixes (not just findings), run a lightweight re-review to catch regressions introduced by the specialist changes. Spawn `hatch3r-reviewer` with a focused prompt covering only the files modified by Phase 4 specialists. If the re-review finds Critical findings, spawn `hatch3r-fixer` and re-review once more (max 1 additional iteration). This prevents Phase 4 fixes from bypassing the review gate.
|
|
311
|
+
|
|
307
312
|
#### 4c. Verify Against Acceptance Criteria
|
|
308
313
|
|
|
309
314
|
Check each acceptance criterion from the original task or issue. Mark as met or not-met with evidence.
|