@milehimikey/em 1.18.0 → 1.19.0

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.
Files changed (86) hide show
  1. package/.claude/agents/em-implementer.md +7 -4
  2. package/.claude/agents/em-validator.md +2 -2
  3. package/.claude/skills/event-modeling/SKILL.md +1 -1
  4. package/.claude/skills/event-modeling-conform/SKILL.md +1 -1
  5. package/.claude/skills/event-modeling-design/SKILL.md +5 -2
  6. package/.claude/skills/event-modeling-discover/SKILL.md +1 -1
  7. package/.claude/skills/event-modeling-discover/reference/prd-rubric.md +1 -1
  8. package/.claude/skills/event-modeling-discover/reference/prd-spec-path.md +1 -1
  9. package/.claude/skills/event-modeling-engagement/SKILL.md +15 -8
  10. package/.claude/skills/event-modeling-implement/SKILL.md +1 -1
  11. package/.claude/skills/event-modeling-implement/reference/implement.md +10 -0
  12. package/.claude/skills/event-modeling-review/SKILL.md +4 -2
  13. package/.claude/skills/event-modeling-shared/reference/em-dsl.md +14 -8
  14. package/.claude/skills/event-modeling-shared/reference/slice-doc-schema.md +14 -2
  15. package/.claude-plugin/marketplace.json +2 -2
  16. package/dist/catalog/docJoin.d.ts +2 -1
  17. package/dist/catalog/docJoin.js.map +1 -1
  18. package/dist/catalog/docModelConsistencyValidate.js +17 -1
  19. package/dist/catalog/docModelConsistencyValidate.js.map +1 -1
  20. package/dist/catalog/signedBodyValidate.js.map +1 -1
  21. package/dist/catalog/sliceDoc.d.ts +47 -15
  22. package/dist/catalog/sliceDoc.js +82 -22
  23. package/dist/catalog/sliceDoc.js.map +1 -1
  24. package/dist/catalog/sliceReadyValidate.d.ts +3 -2
  25. package/dist/catalog/sliceReadyValidate.js +30 -2
  26. package/dist/catalog/sliceReadyValidate.js.map +1 -1
  27. package/dist/catalog/sliceSections.d.ts +9 -0
  28. package/dist/catalog/sliceSections.js +29 -3
  29. package/dist/catalog/sliceSections.js.map +1 -1
  30. package/dist/cli/ciInit.d.ts +17 -0
  31. package/dist/cli/ciInit.js +47 -3
  32. package/dist/cli/ciInit.js.map +1 -1
  33. package/dist/cli/defer.d.ts +1 -1
  34. package/dist/cli/defer.js +5 -4
  35. package/dist/cli/defer.js.map +1 -1
  36. package/dist/cli/engagement.d.ts +15 -1
  37. package/dist/cli/engagement.js +84 -5
  38. package/dist/cli/engagement.js.map +1 -1
  39. package/dist/cli/engagementFile.d.ts +2 -0
  40. package/dist/cli/engagementFile.js +3 -1
  41. package/dist/cli/engagementFile.js.map +1 -1
  42. package/dist/cli/prdTriage.js +15 -0
  43. package/dist/cli/prdTriage.js.map +1 -1
  44. package/dist/cli/review.d.ts +17 -2
  45. package/dist/cli/review.js +39 -10
  46. package/dist/cli/review.js.map +1 -1
  47. package/dist/cli/sliceSync.d.ts +37 -0
  48. package/dist/cli/sliceSync.js +84 -4
  49. package/dist/cli/sliceSync.js.map +1 -1
  50. package/dist/cli/upgrade.d.ts +2 -2
  51. package/dist/cli/upgrade.js +169 -38
  52. package/dist/cli/upgrade.js.map +1 -1
  53. package/dist/cli.js +51 -17
  54. package/dist/cli.js.map +1 -1
  55. package/dist/emit/engagementJson.d.ts +4 -3
  56. package/dist/emit/engagementJson.js +9 -4
  57. package/dist/emit/engagementJson.js.map +1 -1
  58. package/dist/emit/validateJson.d.ts +4 -3
  59. package/dist/emit/validateJson.js +4 -3
  60. package/dist/emit/validateJson.js.map +1 -1
  61. package/dist/model/model.d.ts +5 -0
  62. package/dist/model/model.js +15 -0
  63. package/dist/model/model.js.map +1 -1
  64. package/dist/model/rules.d.ts +8 -1
  65. package/dist/model/rules.js +8 -1
  66. package/dist/model/rules.js.map +1 -1
  67. package/dist/model/validate.js +46 -31
  68. package/dist/model/validate.js.map +1 -1
  69. package/dist/query/verbs.js +4 -4
  70. package/dist/query/verbs.js.map +1 -1
  71. package/package.json +1 -1
  72. package/plugin/.claude-plugin/plugin.json +2 -2
  73. package/plugin/agents/em-implementer.md +7 -4
  74. package/plugin/agents/em-validator.md +2 -2
  75. package/plugin/shared/reference/em-dsl.md +14 -8
  76. package/plugin/shared/reference/slice-doc-schema.md +14 -2
  77. package/plugin/skills/conform/SKILL.md +1 -1
  78. package/plugin/skills/design/SKILL.md +5 -2
  79. package/plugin/skills/discover/SKILL.md +1 -1
  80. package/plugin/skills/discover/reference/prd-rubric.md +1 -1
  81. package/plugin/skills/discover/reference/prd-spec-path.md +1 -1
  82. package/plugin/skills/engagement/SKILL.md +15 -8
  83. package/plugin/skills/event-modeling/SKILL.md +1 -1
  84. package/plugin/skills/implement/SKILL.md +1 -1
  85. package/plugin/skills/implement/reference/implement.md +10 -0
  86. package/plugin/skills/review/SKILL.md +4 -2
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: em-implementer
3
- description: Implements exactly one ratified event-modeling slice in an assigned worktree and branch and opens its pull request; the engagement skill dispatches it once per slice with only the slice key, the worktree path and, when there is one, a tracking key.
3
+ description: Implements exactly one ratified event-modeling slice in an assigned worktree and branch and opens its pull request; the engagement skill dispatches it once per slice with only the slice key, the worktree path, the exact pull-request title and, when there is one, a tracking key.
4
4
  tools: Read, Write, Edit, Bash, Grep, Glob, Skill
5
5
  ---
6
6
  <!-- managed by em — `em skill sync` overwrites; `Bash` cannot be partially allowed, so read-only agents rely on their instructions for Bash -->
@@ -22,11 +22,14 @@ You are the em implementer. You build one slice, in one worktree, on one branch,
22
22
 
23
23
  If your prompt carries a tracking key (an issue-tracker key such as `PROJ-123`, or a URL), the lead has already resolved it for this slice: the slice doc's own `tracking:` wins over the engagement's. Use it as given:
24
24
 
25
- - Title the pull request `<key>: <slice name>`.
26
25
  - Cite it in the pull request body.
27
26
  - Put it in a commit message only when the constitution's commit convention asks for a ticket key.
28
27
 
