create-substrat 0.12.0 → 0.12.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/index.js CHANGED
@@ -36,12 +36,12 @@ const TEMPLATE = join(HERE, 'template');
36
36
  // The runtime packages release together off one version line (the changesets `fixed`
37
37
  // group), so one constant is right for all of them. Engines do NOT share a line —
38
38
  // each versions on its own, so one pin per engine, deliberately.
39
- const SUBSTRAT = '^0.150.0';
40
- const ENGINE_WORKORDER = '^0.12.34';
41
- const ENGINE_INVOICING = '^0.11.34';
39
+ const SUBSTRAT = '^0.151.0';
40
+ const ENGINE_WORKORDER = '^0.12.35';
41
+ const ENGINE_INVOICING = '^0.11.35';
42
42
  const BOUNDARY_LINT = '^0.8.0';
43
- const DEV_ISSUER = '^0.2.32';
44
- const ATTACHMENT_EXTRACTORS = '^0.2.11';
43
+ const DEV_ISSUER = '^0.2.33';
44
+ const ATTACHMENT_EXTRACTORS = '^0.2.12';
45
45
 
46
46
  const DOCS = 'https://substrat.net';
47
47
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-substrat",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "Scaffold a Substrat vertical — `npm create substrat <dir>`.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -254,6 +254,19 @@ say so rather than letting them wave it through — a design nobody understands
254
254
  reproduces exactly the failure Substrat exists to prevent. Iterate the document until they
255
255
  can, and only then take explicit approval.
256
256
 
257
+ **A change to a vertical that already has a `model.json`** goes through this same gate, and what
258
+ the gate shows is the **concept delta**, not prose. Declare the change in `spec/model.ts` and
259
+ its roles only — no handler, no screen — re-emit the artifacts, and run `substrat plan`. It
260
+ prints the entities added, changed and removed (the model before and after), the lifecycle
261
+ changes with the operation that triggers each transition, the permission-diff table, the
262
+ spec-version impact (patch / minor / major, from the same classifier `substrat changeset`
263
+ uses), and the decisions-log entry approval would write. Show it to the user as printed, walk
264
+ them through it in their vocabulary, and **stop**. Only once they approve, run the
265
+ `substrat plan --approve <digest> --by "<their name>" --why "<their reason>"` line it printed:
266
+ that records the approval in the Decisions log of `spec/concept.md`. Never run `--approve`
267
+ on your own judgement, and if the model moves after they read it, show the delta again — the
268
+ old digest is refused.
269
+
257
270
  Approval of the design is what unlocks Step 5. Until you have it, you are still in design.
258
271
 
259
272
  ---