@eventmodelers/cli 1.0.117 → 1.0.118
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eventmodelers/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.118",
|
|
4
4
|
"description": "Eventmodelers CLI — real-time Claude agent + skills for Claude Code, for any stack (Node, Supabase, Axon, OpenCQRS, UmaDB, Kurrent, or modeling-only)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -69,6 +69,8 @@ Every pass reads the code through the same four lenses; each produces *hypothese
|
|
|
69
69
|
|
|
70
70
|
**With a URL, walk it via `discover-storyboard`** (URL already known — don't ask again; pass the flow as guidance and ask for screenshots). Its click path is the *proposed* order and its screens go into the chapter as evidence; confirm both against the API and persistence lenses. Submit forms only against a local or test system, or after the person agrees.
|
|
71
71
|
|
|
72
|
+
If the code is a generic engine (templates, schemas, configurable entities), model one real case it handles, not the engine (see *Concrete Over Generic* in `eventmodeling-core-rules`).
|
|
73
|
+
|
|
72
74
|
Where the lenses disagree (a route nobody calls, a table never written, a test for removed behaviour, a screen with no backend), that is a question for the person — not something to model.
|
|
73
75
|
|
|
74
76
|
---
|
|
@@ -165,6 +165,14 @@ Model the business process as it would work without any software first, then tra
|
|
|
165
165
|
|
|
166
166
|
Question any step that exists only because of the system — a loading spinner, a cache refresh, a session check is not a business step and does not belong on the timeline. This is the discipline behind the Anti-Patterns below; the anti-patterns are what it looks like when this principle is skipped.
|
|
167
167
|
|
|
168
|
+
## Concrete Over Generic
|
|
169
|
+
|
|
170
|
+
Looking at the model, a reader must understand how the business works. Model one real flow with real examples and real data, not a generic model that covers every case. This applies to generic platforms too: model one real case the platform handles, not the platform's own structure.
|
|
171
|
+
|
|
172
|
+
Example (a template-driven health record system):
|
|
173
|
+
- ❌ `Commit Composition` with fields `content`, or `name`/`category`/`entries` — still says nothing about the business.
|
|
174
|
+
- ✅ `Record Blood Pressure` → `Blood Pressure Recorded` with `systolic: 132`, `diastolic: 92`, `pulse: 113`, `composer: Dr. Marcus Johnson`.
|
|
175
|
+
|
|
168
176
|
## Anti-Patterns
|
|
169
177
|
|
|
170
178
|
- **Data-loading commands**: `LoadOrders`/`FetchData` are queries, not business intent — model as a READMODEL, not a COMMAND.
|
|
@@ -209,5 +217,6 @@ Before treating a model as done, verify:
|
|
|
209
217
|
- [ ] The timeline starts with a state-view or an automation reacting to an event — not a bare COMMAND
|
|
210
218
|
- [ ] No two `state-change`/`state-change` slices are chained without a new trigger between them
|
|
211
219
|
- [ ] No SCREEN is wired to more than one COMMAND (the bed — see Structural Shapes)
|
|
220
|
+
- [ ] The model follows one real flow with real data, not a generic one (see Concrete Over Generic)
|
|
212
221
|
|
|
213
222
|
This is the fast pass — the full, deeper check is `eventmodeling-validating-event-models-checklist`.
|