sad-mcp 2.3.5 → 2.3.6
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
|
@@ -459,6 +459,7 @@ When splitting (§5), generate one `<svg id="svg-part-N">` per part. Split `CLAS
|
|
|
459
459
|
## 10. Output
|
|
460
460
|
|
|
461
461
|
- Save as `[system_name]_class_diagram.html`
|
|
462
|
+
- **Visual verification (required) — a loop, not a one-shot.** Structural validity ≠ visual validity. If a browser is available, render the HTML to an image, inspect it, and **fix → re-render → repeat until visually clean**. Scan every pass for: box overlaps; boxes off-canvas/clipped; a **multiplicity or role label landing inside a box** or on a line; **any line crossing through a foreign box**; the association-class tether hitting the wrong association; enum boxes overlapping. Do not report the diagram as done until a rendered pass is clean.
|
|
462
463
|
- After saving, briefly state: number of classes, enumerations, relationships, whether split (and why), whether VP export is included
|
|
463
464
|
|
|
464
465
|
---
|
|
@@ -257,6 +257,7 @@ Include at the bottom of every SVG:
|
|
|
257
257
|
## 11. Output
|
|
258
258
|
|
|
259
259
|
- Save as `[entity_name]_state_diagram.html`
|
|
260
|
+
- **Visual verification (required) — a loop, not a one-shot.** Structural validity ≠ visual validity. If a browser is available, render the HTML, inspect it, and **fix → re-render → repeat until visually clean**. Scan for: state-box overlaps; transition **labels/guards landing on a box or on another line**; arrows crossing through a foreign state; the initial/final markers misplaced; self-transitions unreadable. Confirm the lifecycle reads as **non-linear** (branches + returns), not a straight line. Don't report done until a rendered pass is clean.
|
|
260
261
|
- Briefly state: entity modeled, state count, transition count, composite states, whether split
|
|
261
262
|
|
|
262
263
|
---
|
|
@@ -907,6 +907,9 @@ The validator runs locally (no API cost) and catches what the §4 and CR gates c
|
|
|
907
907
|
If the response is `✗ Model invalid`, fix every listed error and call the validator again. **Do not write the HTML file until the validator returns `✓ Model valid`.**
|
|
908
908
|
|
|
909
909
|
After the validator passes, save the HTML as `[system_name]_use_case_diagram.html`.
|
|
910
|
+
|
|
911
|
+
**Visual verification (required) — a loop, not a one-shot.** The validator passing is necessary but NOT sufficient: it does not catch layout problems. If a browser is available, render the HTML and inspect it, then **fix → re-render → repeat until visually clean**. Check **both tabs** (toggle which `.diagram-part` is `hidden`) and open at least one UC modal to confirm the wireframe renders. Scan every pass for: ellipse **overlaps**; actors too close (min ~200px); actor figure detached from its own line; a UC crowded into a **center column** (usually a recipient-only human actor on a system-initiated UC — remove it per §4.1); wide ellipses colliding with the boundary title bar; timing/label text on top of a line. Do not report the diagram as done until a rendered pass of each tab is clean.
|
|
912
|
+
|
|
910
913
|
Briefly report: actor count, use case count, include/extend count, whether split, and any warnings the validator surfaced.
|
|
911
914
|
|
|
912
915
|
---
|