# CLI 0.0.4-microsoft-preview.41

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

## Parser-authoritative transport-association repair

- Adds a revision-bound component correction that changes only transport
  associations proven by parsed BizTalk orchestration `portBindings` evidence.
- Reports the exact affected component IDs and expected association values, so
  association-only mismatches can be repaired without replaying full component
  inventories or selecting target transports.
- Suppresses source- and transport-clear suggestions when the corresponding
  provenance or mapping field is absent.
- Accepts an authorized complete transport-mapping upsert as authoritative over
  a redundant same-ID transport clear, while preserving all remove/upsert,
  cross-clear, stale-revision, schema, source-evidence, Mermaid, and atomic
  persistence safeguards.
- Updates the packaged BizTalk discovery guidance to require the bounded
  authoritative operation for association-only mismatches.
- Retains preview.40's atomic grouped/ungrouped reconciliation and preview.39's
  complete parser-proven shared-binding repair.

The fresh preview.40 qualification passed precheck, parsed all 180 selected
BizTalk artifacts, and verified grouping after 12 model/tool rounds. Discovery
then found 22 receive/send endpoints whose submitted `exact` association
contradicted direct application-level orchestration bindings. The model supplied
the correct replacement rows but paired them with redundant clears, later sent
out-of-scope rows, and finally repeated an unchanged no-op correction in calls
22 through 25. The host rejected every attempt atomically and stopped without
claiming success. Preview.41 makes that parser-owned correction bounded and
deterministic instead of increasing model-call limits or weakening validation.

## Verification and limits

- 197 Microsoft migration-core tests, 257 CLI tests, and 30
  release/installer/documentation tests pass. The VS Code extension has 24
  passing tests and one expected pending POSIX-permission test on Windows;
  repository lint, TypeScript compilation, and production builds pass.
- Regression coverage includes association-only authoritative repair, bulk
  endpoint correction, redundant-clear normalization, stale/no-op rejection,
  both parser-proven association directions, mixed unresolved transport errors,
  and preservation of unrelated fields and the stored Mermaid diagram.
- The failed preview.40 evidence remains under
  `failure-evidence/2026-09-22T11-09-54-preview40-discovery-transport-association-loop`
  in the test workspace. It establishes a model/tool convergence defect, not a
  missing binding, missing dependency, or successful discovery.
- A complete fresh FINACCONT2024Backup-BT migration with preview.41 remains a
  post-publication qualification step.
- This preview does not claim an Azure deployment, deployed Logic Apps runtime
  test, or business equivalence.

## PowerShell update

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

Expected version: `0.0.4-microsoft-preview.41`. This preview is not promoted to
the stable `latest` alias. Preserve existing reports and generated output before
upgrading. Use a fresh generated workspace because the Microsoft engine
fingerprint changed; do not edit fingerprint records to force checkpoint reuse.
Installation does not reset license counters.
