# CLI 0.0.4-microsoft-preview.25

Microsoft migration engine preview. Stable `latest` remains 0.0.3.

## Mermaid node-spacing normalization

- Normalize a line-leading square node declaration from the common model form
  `NodeId ["Label"]` to valid Mermaid `NodeId["Label"]` before grammar
  validation and storage.
- Limit the normalization to standalone, line-leading node IDs. Valid constructs
  such as `subgraph Inbound [Inbound]` remain unchanged.
- Retain preview.24's support for standalone Mermaid `%%` comment lines.

The reported `MODEL_TOOL_LOOP` remained a secondary safeguard: calls 16 through
19 submitted the same invalid architecture. The loop guard and its finite
no-progress limit are unchanged.

## Verification and limits

- 124 Microsoft migration-core tests, 244 CLI tests, and 30 public
  release/installer tests pass, together with TypeScript compilation, CLI lint,
  and production bundling.
- The exact 8,040-character FINACCONT-BT architecture from retained audit call
  16 passes after the bounded normalizer corrects its 93 spaced square-node
  declarations. No source or generated customer artifact was modified.
- This corrects one deterministic Mermaid syntax pattern; it does not establish
  complete Discovery, planning, conversion, runtime business equivalence, or
  Azure deployment. Other invalid or unsupported model output still fails
  closed.

## PowerShell update

```powershell
Invoke-WebRequest 'https://tools.lambogenius.com/lambogenius-integration-migration/0.0.4-microsoft-preview.25/install-cli.ps1' -OutFile install-cli-preview25.ps1
# Review the downloaded script before running it.
& .\install-cli-preview25.ps1 -SkipDependencies
li.cmd --version
```

Expected version: `0.0.4-microsoft-preview.25`. This preview is not promoted to
the stable `latest` alias. Preserve existing reports and generated output, then
use a fresh generated workspace because the Microsoft engine fingerprint
changes. Do not edit fingerprint records to force checkpoint reuse. Installation
does not reset license counters.
