wdi-method 0.5.14 → 0.6.1
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 +436 -271
- package/bin/wdi-method.js +199 -5
- package/kit/.constitution/method/README.md +76 -75
- package/kit/.constitution/method/constitution.md +2 -1
- package/kit/.constitution/method/document/architecture-guide.md +10 -10
- package/kit/.constitution/method/document/bmad-guide.md +50 -16
- package/kit/.constitution/method/document/bmad-skill-register.md +74 -71
- package/kit/.constitution/method/document/brief-guide.md +42 -11
- package/kit/.constitution/method/document/corpus-guide.md +146 -11
- package/kit/.constitution/method/document/decision-guide.md +199 -134
- package/kit/.constitution/method/document/delivery-flow-guide.md +153 -82
- package/kit/.constitution/method/document/prd-guide.md +63 -20
- package/kit/.constitution/method/document/sdd-guide.md +5 -4
- package/kit/.constitution/method/document/srs-guide.md +150 -147
- package/kit/.constitution/method/document/templates/addendum.md +70 -71
- package/kit/.constitution/method/document/templates/architecture-spine.md +6 -4
- package/kit/.constitution/method/document/templates/brief.md +132 -110
- package/kit/.constitution/method/document/templates/c4.md +11 -11
- package/kit/.constitution/method/document/templates/contract.md +51 -52
- package/kit/.constitution/method/document/templates/cross-cutting.md +1 -2
- package/kit/.constitution/method/document/templates/design-system.md +0 -1
- package/kit/.constitution/method/document/templates/integration.md +68 -69
- package/kit/.constitution/method/document/templates/inventory.md +0 -1
- package/kit/.constitution/method/document/templates/lc.md +49 -47
- package/kit/.constitution/method/document/templates/lifecycle.md +51 -52
- package/kit/.constitution/method/document/templates/model.md +68 -55
- package/kit/.constitution/method/document/templates/oq.md +45 -45
- package/kit/.constitution/method/document/templates/prd.md +244 -226
- package/kit/.constitution/method/document/templates/questions.md +100 -76
- package/kit/.constitution/method/document/templates/rules.md +46 -47
- package/kit/.constitution/method/document/templates/sdd.md +26 -11
- package/kit/.constitution/method/document/templates/srs.md +46 -25
- package/kit/.constitution/method/document/templates/uc.md +1 -1
- package/kit/.constitution/method/document/templates/ux.md +76 -77
- package/kit/.constitution/method/document/ux-guide.md +115 -99
- package/kit/.constitution/method/language-guide.md +1 -1
- package/kit/.constitution/method/method-glossary.md +30 -17
- package/kit/.constitution/method/scripts/timeline.py +663 -665
- package/kit/.constitution/method/scripts/validate.py +1143 -362
- package/kit/.constitution/method/structure-guide.md +3 -3
- package/kit/.constitution/method/why/README.md +185 -169
- package/kit/.constitution/method/why/artifact-map.md +16 -14
- package/kit/.constitution/method/why/mode-risk-map.md +140 -0
- package/kit/.constitution/method/why/portability.md +1 -1
- package/kit/.constitution/method/why/rationale.md +12 -5
- package/kit/.constitution/project/README.md +2 -2
- package/kit/.constitution/project/codebase-brownfield-guide.md +18 -18
- package/kit/.constitution/project/codebase-conventions-guide.md +18 -18
- package/kit/.constitution/project/codebase-stack-guide.md +18 -18
- package/kit/assets/bmad-custom/bmad-architecture.toml +1 -1
- package/kit/assets/bmad-custom/bmad-correct-course.toml +5 -5
- package/kit/assets/bmad-custom/bmad-prd.toml +9 -3
- package/kit/assets/bmad-custom/bmad-product-brief.toml +6 -2
- package/kit/skills/wdi-blueprint/SKILL.md +71 -10
- package/kit/skills/wdi-build/SKILL.md +233 -123
- package/kit/skills/wdi-component/SKILL.md +8 -6
- package/kit/skills/wdi-decision/SKILL.md +187 -183
- package/kit/skills/wdi-explain-to-me/SKILL.md +84 -0
- package/kit/skills/wdi-help/SKILL.md +9 -7
- package/kit/skills/wdi-init/SKILL.md +20 -6
- package/kit/skills/wdi-problem/SKILL.md +31 -13
- package/kit/skills/wdi-product/SKILL.md +30 -17
- package/kit/skills/wdi-question/SKILL.md +170 -88
- package/kit/skills/wdi-reconcile/SKILL.md +33 -10
- package/kit/skills/wdi-report/SKILL.md +77 -25
- package/kit/skills/wdi-review/SKILL.md +201 -118
- package/kit/skills/wdi-systematic-debugging/SKILL.md +7 -7
- package/kit/skills/wdi-upgrade/SKILL.md +179 -0
- package/kit/skills/wdi-ux/SKILL.md +35 -11
- package/kit-overlay/AGENTS.md +4 -3
- package/kit-overlay/README.md +76 -75
- package/kit-overlay/constitution.md +2 -1
- package/kit-overlay/portability.md +1 -1
- package/package.json +43 -43
- package/scaffold/.control/product-glossary.md +1 -1
- package/scaffold/.control/registry/goals.yaml +25 -0
- package/scaffold/.control/registry/index.yaml +5 -5
- package/scaffold/.control/registry/specs.yaml +5 -0
- package/scaffold/.control/structure-codebase.md +19 -19
- package/scaffold/.control/structure-document.md +25 -25
- package/kit/.constitution/method/document/templates/rtr.md +0 -61
- package/kit/assets/bmad-custom/bmad-build-auto.toml +0 -10
- package/kit/assets/bmad-custom/bmad-build.toml +0 -52
- package/kit/assets/bmad-custom/bmad-code-review.toml +0 -13
- package/kit/assets/bmad-custom/bmad-retrospective.toml +0 -9
- package/kit/assets/bmad-custom/bmad-spec.toml +0 -16
- package/scaffold/.control/registry/requirements.yaml +0 -15
- package/scaffold/.control/registry/waves.yaml +0 -5
|
@@ -90,7 +90,7 @@ For the codebase map the distinction is exact and MUST NOT be softened:
|
|
|
90
90
|
container gets a heading.** Reading it both ways makes the rule unsatisfiable: a `built: false` container
|
|
91
91
|
— a database, a web server — MUST be registered, because it runs inside the boundary and carries NFRs,
|
|
92
92
|
and MUST NOT get a heading, because no code of ours lives there. So the check is **heading = exactly the
|
|
93
|
-
`built: true` containers**, and
|
|
93
|
+
`built: true` containers**, and `container-built` runs it. `c4-l2-containers.md` still owns the list itself.
|
|
94
94
|
|
|
95
95
|
### Sections that are not units
|
|
96
96
|
|
|
@@ -136,8 +136,8 @@ A folder with no key file MUST still appear in the tree. Folders are complete; f
|
|
|
136
136
|
measured, only felt.
|
|
137
137
|
- A map MUST be refreshed when a base folder is born or removed, when a key file moves or is
|
|
138
138
|
renamed, when a project or container is added, or when a key file's role changes.
|
|
139
|
-
- **
|
|
140
|
-
because a structural change is visible at the end of a
|
|
139
|
+
- **Spec close** carries this hook — it left the ticket-closing checklist along with four other items,
|
|
140
|
+
because a structural change is visible at the end of a spec and guessed at the end of a ticket.
|
|
141
141
|
- A map MUST NOT be edited by hand. `wdi-init` intent `structure` re-derives it from the actual tree;
|
|
142
142
|
a hand edit records what someone remembers, and memory is exactly what the map exists to replace.
|
|
143
143
|
- A map whose **Verified** commit is no longer an ancestor of `HEAD` SHOULD be treated as stale, and
|
|
@@ -1,169 +1,185 @@
|
|
|
1
|
-
---
|
|
2
|
-
status: Reference
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# The WDI Method — orientation
|
|
6
|
-
|
|
7
|
-
**Opened when:** you have never seen this method before, or you have and want the shape back in one reading.
|
|
8
|
-
|
|
9
|
-
This file **explains**. It does not bind — `../document/*-guide.md` does, and where the two disagree the guide
|
|
10
|
-
wins and the disagreement is a defect to report.
|
|
11
|
-
|
|
12
|
-
Five minutes.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
| **
|
|
34
|
-
| **
|
|
35
|
-
| **
|
|
36
|
-
| **
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
|
47
|
-
|
|
48
|
-
`mode`
|
|
49
|
-
`
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
`
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
|
64
|
-
|
|
65
|
-
|
|
|
66
|
-
|
|
|
67
|
-
|
|
|
68
|
-
|
|
|
69
|
-
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
|
98
|
-
|
|
99
|
-
| `wdi-
|
|
100
|
-
| `wdi-
|
|
101
|
-
| `wdi-
|
|
102
|
-
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
| `wdi-
|
|
113
|
-
| `wdi-
|
|
114
|
-
| `wdi-
|
|
115
|
-
| `wdi-
|
|
116
|
-
| `wdi-
|
|
117
|
-
| `wdi-
|
|
118
|
-
| `wdi-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
|
125
|
-
|
|
126
|
-
|
|
|
127
|
-
|
|
|
128
|
-
|
|
|
129
|
-
|
|
|
130
|
-
|
|
|
131
|
-
|
|
|
132
|
-
|
|
|
133
|
-
| `
|
|
134
|
-
|
|
|
135
|
-
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
|
147
|
-
|
|
148
|
-
|
|
|
149
|
-
|
|
|
150
|
-
|
|
|
151
|
-
|
|
|
152
|
-
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
##
|
|
160
|
-
|
|
161
|
-
|
|
|
162
|
-
|---|---|
|
|
163
|
-
|
|
|
164
|
-
|
|
|
165
|
-
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
1
|
+
---
|
|
2
|
+
status: Reference
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# The WDI Method — orientation
|
|
6
|
+
|
|
7
|
+
**Opened when:** you have never seen this method before, or you have and want the shape back in one reading.
|
|
8
|
+
|
|
9
|
+
This file **explains**. It does not bind — `../document/*-guide.md` does, and where the two disagree the guide
|
|
10
|
+
wins and the disagreement is a defect to report.
|
|
11
|
+
|
|
12
|
+
Five minutes. Four more files sit beside this one: `artifact-map.md` for *"where does this file go"*,
|
|
13
|
+
`mode-risk-map.md` for *"I set a `mode` and a `risk_accepted` — what changes?"*, `portability.md` for which
|
|
14
|
+
files are the method's and which are the product's, and `rationale.md` for *"why is it like this"* — open
|
|
15
|
+
that last one before changing a rule, so you know what you are about to break.
|
|
16
|
+
|
|
17
|
+
## What the method is
|
|
18
|
+
|
|
19
|
+
Two methods joined. **WDI** owns the flow, the gates, and the artifacts nobody else writes. **BMad** owns
|
|
20
|
+
the writing skills where it has one. Every BMad skill is invoked through a WDI wrapper, never directly: the
|
|
21
|
+
wrapper is what checks position, verifies the result against the guide, and lands the memlog.
|
|
22
|
+
|
|
23
|
+
The whole thing rests on one sentence:
|
|
24
|
+
|
|
25
|
+
> Owner time is spent at five points. Between them, the agents work alone.
|
|
26
|
+
|
|
27
|
+
## Five gates
|
|
28
|
+
|
|
29
|
+
A gate is named for **what is decided there**, never for the work before it.
|
|
30
|
+
|
|
31
|
+
| Gate | Decides | How often | Budget |
|
|
32
|
+
|---|---|---|---|
|
|
33
|
+
| **G1 Problem** | What the problem is, whose it is, why it earns work | once | 20' |
|
|
34
|
+
| **G2 Product** | What is built, and how it feels to use | once per PRD | 45' |
|
|
35
|
+
| **G3 Blueprint** | The whole portrait: which use cases, their entities, tables, endpoints, screens, and the invariants binding them | once per **product** | 45' |
|
|
36
|
+
| **G4 Component** | How one Product Component is built, and what the choice costs | once per **component** | 20–30' |
|
|
37
|
+
| **G5 Release** | Whether it is done and proven | once per spec | 10' |
|
|
38
|
+
|
|
39
|
+
**Only G4 can disappear.** At `mode: catalog` its session does not happen at all; the other four always run,
|
|
40
|
+
and what each decides never changes. What `mode` does shorten everywhere is the **checklist**: at `catalog`
|
|
41
|
+
only the ★ questions are required, at G1 and G5 as much as at G4. Sessions fixed, checklist elastic — that is
|
|
42
|
+
what lets the whole system be held in one head.
|
|
43
|
+
|
|
44
|
+
## Two settings, and they control different things
|
|
45
|
+
|
|
46
|
+
| Setting | Where | Controls |
|
|
47
|
+
|---|---|---|
|
|
48
|
+
| `mode` | globally in `index.yaml`, per component in `components.yaml` | **Document depth**, and only that |
|
|
49
|
+
| `risk_accepted` | per component | **Review intensity**, and only that |
|
|
50
|
+
|
|
51
|
+
`mode` takes `catalog` · `outline` · `guarded` · `deep`, and the default is `catalog`. A component at
|
|
52
|
+
`catalog` **skips G4 entirely** — its control moved to G3, where its use cases, tables, endpoints, screens,
|
|
53
|
+
domain model, and C4 were all approved.
|
|
54
|
+
|
|
55
|
+
`risk_accepted` takes `low` · `medium` · `high`, and its direction reads off the name: `high` means *"I
|
|
56
|
+
accept a lot of risk here"*, so its review is the lightest.
|
|
57
|
+
|
|
58
|
+
Keeping them apart is what lets one component be **thin on purpose and reviewed the hardest**. Why that
|
|
59
|
+
matters is in `rationale.md`; what each value demands is in `../document/delivery-flow-guide.md`.
|
|
60
|
+
|
|
61
|
+
## The run, first time through
|
|
62
|
+
|
|
63
|
+
| # | Step | Run | Gate |
|
|
64
|
+
|---|---|---|---|
|
|
65
|
+
| 0 | Set up | `wdi-init` intent `setup` — registry scaffolded, global `mode` set, existing documents reported, structure maps derived | — |
|
|
66
|
+
| 1 | Discovery and brief | `wdi-problem` | **G1** |
|
|
67
|
+
| 2 | PRD, one per initiative | `wdi-product` intent `prd` | **G2** |
|
|
68
|
+
| 2b | UX — only when the interface is a large part of the promise. **Before G2**, because G2 reads its `EXPERIENCE.md` | `wdi-ux` | with **G2** |
|
|
69
|
+
| 3 | Birth the components, set `mode` and `risk_accepted`, and land the waiting UX halves | `wdi-init` intent `component` | — (tail of G2) |
|
|
70
|
+
| 4 | Blueprint | `wdi-blueprint` intent `catalog`, then `platform` | **G3** |
|
|
71
|
+
| 5 | One component's depth | `wdi-component` — as deep as its `mode`; **skipped at `catalog`** | **G4** |
|
|
72
|
+
| 6 | Pick the work | `wdi-report` intent `estimate` — candidate tasks derived from `CAP`/`FR`; one row becomes one spec | — |
|
|
73
|
+
| 7 | Build | `wdi-build` — opens the spec, has the owner run `to-spec` and `to-tickets`, ships each ticket, closes the spec | **G5** |
|
|
74
|
+
|
|
75
|
+
After step 7 the next component enters at **step 5** (at `mode: catalog`, at step 6), not at the
|
|
76
|
+
beginning. Steps 0–4 happen once in the life of the product.
|
|
77
|
+
|
|
78
|
+
**What the human reads is one rendered page per gate**: `.what-rendered/_product-brief/brief.md` at G1,
|
|
79
|
+
`.what-rendered/_prd/<slug>/prd.md` at G2, `.how-rendered/blueprint.md` at G3,
|
|
80
|
+
`.how-rendered/<pc>/SDD-<pc>.md` at G4. The working documents under `.what/` and `.how/` point at the
|
|
81
|
+
registry instead of repeating it and are the AI's. `SPEC.md` and ticket files are **not read by humans**.
|
|
82
|
+
|
|
83
|
+
`to-spec`, `to-tickets`, and `implement` come from [mattpocock/skills](https://github.com/mattpocock/skills):
|
|
84
|
+
in Claude Code `/plugin install mattpocock-skills`; for Codex, Cursor, and other agents
|
|
85
|
+
`npx skills@latest add mattpocock/skills` (copies them into the repo — take `setup-matt-pocock-skills`
|
|
86
|
+
too). Then `/setup-matt-pocock-skills` once, to name the tracker. G1–G4 run without them; `wdi-build`
|
|
87
|
+
and the Fast Path do not.
|
|
88
|
+
|
|
89
|
+
## The run, every time after
|
|
90
|
+
|
|
91
|
+
| Situation | Run |
|
|
92
|
+
|---|---|
|
|
93
|
+
| The next component is being taken on | `wdi-init` intent `mode` or `risk` if either needs changing → `wdi-component` → **G4** → `wdi-build` → **G5** |
|
|
94
|
+
| That component is at `mode: catalog` | straight to `wdi-build`. G4 is skipped |
|
|
95
|
+
| A promise changes where a PRD already exists | `wdi-product` intent `update` — never a second PRD for the same area |
|
|
96
|
+
| A new initiative with a different reader | `wdi-product` intent `prd` → `wdi-init` intent `component` if it births components |
|
|
97
|
+
| A small fix touching no `FR`, `UC`, `AD-N`, or domain model | Fast Path: the owner runs `/implement` directly, with no wrapper. It **stops and becomes a spec `S`** the moment an `FR` is touched |
|
|
98
|
+
| A bug, a failing test, unexpected behaviour | `wdi-systematic-debugging`, **before** any fix is proposed |
|
|
99
|
+
| A planning assumption turned out void | `wdi-decision` — it wraps `bmad-correct-course`, proposes, and changes nothing itself |
|
|
100
|
+
| An estimate or a task list is needed | `wdi-report` intent `estimate` |
|
|
101
|
+
| `wdi-method update` printed an `upgrade` line | `wdi-upgrade`, before any other skill — it moves content into the new shape, never invents it, one commit |
|
|
102
|
+
| You do not know where you are | `wdi-help` |
|
|
103
|
+
|
|
104
|
+
## Seventeen skills
|
|
105
|
+
|
|
106
|
+
Named for the **gate they serve**, so *"which skill do I run"* is answered by *"which gate am I at"*.
|
|
107
|
+
|
|
108
|
+
**Moment-bound** — running them outside their point is wrong:
|
|
109
|
+
|
|
110
|
+
| Skill | Its moment |
|
|
111
|
+
|---|---|
|
|
112
|
+
| `wdi-init` intent `setup` | before G1, once per project |
|
|
113
|
+
| `wdi-problem` | G1 |
|
|
114
|
+
| `wdi-product` | G2 |
|
|
115
|
+
| `wdi-init` intent `component` | tail of G2, and whenever a new PRD births a component |
|
|
116
|
+
| `wdi-blueprint` | G3 |
|
|
117
|
+
| `wdi-component` | G4 |
|
|
118
|
+
| `wdi-build` | G5, one spec per run |
|
|
119
|
+
|
|
120
|
+
**Anytime** — run the moment the trigger appears, without waiting for a gate:
|
|
121
|
+
|
|
122
|
+
| Skill | Its trigger |
|
|
123
|
+
|---|---|
|
|
124
|
+
| `wdi-decision` | A decision worth remembering · a void assumption · an accepted decision to carry into documents |
|
|
125
|
+
| `wdi-question` | Something that cannot be decided now |
|
|
126
|
+
| `wdi-log` | A meeting finished, or a non-technical fact now binds |
|
|
127
|
+
| `wdi-help` | "Where am I, what next" |
|
|
128
|
+
| `wdi-explain-to-me` | "Brief me so I can decide this" — an open question, a defect, a design fork. Reads everything, writes nothing; the decision then goes to `wdi-decision` or `wdi-question` |
|
|
129
|
+
| `wdi-upgrade` | `wdi-method update` just moved the method version, and the summary listed content still in the old shape. Moves it, never invents it; one commit |
|
|
130
|
+
| `wdi-reconcile` | Any time. Read-only — it reports, it never edits |
|
|
131
|
+
| `wdi-review` | Over any document, any time |
|
|
132
|
+
| `wdi-systematic-debugging` | A bug, a failed test, a failed build, unexpected behaviour |
|
|
133
|
+
| `wdi-report` | An estimate at the start · progress periodically · before a client update |
|
|
134
|
+
| `wdi-init` intents `mode` · `risk` · `structure` | Any time |
|
|
135
|
+
| `wdi-ux` | Any time after a PRD exists, if UX is being used |
|
|
136
|
+
|
|
137
|
+
## Who writes what — WDI and BMad
|
|
138
|
+
|
|
139
|
+
| Artifact | Written by | Wrapped in |
|
|
140
|
+
|---|---|---|
|
|
141
|
+
| Product brief | `bmad-product-brief` | `wdi-problem` |
|
|
142
|
+
| PRD | `bmad-prd` | `wdi-product` |
|
|
143
|
+
| UX | `bmad-ux` | `wdi-ux` |
|
|
144
|
+
| Spine + C4 | `bmad-architecture` | `wdi-blueprint` |
|
|
145
|
+
| **UC catalogue · actors · entities · business rules** | **nothing in BMad** | `wdi-blueprint` writes it itself |
|
|
146
|
+
| **SRS and all of `.what/<pc>/`** | **nothing in BMad** | `wdi-component` writes it itself |
|
|
147
|
+
| **SDD and all of `.how/<pc>/`** | **nothing in BMad** | `wdi-component` writes it itself |
|
|
148
|
+
| `SPEC.md` + tickets | `to-spec` · `to-tickets` — **not BMad's**, and the owner runs them | `wdi-build` |
|
|
149
|
+
| Code | `implement`, with `tdd` inside it — same | `wdi-build` |
|
|
150
|
+
| Code review | `code-review` — same | `wdi-build` |
|
|
151
|
+
| Document review | `bmad-review` | `wdi-review` |
|
|
152
|
+
| Course correction | `bmad-correct-course` | `wdi-decision` |
|
|
153
|
+
|
|
154
|
+
**The bold rows are why this method exists.** BMad stops at the promise and starts again at the mechanism,
|
|
155
|
+
and every behaviour in between had no author. Three consequences stick to those artifacts and are handled
|
|
156
|
+
deliberately: no `doc_standards` fires a review, no memlog is born on its own, and no template enforces
|
|
157
|
+
itself.
|
|
158
|
+
|
|
159
|
+
## Where things live
|
|
160
|
+
|
|
161
|
+
| The thing in your hand | Its folder |
|
|
162
|
+
|---|---|
|
|
163
|
+
| How we work — a rule, a guide, a template | `.constitution/` |
|
|
164
|
+
| What currently holds — a decision, a question, a registry, a map | `.control/` |
|
|
165
|
+
| What is promised — the brief, a PRD, a use case, a business rule | `.what/` |
|
|
166
|
+
| How it is built — the spine, C4, an inventory, an SDD, a contract | `.how/` |
|
|
167
|
+
| The complete page a human reads at a gate — regenerated, never edited | `.what-rendered/` · `.how-rendered/` |
|
|
168
|
+
| A skill run's working output | `_bmad-output/` |
|
|
169
|
+
| Scratch that empties when the task closes | `.work/` |
|
|
170
|
+
| The application | `src/` · `web/` |
|
|
171
|
+
|
|
172
|
+
The test that settles anything ambiguous: **is this file still correct after its spec has passed?** Yes →
|
|
173
|
+
the corpus. No → `_bmad-output/`. In doubt, `../document/corpus-guide.md`.
|
|
174
|
+
|
|
175
|
+
## Model choice
|
|
176
|
+
|
|
177
|
+
| Point | Model |
|
|
178
|
+
|---|---|
|
|
179
|
+
| Decisions — proposing a slicing, wording a `DEC-`, preparing a gate | `opus@high` |
|
|
180
|
+
| Writing, derivation, a review-fix pass | `sonnet@high` |
|
|
181
|
+
| Code review panel | Reviewers dispatched separately from the builder — the local Agent Rules govern CLI/model pairing |
|
|
182
|
+
|
|
183
|
+
In a derivation pass, quality comes from the input rather than the model. Running a "find the gap" lens with
|
|
184
|
+
the most careful model produces the most gaps, and each one becomes an open question — a cost nobody sees
|
|
185
|
+
until the question list has stopped being readable.
|
|
@@ -11,7 +11,7 @@ wins and the disagreement is a defect to report.
|
|
|
11
11
|
|
|
12
12
|
It answers three questions and nothing else: which files exist at each `mode`, who owns each one, and how
|
|
13
13
|
the units of work line up. The **rules** about depth live in `../document/delivery-flow-guide.md`; what is
|
|
14
|
-
here is the map.
|
|
14
|
+
here is the map. What `mode` and `risk_accepted` do **together**, cell by cell, is in `mode-risk-map.md`.
|
|
15
15
|
|
|
16
16
|
## The one thing to read first
|
|
17
17
|
|
|
@@ -91,14 +91,15 @@ Repealed: `_platform/architecture/` (one file does not earn a folder) and `<pc>/
|
|
|
91
91
|
|
|
92
92
|
| File | Holds | Present at |
|
|
93
93
|
|---|---|---|
|
|
94
|
-
| `.control/registry/
|
|
94
|
+
| `.control/registry/goals.yaml` | `BG` | every mode |
|
|
95
|
+
| `.control/registry/requirements-<slug>.yaml` | `CAP` · `FR` · `NFR` · `UJ`, one file per PRD initiative | every mode |
|
|
95
96
|
| `.control/registry/usecases.yaml` | `UC-N` with `critical` and the `FR` it satisfies | every mode |
|
|
96
97
|
| `.control/registry/components.yaml` → `product_components` | Component · `mode` · `risk_accepted` · `risk_note` · `owns` · `g4_passed` | every mode |
|
|
97
98
|
| `.control/registry/components.yaml` → `containers` | The containers from C4 L2 | every mode |
|
|
98
99
|
| `.control/registry/components.yaml` → `platform_owns` | Entities no Product Component's promise explains. `_platform` is not a component and has no `mode` | every mode |
|
|
99
100
|
| `.control/registry/components.yaml` → `logical_components` | `LC` | boundary from `guarded`; boundary + control at `deep` |
|
|
100
|
-
| `.control/registry/decisions.yaml` · `
|
|
101
|
-
| `.
|
|
101
|
+
| `.control/registry/decisions.yaml` · `specs.yaml` · `defects.yaml` · `risks.yaml` · `index.yaml` | Decisions · work · defects · risks · the global `mode` and gate map | every mode |
|
|
102
|
+
| `.how-rendered/blueprint.md` | **The one-page roll-up reviewed at G3** | every mode |
|
|
102
103
|
| `.control/generated/decisions.md` | The flat index of every `DEC-` | every mode |
|
|
103
104
|
| `.control/generated/estimate.md` | The candidate task table | every mode |
|
|
104
105
|
| `.control/generated/rtm` · `status` · `dag` · `components` · `risks` | Traceability and progress | every mode |
|
|
@@ -116,27 +117,28 @@ someone else performs. `../document/corpus-guide.md` holds the binding version o
|
|
|
116
117
|
| `wdi-blueprint` | `.what/<pc>/` § Actor Register + § UC Catalogue + `03-domain/domain-model.md` · `.what/business-rules.md` · `.control/product-glossary.md` · all of `.how/_platform/` except `design-system.md` |
|
|
117
118
|
| `wdi-component` | `.what/<pc>/` slots `02`–`05` · `.how/<pc>/` except `01-ux/` |
|
|
118
119
|
| `wdi-ux` | `EXPERIENCE.md` · `.how/<pc>/01-ux/` · `.how/_platform/design-system.md` |
|
|
119
|
-
| `wdi-build` | `
|
|
120
|
+
| `wdi-build` | `specs.yaml` · `_bmad-output/specs/` · `src/` · `web/` |
|
|
120
121
|
| `wdi-decision` | `.control/decisions/` · `decisions.yaml`, and at apply time whatever `touches` names — through each file's owner |
|
|
121
122
|
| `wdi-question` | `.control/questions/` |
|
|
122
123
|
| `wdi-log` | `.control/meetings/` · `.control/project-non-technical-log.md` |
|
|
123
124
|
| `wdi-report` | `.control/reports/<period>.md` |
|
|
124
125
|
| a script | everything in `.control/generated/`, and the three inventories once code exists |
|
|
125
126
|
|
|
126
|
-
|
|
127
|
+
Five skills write **no file at all**, and that is deliberate: `wdi-reconcile`, `wdi-help`, `wdi-explain-to-me`,
|
|
127
128
|
`wdi-report` intent `dispatch`, and `wdi-review` apart from one frontmatter block. What reports MUST NOT
|
|
128
129
|
also change things — otherwise there is nothing left to check with.
|
|
129
130
|
|
|
130
131
|
## How the units of work line up
|
|
131
132
|
|
|
132
|
-
`FR` is a **promise** and permanent; a
|
|
133
|
-
contract for one
|
|
133
|
+
`FR` is a **promise** and permanent; a spec is a **unit of work** and temporary; `SPEC.md` is the machine
|
|
134
|
+
contract for one spec — written from size `M` up, and at `S` the tickets are the contract; a ticket is one
|
|
135
|
+
vertical slice one builder takes to a green PR.
|
|
134
136
|
|
|
135
|
-
One
|
|
136
|
-
|
|
137
|
-
satisfy part of two `FR`.
|
|
137
|
+
One spec = one parent issue, and a ticket is an **issue**, not a sub-task, because its blocking edges are
|
|
138
|
+
what make the frontier visible in the tracker's own UI. **`FR` is not an issue** — it travels as a label,
|
|
139
|
+
because one `FR` can be delivered by tickets in two specs and one ticket can satisfy part of two `FR`.
|
|
138
140
|
|
|
139
|
-
The binding version of all of this, including why a
|
|
141
|
+
The binding version of all of this, including why a spec MAY cross components and what has to be true
|
|
140
142
|
first, is in `../document/delivery-flow-guide.md`. It is not restated here.
|
|
141
143
|
|
|
142
144
|
## What needs no template, and why
|
|
@@ -148,8 +150,8 @@ Stated so the next completeness audit does not report it again:
|
|
|
148
150
|
| `.control/generated/*` | Script output. Its shape is code, not a template |
|
|
149
151
|
| `.control/reports/<period>.md` | Rendered by `timeline.py` |
|
|
150
152
|
| `.control/project-non-technical-log.md` | States its own entry shape in its own header, and there is exactly one such file |
|
|
151
|
-
| `SPEC.md` ·
|
|
153
|
+
| `SPEC.md` · ticket files | Their shape belongs to `to-spec` and `to-tickets`. WDI owns where they land, not how they read |
|
|
152
154
|
| Registry `*.yaml` | Their shape is the comment block at the head of each file, plus the validator |
|
|
153
155
|
|
|
154
|
-
Everything else in this map has a template in `../document/templates/` —
|
|
156
|
+
Everything else in this map has a template in `../document/templates/` — 26 of them, and every row above is
|
|
155
157
|
covered by one.
|