@eventmodelers/cli 1.0.109 → 1.0.110
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.110",
|
|
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": {
|
|
@@ -5,7 +5,19 @@ description: Compare the event model on the board with the code in this reposito
|
|
|
5
5
|
|
|
6
6
|
# Detect Architecture Drift
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
## Step 0 — Is there a code base?
|
|
9
|
+
|
|
10
|
+
Drift is the gap between the board and the code, so it can only be detected where code exists. **Before anything else — before `connect`, before reading the board — check that the current directory is a code base**: it contains source code (e.g. `src/`, `.build-kit/`, a `package.json`, `pom.xml`, `*.csproj`, `build.gradle`, or similar project files with slice/command/event/projection code).
|
|
11
|
+
|
|
12
|
+
If it is not (an empty folder, a modeling-only workspace holding just `.claude/`, `.eventmodelers/` or `.agent-modeling-kit/`), **stop and answer in one or two plain sentences**, e.g.:
|
|
13
|
+
|
|
14
|
+
> Architecture drift can't be detected here — there is no code to compare the board against. Run this in the code base that implements the model.
|
|
15
|
+
|
|
16
|
+
Do not connect, do not read the board, do not produce a report or snippet, and do not offer other fixes.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
> **Once Step 0 passes**, invoke the `connect` skill — if not already connected — to resolve `TOKEN`, `BOARD_ID`, `ORG_ID`, and `BASE_URL`. Do not proceed until the connect skill has completed.
|
|
9
21
|
|
|
10
22
|
Prefer `mcp__eventmodelers__*` tools when available. See `learn-eventmodelers-api` for the curl fallback.
|
|
11
23
|
|
|
@@ -160,6 +172,7 @@ Omit empty sections. Say plainly when nothing drifted.
|
|
|
160
172
|
|
|
161
173
|
## Learnings
|
|
162
174
|
|
|
175
|
+
- No code base in the working directory → drift can't be detected; say so in one line and stop (Step 0).
|
|
163
176
|
- Read-only until confirmed — the report is the product; the fixes run as separate, ticked work.
|
|
164
177
|
- A scoped run (timeline in focus) never reports "slice only in code" for code outside the scope.
|
|
165
178
|
- One difference, one finding: follow a rename along the chain instead of listing it per element.
|