@milehimikey/em 1.14.0 → 1.14.2
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/.claude/skills/event-modeling/SKILL.md +1 -1
- package/.claude/skills/event-modeling-conform/SKILL.md +1 -1
- package/.claude/skills/event-modeling-design/SKILL.md +2 -1
- package/.claude/skills/event-modeling-discover/SKILL.md +1 -1
- package/.claude/skills/event-modeling-engagement/SKILL.md +1 -1
- package/.claude/skills/event-modeling-implement/SKILL.md +1 -1
- package/.claude/skills/event-modeling-implement/reference/implement.md +4 -1
- package/.claude/skills/event-modeling-review/SKILL.md +2 -2
- package/.claude/skills/event-modeling-shared/reference/em-dsl.md +227 -222
- package/.claude/skills/event-modeling-shared/reference/slice-doc-schema.md +8 -0
- package/.claude-plugin/marketplace.json +2 -2
- package/README.md +12 -0
- package/dist/cli/defer.d.ts +55 -0
- package/dist/cli/defer.js +244 -0
- package/dist/cli/defer.js.map +1 -0
- package/dist/cli/markImplemented.d.ts +9 -0
- package/dist/cli/markImplemented.js +20 -1
- package/dist/cli/markImplemented.js.map +1 -1
- package/dist/cli/reratify.d.ts +1 -0
- package/dist/cli/reratify.js +5 -2
- package/dist/cli/reratify.js.map +1 -1
- package/dist/cli.js +48 -2
- package/dist/cli.js.map +1 -1
- package/package.json +2 -2
- package/plugin/.claude-plugin/plugin.json +2 -2
- package/plugin/shared/reference/em-dsl.md +227 -222
- package/plugin/shared/reference/slice-doc-schema.md +8 -0
- package/plugin/skills/conform/SKILL.md +1 -1
- package/plugin/skills/design/SKILL.md +2 -1
- package/plugin/skills/discover/SKILL.md +1 -1
- package/plugin/skills/engagement/SKILL.md +1 -1
- package/plugin/skills/event-modeling/SKILL.md +1 -1
- package/plugin/skills/implement/SKILL.md +1 -1
- package/plugin/skills/implement/reference/implement.md +4 -1
- package/plugin/skills/review/SKILL.md +2 -2
|
@@ -480,6 +480,14 @@ diverges from git, grows unboundedly over a long-lived slice's life, and forces
|
|
|
480
480
|
work out which resolutions are still relevant to the *current* version versus leftover from a
|
|
481
481
|
prior one — exactly the ambiguity a live, current-version-only section avoids.
|
|
482
482
|
|
|
483
|
+
**Deferral marker (MIL-275).** A question this version will not answer is not left `- [ ]` and
|
|
484
|
+
not deleted: `em slice defer` checks it and rewrites it as `- [x] <original> — v<current>:
|
|
485
|
+
<decision>; deferred to v<n> (<date>[, <by>])`. The `deferred to v<n>` marker is what
|
|
486
|
+
`em slice reratify` reads: when a bump reaches v<n> it rewrites each such item back to
|
|
487
|
+
`- [ ] <original>`, so the question must be resolved or re-deferred before `--slice-ready` passes
|
|
488
|
+
again. The prune rule above does not apply to a deferred item before v<n> (it stays as the
|
|
489
|
+
record); once reopened it is an ordinary open question.
|
|
490
|
+
|
|
483
491
|
**Not a parsing/grammar change.** `countOpenQuestions()` (`sliceDoc.ts`) and
|
|
484
492
|
`slice-ready-open-questions-unchecked` (`sliceReadyValidate.ts`,
|
|
485
493
|
[validation.md#slice-readiness](https://github.com/milehimikey/em/blob/main/docs/validation.md#slice-readiness)) are unaffected: both already
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: conform
|
|
3
|
-
em-version: 1.14.
|
|
3
|
+
em-version: 1.14.2
|
|
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: design
|
|
3
|
-
em-version: 1.14.
|
|
3
|
+
em-version: 1.14.2
|
|
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
|
|
@@ -212,6 +212,7 @@ For each slice:
|
|
|
212
212
|
(`em validate` flags a block missing one as `slice-doc/structured-section-malformed`, and
|
|
213
213
|
`--slice-ready` refuses it). A doc written before em 1.14 has no markers; leave it as it is
|
|
214
214
|
unless you are re-creating it (`em slice new … --wire --force`, carrying the prose across).
|
|
215
|
+
A question this version will not answer is deferred with `em slice defer <model> <key> "<question>" --until v<n> --decision "<what this version does>"` — never left `- [ ]`, never deleted, never answered by guessing.
|
|
215
216
|
2. **First-time authoring:** scaffold the doc mechanically rather than hand-writing the
|
|
216
217
|
frontmatter — `em slice new "<slice name>" --pattern <state-change|state-view|automation|
|
|
217
218
|
translation> --swimlane "<Persona> → <Context>" --wire <model>.em` writes `slices/<slice-name>.md`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: discover
|
|
3
|
-
em-version: 1.14.
|
|
3
|
+
em-version: 1.14.2
|
|
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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: event-modeling
|
|
3
|
-
em-version: 1.14.
|
|
3
|
+
em-version: 1.14.2
|
|
4
4
|
description: >-
|
|
5
5
|
Use when the user runs `/em: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: implement
|
|
3
|
-
em-version: 1.14.
|
|
3
|
+
em-version: 1.14.2
|
|
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
|
|
@@ -229,7 +229,10 @@ a bump here is a ledger defect.
|
|
|
229
229
|
`em slice mark-implemented <model>.em <slice-key> <pr-url>` does the flip for you (MIL-103) —
|
|
230
230
|
resolves the doc via the same note-binding join `--slice-ready` uses, is idempotent on a re-run
|
|
231
231
|
with the same URL, and refuses (never silently overwrites) if the doc is already `implemented`
|
|
232
|
-
with a different URL.
|
|
232
|
+
with a different URL. It also refuses a doc that isn't `ready-to-implement` (MIL-277): if it
|
|
233
|
+
reports `doc is \`status: draft\``/`reviewed`, the slice was never ratified — stop and surface
|
|
234
|
+
that to the human rather than editing the frontmatter by hand; the §1 gate should have caught it.
|
|
235
|
+
Prefer it over hand-editing the doc's frontmatter.
|
|
233
236
|
|
|
234
237
|
Then, if the project keeps a model README (from `../../../shared/templates/model-readme.md`), run
|
|
235
238
|
`em slice index <model-name>.em` so its generated Slices table reflects the new status and
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: review
|
|
3
|
-
em-version: 1.14.
|
|
3
|
+
em-version: 1.14.2
|
|
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
|
|
@@ -57,7 +57,7 @@ review:` marker (mirrors `Last conformance:`).
|
|
|
57
57
|
**Per-slice outcome.** A slice whose open questions are all resolved in the room →
|
|
58
58
|
`em slice review <model>.em <key> --by <name>` (flips its doc to `status: reviewed` and records
|
|
59
59
|
`reviewedBy:`/`reviewedOn:`). Anything still open stays `draft` — the walkthrough doesn't decide
|
|
60
|
-
it, the next session or the open-questions list does.
|
|
60
|
+
it, the next session or the open-questions list does. A question this version will not answer is deferred with `em slice defer <model> <key> "<question>" --until v<n> --decision "<what this version does>"` — never left `- [ ]`, never deleted, never answered by guessing.
|
|
61
61
|
|
|
62
62
|
**The facilitator never ratifies, never offers to ratify, and never suggests ratification in a
|
|
63
63
|
review session. Ratification is a separate human gate after review**
|