prvng_core/nulib/lib_provisioning/vm
Jesús Pérez 844f6f9297
refactor(17 files final batch): selective imports — drive to 94% elimination (ADR-025 L2/L3)
Final large batch of single-star conversions.

Orchestrator facades (Layer 3, expanded to explicit symbol lists):
  config/accessor.nu          18 symbols (bridges accessor/mod)
  config/accessor_generated.nu 18 symbols (consumer of accessor)
  utils/version.nu            35 symbols (bridges version/mod)
  dependencies/mod.nu         7 symbols from resolver.nu
  oci_registry/mod.nu         12 multi-word "oci-registry X" subcommands
  oci/commands.nu             12 symbols from oci/client.nu

Selective imports (Layer 2):
  platform/discovery.nu       target.nu [5 symbols]
  platform/health.nu          target.nu [2 symbols]
  platform/connection.nu      user/config [get-active-workspace]
  vm/preparer.nu              vm/detector [check-vm-capability]
  vm/backend_libvirt.nu       result.nu [7 symbols]
  extensions/tests/test_versions.nu  versions [5 symbols]
  utils/version/loader.nu     utils/nickel_processor [ncl-eval ncl-eval-soft]

Dead imports dropped:
  platform/credentials.nu     user/config
  platform/activation.nu      target
  config/cache/core.nu        cache/metadata
  config/interpolation/core.nu helpers/environment
  utils/version/loader.nu     version/core (kept nickel_processor)

Validation: all 17 files match pre-existing baselines (or 0 errors for clean
ones). Pre-existing noise in vm/, dependencies/, oci_registry/, oci/commands
is known transitive — unrelated to this work.

MILESTONE: 94% of star-imports eliminated (370 → 21).

Remaining 21 star-lines in 6 files are intentional exceptions:
- integrations/mod.nu      (2 stars, re-exports already-selective children;
                            acceptable bounded scope)
- cmd/environment.nu       (3 stars, contains ~7 undefined function calls —
                            needs Blocker-1 style cleanup in follow-up commit)
- providers/loader.nu      (1 dynamic `use ($entry_point) *` — runtime dispatch)
- vm/cleanup_scheduler.nu  (1 in string template — not a real import)
- lib_provisioning/mod.nu  (13 stars — root facade; empties in ADR-025 Phase 4)

Refs: ADR-025
2026-04-17 17:08:10 +01:00
..
backend_libvirt.nu refactor(17 files final batch): selective imports — drive to 94% elimination (ADR-025 L2/L3) 2026-04-17 17:08:10 +01:00
cleanup_scheduler.nu refactor(cache/coredns/extensions/vm): selective imports — 6 files (ADR-025 L2) 2026-04-17 08:47:32 +01:00
detector.nu chore: Fix try cath and nushell bugs, fix long script files, review for nu 0.110.0 2026-01-21 10:24:17 +00:00
golden_image_builder.nu refactor(vm/*): selective imports in 4 vm/ files (ADR-025 L2) 2026-04-17 09:06:21 +01:00
golden_image_cache.nu feat(core): three-layer DAG, unified component arch, commands-registry cache, Nushell 0.112.2 migration 2026-04-17 04:27:33 +01:00
lifecycle.nu refactor(vm/*): selective imports in 4 vm/ files (ADR-025 L2) 2026-04-17 09:06:21 +01:00
mod.nu feat: update provisioning core CLI, libraries, and plugins 2025-12-11 21:57:05 +00:00
multi_tier_deployment.nu refactor(vm/version/auth_impl): selective imports batch (ADR-025 L2) 2026-04-17 08:41:12 +01:00
nested_provisioning.nu refactor(cache/coredns/extensions/vm): selective imports — 6 files (ADR-025 L2) 2026-04-17 08:47:32 +01:00
network_management.nu chore: Fix try cath and nushell bugs, fix long script files, review for nu 0.110.0 2026-01-21 10:24:17 +00:00
persistence.nu chore: Fix try cath and nushell bugs, fix long script files, review for nu 0.110.0 2026-01-21 10:24:17 +00:00
preparer.nu refactor(17 files final batch): selective imports — drive to 94% elimination (ADR-025 L2/L3) 2026-04-17 17:08:10 +01:00
ssh_utils.nu refactor(vm/*): selective imports in 4 vm/ files (ADR-025 L2) 2026-04-17 09:06:21 +01:00
state_recovery.nu refactor(vm/*): selective imports in 4 vm/ files (ADR-025 L2) 2026-04-17 09:06:21 +01:00
vm_persistence.nu refactor(cache/coredns/extensions/vm): selective imports — 6 files (ADR-025 L2) 2026-04-17 08:47:32 +01:00
volume_management.nu chore: Fix try cath and nushell bugs, fix long script files, review for nu 0.110.0 2026-01-21 10:24:17 +00:00