@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.
Files changed (35) hide show
  1. package/.claude/skills/event-modeling/SKILL.md +1 -1
  2. package/.claude/skills/event-modeling-conform/SKILL.md +1 -1
  3. package/.claude/skills/event-modeling-design/SKILL.md +2 -1
  4. package/.claude/skills/event-modeling-discover/SKILL.md +1 -1
  5. package/.claude/skills/event-modeling-engagement/SKILL.md +1 -1
  6. package/.claude/skills/event-modeling-implement/SKILL.md +1 -1
  7. package/.claude/skills/event-modeling-implement/reference/implement.md +4 -1
  8. package/.claude/skills/event-modeling-review/SKILL.md +2 -2
  9. package/.claude/skills/event-modeling-shared/reference/em-dsl.md +227 -222
  10. package/.claude/skills/event-modeling-shared/reference/slice-doc-schema.md +8 -0
  11. package/.claude-plugin/marketplace.json +2 -2
  12. package/README.md +12 -0
  13. package/dist/cli/defer.d.ts +55 -0
  14. package/dist/cli/defer.js +244 -0
  15. package/dist/cli/defer.js.map +1 -0
  16. package/dist/cli/markImplemented.d.ts +9 -0
  17. package/dist/cli/markImplemented.js +20 -1
  18. package/dist/cli/markImplemented.js.map +1 -1
  19. package/dist/cli/reratify.d.ts +1 -0
  20. package/dist/cli/reratify.js +5 -2
  21. package/dist/cli/reratify.js.map +1 -1
  22. package/dist/cli.js +48 -2
  23. package/dist/cli.js.map +1 -1
  24. package/package.json +2 -2
  25. package/plugin/.claude-plugin/plugin.json +2 -2
  26. package/plugin/shared/reference/em-dsl.md +227 -222
  27. package/plugin/shared/reference/slice-doc-schema.md +8 -0
  28. package/plugin/skills/conform/SKILL.md +1 -1
  29. package/plugin/skills/design/SKILL.md +2 -1
  30. package/plugin/skills/discover/SKILL.md +1 -1
  31. package/plugin/skills/engagement/SKILL.md +1 -1
  32. package/plugin/skills/event-modeling/SKILL.md +1 -1
  33. package/plugin/skills/implement/SKILL.md +1 -1
  34. package/plugin/skills/implement/reference/implement.md +4 -1
  35. package/plugin/skills/review/SKILL.md +2 -2
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: event-modeling
3
- em-version: 1.14.0
3
+ em-version: 1.14.2
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.14.0
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: event-modeling-design
3
- em-version: 1.14.0
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
@@ -211,6 +211,7 @@ For each slice:
211
211
  (`em validate` flags a block missing one as `slice-doc/structured-section-malformed`, and
212
212
  `--slice-ready` refuses it). A doc written before em 1.14 has no markers; leave it as it is
213
213
  unless you are re-creating it (`em slice new … --wire --force`, carrying the prose across).
214
+ 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.
214
215
  2. **First-time authoring:** scaffold the doc mechanically rather than hand-writing the
215
216
  frontmatter — `em slice new "<slice name>" --pattern <state-change|state-view|automation|
216
217
  translation> --swimlane "<Persona> → <Context>" --wire <model>.em` writes `slices/<slice-name>.md`
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: event-modeling-discover
3
- em-version: 1.14.0
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-engagement
3
- em-version: 1.14.0
3
+ em-version: 1.14.2
4
4
  description: >-
5
5
  Use when leading an engagement: building a named set of ratified event-modeling slices
6
6
  (`em engagement`) into a stack of PRs by dispatching the em-implementer, em-validator,
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: event-modeling-implement
3
- em-version: 1.14.0
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
@@ -228,7 +228,10 @@ a bump here is a ledger defect.
228
228
  `em slice mark-implemented <model>.em <slice-key> <pr-url>` does the flip for you (MIL-103) —
229
229
  resolves the doc via the same note-binding join `--slice-ready` uses, is idempotent on a re-run
230
230
  with the same URL, and refuses (never silently overwrites) if the doc is already `implemented`
231
- with a different URL. Prefer it over hand-editing the doc's frontmatter.
231
+ with a different URL. It also refuses a doc that isn't `ready-to-implement` (MIL-277): if it
232
+ reports `doc is \`status: draft\``/`reviewed`, the slice was never ratified — stop and surface
233
+ that to the human rather than editing the frontmatter by hand; the §1 gate should have caught it.
234
+ Prefer it over hand-editing the doc's frontmatter.
232
235
 
233
236
  Then, if the project keeps a model README (from `../../event-modeling-shared/templates/model-readme.md`), run
234
237
  `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: event-modeling-review
3
- em-version: 1.14.0
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
@@ -56,7 +56,7 @@ review:` marker (mirrors `Last conformance:`).
56
56
  **Per-slice outcome.** A slice whose open questions are all resolved in the room →
57
57
  `em slice review <model>.em <key> --by <name>` (flips its doc to `status: reviewed` and records
58
58
  `reviewedBy:`/`reviewedOn:`). Anything still open stays `draft` — the walkthrough doesn't decide
59
- it, the next session or the open-questions list does.
59
+ 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.
60
60
 
61
61
  **The facilitator never ratifies, never offers to ratify, and never suggests ratification in a
62
62
  review session. Ratification is a separate human gate after review**