mddd-cli 4.0.3 → 4.0.5
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/bin/cli.js
CHANGED
|
@@ -16,7 +16,7 @@ const program = new Command();
|
|
|
16
16
|
program
|
|
17
17
|
.name('md')
|
|
18
18
|
.description('Manager for co-located specifications for Mermaid Diagram Driven Development (MDDD)')
|
|
19
|
-
.version('4.0.
|
|
19
|
+
.version('4.0.5');
|
|
20
20
|
|
|
21
21
|
// ==========================================
|
|
22
22
|
// COMMAND: md init
|
package/package.json
CHANGED
|
@@ -21,7 +21,7 @@ stateDiagram-v2
|
|
|
21
21
|
CheckCode --> EvaluatedCodeIsChaotic: Draw BOTH current chaotic logic AND ideal target refactored graph (v1.0.0 - draft)
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
RenderTopology --> CheckDiagram: Use
|
|
24
|
+
RenderTopology --> CheckDiagram: Use mmdc -i <path/to/diagram.md> --checkSyntax to validate diagram syntax
|
|
25
25
|
|
|
26
26
|
state CheckDiagram {
|
|
27
27
|
[*] --> DiagramValid: Proceed to next step
|
|
@@ -22,7 +22,7 @@ stateDiagram-v2
|
|
|
22
22
|
[*] --> IncrementMajor: Increment Major: Bump X in X.Y.Z
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
IncrementVersion --> CheckDiagram: Use
|
|
25
|
+
IncrementVersion --> CheckDiagram: Use mmdc -i <path/to/diagram.md> --checkSyntax to validate diagram syntax
|
|
26
26
|
|
|
27
27
|
state CheckDiagram {
|
|
28
28
|
[*] --> TryRender
|
|
@@ -19,7 +19,7 @@ stateDiagram-v2
|
|
|
19
19
|
|
|
20
20
|
EvaluateContext --> GenerateBlueprint: Create .spec.md from "src/templates/spec-template.md".
|
|
21
21
|
GenerateBlueprint --> FormatSpecOutput: Format blueprint into target .spec.md structure
|
|
22
|
-
FormatSpecOutput --> CheckDiagram: Use
|
|
22
|
+
FormatSpecOutput --> CheckDiagram: Use mmdc -i <path/to/diagram.md> --checkSyntax to validate diagram syntax
|
|
23
23
|
|
|
24
24
|
state CheckDiagram {
|
|
25
25
|
[*] --> DiagramValid: Proceed to next step
|
package/system_prompt.md
CHANGED
|
@@ -217,7 +217,7 @@ The UNIVERSAL RULE is now integrated into the main processing diagram at the top
|
|
|
217
217
|
|
|
218
218
|
**Before ANY action, the system MUST verify that a `.spec.md` file exists for the target domain/feature.** If no spec exists, only `md-new` and `md-audit` skills are allowed to proceed (to create or propose a spec). All other skills (`md-impl`, `md-edit`, etc.) are DENIED without an existing specification.
|
|
219
219
|
|
|
220
|
-
Diagrams: Always use
|
|
220
|
+
Diagrams: Always use mmdc -i <path/to/diagram.md> --checkSyntax to validate diagram syntax (Mandatory)
|
|
221
221
|
|
|
222
222
|
```mermaid
|
|
223
223
|
%% @spec-version v2.0.0
|