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 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
- ## Carrying a change back into this package
231
+ ## Changing the method
232
232
 
233
- The published source is this repository. A product repo that holds a newer working copy of the method
234
- promotes it here before the change counts as published:
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
- npx wdi-method promote /path/to/the/product-repo
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
- `promote` copies the portable method, replaces product-named files with their generic versions, scrubs
243
- initiative slugs, and **skips `.constitution/project/`** so a product's own rules can never be published.
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