wdi-method 0.5.0 → 0.5.3
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 +15 -8
- package/bin/wdi-method.js +1276 -1121
- package/kit/.constitution/method/README.md +24 -17
- package/kit/.constitution/method/document/architecture-guide.md +209 -209
- package/kit/.constitution/method/document/corpus-guide.md +3 -3
- package/kit/.constitution/method/document/templates/cross-cutting.md +1 -1
- package/kit/.constitution/method/method-glossary.md +169 -169
- package/kit/.constitution/method/repo-guide.md +120 -110
- package/kit/.constitution/method/scripts/validate.py +54 -5
- package/kit/.constitution/method/why/portability.md +6 -6
- package/kit/.constitution/project/README.md +68 -68
- package/kit/.constitution/project/constitution.md +9 -8
- package/kit/skills/wdi-blueprint/SKILL.md +203 -203
- package/kit-overlay/AGENTS.md +13 -9
- package/kit-overlay/portability.md +2 -2
- package/kit-overlay/repo-guide.md +8 -0
- package/package.json +43 -37
- package/scaffold/.control/questions/blocking.md +1 -1
package/README.md
CHANGED
|
@@ -228,19 +228,26 @@ It prints the version it replaced, what it wrote, what it kept, and what to do n
|
|
|
228
228
|
|
|
229
229
|
---
|
|
230
230
|
|
|
231
|
-
##
|
|
231
|
+
## Changing the method
|
|
232
232
|
|
|
233
|
-
|
|
234
|
-
|
|
233
|
+
**This repository is where a method change is authored** — a guide, a template, a skill wrapper, a
|
|
234
|
+
validator. It is proven here before publishing, against a fixture corpus the three registry scripts
|
|
235
|
+
actually run against:
|
|
235
236
|
|
|
236
237
|
```bash
|
|
237
|
-
|
|
238
|
-
npm test
|
|
239
|
-
git commit && git push
|
|
238
|
+
npm test # includes validate.py, timeline.py and inventory.py over tests/fixture/
|
|
240
239
|
```
|
|
241
240
|
|
|
242
|
-
|
|
243
|
-
|
|
241
|
+
The fixture is small but complete, and kept **green**, so a new finding is a regression rather than
|
|
242
|
+
noise. One test plants a defect in a copy and requires the matching validator to name it — a green
|
|
243
|
+
baseline is worthless if it is green because every check is broken.
|
|
244
|
+
|
|
245
|
+
A consuming repo then takes the change with `npx wdi-method update`, and that is where the judgement
|
|
246
|
+
half gets tested: whether a guide actually helps a person at G3 is only provable in use.
|
|
247
|
+
|
|
248
|
+
`promote` — pulling the method back out of a consumer — is a **rescue tool**, not the workflow. It
|
|
249
|
+
overwrites the whole kit from one copy, so it refuses to run without `--rescue`.
|
|
250
|
+
[`CONTRIBUTING.md`](CONTRIBUTING.md) records why the direction was reversed and what it cost.
|
|
244
251
|
|
|
245
252
|
**Patch releases are routine; minor and major are the maintainer's call.** This package overwrites files
|
|
246
253
|
in repos that already hold months of work, and the version is the only signal a reader has for how
|