29
- With no tracking key, title the pull request as you would without one and invent none.
28
+ With no tracking key, invent none.
29
+
30
+ ## Pull request title
31
+
32
+ Your prompt carries the exact pull-request title (the plan's `prTitle`, resolved by the lead from the engagement's title template). Title the pull request exactly that, character for character. Do not add, drop or reformat a prefix, and do not compose a title yourself. If the prompt carries no title, stop and report it.
30
33
 
31
34
  ## Hard lines
32
35
 
@@ -39,6 +42,6 @@ With no tracking key, title the pull request as you would without one and invent
39
42
 
40
43
  Reply with:
41
44
 
42
- - The pull request URL (its title carries the tracking key when you were given one).
45
+ - The pull request URL (its title is exactly the one you were given).
43
46
  - A per-invariant test map: one line per `INV-*` id, `INV-<id> -> <test file>::<test name>`.
44
47
  - Any gap you stopped on, stated as the doc line and the question.
@@ -9,7 +9,7 @@ You are the em validator. You run checks and report what they say. You make no j
9
9
 
10
10
  ## Scope
11
11
 
12
- You were given a slice key and the worktree path of its pull request, and, when the slice has one, a tracking key. You read output; you never change anything. Use Bash only to run the checks below and read-only git or `gh` commands. Do not write, edit, create, delete, commit, or push anything.
12
+ You were given a slice key and the worktree path of its pull request, the exact pull-request title the implementer was given and, when the slice has one, a tracking key. You read output; you never change anything. Use Bash only to run the checks below and read-only git or `gh` commands. Do not write, edit, create, delete, commit, or push anything.
13
13
 
14
14
  ## Checks
15
15
 
@@ -21,7 +21,7 @@ Run each one and record pass or fail:
21
21
  4. Diff footprint: every changed path sits inside the slice's package, as the constitution's layout rule describes it. This is a judgment against that rule; quote the rule and list any path outside it.
22
22
  5. No diff under `slices/**`, `*.em`, `constitution.md`, or `engagements/`. Use `git diff --name-only <base>...HEAD`.
23
23
  6. The pull request body cites the slice doc.
24
- 7. Only when a tracking key was given: the pull request title carries it (`gh pr view <pr> --json title`; the title starts with `<key>:`). Without a tracking key, skip this check and say so.
24
+ 7. The pull request title equals the title you were given, exactly (`gh pr view <pr> --json title`). A mismatch fails the check and quotes both. If no title was given, skip this check and say so.
25
25
 
26
26
  ## Output
27
27
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: event-modeling
3
- em-version: 1.18.0
3
+ em-version: 1.19.0
4
4
  description: >-
5
5
  Use when the user runs `/event-modeling` (with or without a phase name), or wants to resume an
6
6
  event-modeling session without specifying which part of the process applies. Reads the model's
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: event-modeling-conform
3
- em-version: 1.18.0
3
+ em-version: 1.19.0
4
4
  description: >-
5
5
  Use when checking a ratified event model (and its slice docs) for drift against the codebase
6
6
  that implements it — advisory only, never a gate, never an unprompted edit — or when walking
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: event-modeling-design
3
- em-version: 1.18.0
3
+ em-version: 1.19.0
4
4
  description: >-
5
5
  Use when structuring a draft event model into swimlanes and the four patterns (State Change,
6
6
  State View, Automation, Translation), evaluating a model's structural completeness, or writing
@@ -244,7 +244,10 @@ For each slice:
244
244
  **never hand-edit a generated region.** To change a field, a type, or an invariant, edit the
245
245
  `.em`, then **after any model edit run `em slice sync <model>.em`**, which rewrites every
246
246
  region in place and leaves everything else byte-for-byte (`em slice sync <model>.em --check`
247
- reports a stale doc without writing). **Edit authored sections only**: Intent, Trigger &
247
+ reports a stale doc without writing). That includes a ratified or shipped doc: `ratifiedHash`
248
+ covers the authored text only (since em 1.19.0), so sync rewrites its regions, keeps the
249
+ signature and says so — never `em slice revise` a doc just to sync it; revise only when an
250
+ authored section has to change. **Edit authored sections only**: Intent, Trigger &
248
251
  Actor, `Triggered by`/`Read by`/`Consumed by`, the invariant elaborations below the generated
249
252
  list, Scenarios, Alternate & Error Flows, NFRs, Dependencies, Open Questions. Scenarios use the
250
253
  constrained shape `em` reads back: a `### Scenario: <title>` heading, then `- **Given:**`,
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: event-modeling-discover
3
- em-version: 1.18.0
3
+ em-version: 1.19.0
4
4
  description: >-
5
5
  Use when starting a brand-new event model from scratch — greenfield discovery: brainstorming
6
6
  past-tense events, storyboarding the happy path, finding the commands and read models — or when
@@ -62,7 +62,7 @@ All of these are checked by `em discover triage-check`; write the record so they
62
62
  group** has only `reference` statements and **no storyline**: `storyline: null` on the group and
63
63
  on its statements. It never joins a walkthrough storyline. The report lists reference-only
64
64
  groups outside every storyline — operations no walkthrough touches; check these are not CRUD fill.
65
- 8. **One statement per claim.** A statement's normalised quote may not equal, contain or be contained in another statement's quote; the error names both.
65
+ 8. **One statement per claim.** A statement's normalised quote may not equal, contain, be contained in, or partially overlap (by character range in the normalised source) another statement's quote; the error names both. Ranges are taken at a quote's first occurrence in the normalised source, so a sentence repeated in the PRD can hide or produce an overlap.
66
66
  9. **Quotes are verbatim** (Markdown emphasis marks, smart quotes and whitespace aside) and at
67
67
  least 12 characters. A storyline `quote` is the **full** walkthrough span, start to finish.
68
68
 
@@ -84,7 +84,7 @@ event share one slice.
84
84
  built only from `reference` statements (operations no walkthrough touches) is reference-only:
85
85
  `storyline: null` on the group and on its statements. It never joins a walkthrough storyline,
86
86
  and the report lists it outside every storyline for the human to inspect.
87
- - A claim is quoted once: no statement's quote may equal, contain or be contained in another's. Only `modeled`/`rewritten` walkthrough statements anchor a group; a `question` never does.
87
+ - A claim is quoted once: no statement's quote may equal, contain, be contained in, or partially overlap by character range in the normalised source another's. Only `modeled`/`rewritten` walkthrough statements anchor a group; a `question` never does.
88
88
 
89
89
  ## Step 4 — Rewrite, don't drop
90
90
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: event-modeling-engagement
3
- em-version: 1.18.0
3
+ em-version: 1.19.0
4
4
  description: >-
5
5
  Use when leading an engagement: building a named set of ratified event-modeling slices
6
6
  (`em engagement`) into one independent PR per slice, each against main, by dispatching the
