mddd-cli 3.0.0 → 3.0.1

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('3.0.0');
19
+ .version('3.0.1');
20
20
 
21
21
  // ==========================================
22
22
  // COMMAND: md init
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mddd-cli",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Official CLI for modular, co-located, and versioned Mermaid Diagram Driven Development (MDDD).",
5
5
  "type": "module",
6
6
  "exports": "./bin/cli.js",
@@ -137,7 +137,7 @@ graph LR
137
137
  \`\`\`mermaid
138
138
  %% @spec-version v1.1.0
139
139
  stateDiagram-v2
140
- [*] --> AnalyzeLegacyCode: Evaluate Coupling & Scope Leaks
140
+ [*] --> AnalyzeLegacyCode: Evaluate code quality, conciseness, and coupling
141
141
  AnalyzeLegacyCode --> FileSystemCheck
142
142
 
143
143
  state FileSystemCheck {
@@ -146,12 +146,12 @@ stateDiagram-v2
146
146
  CheckCoLocation --> AppendToExisting: Target Co-located .spec.md Exists
147
147
  }
148
148
 
149
- CreateMissingSpec --> RenderTopology: Initialize New .spec.md
149
+ CreateMissingSpec --> RenderTopology: Create new colocated .spec.md
150
150
  AppendToExisting --> InjectAuditBlock: Target Existing File Preservation Map
151
151
 
152
152
  state RenderTopology {
153
- [*] --> CodeIsClean: Map exact architecture as-is (v1.0.0)
154
- [*] --> CodeIsChaotic: Draw BOTH current real logic AND ideal target refactored graph
153
+ [*] --> CodeIsClean: Map exact architecture as-is (v1.0.0 - stable)
154
+ [*] --> CodeIsChaotic: Draw BOTH current real logic AND ideal target refactored graph (v1.0.0 - draft)
155
155
  }
156
156
 
157
157
  RenderTopology --> WriteToAuditTag: Inject payloads inside <details> block
@@ -166,8 +166,8 @@ stateDiagram-v2
166
166
  | :--- | :---: | :---: | :--- | :---: | :---: |
167
167
  | Legacy Code Active | ✅ YES | Clean / Modular | Append to existing \`<details><summary>Audit History</summary>\` | ❌ **FORBIDDEN (Immutability)** | Retain Current |
168
168
  | Legacy Code Active | ✅ YES | Chaotic / Coupled | Append to existing \`<details><summary>Audit History</summary>\` | ❌ **FORBIDDEN (Immutability)** | Retain Current |
169
- | Legacy Code Active | ❌ NO | Clean / Modular | Auto-generate Spec File + Map Current Logic | ❌ **FORBIDDEN (Immutability)** | \`v1.0.0\` |
170
- | Legacy Code Active | ❌ NO | Chaotic / Coupled | Auto-generate Spec File + Map Current AND Proposed Logic | ❌ **FORBIDDEN (Immutability)** | \`v1.0.0\` |
169
+ | Legacy Code Active | ❌ NO | Clean / Modular | Generate Spec File + Map Current Logic | ❌ **FORBIDDEN (Immutability)** | \`v1.0.0 - stable\` |
170
+ | Legacy Code Active | ❌ NO | Chaotic / Coupled | Generate Spec File + Map Current Logic AND Proposed Refactoring | ❌ **FORBIDDEN (Immutability)** | \`v1.0.0 - draft\` |
171
171
 
172
172
  ### Missing Spec Auto-Repair Blueprint Requirements
173
173
  * **Enforce Section Injections:** Every generated specification file must structurally enforce: