bmad-method 6.2.3-next.14 → 6.2.3-next.16
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/package.json +1 -1
- package/src/bmm-skills/4-implementation/bmad-checkpoint-preview/SKILL.md +2 -1
- package/src/bmm-skills/4-implementation/bmad-checkpoint-preview/generate-trail.md +1 -1
- package/src/bmm-skills/4-implementation/bmad-checkpoint-preview/step-01-orientation.md +9 -7
- package/src/bmm-skills/4-implementation/bmad-checkpoint-preview/step-02-walkthrough.md +2 -2
- package/src/bmm-skills/4-implementation/bmad-checkpoint-preview/step-05-wrapup.md +2 -0
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@ You are assisting the user in reviewing a change.
|
|
|
13
13
|
|
|
14
14
|
- **Path:line format** — Every code reference must use CWD-relative `path:line` format (no leading `/`) so it is clickable in IDE-embedded terminals (e.g., `src/auth/middleware.ts:42`).
|
|
15
15
|
- **Front-load then shut up** — Present the entire output for the current step in a single coherent message. Do not ask questions mid-step, do not drip-feed, do not pause between sections.
|
|
16
|
-
- **
|
|
16
|
+
- **Language** — Speak in `{communication_language}`. Write any file output in `{document_output_language}`.
|
|
17
17
|
|
|
18
18
|
## INITIALIZATION
|
|
19
19
|
|
|
@@ -22,6 +22,7 @@ Load and read full config from `{project-root}/_bmad/bmm/config.yaml` and resolv
|
|
|
22
22
|
- `implementation_artifacts`
|
|
23
23
|
- `planning_artifacts`
|
|
24
24
|
- `communication_language`
|
|
25
|
+
- `document_output_language`
|
|
25
26
|
|
|
26
27
|
## FIRST STEP
|
|
27
28
|
|
|
@@ -33,6 +33,6 @@ I built a review trail for this {change_type} (no author-produced trail was foun
|
|
|
33
33
|
{generated trail}
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
Set
|
|
36
|
+
The generated trail serves as the Suggested Review Order for subsequent steps. Set `review_mode` to `full-trail` — a trail now exists, so all downstream steps should treat it as one.
|
|
37
37
|
|
|
38
38
|
If git is unavailable or the diff cannot be retrieved, return to step-01 with: "Could not generate trail — git unavailable."
|
|
@@ -51,7 +51,7 @@ Set `review_mode` — pick the first match:
|
|
|
51
51
|
|
|
52
52
|
1. **`full-trail`** — ENRICH found a spec with a `## Suggested Review Order` section. Intent source: spec's Intent section.
|
|
53
53
|
2. **`spec-only`** — ENRICH found a spec but it has no Suggested Review Order. Intent source: spec's Intent section.
|
|
54
|
-
3. **`bare-commit`** — no spec found. Intent source: commit message. If the commit message is terse (under 10 words), scan the diff for the primary change pattern and draft a one-sentence intent.
|
|
54
|
+
3. **`bare-commit`** — no spec found. Intent source: commit message. If the commit message is terse (under 10 words), scan the diff for the primary change pattern and draft a one-sentence intent. Flag it as `[inferred]` in the output so the user can correct it.
|
|
55
55
|
|
|
56
56
|
## PRODUCE ORIENTATION
|
|
57
57
|
|
|
@@ -63,24 +63,26 @@ Set `review_mode` — pick the first match:
|
|
|
63
63
|
|
|
64
64
|
### Surface Area Stats
|
|
65
65
|
|
|
66
|
-
Best-effort stats from
|
|
66
|
+
Best-effort stats derived from the diff. Try these baselines in order:
|
|
67
67
|
|
|
68
68
|
1. `baseline_commit` from the spec's frontmatter.
|
|
69
69
|
2. Branch merge-base against `main` (or the default branch).
|
|
70
70
|
3. `HEAD~1..HEAD` (latest commit only — tell the user).
|
|
71
71
|
4. If git is unavailable or all of the above fail, skip stats and note: "Could not compute stats."
|
|
72
72
|
|
|
73
|
+
Use `git diff --stat` and `git diff --numstat` for file-level counts, and scan the full diff content for the richer metrics.
|
|
74
|
+
|
|
73
75
|
Display as:
|
|
74
76
|
|
|
75
77
|
```
|
|
76
78
|
N files changed · M modules touched · ~L lines of logic · B boundary crossings · P new public interfaces
|
|
77
79
|
```
|
|
78
80
|
|
|
79
|
-
- **Files changed**: from `git diff --stat`.
|
|
80
|
-
- **Modules touched**: distinct top-level directories with changes.
|
|
81
|
-
- **Lines of logic**: added/modified lines excluding blanks, imports, formatting. `~` because approximate.
|
|
81
|
+
- **Files changed**: count from `git diff --stat`.
|
|
82
|
+
- **Modules touched**: distinct top-level directories with changes (from `--stat` file paths).
|
|
83
|
+
- **Lines of logic**: added/modified lines excluding blanks, imports, formatting. Scan diff content; `~` because approximate.
|
|
82
84
|
- **Boundary crossings**: changes spanning more than one top-level module. `0` if single module.
|
|
83
|
-
- **New public interfaces**: new exports, endpoints, public methods. `0` if none.
|
|
85
|
+
- **New public interfaces**: new exports, endpoints, public methods found in the diff. `0` if none.
|
|
84
86
|
|
|
85
87
|
Omit any metric you cannot compute rather than guessing.
|
|
86
88
|
|
|
@@ -96,7 +98,7 @@ Omit any metric you cannot compute rather than guessing.
|
|
|
96
98
|
|
|
97
99
|
## FALLBACK TRAIL GENERATION
|
|
98
100
|
|
|
99
|
-
If review mode is not `full-trail`, read fully and follow `./generate-trail.md` to build one from the diff. Then return here and continue to NEXT.
|
|
101
|
+
If review mode is not `full-trail`, read fully and follow `./generate-trail.md` to build one from the diff. Then return here and continue to NEXT. If trail generation fails (e.g., git unavailable), the original review mode is preserved — step-02 handles this with its non-trail path.
|
|
100
102
|
|
|
101
103
|
## NEXT
|
|
102
104
|
|
|
@@ -11,14 +11,14 @@ Display: `Orientation → [Walkthrough] → Detail Pass → Testing`
|
|
|
11
11
|
|
|
12
12
|
### Identify Concerns
|
|
13
13
|
|
|
14
|
-
**With Suggested Review Order** (`full-trail` mode):
|
|
14
|
+
**With Suggested Review Order** (`full-trail` mode — the normal path, including when step-01 generated a trail):
|
|
15
15
|
|
|
16
16
|
1. Read the Suggested Review Order stops from the spec (or from conversation context if generated by step-01 fallback).
|
|
17
17
|
2. Resolve each stop to a file in the current repo. Output in `path:line` format per the standing rule.
|
|
18
18
|
3. Read the diff to understand what each stop actually does.
|
|
19
19
|
4. Group stops by concern. Stops that share a design intent belong together even if they're in different files. A stop may appear under multiple concerns if it serves multiple purposes.
|
|
20
20
|
|
|
21
|
-
**Without Suggested Review Order** (
|
|
21
|
+
**Without Suggested Review Order** (fallback when trail generation failed, e.g., git unavailable):
|
|
22
22
|
|
|
23
23
|
1. Get the diff against the appropriate baseline (same rules as step 1).
|
|
24
24
|
2. Identify concerns by reading the diff for cohesive design intents:
|
|
@@ -15,6 +15,8 @@ Review complete. What's the call on this {change_type}?
|
|
|
15
15
|
- **Discuss** — something's still on your mind
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
HALT — do not proceed until the user makes their choice.
|
|
19
|
+
|
|
18
20
|
## ACT ON DECISION
|
|
19
21
|
|
|
20
22
|
- **Approve**: Acknowledge briefly. If the human wants to patch something before shipping, help apply the fix interactively. If reviewing a PR, offer to approve via `gh pr review --approve` — but confirm with the human before executing, since this is a visible action on a shared resource.
|