@@ -69,9 +69,13 @@ Run the shared preconditions first (tool check, bundle currency, locate the mode
69
69
  fails, STOP and ask the human to add `.claude/worktrees/` to `.gitignore` in its own commit
70
70
  on `main`.
71
71
  5. **The engagement exists.** `em engagement status <model>.em <slug>`. If there is no such
72
- engagement, ask the human which slices it covers (a list, a context, or "everything
72
+ engagement, ask the human which slices it covers (a list, a context, a storyline, or "everything
73
73
  downstream of X") and run `em engagement new <model>.em <slug> --slices a,b,c` (or
74
- `--context <C>`, or `--downstream-of <ref>`) `--by "<their name>"`. When `new` warns that the
74
+ `--context <C>`, `--storyline <name>`, or `--downstream-of <ref>`) `--by "<their name>"`. First check the host
75
+ repo's PR-title convention (a commitlint config, a PR-title workflow, or the last few merged
76
+ PR titles) and pass `--pr-title "<template>"` when it differs from the default
77
+ `<key>: <slice name>`; placeholders are `{key}`, `{slice}` (display name) and `{sliceKey}`
78
+ (kebab key, usually what a lint wants). When `new` warns that the
75
79
  selection has several unconnected components, relay its suggestion (one engagement each)
76
80
  and let the human decide before going on.
77
81
 
@@ -117,10 +121,13 @@ For each slice the plan lists as not held:
117
121
  4. Record it:
118
122
  `em engagement set <model>.em <slug> <key> --state building --branch impl/<key> --base <base>`
119
123
  5. Dispatch `em-implementer` (`em:em-implementer` under the plugin) on the implementer model.
