# CLI 0.0.4-microsoft-preview.9

Opt-in evaluation preview. Stable `latest` remains 0.0.3.

## Stage progress and reports

- Standalone precheck, discovery, planning, conversion, testing, deployment
  packaging, and cost estimation display timestamped start and finish/failure
  messages with model token totals and a Markdown report path.
- Interactive terminals show an animated activity line with the current operation
  and elapsed time. Precheck identifies prerequisite checks, source binding and
  dependency scanning, provider availability checks, and report writing.
- Standalone precheck, testing, and packaging run local checks in worker threads
  so synchronous work does not freeze the terminal activity indicator.
- Batch-configured standalone precheck identifies each solution separately and
  writes its reports under `reportDirectory/<solution-id>/`.
- Missing application bindings remain a failed precheck with corrective guidance,
  zero model calls, and exit code 2. They never produce a success tick.
- Human-readable precheck output lists Markdown first and JSON second. Explicit
  `--json` output remains machine-readable, without animation or stage logs.
- Redirected output uses plain-text progress and periodic heartbeats.

## Verification and preview limitations

188 CLI tests, TypeScript compilation, lint, production bundle, and the bundled
precheck smoke test passed on Windows before packaging. The smoke test verifies
timestamped lifecycle messages, current-work descriptions, missing-binding
failure, zero model tokens, Markdown paths, and parseable JSON output.

This remains the Microsoft-backed migration preview, not production migration
certification. Customer orchestration equivalence, complete Ollama migrations,
Copilot live migrations, and macOS execution remain unqualified. No customer
conversion or Azure deployment was performed for this progress update.

Checkpoint fingerprints include implementation changes. Preserve previous outputs
and reports, and use a fresh generated workspace when testing a new preview.
Do not edit checkpoint fingerprints to force reuse.

## PowerShell update

```powershell
Invoke-WebRequest 'https://tools.lambogenius.com/lambogenius-integration-migration/0.0.4-microsoft-preview.9/install-cli.ps1' -OutFile install-cli-preview.ps1
# Review the script before execution; respect your organization's execution policy.
./install-cli-preview.ps1 -SkipDependencies
li.cmd --version
li.cmd precheck --config .\migration.config.batch.win.yaml
```

Omit `-SkipDependencies` to install missing prerequisites. Updating preserves
activation and usage counters. Use `li.cmd` to avoid PowerShell's built-in `li` alias.
