hatch3r 1.1.0 → 1.3.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 +109 -364
- package/agents/hatch3r-a11y-auditor.md +8 -8
- package/agents/hatch3r-architect.md +2 -4
- package/agents/hatch3r-ci-watcher.md +2 -4
- package/agents/hatch3r-context-rules.md +2 -4
- package/agents/hatch3r-dependency-auditor.md +5 -7
- package/agents/hatch3r-devops.md +2 -4
- package/agents/hatch3r-docs-writer.md +2 -4
- package/agents/hatch3r-fixer.md +2 -0
- package/agents/hatch3r-implementer.md +32 -0
- package/agents/hatch3r-learnings-loader.md +189 -13
- package/agents/hatch3r-lint-fixer.md +3 -14
- package/agents/hatch3r-perf-profiler.md +2 -4
- package/agents/hatch3r-researcher.md +247 -0
- package/agents/hatch3r-reviewer.md +76 -7
- package/agents/hatch3r-security-auditor.md +4 -7
- package/agents/hatch3r-test-writer.md +3 -11
- package/agents/modes/architecture.md +44 -0
- package/agents/modes/boundary-analysis.md +45 -0
- package/agents/modes/codebase-impact.md +81 -0
- package/agents/modes/complexity-risk.md +40 -0
- package/agents/modes/coverage-analysis.md +44 -0
- package/agents/modes/current-state.md +52 -0
- package/agents/modes/feature-design.md +39 -0
- package/agents/modes/impact-analysis.md +45 -0
- package/agents/modes/library-docs.md +31 -0
- package/agents/modes/migration-path.md +55 -0
- package/agents/modes/prior-art.md +31 -0
- package/agents/modes/refactoring-strategy.md +55 -0
- package/agents/modes/regression.md +45 -0
- package/agents/modes/requirements-elicitation.md +68 -0
- package/agents/modes/risk-assessment.md +41 -0
- package/agents/modes/risk-prioritization.md +43 -0
- package/agents/modes/root-cause.md +39 -0
- package/agents/modes/similar-implementation.md +70 -0
- package/agents/modes/symptom-trace.md +39 -0
- package/agents/modes/test-pattern.md +61 -0
- package/agents/shared/external-knowledge.md +11 -0
- package/commands/board/pickup-azure-devops.md +81 -0
- package/commands/board/pickup-delegation-multi.md +197 -0
- package/commands/board/pickup-delegation.md +100 -0
- package/commands/board/pickup-github.md +82 -0
- package/commands/board/pickup-gitlab.md +81 -0
- package/commands/board/pickup-modes.md +143 -0
- package/commands/board/pickup-post-impl.md +120 -0
- package/commands/board/shared-azure-devops.md +149 -0
- package/commands/board/shared-board-overview.md +215 -0
- package/commands/board/shared-github.md +169 -0
- package/commands/board/shared-gitlab.md +142 -0
- package/commands/hatch3r-agent-customize.md +3 -2
- package/commands/hatch3r-api-spec.md +1 -0
- package/commands/hatch3r-benchmark.md +1 -0
- package/commands/hatch3r-board-fill.md +15 -16
- package/commands/hatch3r-board-groom.md +50 -10
- package/commands/hatch3r-board-init.md +1 -0
- package/commands/hatch3r-board-pickup.md +44 -572
- package/commands/hatch3r-board-refresh.md +31 -10
- package/commands/hatch3r-board-shared.md +87 -439
- package/commands/hatch3r-bug-plan.md +1 -0
- package/commands/hatch3r-codebase-map.md +1 -0
- package/commands/hatch3r-command-customize.md +1 -0
- package/commands/hatch3r-context-health.md +23 -2
- package/commands/hatch3r-cost-tracking.md +15 -0
- package/commands/hatch3r-debug.md +1 -0
- package/commands/hatch3r-dep-audit.md +2 -1
- package/commands/hatch3r-feature-plan.md +1 -0
- package/commands/hatch3r-healthcheck.md +2 -1
- package/commands/hatch3r-hooks.md +1 -0
- package/commands/hatch3r-learn.md +69 -2
- package/commands/hatch3r-migration-plan.md +1 -0
- package/commands/hatch3r-onboard.md +1 -0
- package/commands/hatch3r-project-spec.md +1 -0
- package/commands/hatch3r-quick-change.md +1 -0
- package/commands/hatch3r-recipe.md +1 -0
- package/commands/hatch3r-refactor-plan.md +1 -0
- package/commands/hatch3r-release.md +2 -1
- package/commands/hatch3r-revision.md +1 -0
- package/commands/hatch3r-roadmap.md +8 -1
- package/commands/hatch3r-rule-customize.md +1 -0
- package/commands/hatch3r-security-audit.md +2 -1
- package/commands/hatch3r-skill-customize.md +1 -0
- package/commands/hatch3r-test-plan.md +532 -0
- package/commands/hatch3r-workflow.md +1 -0
- package/dist/cli/index.js +4735 -1426
- package/dist/cli/index.js.map +1 -1
- package/github-agents/hatch3r-docs-agent.md +1 -0
- package/github-agents/hatch3r-lint-agent.md +1 -0
- package/github-agents/hatch3r-security-agent.md +1 -0
- package/github-agents/hatch3r-test-agent.md +1 -0
- 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 +2 -2
- package/prompts/hatch3r-bug-triage.md +1 -0
- package/prompts/hatch3r-code-review.md +1 -0
- package/prompts/hatch3r-pr-description.md +1 -0
- package/rules/hatch3r-accessibility-standards.md +1 -0
- package/rules/hatch3r-agent-orchestration.md +289 -73
- package/rules/hatch3r-api-design.md +1 -0
- package/rules/hatch3r-browser-verification.md +1 -0
- package/rules/hatch3r-ci-cd.md +1 -0
- package/rules/hatch3r-code-standards.md +9 -0
- package/rules/hatch3r-component-conventions.md +1 -0
- package/rules/hatch3r-data-classification.md +1 -0
- package/rules/hatch3r-deep-context.md +1 -0
- package/rules/hatch3r-dependency-management.md +13 -0
- package/rules/hatch3r-feature-flags.md +1 -0
- package/rules/hatch3r-git-conventions.md +1 -0
- package/rules/hatch3r-i18n.md +1 -0
- package/rules/hatch3r-learning-consult.md +1 -0
- package/rules/hatch3r-migrations.md +12 -0
- package/rules/hatch3r-observability.md +290 -0
- package/rules/hatch3r-performance-budgets.md +1 -0
- package/rules/hatch3r-secrets-management.md +1 -0
- package/rules/hatch3r-security-patterns.md +12 -0
- package/rules/hatch3r-testing.md +1 -0
- package/rules/hatch3r-theming.md +1 -0
- package/rules/hatch3r-tooling-hierarchy.md +1 -0
- package/skills/hatch3r-a11y-audit/SKILL.md +1 -0
- package/skills/hatch3r-agent-customize/SKILL.md +1 -0
- package/skills/hatch3r-api-spec/SKILL.md +1 -0
- package/skills/hatch3r-architecture-review/SKILL.md +1 -0
- package/skills/hatch3r-bug-fix/SKILL.md +1 -0
- package/skills/hatch3r-ci-pipeline/SKILL.md +1 -0
- package/skills/hatch3r-command-customize/SKILL.md +1 -0
- package/skills/hatch3r-context-health/SKILL.md +1 -0
- package/skills/hatch3r-cost-tracking/SKILL.md +1 -0
- package/skills/hatch3r-dep-audit/SKILL.md +2 -1
- package/skills/hatch3r-feature/SKILL.md +1 -0
- package/skills/hatch3r-gh-agentic-workflows/SKILL.md +1 -0
- package/skills/hatch3r-incident-response/SKILL.md +1 -0
- package/skills/hatch3r-issue-workflow/SKILL.md +1 -0
- package/skills/hatch3r-logical-refactor/SKILL.md +1 -0
- package/skills/hatch3r-migration/SKILL.md +1 -0
- package/skills/hatch3r-perf-audit/SKILL.md +1 -0
- package/skills/hatch3r-pr-creation/SKILL.md +1 -0
- package/skills/hatch3r-qa-validation/SKILL.md +1 -0
- package/skills/hatch3r-recipe/SKILL.md +1 -0
- package/skills/hatch3r-refactor/SKILL.md +1 -0
- package/skills/hatch3r-release/SKILL.md +1 -0
- 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 +1 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
id: hatch3r-board-groom
|
|
3
3
|
type: command
|
|
4
4
|
description: Ongoing backlog refinement for existing board items. Re-prioritize, reclassify, re-scope, archive stale items, decompose oversized issues, merge duplicates, refresh dependencies, and remediate board health findings.
|
|
5
|
+
tags: [board, team]
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
## Agent Pipeline
|
|
@@ -164,7 +165,15 @@ Compare existing open issues pairwise for semantic overlap:
|
|
|
164
165
|
- Overlapping acceptance criteria.
|
|
165
166
|
- Cross-reference `## Scope` sections for boundary collisions.
|
|
166
167
|
|
|
167
|
-
####
|
|
168
|
+
#### 3j. Unlinked Sub-Issue Detection
|
|
169
|
+
|
|
170
|
+
For each epic, compare the sub-issue references in the epic body (checklist items, `> Parent:` references) against the native sub-issue list from `issue_read` with `method: get_sub_issues` (GitHub) or equivalent platform call. Flag sub-issues that appear in the body but are not natively linked.
|
|
171
|
+
|
|
172
|
+
#### 3k. Board Sync Drift Detection
|
|
173
|
+
|
|
174
|
+
If `board.projectNumber` is configured, compare label-based status (`status:*` labels) against board column status via `gh project item-list {board.projectNumber} --owner {board.owner} --format json` (GitHub) or equivalent platform call. Flag issues where the label status and board column status diverge.
|
|
175
|
+
|
|
176
|
+
#### 3l. Present Refinement Summary
|
|
168
177
|
|
|
169
178
|
Present findings grouped by category:
|
|
170
179
|
|
|
@@ -178,6 +187,8 @@ Board Health:
|
|
|
178
187
|
Stale dependency refs: D issues
|
|
179
188
|
Priority imbalance: {description or "None"}
|
|
180
189
|
Epic ordering discrepancies: E epics
|
|
190
|
+
Unlinked sub-issues: U issues (non-native links)
|
|
191
|
+
Board sync drift: V issues (label/board status mismatch)
|
|
181
192
|
|
|
182
193
|
Grooming Opportunities:
|
|
183
194
|
Re-prioritize candidates: R issues (priority/risk misalignment, priority inflation)
|
|
@@ -186,11 +197,12 @@ Grooming Opportunities:
|
|
|
186
197
|
Grouping candidates: G standalone issues → potential epics
|
|
187
198
|
Duplicate/overlap candidates: O issue pairs
|
|
188
199
|
Dependency cleanup: K issues (stale refs, orphaned labels)
|
|
200
|
+
Link fix candidates: L issues (advisory or comment-only links)
|
|
189
201
|
|
|
190
|
-
Available actions: [reprioritize | reclassify | re-scope | demote | archive | decompose | merge | dep-refresh | health-fix | all]
|
|
202
|
+
Available actions: [reprioritize | reclassify | re-scope | demote | archive | decompose | merge | dep-refresh | health-fix | link-fix | all]
|
|
191
203
|
```
|
|
192
204
|
|
|
193
|
-
**ASK:** "Here is the board refinement summary. Which grooming actions do you want to perform? Select one or more: reprioritize / reclassify / re-scope / demote / archive / decompose / merge / dep-refresh / health-fix / all. You can also specify issue numbers to target specific items (e.g., 'reprioritize #5, #12')."
|
|
205
|
+
**ASK:** "Here is the board refinement summary. Which grooming actions do you want to perform? Select one or more: reprioritize / reclassify / re-scope / demote / archive / decompose / merge / dep-refresh / health-fix / link-fix / all. You can also specify issue numbers to target specific items (e.g., 'reprioritize #5, #12')."
|
|
194
206
|
|
|
195
207
|
---
|
|
196
208
|
|
|
@@ -342,11 +354,9 @@ The original issue becomes the parent epic.
|
|
|
342
354
|
|
|
343
355
|
4. For confirmed decompositions:
|
|
344
356
|
- If the original is standalone, convert it to an epic by updating its body with `## Implementation Order` and adding sub-issue links.
|
|
345
|
-
- Create sub-issues
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
- **GitLab:** Create via `glab issue create`. Link via `glab api` issue links endpoint.
|
|
349
|
-
- Inherit labels/tags from the parent. Add `## Dependencies` sections.
|
|
357
|
+
- Create sub-issues using platform CLI (`gh issue create` / `az boards work-item create` / `glab issue create`). Fall back to MCP if CLI fails.
|
|
358
|
+
- Link sub-issues to the parent using the **Sub-Issue Linking Procedure** from `hatch3r-board-shared` (three-tier fallback chain).
|
|
359
|
+
- Inherit labels/tags from the parent. Add `## Dependencies` sections. Add `has-dependencies` label to sub-issues with dependency references (per rule 7 of Board Sync Enforcement).
|
|
350
360
|
- Sync new sub-issues to the board via the **Board Sync Procedure** from `hatch3r-board-shared`.
|
|
351
361
|
|
|
352
362
|
---
|
|
@@ -377,7 +387,8 @@ Combine overlapping issues discovered after initial dedup.
|
|
|
377
387
|
Re-analyze and clean up dependency data based on current board state.
|
|
378
388
|
|
|
379
389
|
1. **Clean stale references:** For issues referencing closed blockers, remove the satisfied `Blocked by #N` lines from `## Dependencies` (the blocker is done, the reference is noise). Replace with `None` if no other dependencies remain.
|
|
380
|
-
|
|
390
|
+
1b. **Normalize dependency format:** Replace `Depends on #N` with `Blocked by #N` in `## Dependencies` sections. This enforces the canonical format per the Dependency Data Model in `hatch3r-board-shared`.
|
|
391
|
+
2. **Fix orphaned labels:** For issues with `has-dependencies` label but empty or missing `## Dependencies`, either add the section or remove the label. Also add `has-dependencies` to issues that have dependency references but are missing the label (bidirectional enforcement per rule 7 of Board Sync Enforcement).
|
|
381
392
|
3. **Discover new dependencies:** Analyze the current board for producer/consumer relationships that weren't captured in the original fill. Propose new dependency edges.
|
|
382
393
|
4. **Recompute epic ordering:** For epics with stale `## Implementation Order` sections (flagged in Step 3d), regenerate the section from sub-issues' `## Dependencies` DAG.
|
|
383
394
|
5. **Unblock newly available items:** After cleaning stale refs, identify issues that were previously dependency-waiting but are now available (all blockers closed). Note these for the user.
|
|
@@ -414,6 +425,27 @@ Newly unblocked:
|
|
|
414
425
|
|
|
415
426
|
---
|
|
416
427
|
|
|
428
|
+
#### 4h-link. Link Fix (Sub-Issue Re-Linking)
|
|
429
|
+
|
|
430
|
+
Re-run the **Sub-Issue Linking Procedure** from `hatch3r-board-shared` for sub-issues identified in Step 3j as non-natively linked.
|
|
431
|
+
|
|
432
|
+
1. Present link-fix candidates from Step 3j:
|
|
433
|
+
|
|
434
|
+
```
|
|
435
|
+
Link Fix Candidates:
|
|
436
|
+
|
|
437
|
+
| # | Title | Parent Epic | Current Link Status |
|
|
438
|
+
|---|-------|-------------|---------------------|
|
|
439
|
+
| #N | {title} | #{epic} | advisory |
|
|
440
|
+
| #M | {title} | #{epic} | comment-only |
|
|
441
|
+
```
|
|
442
|
+
|
|
443
|
+
**ASK:** "Confirm re-linking for these sub-issues. The procedure will attempt native linking via MCP. Confirm / skip."
|
|
444
|
+
|
|
445
|
+
2. For each confirmed candidate, run the Sub-Issue Linking Procedure fallback chain starting from the primary tier. Record updated link status in the run cache.
|
|
446
|
+
|
|
447
|
+
---
|
|
448
|
+
|
|
417
449
|
#### 4i. Health Fix (Board Health Remediation)
|
|
418
450
|
|
|
419
451
|
Fix structural gaps detected in Step 3b (missing metadata).
|
|
@@ -486,7 +518,7 @@ For every issue/work item whose labels or status changed during Steps 4-5:
|
|
|
486
518
|
**This step is mandatory. Do not skip.**
|
|
487
519
|
|
|
488
520
|
1. Search the cached board inventory for an open issue labeled `meta:board-overview`.
|
|
489
|
-
2. Compute Implementation Lanes using the **Lane Computation Algorithm** from `hatch3r-board-shared`. Use the dependency graph from Step 3d, updated with mutations from Step 4, as input.
|
|
521
|
+
2. Compute Implementation Lanes using the **Lane Computation Algorithm** (steps 1-12) from `hatch3r-board-shared`. Use the dependency graph from Step 3d, updated with mutations from Step 4, as input. This includes inter-lane dependency computation, lane phasing, and the Lane Dependency Map.
|
|
490
522
|
3. Assign models to all open issues using the **Model Selection Heuristic (Quality-First)** from `hatch3r-board-shared`.
|
|
491
523
|
4. **If found:** Regenerate the dashboard body using the **Board Overview Issue Format** template from `hatch3r-board-shared`, populated with cached board data updated with all mutations from Steps 4-6. Update using platform CLI:
|
|
492
524
|
- **GitHub:** `gh issue edit {N} --body "..."` (fall back to `issue_write` MCP).
|
|
@@ -498,6 +530,14 @@ Do NOT re-fetch all issues; use cached data updated with this run's mutations.
|
|
|
498
530
|
|
|
499
531
|
---
|
|
500
532
|
|
|
533
|
+
### Step 7.5: End-of-Run Reconciliation
|
|
534
|
+
|
|
535
|
+
**This step is mandatory. Do not skip.**
|
|
536
|
+
|
|
537
|
+
Run the **End-of-Run Reconciliation Procedure** from `hatch3r-board-shared`. This verifies board sync, sub-issue links, label consistency, and PR linkage for all issues created or updated during this grooming session. Output the reconciliation report before proceeding to Step 8.
|
|
538
|
+
|
|
539
|
+
---
|
|
540
|
+
|
|
501
541
|
### Step 8: Groom Summary
|
|
502
542
|
|
|
503
543
|
Present a summary of all changes made during this grooming session:
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
id: hatch3r-board-init
|
|
3
3
|
type: command
|
|
4
4
|
description: Initialize a project board (GitHub Projects V2, Azure Boards, or GitLab Issue Boards) with hatch3r's label taxonomy, status fields, and board structure. Platform detected from hatch.json.
|
|
5
|
+
tags: [board, team]
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
## Agent Pipeline
|