hero-mmt-kit 1.1.2 → 1.1.4

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/CHANGELOG.md CHANGED
@@ -1,96 +1,111 @@
1
- # Changelog
2
-
3
- Notable changes to `hero-mmt-kit` are documented here from `1.0.0` onward.
4
-
5
- Format follows [Keep a Changelog](https://keepachangelog.com/); versioning follows [SemVer](https://semver.org/).
6
-
7
- ## [1.1.2] - 2026-07-14
8
-
9
- ### Changed
10
-
11
- - Extracted `hero-security`'s embedded reference knowledge (the 14-domain security control baseline, OWASP/AI-LLM review checklist, release-gate criteria, report template, and severity guide) out of `SKILL.md` into standalone docs — `docs/SECURITY_CONTROL_BASELINE.md`, `docs/SECURITY_REVIEW_CHECKLIST.md`, and `docs/SECURITY_REPORT_FORMAT.md` — referenced from the skill via `@docs/...`. `hero-security/SKILL.md` shrank from 427 to ~150 lines and now covers only process/behavioral guidance.
12
- - Consolidated all `hero-security` documentation into the project's single `docs/` folder alongside the existing `docs/SECURITY_STANDARDS.md`, instead of splitting it between the project's `docs/` and a skill-local `docs/` subfolder under `.claude/skills/hero-security/`. `SECURITY_STANDARDS.md` now cross-links the three new files.
13
-
14
- ## [1.1.1] - 2026-07-14
15
-
16
- ### Fixed
17
-
18
- - `hero-planning` no longer stalls in Plan Mode asking "should I implement now?" — after the plan is written and self-reviewed, it exits plan mode, reports the saved path, and stops without offering to implement or auto-invoking `hero-coding`.
19
- - Unified the plan artifact path to `docs/plans/YYYY-MM-DD-<slug>.md` everywhere. The vendored `writing-plans` skill previously defaulted to `docs/superpowers/plans/...`, which didn't match `hero-planning`'s own convention; `writing-plans` and the `requesting-code-review` example now use the same path.
20
-
21
- ## [1.1.0] - 2026-07-11
22
-
23
- ### Added
24
-
25
- - `hero-report`, an on-demand report writer for coding, reviewing, and unit-test phases when a durable report is explicitly wanted.
26
- - `active-state-bridge.cjs`, which injects `docs/ACTIVE_STATE.md` context at session start and makes that file the single durable workflow-state source.
27
- - Expanded `hero-security` into a standalone OWASP + AI/LLM security engineering workflow with a 14-domain control baseline, release gates, verification requirements, and residual-risk reporting.
28
- - Regression coverage to ensure `security-review` stays merged into `hero-security` and `hero-security` retains a standalone `docs/security-reports/YYYY-MM-DD-<slug>.md` artifact convention.
29
-
30
- ### Changed
31
-
32
- - `hero-security` is now an independent security-review flow that always writes its own report under `docs/security-reports/...`; security findings are not appended into coding/review/test reports as a substitute.
33
- - `hero-coding`, `hero-reviewing`, `hero-unit-test`, and `hero-strict` now recommend or link related independent phases instead of embedding security or report-writing work.
34
- - Reports for coding/review/test phases are on-demand via `hero-report`; chat summaries remain the default for those phases.
35
- - `docs/ACTIVE_STATE.md` replaces `.hero-mmt-kit/session.json` as the workflow state source used by init/update/doctor guidance.
36
- - `git-guard` behavior was tightened to avoid false positives such as branch names containing `main`, while keeping dangerous git commands guarded.
37
- - README, framework guidance, manifest metadata, and vendored skill documentation now describe the report-on-demand model and standalone security-report exception consistently.
38
-
39
- ### Removed
40
-
41
- - Bundled `security-review` skill; its OWASP + AI/LLM review content now lives in `hero-security`.
42
- - `session-bridge.cjs`, `.hero-mmt-kit/session.schema.json`, and session-pointer state logic.
43
- - `finishing-a-development-branch` from the bundled process-skill set.
44
- - Legacy presets and workflow-state tests tied to the removed session/profile model.
45
-
46
- ## [1.0.0] - 2026-07-10
47
-
48
- ### Added
49
-
50
- - Initial standalone `hero-mmt-kit` release.
51
- - Zero-dependency Node.js CLI published as `hero-mmt-kit`, with `init`, `update`, `discover`, `brownfield`, `doctor`, `version`, and `help` commands.
52
- - Claude Code-only workflow installation for new and brownfield repositories.
53
- - `using-hero` overview skill plus six operative workflow skills:
54
- - `hero-planning`
55
- - `hero-coding`
56
- - `hero-reviewing`
57
- - `hero-unit-test`
58
- - `hero-security`
59
- - `hero-strict`
60
- - Bundled core process skills installed into `.claude/skills/` for every project, with attribution in `templates/skills/NOTICE`.
61
- - Standalone framework-authored `hero-security` skill for OWASP + AI/LLM security reviews.
62
- - Lightweight session state in `.hero-mmt-kit/session.json` with `schemaVersion`, `currentSkill`, `lastCheckpoint`, `resumePath`, `nextAction`, and `updatedAt`.
63
- - Soft Claude Code hooks:
64
- - `git-guard.cjs` for dangerous git-command protection and commit reminders.
65
- - `session-bridge.cjs` for once-per-session state injection.
66
- - `stop-reminder.cjs` for end-of-session state reminders.
67
- - Brownfield discovery flow via `npx hero-mmt-kit discover` / `brownfield`, generating `docs/BROWNFIELD_DISCOVERY.md`.
68
- - Standards and template docs:
69
- - `docs/ACTIVE_STATE.md`
70
- - `docs/BROWNFIELD_DISCOVERY.md`
71
- - `docs/SECURITY_STANDARDS.md`
72
- - `docs/PERFORMANCE_STANDARDS.md`
73
- - `docs/DESIGN_STANDARDS.md`
74
- - `docs/INTERACTION_PATTERNS.md`
75
- - `docs/templates/PRD_AI_FEATURE.md`
76
- - `docs/templates/DESIGN_BRIEF.md`
77
- - Managed-region update model using `<!-- hero-mmt-kit:start/end -->` markers in generated guidance files.
78
- - Optional integration detection for taste/design skills, GitNexus, and Serena.
79
- - Presets for `enterprise`, `small-team`, and `solo` posture configuration.
80
- - Test coverage for hook behavior, documentation links, initialization, brownfield discovery, optional integration gating, and CLI smoke flows.
81
-
82
- ### Changed
83
-
84
- - Workflow posture is human-led and Claude Code-only: developers invoke skills directly instead of relying on automatic routing, profiles, IDE targeting, or phase enforcement.
85
- - Framework templates are English-only for consistency and token efficiency; assistants can still reply in the user's chat language.
86
- - Installed skills are no longer selected by profile, project surface, or verification level. Every install receives the full bundled workflow skill suite.
87
- - Optional taste/design skills are installed only when the user opts in with `--taste` or answers Yes during interactive `init`.
88
- - `doctor` validates the current framework surfaces: hooks, settings, session state, doc links, and optional tool presence.
89
-
90
- ### Removed
91
-
92
- - Hard workflow enforcement gates and blocking edit/commit checks.
93
- - Multi-IDE targeting and Cursor-specific installation surfaces.
94
- - Profile, surface, and verification-level selection flags.
95
- - Phase-handoff protocol artifacts and handoff validation logic.
96
- - Legacy migration or compatibility behavior from earlier products. `hero-mmt-kit` starts with a clean runtime directory, managed-region markers, CLI binary, and package name.
1
+ # Changelog
2
+
3
+ Notable changes to `hero-mmt-kit` are documented here from `1.0.0` onward.
4
+
5
+ Format follows [Keep a Changelog](https://keepachangelog.com/); versioning follows [SemVer](https://semver.org/).
6
+
7
+ ## [1.1.4] - 2026-07-20
8
+
9
+ ### Added
10
+
11
+ - `hero-mr-review`, a new standalone core skill for reviewing a teammate's merge request or commit before it merges. Given a git ref (commit SHA, tag, or branch) diffed against a base branch, it checks coding convention, purpose-fit against the commit messages/description, impact on related code (via GitNexus when connected), and potential bugs — then always writes a standalone report to `docs/mr-reviews/YYYY-MM-DD-<slug>.md` with a verdict (`Approve` / `Approve with suggestions` / `Request changes`). Like `hero-security`, it is independent of the `hero-planning`/`hero-coding`/`hero-reviewing`/`hero-unit-test` pipeline and is invoked directly, on demand — it reviews someone else's code, not the invoking developer's own work-in-progress.
12
+ - Added to `skills.manifest.json`, `CORE_SKILL_ORDER`, `using-hero`'s skill map, and the vendored skill test suite alongside the other `hero-*` skills.
13
+
14
+ ## [1.1.3] - 2026-07-16
15
+
16
+ ### Added
17
+
18
+ - `instrumented-debugging.md`, a hero-mmt-kit-original supporting technique added to the vendored `systematic-debugging` skill (alongside `root-cause-tracing.md`, `defense-in-depth.md`, and `condition-based-waiting.md`): for a logic/data bug reproducible from known input, trigger it via a temporary unit test built directly from that input, place tagged `console.log`/`print` checkpoints at breakpoint-equivalent locations, and read the collected trace instead of attaching a debugger. Mandatory cleanup removes the temporary test and all checkpoint lines before the session ends.
19
+ - `systematic-debugging/SKILL.md` Phase 1 and its Supporting Techniques list now point to `instrumented-debugging.md`; `hero-coding/SKILL.md` step 4 surfaces it as an option when a mid-implementation bug is reproducible from a known API payload.
20
+ - `templates/skills/NOTICE` documents this as a hero-mmt-kit design choice layered on top of the vendored skill, following the same precedent set for `subagent-driven-development`'s backported additions.
21
+
22
+ ## [1.1.2] - 2026-07-14
23
+
24
+ ### Changed
25
+
26
+ - Extracted `hero-security`'s embedded reference knowledge (the 14-domain security control baseline, OWASP/AI-LLM review checklist, release-gate criteria, report template, and severity guide) out of `SKILL.md` into standalone docs — `docs/SECURITY_CONTROL_BASELINE.md`, `docs/SECURITY_REVIEW_CHECKLIST.md`, and `docs/SECURITY_REPORT_FORMAT.md` — referenced from the skill via `@docs/...`. `hero-security/SKILL.md` shrank from 427 to ~150 lines and now covers only process/behavioral guidance.
27
+ - Consolidated all `hero-security` documentation into the project's single `docs/` folder alongside the existing `docs/SECURITY_STANDARDS.md`, instead of splitting it between the project's `docs/` and a skill-local `docs/` subfolder under `.claude/skills/hero-security/`. `SECURITY_STANDARDS.md` now cross-links the three new files.
28
+
29
+ ## [1.1.1] - 2026-07-14
30
+
31
+ ### Fixed
32
+
33
+ - `hero-planning` no longer stalls in Plan Mode asking "should I implement now?" — after the plan is written and self-reviewed, it exits plan mode, reports the saved path, and stops without offering to implement or auto-invoking `hero-coding`.
34
+ - Unified the plan artifact path to `docs/plans/YYYY-MM-DD-<slug>.md` everywhere. The vendored `writing-plans` skill previously defaulted to `docs/superpowers/plans/...`, which didn't match `hero-planning`'s own convention; `writing-plans` and the `requesting-code-review` example now use the same path.
35
+
36
+ ## [1.1.0] - 2026-07-11
37
+
38
+ ### Added
39
+
40
+ - `hero-report`, an on-demand report writer for coding, reviewing, and unit-test phases when a durable report is explicitly wanted.
41
+ - `active-state-bridge.cjs`, which injects `docs/ACTIVE_STATE.md` context at session start and makes that file the single durable workflow-state source.
42
+ - Expanded `hero-security` into a standalone OWASP + AI/LLM security engineering workflow with a 14-domain control baseline, release gates, verification requirements, and residual-risk reporting.
43
+ - Regression coverage to ensure `security-review` stays merged into `hero-security` and `hero-security` retains a standalone `docs/security-reports/YYYY-MM-DD-<slug>.md` artifact convention.
44
+
45
+ ### Changed
46
+
47
+ - `hero-security` is now an independent security-review flow that always writes its own report under `docs/security-reports/...`; security findings are not appended into coding/review/test reports as a substitute.
48
+ - `hero-coding`, `hero-reviewing`, `hero-unit-test`, and `hero-strict` now recommend or link related independent phases instead of embedding security or report-writing work.
49
+ - Reports for coding/review/test phases are on-demand via `hero-report`; chat summaries remain the default for those phases.
50
+ - `docs/ACTIVE_STATE.md` replaces `.hero-mmt-kit/session.json` as the workflow state source used by init/update/doctor guidance.
51
+ - `git-guard` behavior was tightened to avoid false positives such as branch names containing `main`, while keeping dangerous git commands guarded.
52
+ - README, framework guidance, manifest metadata, and vendored skill documentation now describe the report-on-demand model and standalone security-report exception consistently.
53
+
54
+ ### Removed
55
+
56
+ - Bundled `security-review` skill; its OWASP + AI/LLM review content now lives in `hero-security`.
57
+ - `session-bridge.cjs`, `.hero-mmt-kit/session.schema.json`, and session-pointer state logic.
58
+ - `finishing-a-development-branch` from the bundled process-skill set.
59
+ - Legacy presets and workflow-state tests tied to the removed session/profile model.
60
+
61
+ ## [1.0.0] - 2026-07-10
62
+
63
+ ### Added
64
+
65
+ - Initial standalone `hero-mmt-kit` release.
66
+ - Zero-dependency Node.js CLI published as `hero-mmt-kit`, with `init`, `update`, `discover`, `brownfield`, `doctor`, `version`, and `help` commands.
67
+ - Claude Code-only workflow installation for new and brownfield repositories.
68
+ - `using-hero` overview skill plus six operative workflow skills:
69
+ - `hero-planning`
70
+ - `hero-coding`
71
+ - `hero-reviewing`
72
+ - `hero-unit-test`
73
+ - `hero-security`
74
+ - `hero-strict`
75
+ - Bundled core process skills installed into `.claude/skills/` for every project, with attribution in `templates/skills/NOTICE`.
76
+ - Standalone framework-authored `hero-security` skill for OWASP + AI/LLM security reviews.
77
+ - Lightweight session state in `.hero-mmt-kit/session.json` with `schemaVersion`, `currentSkill`, `lastCheckpoint`, `resumePath`, `nextAction`, and `updatedAt`.
78
+ - Soft Claude Code hooks:
79
+ - `git-guard.cjs` for dangerous git-command protection and commit reminders.
80
+ - `session-bridge.cjs` for once-per-session state injection.
81
+ - `stop-reminder.cjs` for end-of-session state reminders.
82
+ - Brownfield discovery flow via `npx hero-mmt-kit discover` / `brownfield`, generating `docs/BROWNFIELD_DISCOVERY.md`.
83
+ - Standards and template docs:
84
+ - `docs/ACTIVE_STATE.md`
85
+ - `docs/BROWNFIELD_DISCOVERY.md`
86
+ - `docs/SECURITY_STANDARDS.md`
87
+ - `docs/PERFORMANCE_STANDARDS.md`
88
+ - `docs/DESIGN_STANDARDS.md`
89
+ - `docs/INTERACTION_PATTERNS.md`
90
+ - `docs/templates/PRD_AI_FEATURE.md`
91
+ - `docs/templates/DESIGN_BRIEF.md`
92
+ - Managed-region update model using `<!-- hero-mmt-kit:start/end -->` markers in generated guidance files.
93
+ - Optional integration detection for taste/design skills, GitNexus, and Serena.
94
+ - Presets for `enterprise`, `small-team`, and `solo` posture configuration.
95
+ - Test coverage for hook behavior, documentation links, initialization, brownfield discovery, optional integration gating, and CLI smoke flows.
96
+
97
+ ### Changed
98
+
99
+ - Workflow posture is human-led and Claude Code-only: developers invoke skills directly instead of relying on automatic routing, profiles, IDE targeting, or phase enforcement.
100
+ - Framework templates are English-only for consistency and token efficiency; assistants can still reply in the user's chat language.
101
+ - Installed skills are no longer selected by profile, project surface, or verification level. Every install receives the full bundled workflow skill suite.
102
+ - Optional taste/design skills are installed only when the user opts in with `--taste` or answers Yes during interactive `init`.
103
+ - `doctor` validates the current framework surfaces: hooks, settings, session state, doc links, and optional tool presence.
104
+
105
+ ### Removed
106
+
107
+ - Hard workflow enforcement gates and blocking edit/commit checks.
108
+ - Multi-IDE targeting and Cursor-specific installation surfaces.
109
+ - Profile, surface, and verification-level selection flags.
110
+ - Phase-handoff protocol artifacts and handoff validation logic.
111
+ - Legacy migration or compatibility behavior from earlier products. `hero-mmt-kit` starts with a clean runtime directory, managed-region markers, CLI binary, and package name.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # hero-mmt-kit
2
2
 
3
- > A focused, human-led coding workflow for **Claude Code** — six direct-use skills (planning, coding, reviewing, unit testing, security, strict verification) plus an on-demand report writer, simple durable state, and soft safety hooks. Zero runtime dependencies.
3
+ > A focused, human-led coding workflow for **Claude Code** — seven direct-use skills (planning, coding, reviewing, unit testing, security, MR review, strict verification) plus an on-demand report writer, simple durable state, and soft safety hooks. Zero runtime dependencies.
4
4
 
5
5
  `hero-mmt-kit` installs a lightweight Claude Code workflow into new or existing repositories. It is designed for developers who stay in control: you choose the task, invoke the relevant skill, and keep the final judgment on plans, code, tests, reviews, and security checks.
6
6
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  `hero-mmt-kit` is **documentation + direct-use skills + soft hooks + a zero-dependency CLI**. It does not route work automatically, enforce phases, or block normal development flow.
10
10
 
11
- - **Six operative skills** (`hero-planning`, `hero-coding`, `hero-reviewing`, `hero-unit-test`, `hero-security`, `hero-strict`) covering the lifecycle of a change, each wrapping proven vendored technique skills instead of duplicating them. Each phase is done on its own — finishing one never auto-triggers the next.
11
+ - **Seven operative skills** (`hero-planning`, `hero-coding`, `hero-reviewing`, `hero-unit-test`, `hero-security`, `hero-mr-review`, `hero-strict`) covering the lifecycle of a change, each wrapping proven vendored technique skills instead of duplicating them. Each phase is done on its own — finishing one never auto-triggers the next.
12
12
  - **Report writing is on-demand** — `hero-coding`/`hero-reviewing`/`hero-unit-test` end with a concise chat summary; a written report is only produced when asked, via the separate `hero-report` skill.
13
13
  - **No router, no gates** — there is no task-classification doc and no hard PreToolUse enforcement. `using-hero` is a map, not a controller.
14
14
  - **Soft hooks only** — `git-guard` blocks a small set of genuinely dangerous git commands and reminds (never blocks) on ordinary commits; `stop-reminder` nudges you to update state when you stop with uncommitted changes; `active-state-bridge` injects `docs/ACTIVE_STATE.md` into context once per session start.
@@ -64,7 +64,7 @@ your-project/
64
64
 
65
65
  ## Workflow skills
66
66
 
67
- Invoke `using-hero` first for an overview — it explains which skill applies next and how workflow state carries across sessions. The six operative skills:
67
+ Invoke `using-hero` first for an overview — it explains which skill applies next and how workflow state carries across sessions. The seven operative skills:
68
68
 
69
69
  | Skill | Use when | Artifact / report |
70
70
  |---|---|---|
@@ -73,13 +73,14 @@ Invoke `using-hero` first for an overview — it explains which skill applies ne
73
73
  | `hero-reviewing` | Fresh-eyes check of an implementation against its plan, before merge. | `docs/reviews/YYYY-MM-DD-slug.md` |
74
74
  | `hero-unit-test` | Verifying implementation correctness — TDD-first or post-implementation. | `docs/test-reports/YYYY-MM-DD-slug.md` |
75
75
  | `hero-security` | You want an independent OWASP + AI/LLM security review of a sensitive surface. | `docs/security-reports/YYYY-MM-DD-slug.md` — always written for the security pass. |
76
+ | `hero-mr-review` | Reviewing a teammate's merge request or commit before it merges. | `docs/mr-reviews/YYYY-MM-DD-slug.md` — always written. |
76
77
  | `hero-strict` | Extra rigor wanted before a "done" claim — a full verification pass. | Appends to the current report, if one exists/was requested. |
77
78
 
78
- A typical flow is `hero-planning` → `hero-coding` → `hero-unit-test` and/or `hero-reviewing` → (`hero-security` if a sensitive surface was touched) → done. Skip stages that don't fit the size of the change — a one-line typo fix doesn't need a plan artifact. Each phase is "done" on its own terms — there's no automatic full-pipeline run; the developer chooses what to invoke next.
79
+ A typical flow is `hero-planning` → `hero-coding` → `hero-unit-test` and/or `hero-reviewing` → (`hero-security` if a sensitive surface was touched) → done. Skip stages that don't fit the size of the change — a one-line typo fix doesn't need a plan artifact. Each phase is "done" on its own terms — there's no automatic full-pipeline run; the developer chooses what to invoke next. `hero-mr-review` sits outside this flow entirely: it reviews a teammate's MR, not the invoking developer's own work, so it's invoked directly whenever needed rather than as a pipeline stage.
79
80
 
80
- `hero-coding`, `hero-reviewing`, and `hero-unit-test` don't write a report file by default — they end with a concise chat summary. A seventh, on-demand skill, `hero-report`, writes those report files when the user actually wants one, at the path convention the source skill defines. `hero-security` is the exception: it is an independent security flow and always writes its own `docs/security-reports/...` artifact.
81
+ `hero-coding`, `hero-reviewing`, and `hero-unit-test` don't write a report file by default — they end with a concise chat summary. An eighth, on-demand skill, `hero-report`, writes those report files when the user actually wants one, at the path convention the source skill defines. `hero-security` and `hero-mr-review` are the exceptions: both are independent flows that always write their own standalone report (`docs/security-reports/...` and `docs/mr-reviews/...` respectively).
81
82
 
82
- These skills wrap general-purpose vendored technique skills rather than duplicating them: `brainstorming`, `writing-plans`, `executing-plans`, `test-driven-development`, `systematic-debugging`, `verification-before-completion`, `requesting-code-review`, `receiving-code-review`, `dispatching-parallel-agents`, `subagent-driven-development`, `using-git-worktrees`. `hero-security` is a standalone security review skill rather than a wrapper. All are bundled under `templates/skills/` and installed unconditionally into `.claude/skills/` — every install gets the full suite, with attribution in `templates/skills/NOTICE`.
83
+ These skills wrap general-purpose vendored technique skills rather than duplicating them: `brainstorming`, `writing-plans`, `executing-plans`, `test-driven-development`, `systematic-debugging`, `verification-before-completion`, `requesting-code-review`, `receiving-code-review`, `dispatching-parallel-agents`, `subagent-driven-development`, `using-git-worktrees`. `hero-security` and `hero-mr-review` are standalone review skills rather than wrappers. All are bundled under `templates/skills/` and installed unconditionally into `.claude/skills/` — every install gets the full suite, with attribution in `templates/skills/NOTICE`.
83
84
 
84
85
  ## Session state
85
86
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hero-mmt-kit",
3
- "version": "1.1.2",
4
- "description": "A focused Claude Code framework for human-led development — six direct-use skills (planning, coding, reviewing, unit testing, security, strict mode) plus an on-demand report writer, with simple state tracking. Works for new and existing (brownfield) projects.",
3
+ "version": "1.1.4",
4
+ "description": "A focused Claude Code framework for human-led development — seven direct-use skills (planning, coding, reviewing, unit testing, security, MR review, strict mode) plus an on-demand report writer, with simple state tracking. Works for new and existing (brownfield) projects.",
5
5
  "keywords": [
6
6
  "claude-code",
7
7
  "ai-workflow",
@@ -34,6 +34,7 @@
34
34
  { "name": "hero-reviewing", "source": "hero-mmt-kit", "description": "Fresh-eyes check of an implementation against its plan, before merge." },
35
35
  { "name": "hero-unit-test", "source": "hero-mmt-kit", "description": "Verify implementation correctness — TDD-first or post-implementation." },
36
36
  { "name": "hero-security", "source": "hero-mmt-kit", "description": "Run an independent OWASP + AI/LLM security review and write a standalone security report." },
37
+ { "name": "hero-mr-review", "source": "hero-mmt-kit", "description": "Review a teammate's merge request by commit/tag/branch and write a standalone MR review report." },
37
38
  { "name": "hero-strict", "source": "hero-mmt-kit", "description": "Opt-in full verification pass before a \"done\" claim." },
38
39
  { "name": "hero-report", "source": "hero-mmt-kit", "description": "On-demand report writer — writes the coding/review/test report at the source skill's conventional path, only when requested." }
39
40
  ]
@@ -28,6 +28,7 @@ const SERENA_MEMOS = {
28
28
  'Human-led Claude Code workflow (hero-mmt-kit). Use the **using-hero** skill for the overview.\n\n' +
29
29
  'Core skills: hero-planning (plan before code), hero-coding (implement), hero-reviewing (fresh-eyes check), ' +
30
30
  'hero-unit-test (TDD-first or post-implementation tests), hero-security (standalone security review), ' +
31
+ 'hero-mr-review (standalone review of a teammate\'s MR by commit/tag/branch), ' +
31
32
  'hero-strict (opt-in full verification pass before a "done" claim).\n\n' +
32
33
  'Session state: docs/ACTIVE_STATE.md\'s Active Features table (the single source of durable workflow state).\n\n' +
33
34
  'Details (always read the source files, do not duplicate here): docs/ACTIVE_STATE.md, docs/SECURITY_STANDARDS.md, ' +
package/src/skills.cjs CHANGED
@@ -22,6 +22,7 @@ const CORE_SKILL_ORDER = [
22
22
  'hero-reviewing',
23
23
  'hero-unit-test',
24
24
  'hero-security',
25
+ 'hero-mr-review',
25
26
  'hero-strict',
26
27
  'hero-report',
27
28
  ];
@@ -30,6 +30,15 @@ on top of hero-mmt-kit's own Review Budget tiering system, which upstream does n
30
30
  have. The backported additions remain obra/superpowers-origin content under MIT;
31
31
  Review Budget tiering is a hero-mmt-kit original design choice.
32
32
 
33
+ Note on systematic-debugging: this skill received a hero-mmt-kit-original
34
+ supporting technique, `instrumented-debugging.md` (structured console/log
35
+ checkpoint placement for a reproducible API/logic bug, used in place of
36
+ attaching a debugger), added alongside the vendored `root-cause-tracing.md`,
37
+ `defense-in-depth.md`, and `condition-based-waiting.md` technique files. This
38
+ addition is a hero-mmt-kit design choice; the vendored Phase 1-4 process and
39
+ the other supporting files remain unchanged obra/superpowers-origin content
40
+ under MIT.
41
+
33
42
  Framework-authored skills shipped by hero-mmt-kit:
34
43
  using-hero, hero-planning, hero-coding, hero-reviewing,
35
44
  hero-unit-test, hero-security, hero-strict, hero-report
@@ -29,7 +29,7 @@ If there's no plan artifact, proceed on the strength of the request itself and n
29
29
  1. Read the plan artifact fully before starting (if one exists). Don't begin editing from a partial read.
30
30
  2. Implement using the vendored `executing-plans` skill's discipline: work through tasks in bite-sized steps, run the verification each task specifies, and mark tasks complete as you go rather than at the end.
31
31
  3. For independent or parallel work streams, use the vendored `subagent-driven-development` and `dispatching-parallel-agents` skills to delegate. Keep dependent work sequential; only fan out work that has no shared state or ordering constraint.
32
- 4. If unexpected bugs surface mid-implementation, switch to the vendored `systematic-debugging` skill instead of guessing at fixes.
32
+ 4. If unexpected bugs surface mid-implementation, switch to the vendored `systematic-debugging` skill instead of guessing at fixes. For a bug reproducible from known input (a specific API payload), its `instrumented-debugging` technique triggers via a temporary unit test built from that input, with checkpoint logs in place of manual breakpoints.
33
33
  5. Run relevant verification — build, lint, targeted tests — as you go, not only at the end. Catching a break right after the edit that caused it is cheaper than catching it after ten more edits.
34
34
  6. Give a concise chat summary: what changed, the evidence collected, and any remaining risks or deviations from the plan. Don't write a report file by default — see Report Convention below.
35
35
 
@@ -0,0 +1,97 @@
1
+ ---
2
+ name: hero-mr-review
3
+ description: Use when reviewing a teammate's merge request or commit before it merges — given a git ref (commit, tag, or branch), checks coding convention, the change's stated purpose, its impact on related code, and potential bugs, then writes a standalone review report
4
+ ---
5
+
6
+ # Hero MR Review
7
+
8
+ ## Overview
9
+
10
+ hero-mr-review is a standalone review skill for code someone else wrote. It is not part of the `hero-planning → hero-coding → hero-reviewing/hero-unit-test` pipeline, and it does not wrap `hero-reviewing` — that skill checks the *invoking developer's own* work against *their own* plan; this skill checks a *colleague's* merge request against the codebase's conventions, the change's own stated intent, and its blast radius. Invoke it directly, on demand, whenever a teammate's MR needs a second pair of eyes before merge.
11
+
12
+ **Core principle:** review the diff, not the description. Every finding needs file:line evidence from the actual change — not a restatement of the commit message or an assumption about what the code "probably" does.
13
+
14
+ ## When to Use
15
+
16
+ Use this skill when:
17
+ - A teammate has pushed commits and opened (or is about to open) a merge/pull request, and you need to review it before it merges.
18
+ - The user gives a commit SHA, tag, or branch name and asks for a review of "that MR" or "that commit."
19
+
20
+ Not for reviewing your own in-progress work — use `hero-reviewing` for that (it reads your plan and coding report as the source of truth; this skill has neither).
21
+
22
+ ## Inputs
23
+
24
+ 1. **The MR ref** — a commit SHA, tag, or branch name identifying the tip of the MR. Required; ask for it if not given.
25
+ 2. **The base ref** — what the MR merges into. Default to the repo's detected primary branch (`git symbolic-ref refs/remotes/origin/HEAD`, falling back to `main` or `master`) unless the user names a different base.
26
+ 3. Any MR/PR description or linked issue the user provides — useful for cross-checking stated intent against actual diff, but not required; the commit messages and diff are the primary source of truth if no description exists.
27
+ 4. Existing project conventions — naming, structure, and patterns already established in the files the MR touches.
28
+
29
+ ## Process
30
+
31
+ 1. **Resolve the diff.** Confirm both refs resolve (`git rev-parse`), then get the merge-base diff (`git diff <base>...<mr-ref>`) and the commit log (`git log <base>..<mr-ref>`) for the touched range. Do not review uncommitted/working-tree state — this skill reviews what was actually committed.
32
+ 2. **Establish the stated purpose.** Read the commit messages and any MR description given. Summarize in one or two sentences what the change claims to do.
33
+ 3. **Check coding convention.** Compare the diff against the existing patterns in the touched files and directories: naming, structure, error handling style, import/module conventions, formatting. Flag deviations with the file:line and what convention it breaks.
34
+ 4. **Check purpose-fit.** Does the diff actually do what the commit messages/description claim — no more, no less? Flag scope creep (unrelated changes bundled in) and silent gaps (claimed behavior the diff doesn't deliver).
35
+ 5. **Run impact analysis.** For each non-trivial changed symbol, if GitNexus MCP tools are connected, run `gitnexus_detect_changes` (or `gitnexus_impact` per symbol) to find callers, affected execution flows, and risk level; report HIGH/CRITICAL risk explicitly. If GitNexus isn't available, search for call sites/usages manually (grep/references) and note what was and wasn't checked.
36
+ 6. **Scan for potential bugs.** Read the actual diff hunks for logic errors, missed edge cases, unhandled error paths, off-by-one issues, resource leaks, race conditions, and anything that would only surface at runtime. This is a correctness pass, not a security audit — if the MR touches a sensitive surface (auth, secrets, external input, payments, AI/LLM behavior), say so and recommend a separate `hero-security` pass instead of trying to cover it here.
37
+ 7. **Compose findings.** Every finding gets: severity, file:line, what's wrong, the evidence (the actual line(s) from the diff), and a concrete suggested fix or improvement — not just "this looks off."
38
+ 8. **Assign a verdict:** `Approve`, `Approve with suggestions`, or `Request changes`. `Request changes` for any correctness bug, convention violation with real consequences, or unexplained purpose/diff mismatch; `Approve with suggestions` for optional improvements that don't block merge; `Approve` when nothing material was found.
39
+ 9. **Write the report** (see Output Artifact) and state the verdict and report path in chat.
40
+
41
+ ## Output Artifact
42
+
43
+ `docs/mr-reviews/YYYY-MM-DD-<slug>.md` — always written; this is the deliverable, not an on-request extra. Slug is the reviewed branch name (sanitized to kebab-case) if known, otherwise the short commit SHA of the MR ref.
44
+
45
+ ```markdown
46
+ # MR Review: <mr-ref> → <base-ref>
47
+
48
+ **Date:** YYYY-MM-DD
49
+ **Author:** <from git log, if available>
50
+ **Verdict:** Approve / Approve with suggestions / Request changes
51
+
52
+ ## Purpose
53
+ <one to two sentences: what the MR claims to do>
54
+
55
+ ## Findings
56
+
57
+ ### Coding Convention
58
+ - [Severity] file:line — issue. Evidence: `<diff line>`. Suggested fix: ...
59
+
60
+ ### Purpose Fit
61
+ - [Severity] file:line — issue. Evidence: `<diff line>`. Suggested fix: ...
62
+
63
+ ### Impact
64
+ - Affected callers/flows (via gitnexus_impact/gitnexus_detect_changes, or manual search if GitNexus unavailable). Risk level per changed symbol.
65
+
66
+ ### Potential Bugs
67
+ - [Severity] file:line — issue. Evidence: `<diff line>`. Suggested fix: ...
68
+
69
+ ## Recommendation
70
+ <verdict restated with the one or two things that would flip it, if not a clean Approve>
71
+ ```
72
+
73
+ If a section has no findings, say so explicitly ("no convention deviations found") rather than omitting the heading — an omitted section reads as "not reviewed."
74
+
75
+ Report style:
76
+ - Keep it concise and easy to scan: short bullets, not paragraphs.
77
+ - Every finding needs evidence — the actual code/diff line, not a paraphrase.
78
+ - Preserve exact file paths, line numbers, symbol names, commands, and error strings verbatim.
79
+ - Use full clarity (no compression) for anything that could break production or that you're recommending block the merge.
80
+
81
+ ## Definition of Done
82
+
83
+ - The diff was actually read — findings cite real file:line evidence, not the commit message or MR description alone.
84
+ - All four criteria (convention, purpose-fit, impact, potential bugs) were checked, or explicitly marked "not reviewed" with a reason (e.g., GitNexus unavailable and manual search was out of scope).
85
+ - Every finding has a suggested fix or improvement, not just a description of the problem.
86
+ - The verdict is stated with the reasoning that drives it.
87
+ - Report is saved at `docs/mr-reviews/YYYY-MM-DD-<slug>.md`, and the verdict + path are stated in chat.
88
+
89
+ ## ACTIVE_STATE.md Update
90
+
91
+ Only if the MR corresponds to a row already tracked in `docs/ACTIVE_STATE.md`'s Active Features table — link the review report there. Most MR reviews are for someone else's work and won't have a matching row; skip this step when there isn't one.
92
+
93
+ ## Related Skills
94
+
95
+ - Independent of the `hero-planning`/`hero-coding`/`hero-reviewing`/`hero-unit-test` pipeline — never invoked as part of it, and doesn't read their artifacts.
96
+ - Recommend a separate `hero-security` pass if the MR touches a sensitive surface (auth, secrets, external input, payments, AI/LLM behavior) instead of trying to cover security depth here.
97
+ - Recommend `hero-strict` if the MR is high-risk (architecture, shared/core modules, data model) and needs a fuller verification pass beyond this review.
@@ -107,6 +107,8 @@ You MUST complete each phase before proceeding to the next.
107
107
 
108
108
  **This reveals:** Which layer fails (secrets → workflow ✓, workflow → build ✗)
109
109
 
110
+ **For a single reproducible API/logic bug from known input** (payload known, no debugger attached, no need to run the app): see `instrumented-debugging.md` in this directory — trigger via a temporary unit test built from that input, with checkpoint logs replacing manual breakpoints.
111
+
110
112
  5. **Trace Data Flow**
111
113
 
112
114
  **WHEN error is deep in call stack:**
@@ -282,6 +284,7 @@ These techniques are part of systematic debugging and available in this director
282
284
  - **`root-cause-tracing.md`** - Trace bugs backward through call stack to find original trigger
283
285
  - **`defense-in-depth.md`** - Add validation at multiple layers after finding root cause
284
286
  - **`condition-based-waiting.md`** - Replace arbitrary timeouts with condition polling
287
+ - **`instrumented-debugging.md`** - Place structured log checkpoints at breakpoint-equivalent locations, triggered by a temporary unit test built from known input, instead of attaching a debugger
285
288
 
286
289
  **Related skills:**
287
290
  - **superpowers:test-driven-development** - For creating failing test case (Phase 4, Step 1)
@@ -0,0 +1,149 @@
1
+ # Instrumented Debugging (Checkpoints Instead of Breakpoints)
2
+
3
+ ## Overview
4
+
5
+ Sometimes you have a concrete, known input — a specific API payload, method, and route — but you don't want to attach a debugger or run the app in debug mode. You still need to see what the code actually did with that data at each point along the way.
6
+
7
+ **Core principle:** Place structured log checkpoints at the same locations you'd otherwise set breakpoints, trigger the code with a **temporary unit test** whose input is built directly from the data provided, then read the collected trace instead of stepping through it live.
8
+
9
+ This is a hero-mmt-kit-original addition to `systematic-debugging` (see `NOTICE`), used within its Phase 1 (Root Cause Investigation) when the bug is reproducible from known input but not being debugged interactively.
10
+
11
+ **This does not execute a real HTTP request against a running app.** The trigger is a unit test that calls the entry point function directly (or drives it in-process, e.g. via the project's existing supertest-style helper if one exists) — no server needs to be up, no real network call is made.
12
+
13
+ ## When to Use
14
+
15
+ - The bug is reproducible from **one known input** (method + route + payload, or equivalent function arguments) — all of it known up front.
16
+ - It looks like a **logic or data bug** — wrong value, wrong branch taken, wrong transformation — not a crash, performance issue, or security defect.
17
+ - You'd rather not attach a debugger or run the app in debug mode.
18
+
19
+ **Don't use this for:**
20
+ - Bugs you can't reproduce from a known input — go gather more evidence first (main `SKILL.md`, Phase 1).
21
+ - Crashes with a clear stack trace — read the trace, don't instrument around it.
22
+ - Anything requiring inspecting memory/perf timing — this technique captures values at points in time, not performance profiles.
23
+ - Bugs that only manifest through the real network/process boundary (e.g. serialization over an actual socket, real middleware ordering across processes) — those need an actual running app, which is out of scope for this technique.
24
+
25
+ ## Required Input Contract
26
+
27
+ Before writing the test or inserting any checkpoint, confirm you have all of the following. If anything is missing, ask — don't guess:
28
+
29
+ 1. **Method + route/endpoint** (e.g. `POST /api/orders/:id/apply-discount`) — used to locate the entry point, not to make a real call.
30
+ 2. **The payload** — body/params/query/headers, as a curl command or as plain data (JSON body, path params, etc.) — this becomes the unit test's input, verbatim.
31
+ 3. **Expected vs. actual behavior** — what the return value/response/state should be, and what it actually is.
32
+
33
+ ## The Process
34
+
35
+ ### 1. Locate the Entry Point
36
+
37
+ Find the function the given route resolves to — route handler/controller, or the service/business-logic function it delegates to if that's a closer match to the reported symptom. Grep for the route string, or use GitNexus `route_map` / `api_impact` if the repo is indexed. Don't guess which file handles it — confirm by reading it.
38
+
39
+ ### 2. Map the Likely Call Path
40
+
41
+ Read the code to sketch the path the input takes: handler → service/business logic → repository/DB → external calls → response construction. This is a static read, not a guess — open each file in the chain before instrumenting it.
42
+
43
+ ### 3. Find the Project's Existing Test Pattern
44
+
45
+ Look for an existing test file covering this module or a sibling route/handler. Reuse its conventions: test framework (Jest/Vitest/Mocha/pytest/...), how it mocks the DB/external calls, and — if the entry point is an HTTP handler — how it invokes routes in-process (e.g. `supertest(app).post(...)`, a test client, or a direct call with constructed `req`/`res` objects). Don't invent a new test-setup style if the project already has one.
46
+
47
+ ### 4. Choose Checkpoint Locations (Minimal First Pass)
48
+
49
+ Pick roughly **3–6** points, each one a location you'd otherwise set a breakpoint:
50
+ - Function/handler entry — log the raw inputs.
51
+ - Before/after any branch that affects the outcome (the `if` that decides which path is taken).
52
+ - Before/after the suspect data is transformed or persisted.
53
+ - Right before the return value/response is constructed.
54
+
55
+ Instrumenting everything at once defeats the purpose — it's as noisy as not instrumenting at all. Start narrow. If the first pass doesn't localize the divergence, add a **denser second pass** only around the checkpoint where things started going wrong.
56
+
57
+ ### 5. Insert Tagged Checkpoints
58
+
59
+ Use a unique, greppable tag per debugging session so the output can be filtered from normal test noise, and log actual values — not just "reached this line":
60
+
61
+ ```javascript
62
+ // Node/Express example
63
+ console.error(`[DBG:ORD-482] applyDiscount:entry`, { orderId, discountCode, cartTotal });
64
+ ...
65
+ console.error(`[DBG:ORD-482] applyDiscount:afterLookup`, { discountCode, discount });
66
+ ...
67
+ console.error(`[DBG:ORD-482] applyDiscount:branch`, { eligible, reason });
68
+ ```
69
+
70
+ ```python
71
+ # Python example
72
+ print(f"[DBG:ORD-482] apply_discount:entry order_id={order_id} code={discount_code} total={cart_total}")
73
+ ```
74
+
75
+ Use whatever the language/runtime's cheapest, most direct output mechanism is (`console.error`, `print`, `System.out.println`, `log.Printf`, ...) — this is throwaway instrumentation, not permanent logging, so it doesn't need to go through the project's logger.
76
+
77
+ ### 6. Write the Temporary Test
78
+
79
+ Create a throwaway test file (clearly named, e.g. `tmp.instrumented-debug.test.ts`) that:
80
+ - Builds the input exactly from the payload provided (parse the curl `-d`/`--data` body into the same shape the code expects; map path/query params; construct a minimal `req`/`res` if calling a raw handler, or use the project's in-process route-testing helper found in step 3).
81
+ - Calls the entry point directly — no server start, no real network call.
82
+ - Asserts nothing yet, or asserts only the expected-vs-actual outcome from the bug report — its job here is to **trigger** the checkpoints, not to be a polished regression test.
83
+
84
+ ### 7. Run the Test and Collect the Trace
85
+
86
+ Run just that one test file with the project's test runner (e.g. `npx jest tmp.instrumented-debug.test.ts`, `pytest test_tmp_instrumented.py`). Test runners pass through `console.error`/`print` output by default — capture it and filter by the session tag:
87
+
88
+ ```bash
89
+ npx jest tmp.instrumented-debug.test.ts 2>&1 | grep 'DBG:ORD-482'
90
+ ```
91
+
92
+ ### 8. Analyze Checkpoint-by-Checkpoint
93
+
94
+ Walk the checkpoints in order, comparing the logged value against what you expected at that point. The **first checkpoint where the actual value diverges from the expected one** is where the root cause lives — or where you need to trace further back (switch to `root-cause-tracing.md` in this directory if the divergence itself needs tracing to an even earlier source). Once localized, continue into the main `SKILL.md` process: Phase 2 (Pattern Analysis) → Phase 3 (Hypothesis and Testing) → Phase 4 (Implementation).
95
+
96
+ ### 9. Mandatory Cleanup
97
+
98
+ Before ending the debugging session:
99
+
100
+ - Delete the temporary test file created in step 6.
101
+ - Remove **every** checkpoint line inserted in step 5.
102
+ - Run `git status`/`git diff` and confirm no debug-only test file or log lines remain in the working tree.
103
+ - If the temporary test turns out to be worth keeping as a real regression test, or a particular log genuinely belongs permanently, that is a **separate, explicit decision** — call it out to the user rather than silently leaving debug scaffolding behind disguised as real code.
104
+
105
+ ## Example
106
+
107
+ **Bug report:** `POST /api/orders/482/apply-discount` with body `{ "discountCode": "SAVE10", "cartTotal": 45 }` should return a discount of `10`, but returns `0`.
108
+
109
+ **Checkpoints inserted** (3, first pass):
110
+
111
+ ```javascript
112
+ function applyDiscount(orderId, discountCode, cartTotal) {
113
+ console.error(`[DBG:ORD-482] entry`, { orderId, discountCode, cartTotal });
114
+
115
+ const discount = lookupDiscount(discountCode);
116
+ console.error(`[DBG:ORD-482] afterLookup`, { discount });
117
+
118
+ const eligible = cartTotal >= discount.minimumSpend;
119
+ console.error(`[DBG:ORD-482] branch`, { eligible, minimumSpend: discount.minimumSpend });
120
+
121
+ return eligible ? discount.amount : 0;
122
+ }
123
+ ```
124
+
125
+ **Temporary test** (`tmp.instrumented-debug.test.ts`), input built directly from the reported payload:
126
+
127
+ ```javascript
128
+ const { applyDiscount } = require('../src/orders/discount');
129
+
130
+ test('tmp: trace apply-discount for order 482', () => {
131
+ applyDiscount(482, 'SAVE10', 45);
132
+ });
133
+ ```
134
+
135
+ **Trace collected** (`npx jest tmp.instrumented-debug.test.ts 2>&1 | grep DBG:ORD-482`):
136
+
137
+ ```
138
+ [DBG:ORD-482] entry { orderId: 482, discountCode: 'SAVE10', cartTotal: 45 }
139
+ [DBG:ORD-482] afterLookup { discount: { amount: 10, minimumSpend: 50 } }
140
+ [DBG:ORD-482] branch { eligible: false, minimumSpend: 50 }
141
+ ```
142
+
143
+ **Analysis:** `discountCode` and `discount` lookup are correct — the divergence is at the branch: `cartTotal` (45) is below `minimumSpend` (50), so `eligible` is correctly `false` per the code, but the user expected `SAVE10` to apply regardless of cart total. Root cause is a **data/spec mismatch**, not a code bug: `SAVE10`'s `minimumSpend` was configured wrong. Fix at the source (the discount config), not by patching the branch.
144
+
145
+ **Cleanup:** `tmp.instrumented-debug.test.ts` deleted, all three `console.error` lines removed, `git status` confirmed clean before closing the session.
146
+
147
+ ## Key Principle
148
+
149
+ Checkpoints are a stand-in for breakpoints, and a temporary unit test is the stand-in for manually driving the app — reproducible from known input, minimal, tagged, read once, then both the test and the logs are removed. Finding the divergent checkpoint doesn't end the process; it tells you where Phase 2 (Pattern Analysis) should start looking.
@@ -18,11 +18,14 @@ hero-mmt-kit is a human-led workflow: the developer decides what to work on and
18
18
  | `hero-reviewing` | Fresh-eyes check of an implementation against its plan, before merge. | `docs/reviews/YYYY-MM-DD-slug.md` |
19
19
  | `hero-unit-test` | Verifying implementation correctness — TDD-first or post-implementation. | `docs/test-reports/YYYY-MM-DD-slug.md` |
20
20
  | `hero-security` | You want an independent OWASP + AI/LLM security review of a sensitive surface. | `docs/security-reports/YYYY-MM-DD-slug.md` — always written for the security pass. |
21
+ | `hero-mr-review` | Reviewing a teammate's merge request or commit before it merges — given a commit/tag/branch. | `docs/mr-reviews/YYYY-MM-DD-slug.md` — always written. |
21
22
  | `hero-strict` | Extra rigor is wanted before a "done" claim — a full verification pass. | Appends to the current report, if one exists/was requested. |
22
23
  | `hero-report` | A written report is actually wanted for a finished `hero-coding`/`hero-reviewing`/`hero-unit-test` phase. | Writes the report at the path the source skill defines. |
23
24
 
24
25
  A typical flow is `hero-planning` → `hero-coding` → `hero-unit-test` and/or `hero-reviewing` → done. Invoke `hero-security` separately when you want a dedicated security pass. Skip stages that don't fit the size of the change — a one-line typo fix doesn't need a plan artifact.
25
26
 
27
+ `hero-mr-review` is not part of this flow at all — it reviews a *teammate's* merge request, not the invoking developer's own work-in-progress. It has no plan or coding report to read; it reads the diff itself. Invoke it directly whenever a colleague's MR needs review, independent of whatever phase your own work is in.
28
+
26
29
  `hero-planning`, `hero-coding`, `hero-reviewing`, and `hero-unit-test` are done per-phase, not gated into an automatic full pipeline — finishing one doesn't trigger the next; the developer decides what to invoke next.
27
30
 
28
31
  ## Report writing