120
- Its prompt is ONLY the slice key, the absolute worktree path and, when the plan's slice
121
- carries one, its tracking key (`tracking` in `em engagement plan --json` — GH #241). That
122
- field is already resolved: the slice doc's own `tracking:` wins over the engagement's
123
- `--tracking`, and it is `null` when neither is set (then say nothing about tracking). It reads
124
+ Its prompt is ONLY the slice key, the absolute worktree path, the exact pull-request title
125
+ and, when there is one, the tracking key. The title is the slice's `prTitle` from
126
+ `em engagement plan --json` (GH #334), already resolved from the engagement's `--pr-title`
127
+ template or the default: pass it verbatim and never compose one. The tracking key is the
128
+ plan's `tracking` (GH #241), already resolved: the slice doc's own `tracking:` wins over the
129
+ engagement's `--tracking`, and it is `null` when neither is set (then say nothing about
130
+ tracking). Surface any `pr-title-fallback` pre-flight entry to the human. It reads
124
131
  its own spec, the constitution and the implement contract. Give it no plan, no other slice,
125
132
  and no merge instructions.
126
133
 
@@ -132,7 +139,7 @@ When the implementer returns a PR URL (and a per-invariant test map):
132
139
  base: `gh pr view <url> --json baseRefName` must be `main`. If not, fix it with
133
140
  `gh pr edit <url> --base main`. That is a lead step; the implementer never changes a base.
134
141
  2. Dispatch `em-validator` (`em:em-validator`) with the slice key, the worktree path and the same
135
- tracking key (when the slice has one). It
142
+ tracking key (when the slice has one) and the same `prTitle`. It
136
143
  returns one PASS/FAIL line per check and `OVERALL: PASS` or a failure.
137
144
  3. On `OVERALL: PASS`: `em engagement set <model>.em <slug> <key> --state review`. Dispatch
138
145
  `em-reviewer` (`em:em-reviewer`) with the slice key and the PR URL. Dispatch `em-critic`
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: event-modeling-implement
3
- em-version: 1.18.0
3
+ em-version: 1.19.0
4
4
  description: >-
5
5
  Use when building a single ratified event-modeling slice (status: ready-to-implement) into
6
6
  merged, tested code — the one phase where the agent builds rather than facilitates. Gates on
@@ -34,6 +34,16 @@ every `## Open Questions` checkbox is checked, and no status/version/link incohe
34
34
  — `gates` names each of those 4 conditions individually (`docBound`/`frontmatterUsable`/
35
35
  `statusReady`/`noUncheckedOpenQuestions`) if you need to say which one is blocking.
36
36
 
37
+ `ready` is the named gates, plus error-severity diagnostics scoped to the slice, plus these warning-severity codes:
38
+
39
+ - `slice-ready-no-doc-bound`, `slice-ready-status-not-ready`, `slice-ready-open-questions-unchecked`: the gates themselves.
40
+ - `binding-missing-file`, `frontmatter-invalid`: the `frontmatterUsable` gate.
41
+ - `both-ends-of-a-flow/*`: a dangling slice is not a complete pattern.
42
+ - `fields-completeness/event-field-no-source`: the `assigned` marker contract (MIL-148).
43
+ - `invariants/public-command-without-invariants`: the API-first readiness requirement (`docs/process.md`).
44
+
45
+ A warning whose code is in this list blocks; any other warning never does (it stays in `diagnostics`; don't treat it as a blocker). `--strict` promotes advisory rules only.
46
+
37
47
  **`ready: false` means stop** — with one named exception: a slice already `status: implemented`
38
48
  with `driftSignal: in-sync` or `uncertified` (MIL-214) also reads `ready: false` (its
39
49
  `statusReady` gate fails because nothing is newly ratified), and that specific case is
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: event-modeling-review
3
- em-version: 1.18.0
3
+ em-version: 1.19.0
4
4
  description: >-
5
5
  Use when starting em's live browser viewer (`em watch --serve`) so a team can watch a model
6
6
  update in real time, or facilitating a SCHEDULED stakeholder walkthrough that steps through
@@ -65,7 +65,9 @@ review:` marker (mirrors `Last conformance:`).
65
65
 
66
66
  Then, and only then: a slice with nothing left `- [ ]` and no open `issue` →
67
67
  `em slice review <model>.em <key> --by <name>` (flips its doc to `status: reviewed` and records
68
- `reviewedBy:`/`reviewedOn:`). Anything still open stays `draft` — the walkthrough doesn't decide
68
+ `reviewedBy:`/`reviewedOn:`). `em slice review` itself exits 1 on an unchecked Open Question
69
+ (`--allow-open` records a deliberately partial walk; `--again` re-records a review after a body edit).
70
+ Anything still open stays `draft` — the walkthrough doesn't decide
69
71
  it, the next session or the open-questions list does.
70
72
 
71
73
  **The facilitator never ratifies, never offers to ratify, and never suggests ratification in a
@@ -57,7 +57,7 @@ em slice new <name> --swimlane <swimlane> # swimlane,
57
57
  em slice new <name> -f, --force # overwrite the file if it already exists
58
58
  em slice new <name> --wire <model-file> # also insert the `note "slices/<key>.md"` line onto the slice's primary element in this .em file (matched by export key), instead of just printing it to paste by hand (MIL-161)
59
59
  em slice new <name> --stub # write a near-free stub instead: same 5 frontmatter keys, but a one-line placeholder body instead of the diagram-image stub and every judgment section (MIL-184) — deepen it later by re-running without --stub and -f
60
- em slice sync <model-file> [key] # regenerate the GENERATED regions (command/event/view field tables, the Invariants list) of existing slice docs in place from the model, authored sections untouched (MIL-266); docs without regions are skipped with a note. --check never writes and exits 1 when a doc is stale
60
+ em slice sync <model-file> [key] # regenerate the GENERATED regions (command/event/view field tables, the Invariants list) of existing slice docs in place from the model, authored sections untouched (MIL-266); docs without regions are skipped with a note. --check never writes and exits 1 when a doc is stale. A ratified or shipped doc is synced too and keeps its signature (GH #347): `ratifiedHash` covers the authored text only, and an intact hash still in an older scope is re-stamped in the same write; a `note:` line says so
61
61
  em slice sync <model-file> [key] --check # report ok / stale / no-regions per doc without writing; exit 1 when any is stale
62
62
  em slice sync <model-file> [key] --json # print the machine-readable report (sliceSyncSchemaVersion 1.0)
63
63
  em slice stub-all <file> # scaffold + wire a near-free stub (`em slice new --stub`'s content, MIL-184) for every slice in <file> with no resolvable doc — the fast path to status coloring for an exploratory/backbone model without hand-running `slice new` per slice. Skips a continuation slice (MIL-208, it has no doc of its own), an already-documented slice, and a slice whose pattern can't be classified
@@ -70,11 +70,13 @@ em slice index <file> --check # verify the
70
70
  em slice mark-implemented <file> <slice-key> <pr-url> # flip a slice doc's frontmatter to `status: implemented` / `implementedIn: <pr-url>` — the one edit an implementing agent makes to a ratified doc at merge (MIL-103, replaces the em-sdd-bridge `em-sdd-mark-implemented` script; see reference/implement.md §6). Applies only to a `ready-to-implement` doc (MIL-277: a `draft`/`reviewed` doc refuses — ratify first). Also records the shipped version beside the link (MIL-284): `shippedVersion:`, `shippedRef:` (the doc's `ratifiedRef:`, when it has one) and `shippedOn:`, and opens the next version as a `draft` when an Open Question was deferred to it (MIL-283). Idempotent on the same URL — also after that draft opened; refuses to overwrite a different one; never touches the doc body except to re-open those deferred questions
71
71
  em slice mark-implemented <file> <slice-key> <pr-url> --on <date> # merge date recorded as `shippedOn:`, YYYY-MM-DD (default: today, local date; MIL-284)
72
72
  em slice mark-implemented <file> <slice-key> <pr-url> --json # print a JSON document instead of text: { path, changed, implementedIn, nextDraft: { version, reopened[] } | null } (GH #285)
73
- em slice review <file> <slice-key> # flip a slice doc's frontmatter to `status: reviewed` and record `reviewedBy:`/`reviewedOn:` — the FIRST of the two human gates (MIL-201, docs/process.md#the-slice-lifecycle-gates): the room walked this slice and every open question it raised is resolved. Ratification is a separate, later gate (`em slice ratify`). Legal from `status: draft`; idempotent on the same --by/--on pair; refuses to overwrite a different one already recorded; refuses a doc already `ready-to-implement`/`implemented`; never touches `version:` or the doc body
73
+ em slice review <file> <slice-key> # flip a slice doc's frontmatter to `status: reviewed` and record `reviewedBy:`/`reviewedOn:` — the FIRST of the two human gates (MIL-201, docs/process.md#the-slice-lifecycle-gates): the room walked this slice and every open question it raised is resolved. Ratification is a separate, later gate (`em slice ratify`). Legal from `status: draft`; idempotent on the same --by/--on pair; refuses to overwrite a different one already recorded (--again re-records it); refuses a doc with an unchecked `## Open Questions` item unless --allow-open (GH #333); refuses a doc already `ready-to-implement`/`implemented`; never touches `version:` or the doc body
74
74
  em slice review <file> <slice-key> --by <name> # the reviewer's (or facilitator's) name
75
75
  em slice review <file> <slice-key> --on <date> # review date, YYYY-MM-DD (default: today, local date)
76
76
  em slice review <file> <slice-key> --roster <path> # ratifier roster to check --by against (GH #259; default: the nearest ratifiers.yaml above the model, none = unrestricted)
77
- em slice ratify <file> <slice-key> # flip a slice doc's frontmatter to `status: ready-to-implement` and record `ratifiedBy:`/`ratifiedOn:` — the handoff sign-off (MIL-165, docs/process.md#the-slice-lifecycle-gates) that makes who ratified, and when, a first-class recorded fact. The review gate is a check on the doc's current `status:`, not on whether `reviewedBy:`/`reviewedOn:` are populated: a doc at `reviewed` passes; a `ready-to-implement` doc only when the same signer is completing their own record (since 1.15.0, MIL-283 — a new sign-off is a new version: `em slice revise`); any other status — a `draft` that never went through `em slice review` — is refused unless --skip-review is passed. Idempotent on the same --by/--on pair; refuses to overwrite a different one already recorded, and (MIL-284) a same-pair re-run on a doc whose body moved after sign-off; never touches `version:` or the doc body. Inside a git work tree also records `ratifiedRef:` (HEAD, refusing a doc with uncommitted changes) and always `ratifiedHash:`; with --no-ref (GH #255) only the hash — for a repo whose squash/rebase merges would leave the ref unreachable — and git is not consulted
77
+ em slice review <file> <slice-key> --again # re-record reviewedBy/reviewedOn on a doc already `status: reviewed` (prints old -> new); still refused on ready-to-implement/implemented
78
+ em slice review <file> <slice-key> --allow-open # record the review although `## Open Questions` has unchecked items (a deliberately partial walk); prints a notice with the open count
79
+ em slice ratify <file> <slice-key> # flip a slice doc's frontmatter to `status: ready-to-implement` and record `ratifiedBy:`/`ratifiedOn:` — the handoff sign-off (MIL-165, docs/process.md#the-slice-lifecycle-gates) that makes who ratified, and when, a first-class recorded fact. The review gate is a check on the doc's current `status:`, not on whether `reviewedBy:`/`reviewedOn:` are populated: a doc at `reviewed` passes; a `ready-to-implement` doc only when the same signer is completing their own record (since 1.15.0, MIL-283 — a new sign-off is a new version: `em slice revise`); any other status — a `draft` that never went through `em slice review` — is refused unless --skip-review is passed. Idempotent on the same --by/--on pair; refuses to overwrite a different one already recorded, and (MIL-284) a same-pair re-run on a doc whose body moved after sign-off; never touches `version:` or the doc body. Inside a git work tree also records `ratifiedRef:` (HEAD, refusing a doc with uncommitted changes) and always `ratifiedHash:` (over the authored text only — generated regions and Open Questions deferrals excluded, GH #347/#253); with --no-ref (GH #255) only the hash — for a repo whose squash/rebase merges would leave the ref unreachable — and git is not consulted
78
80
  em slice ratify <file> <slice-key> --by <name> # the ratifier's name
79
81
  em slice ratify <file> <slice-key> --no-ref # record ratifiedHash: only, no ratifiedRef: (GH #255) — the signed content keeps its identity, nothing points at a commit a squash or rebase merge would orphan; the uncommitted-changes check does not apply
80
82
  em slice ratify <file> <slice-key> --on <date> # ratification date, YYYY-MM-DD (default: today, local date)
@@ -89,7 +91,7 @@ em slice reratify <file> <slice-key> # DEPRECATED
89
91
  em slice reratify <file> <slice-key> --meaning-unchanged # ignored since 1.15.0 (see above)
90
92
  em slice reratify <file> <slice-key> --contract-change <why> # ignored since 1.15.0 (see above)
91
93
  em slice reratify <file> <slice-key> --withdraw # see `em slice revise --withdraw`
92
- em slice defer <file> <slice-key> [question] # record a question this version will not answer as deferred to a later version (MIL-275): rewrites the single unchecked `## Open Questions` item containing <question> as `- [x] <item> — v<current>: <decision>; deferred to v<n> (<date>[, <by>])` so `--slice-ready` passes without a guess, and mirrors it into `.event-modeling.md` (the parking lot and a dated Decisions-log bullet; the file must exist, it is never created). Idempotent; `em slice reratify` re-opens the item when it bumps to v<n>. With --from-issue <text> instead of <question> (MIL-281): promotes the single open `issue "..."` on the slice's own elements containing <text> into the doc's Open Questions as that same deferred item, mirrors it, and removes the `issue` clause from the .em — the one-command path for a question raised in a review session. On a RATIFIED (`ready-to-implement` + `ratifiedBy:`) or shipped (`implemented`) doc (GH #253) the already-deferred `[x]` item is APPENDED to the doc's Open Questions — `ratifiedHash` excludes the section heading and its `deferred to v<n>` items, so the signature, `--slice-ready` and ratify's re-run stay valid, and the question is visible in the ratified doc; a pre-1.17 whole-body hash is re-stamped in the same edit. Refuses a doc whose body already fails its hash
94
+ em slice defer <file> <slice-key> [question] # record a question this version will not answer as deferred to a later version (MIL-275): rewrites the single unchecked `## Open Questions` item containing <question> as `- [x] <item> — v<current>: <decision>; deferred to v<n> (<date>[, <by>])` so `--slice-ready` passes without a guess, and mirrors it into `.event-modeling.md` (the parking lot and a dated Decisions-log bullet; the file must exist, it is never created). Idempotent; `em slice reratify` re-opens the item when it bumps to v<n>. With --from-issue <text> instead of <question> (MIL-281): promotes the single open `issue "..."` on the slice's own elements containing <text> into the doc's Open Questions as that same deferred item, mirrors it, and removes the `issue` clause from the .em — the one-command path for a question raised in a review session. On a RATIFIED (`ready-to-implement` + `ratifiedBy:`) or shipped (`implemented`) doc (GH #253) the already-deferred `[x]` item is APPENDED to the doc's Open Questions — `ratifiedHash` excludes the section heading and its `deferred to v<n>` items, so the signature, `--slice-ready` and ratify's re-run stay valid, and the question is visible in the ratified doc; a hash in an older scope (pre-1.17, 1.17–1.18) is re-stamped in the same edit. Refuses a doc whose body already fails its hash
93
95
  em slice defer <file> <slice-key> [question] --until <version> # the version that must answer it, v<n> (greater than the doc's version)
94
96
  em slice defer <file> <slice-key> [question] --decision <text> # what this version does instead
95
97
  em slice defer <file> <slice-key> [question] --from-issue <text> # defer a captured `issue "..."` on this slice instead of a doc Open Question (case-sensitive substring of its text)
@@ -151,7 +153,7 @@ em validate <file> --slice-ready <key> # readiness
151
153
  em validate <file> --require-ratified-hash # with --slice-ready (GH #256): strict mode — a ready-to-implement doc with no `ratifiedHash:` is NOT ready (`slice-ready-missing-ratified-hash`, error; `ready: false` in --json). Off by default so docs ratified before em 1.15 keep passing; turn it on once legacy docs are re-ratified
152
154
  em validate <file> --strict # promote advisory lints (GH #293: scenario-quality warnings) to errors: they fail the run and, with --slice-ready, block readiness
153
155
  em validate <file> --roster <path> # with --slice-ready (GH #259): the ratifier roster to check `ratifiedBy` against (default: the nearest ratifiers.yaml above the model; none = unrestricted). A name the roster does not permit for the slice's context is `ratified-by-not-in-roster` (error)
154
- em validate <file> --check-signed-bodies # opt-in (GH #257): compare every slice doc that records a `ratifiedHash:` — ready, implemented, any status — to its body; a mismatch is `slice-body-changed-since-ratification` (error). A pre-1.17 whole-body hash with an intact body passes; a deferral written by `em slice defer` is outside the hash. The one check that still watches a shipped doc's signed content
156
+ em validate <file> --check-signed-bodies # opt-in (GH #257): compare every slice doc that records a `ratifiedHash:` — ready, implemented, any status — to its body; a mismatch is `slice-body-changed-since-ratification` (error). A hash in an older scope (pre-1.17 whole-body, 1.17–1.18) with an intact body passes; a deferral written by `em slice defer` is outside the hash. The one check that still watches a shipped doc's signed content
155
157
  em validate <file> --shape # GH #282: run only the advisory shape-family lints (storyline shape) and print rule / count / first ref / docs anchor; exit 0 always. With --json: `shapeSchemaVersion` 1.0 with per-rule finding arrays
156
158
  em validate <file> --waive-file <path> # with --shape: a baseline file (`<rule-code> <slice-key>` per line, or a bare slice key for every shape rule; `#` comments) whose shape findings are listed as waived and not counted; missing file = no waivers
157
159
  em validate <file> --json # print a JSON document instead of text — works on a model WITH errors, unlike `em export` (MIL-128, see docs/cli.md); exit codes are unchanged
@@ -221,13 +223,15 @@ em query path <files> # shortest p
221
223
  em query path <files> --from <ref-or-name> # the starting element's export ref or display name
222
224
  em query path <files> --to <ref-or-name> # the ending element's export ref or display name
223
225
  em query path <files> --json # print a JSON document instead of the text report
224
- em engagement new <file> <slug> # write <model dir>/engagements/<slug>.md — frontmatter (slices, parallel ceiling) plus the generated Ledger table; selection by --slices, --context, or --downstream-of (exactly one)
226
+ em engagement new <file> <slug> # write <model dir>/engagements/<slug>.md — frontmatter (slices, parallel ceiling) plus the generated Ledger table; selection by --slices, --context, --storyline, or --downstream-of (exactly one)
225
227
  em engagement new <file> <slug> --slices <keys> # comma-separated slice export keys
226
228
  em engagement new <file> <slug> --context <name> # every slice with an event in this context
229
+ em engagement new <file> <slug> --storyline <name> # every slice declared in this storyline block (resolved from the model)
227
230
  em engagement new <file> <slug> --downstream-of <ref> # a slice key, element ref, or display name: it and everything downstream of it (loops-to excluded)
228
231
  em engagement new <file> <slug> --parallel <n> # how many slices of one level may be in flight at once
229
232
  em engagement new <file> <slug> --by <name> # who created the engagement (createdBy)
230
233
  em engagement new <file> <slug> --tracking <key> # an issue-tracker key or URL the slice PRs cite (a slice doc's own tracking: wins)
234
+ em engagement new <file> <slug> --pr-title <template> # PR title template for the slice PRs; {key} = tracking key, {slice} = slice name, {sliceKey} = slice key (default "{key}: {slice}", or "{slice}" without a key)
231
235
  em engagement new <file> <slug> --force # overwrite an existing engagement file with this slug
232
236
  em engagement plan <file> <slug> # the engagement's build plan: dependency levels over model.edges (loops-to excluded), and per slice its readiness, branch impl/<key>, base (always main — MIL-280), and any hold
233
237
  em engagement plan <file> <slug> --json # print a JSON document instead of text (same document as the MCP engagement_plan tool)
@@ -480,7 +484,8 @@ type Name { field: Type, ... } # named structured type, reusable from any f
480
484
  not yet a doc-drift check). **Collection fields (GH #288):** a view field typed `T[]` for a
481
485
  declared `type T`, with `derived from "Child Created", "Child Deleted"`, embeds a child entity:
482
486
  each field of `T` must trace to a named event (`fields-completeness/view-field-no-source`
483
- otherwise). No add/remove/key clauses — `em slice sync` writes a `Collection of` note plus
487
+ otherwise); a field also traces one level through the declared element type of an array field
488
+ on the event (`optionValues: VariantOptionValue[]`), no deeper and with no path syntax. No add/remove/key clauses — `em slice sync` writes a `Collection of` note plus
484
489
  one Given/Then scenario stub per named event in the view region (copy into `## Scenarios`), and `em export` sets `collection: true`.
485
490
  - **Fields:** `command Place Order { orderId: UUID, items: LineItem[], customerId }` — inline or
486
491
  one-per-line. Types are free text (no semantic checking) UNLESS the type string names a
@@ -878,7 +883,7 @@ not the prose above has caught up yet. `--slice-ready <key>`-only codes are excl
878
883
  | `duplicate-slice-name` | warning | Duplicate slice name | Rename the slice so its export key is unique. |
879
884
  | `duplicate-type-name` | warning | Duplicate type name | Rename one of the duplicate `type` declarations. |
880
885
  | `duplicate-type-ref` | warning | Duplicate type ref | Rename the type so its export ref is unique. |
881
- | `fields-completeness/event-field-no-source` | warning | Event field not from a command | Add the field to a command in the slice, or remove it from the event. |
886
+ | `fields-completeness/event-field-no-source` | warning | Event field not from a command | Add the field to a command that records the event (in any slice), mark it assigned if the handler sets it, or remove it from the event. |
882
887
  | `fields-completeness/view-field-no-source` | warning | View field with no source | Add the field to a source event, or remove it from the view. |
883
888
  | `frontmatter-coherence-implemented-without-link` | warning | Implemented without a link | Add `implementedIn` once the slice ships. |
884
889
  | `frontmatter-invalid` | warning | Invalid or missing frontmatter | Add the required frontmatter keys, or add a frontmatter block. |
@@ -918,6 +923,7 @@ not the prose above has caught up yet. `--slice-ready <key>`-only codes are excl
918
923
  | `seam-endpoint-unresolved` | error | Seam endpoint does not resolve | Fix the ref to an element the named model actually exports (`em export` lists every ref), or re-declare the seam after a rename. |
919
924
  | `seam-source-not-public` | error | Seam source is not `public` | Mark the event/view `public` in its model, or point the seam at the element that is. |
920
925
  | `shared-event-field-mismatch` | error | Shared event declared with different fields, tags or public | Repeat the event bare to inherit the first declaration's fields, tags and public, or make them identical. |
926
+ | `slice-doc/generated-region-placeholder` | warning | Unresolved placeholder in a signed doc's generated region | A `{{ }}` in a generated region is a prompt, not content: fill the model gap it marks (a field with no source) and run `em slice sync`, or write the scenario a stub describes in `## Scenarios` (on a signed doc that is the next version: `em slice revise`). |
921
927
  | `slice-doc/structured-section-malformed` | warning | Malformed structured section | Balance the `<!-- GENERATED:em-slice-…:start -->`/`:end -->` markers (re-create the doc with `em slice new --force` if they are lost), restore the template's table header and run `em slice sync`, and give every `### Scenario:` block a Given, When and Then bullet. |
922
928
  | `slice-outside-storyline` | warning | Slice outside every storyline | Move the slice inside one of the model's `storyline` blocks (advisory: storylines can be adopted incrementally). |
923
929
  | `storyline-after-cycle` | error | Storyline `after` cycle | Remove an `after` clause so no storyline comes after itself. |
@@ -68,7 +68,7 @@ to decide `frontmatter-invalid` without re-deriving frontmatter-shape rules of i
68
68
  | `ratifiedBy` | string | free text (typically a person's name) | written only by `em slice ratify` (MIL-165 — see [cli.md](https://github.com/milehimikey/em/blob/main/docs/cli.md#em-slice-ratify-file-slice-key---by-name)); joined into `em export`'s `slice.doc.ratifiedBy` (schema `1.8`) and `em slice index`'s Ratified by column |
69
69
  | `ratifiedOn` | string | `YYYY-MM-DD` | written only by `em slice ratify` (MIL-165); joined into `em export`'s `slice.doc.ratifiedOn` (schema `1.8`) |
70
70
  | `ratifiedRef` | string | full commit sha | written only by `em slice ratify` (MIL-284 — see [cli.md](https://github.com/milehimikey/em/blob/main/docs/cli.md#em-slice-ratify-file-slice-key---by-name)) when the model directory is inside a git repository: `HEAD` at ratification, the commit whose tree holds the body that was signed (ratify refuses a doc with uncommitted changes so this holds). Absent when ratified before 1.15, outside git, or with `em slice ratify --no-ref` (GH #255 — for a repo whose squash/rebase merges would leave the commit unreachable from the target branch; `--no-ref` also removes a line already present). **An address, not the identity:** valid only while the commit stays reachable; `ratifiedHash` is what identifies the signed content. Cleared by `em slice revise`. Joined into `em export`'s `slice.doc.ratifiedRef` (schema `1.16`). Not a target-repo revision: `em slice conform --at` still names that itself |
71
- | `ratifiedHash` | string | `sha256:<64 hex>` | written only by `em slice ratify` (MIL-284): `sha256` over the doc body (everything after the frontmatter fence, EOLs normalised) **minus what describes a later version** (GH #253, since 1.17.0): inside `## Open Questions` the heading line, blank lines and every `deferred to v<n>` item are left out, then trailing whitespace is trimmed — so `em slice defer` can record a question on a ratified or shipped doc without moving the hash, while answered `- [x]` history, any `- [ ]`, and every other section stay signed. The signed content's identity without git. A hash recorded before 1.17.0 (whole body) is still read as intact; `em upgrade`'s `ratified-hash-scope` step re-stamps it. Cleared by `em slice revise`. Read by `em validate --slice-ready` (`slice-ready-body-changed-since-ratification`) and by `ratify`'s same-sign-off re-run; joined into `em export`'s `slice.doc.ratifiedHash` (schema `1.16`) |
71
+ | `ratifiedHash` | string | `sha256:<64 hex>` | written only by `em slice ratify` (MIL-284): `sha256` over the **authored text** of the doc body (everything after the frontmatter fence, EOLs normalised). Since 1.19.0 (GH #347) the text strictly between each [generated region](#generated-regions-and-authored-sections)'s two marker lines is left out (the marker lines themselves stay in), so `em slice sync` can refresh a ratified or shipped doc's regions without moving the hash — the regions restate the model, whose contract changes surface through model validation and its pin (`model-versions/v<N>.json`); a doc whose markers don't balance has nothing left out. Since 1.17.0 (GH #253) the doc also leaves out **what describes a later version**: inside `## Open Questions` the heading line, blank lines and every `deferred to v<n>` item, then trailing whitespace is trimmed — so `em slice defer` can record a question on a ratified or shipped doc without moving the hash. Answered `- [x]` history, any `- [ ]`, the region marker lines and every other section stay signed. The signed content's identity without git. A hash in an older scope whose body is intact is still read as intact — recorded by 1.17.0–1.18.x (generated regions inside) or before 1.17.0 (whole body); `em upgrade`'s `ratified-hash-scope` step re-stamps it, and so do `em slice sync` and `em slice defer` when they first write to the doc. Cleared by `em slice revise`. Read by `em validate --slice-ready` (`slice-ready-body-changed-since-ratification`) and by `ratify`'s same-sign-off re-run; joined into `em export`'s `slice.doc.ratifiedHash` (schema `1.16`) |
72
72
  | `shippedVersion` | integer | positive integer | written only by `em slice mark-implemented` (MIL-284): the doc's `version:` when the merge was recorded. With `shippedRef`/`shippedOn`/`implementedIn`, joined into `em export`'s `slice.doc.shipped` (schema `1.16`). Additive in 1.15 — `status`/`implementedIn` still carry the lifecycle for every reader |
73
73
  | `shippedRef` | string | full commit sha | written only by `em slice mark-implemented` (MIL-284): the doc's `ratifiedRef` at merge time, i.e. the ref the shipped version was signed at; absent when the doc had none (ratified before 1.15, outside git, or with `--no-ref`, GH #255). Same caveat as `ratifiedRef`: an address, valid while reachable — `ratifiedHash` identifies the content |
74
74
  | `shippedOn` | string | `YYYY-MM-DD` | written only by `em slice mark-implemented` (MIL-284): the local date of the merge record, or `--on <date>` |
@@ -473,7 +473,7 @@ re-run `em slice sync`.
473
473
  | Region | Section | Body |
474
474
  |---|---|---|
475
475
  | `em-slice-command` | `## Command / Input` | `**Command:** \`Name\`` + `\| Field \| Type \| Required \| Rules / Validation \|` (Required is `no` for a `name?: Type` field) |
476
- | `em-slice-event` | `## Event(s) Emitted` | `**Event:** \`Name\` → context \`Ctx\`` + `\| Field \| Type \| Immutable Fact? \| Source / Notes \|` (Source: the same-slice command field it is copied from, `assigned` for a system-assigned field, else `{{ }}`) |
476
+ | `em-slice-event` | `## Event(s) Emitted` | `**Event:** \`Name\` → context \`Ctx\`` + `\| Field \| Type \| Immutable Fact? \| Source / Notes \|` (Source: the same-slice command field it is copied from; failing that, the command from another slice that also records the event, written `from command \`A\` (slice "Create")` (GH #344, the same union `fields-completeness/event-field-no-source` checks); `assigned` for a system-assigned field, else `{{ }}`) |
477
477
  | `em-slice-view` | `## Read Model / View` | `- **View:** \`Name\` built from events: …` (the union across the originating and every `again` instance; each later event is annotated `(via "<slice>")` with the slice of the instance that adds it) + `\| Field \| Type \| Source / Notes \|` (Source: the source event, from that union, carrying the field, `Derived` for a `derived` field, `Collection of \`T\`, fed by …` for a `T[] derived from …` field — followed by one neutral Given/Then scenario stub per named event under the table, to copy into `## Scenarios` and complete there (the region itself stays read-only) — else `{{ }}`) |
478
478
  | `em-slice-invariants` | `## Invariants / Business Rules` | one `- **INV-X** — rule` line per model-declared invariant of the slice's commands and events |
479
479
 
@@ -505,6 +505,18 @@ generated list never trips `invariants/declared-in-both`. Elaborate each ID belo
505
505
  Dependencies, Open Questions. `em` never writes them; `em slice sync` leaves every byte outside
506
506
  the region markers untouched (CRLF included).
507
507
 
508
+ **Regions and the signature (GH #347, 1.19.0).** `ratifiedHash` covers the authored sections and
509
+ the marker lines, not what sits between the markers. So `em slice sync` runs on a ratified or
510
+ shipped doc like any other and keeps its signature: it rewrites the regions, leaves `ratifiedHash`
511
+ and `ratifiedRef` alone, and prints a `note:` saying so. A hash still in an older scope (1.17.0–1.18.x,
512
+ or pre-1.17 whole-body) whose body is intact is re-stamped in the current scope in the same write —
513
+ same authored text, not a re-signing. A doc whose authored text already fails its hash is synced
514
+ too, with nothing re-stamped (`em validate --check-signed-bodies` still reports it). A scenario
515
+ stub or `{{ }}` Source cell that sync writes into a signed doc's region is reported by `em validate`
516
+ as `slice-doc/generated-region-placeholder` (warning; see
517
+ [validation.md](https://github.com/milehimikey/em/blob/main/docs/validation.md#generated-region-placeholders)): fill the model gap and re-sync, or
518
+ write the scenario in `## Scenarios`, which on a signed doc is the next version (`em slice revise`).
519
+
508
520
  **Scenario grammar (authored, constrained).** Inside `## Scenarios (Given / When / Then)`, each
509
521
  case is a block:
510
522
 
@@ -1,9 +1,9 @@
1
1
  {
2
- "name": "em-1-18-0",
2
+ "name": "em-1-19-0",
3
3
  "owner": {
4
4
  "name": "Mike Key"
5
5
  },
6
- "description": "em v1.18.0: the Event Modeling skill bundle and MCP server as a Claude Code plugin.",
6
+ "description": "em v1.19.0: the Event Modeling skill bundle and MCP server as a Claude Code plugin.",
7
7
  "plugins": [
8
8
  {
9
9
  "name": "em",
@@ -75,7 +75,8 @@ export interface SliceDocExport {
75
75
  * written only by `em slice ratify` — null when absent. `--slice-ready` compares it to the
76
76
  * current body (`slice-ready-body-changed-since-ratification`). Since 1.17.0 the `## Open
77
77
  * Questions` heading and its `deferred to v<n>` items are outside the hash (GH #253,
78
- * `sliceDoc.ts`'s `ratifiedBody`); a pre-1.17 whole-body hash is still accepted as intact. */
78
+ * `sliceDoc.ts`'s `ratifiedBody`), and since 1.19.0 so is the inside of every generated region (GH #347);
79
+ * a hash in an older scope (pre-1.17 whole-body, 1.17–1.18) is still accepted as intact. */
79
80
  ratifiedHash: string | null;
80
81
  /** MIL-283/284: the shipped record — `em slice mark-implemented`'s `shippedVersion:`/
81
82
  * `shippedRef:`/`shippedOn:` beside `implementedIn:`, or, for a doc shipped before em 1.15
@@ -1 +1 @@
1
- {"version":3,"file":"docJoin.js","sourceRoot":"","sources":["../../src/catalog/docJoin.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,4FAA4F;AAC5F,6FAA6F;AA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AM,CAAC,WAAW;QAC/B,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;QACzC,cAAc,EAAE,MAAM,CAAC,cAAc;QACrC,aAAa,EAAE,MAAM,CAAC,aAAa;QACnC,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC;QACnC,2FAA2F;QAC3F,sFAAsF;QACtF,aAAa,EAAE,mBAAmB,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC;KAC/G,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,IAAY;IAC/B,MAAM,EAAE,SAAS,EAAE,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;IAC3C,OAAO,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC;AACjD,CAAC"}
@@ -62,8 +62,9 @@ import { pushDiag } from "../model/rules.js";
62
62
  import { classifySlicePattern, slicePatternLabel } from "./classify.js";
63
63
  import { resolveSliceDocJoin } from "./docJoin.js";
64
64
  import { readSliceDoc } from "./readSliceDoc.js";
65
+ import { isSignedSliceDoc } from "./sliceDoc.js";
65
66
  import { checkScenarioQuality } from "./scenarioQualityValidate.js";
66
- import { findStructuredSectionProblems, splitCells } from "./sliceSections.js";
67
+ import { findStructuredSectionProblems, generatedRegionPlaceholders, splitCells } from "./sliceSections.js";
67
68
  import { parseScenariosLenient } from "./scenarios.js";
68
69
  import { viewSourceNames } from "../model/continuation.js";
69
70
  const COMMAND_MARKER = /^\*\*Command:\*\*\s*`([^`]+)`\s*$/;
@@ -243,6 +244,21 @@ export function validateDocModelConsistency(model, refs, baseDir) {
243
244
  message: `slice doc "${docPath}" (slice "${ownerKey}"): ${problem}`,
244
245
  });
245
246
  }
247
+ // GH #347: an unresolved `{{ }}` inside a generated region of a SIGNED doc (ratified or
248
+ // shipped). Since 1.19.0 `em slice sync` rewrites a signed doc's regions under the signature,
249
+ // so a stub it writes there (a collection field's scenario stub, a Source cell no command or
250
+ // event provides) would otherwise sit in the doc unreported. A draft is still being written —
251
+ // its stubs are expected — so it is not checked. One warning per region; the slice ref lists
252
+ // it under `--slice-ready`, where it never gates (it is not on GATE_WARNING_CODES).
253
+ if (isSignedSliceDoc(parsed)) {
254
+ for (const { region, count } of generatedRegionPlaceholders(parsed.body)) {
255
+ pushDiag(diags, "slice-doc/generated-region-placeholder", {
256
+ message: `slice doc "${docPath}" (slice "${ownerKey}", status: ${parsed.status}): generated region "${region}" holds ${count} unresolved {{ }} placeholder(s)`,
257
+ line: ownerSlice.line,
258
+ refs: [ownerKey],
259
+ });
260
+ }
261
+ }
246
262
  // GH #293: scenario-quality advisories (catalog/scenarioQualityValidate.ts).
247
263
  checkScenarioQuality(diags, parsed.body, docPath, sliceIndices, ownerKey, model, refs, baseDir);
248
264
  const markers = parseDocMarkers(parsed.body);
@@ -1 +1 @@
1
- {"version":3,"file":"docModelConsistencyValidate.js","sourceRoot":"","sources":["../../src/catalog/docModelConsistencyValidate.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,+FAA+F;AAC/F,kGAAkG;AAClG,4FAA4F;AAC5F,8FAA8F;AAC9F,iGAAiG;AACjG,sFAAsF;AACtF,uEAAuE;AACvE,EAAE;AACF,2FAA2F;AAC3F,4FAA4F;AAC5F,UAAU;AACV,EAAE;AACF,2FAA2F;AAC3F,4FAA4F;AAC5F,kGAAkG;AAClG,6FAA6F;AAC7F,iGAAiG;AACjG,+FAA+F;AAC/F,iGAAiG;AACjG,EAAE;AACF,2FAA2F;AAC3F,6FAA6F;AAC7F,8FAA8F;AAC9F,gGAAgG;AAChG,4FAA4F;AAC5F,kGAAkG;AAClG,0DAA0D;AAC1D,EAAE;AACF,kGAAkG;AAClG,8FAA8F;AAC9F,6FAA6F;AAC7F,8FAA8F;AAC9F,gGAAgG;AAChG,8FAA8F;AAC9F,0FAA0F;A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I,CAAC,IAAI;gBACf,IAAI,EAAE,OAAO;aACd,CAAC,CAAC;QACL,CAAC;IACH,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"docModelConsistencyValidate.js","sourceRoot":"","sources":["../../src/catalog/docModelConsistencyValidate.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,+FAA+F;AAC/F,kGAAkG;AAClG,4FAA4F;AAC5F,8FAA8F;AAC9F,iGAAiG;AACjG,sFAAsF;AACtF,uEAAuE;AACvE,EAAE;AACF,2FAA2F;AAC3F,4FAA4F;AAC5F,UAAU;AACV,EAAE;AACF,2FAA2F;AAC3F,4FAA4F;AAC5F,kGAAkG;AAClG,6FAA6F;AAC7F,iGAAiG;AACjG,+FAA+F;AAC/F,iGAAiG;AACjG,EAAE;AACF,2FAA2F;AAC3F,6FAA6F;AAC7F,8FAA8F;AAC9F,gGAAgG;AAChG,4FAA4F;AAC5F,kGAAkG;AAClG,0DAA0D;AAC1D,EAAE;AACF,kGAAkG;AAClG,8FAA8F;AAC9F,6FAA6F;AAC7F,8FAA8F;AAC9F,gGAAgG;AAChG,8FAA8F;AAC9F,0FAA0F;AAC1F,0CAA0C;AAC1C,EAAE;AACF,oFAAoF;AACpF,iGAAiG;AACjG,iGAAiG;AACjG,iGAAiG;AACjG,8FAA8F;AAC9F,iGAAiG;AACjG,4FAA4F;AAC5F,iGAAiG;AACjG,6FAA6F;AAC7F,gGAAgG;AAChG,mFAAmF;AACnF,EAAE;AACF,gGAAgG;AAChG,2FAA2F;AAC3F,iGAAiG;AACjG,kGAAkG;AAClG,2FAA2F;AAC3F,4CAA4C;AAC5C,EAAE;AACF,4FAA4F;AAC5F,4FAA4F;AAE5F,OAAO,EAAmC,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGnF,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,mBA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