prvng_core/nulib/lib_provisioning/platform
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
..
activation.nu refactor(17 files final batch): selective imports — drive to 94% elimination (ADR-025 L2/L3) 2026-04-17 17:08:10 +01:00
autostart.nu refactor(6 production files): plugins_defs + setup + platform + oci + auth_core (ADR-025 L2) 2026-04-17 09:16:21 +01:00
bootstrap.nu refactor(platform/bootstrap): selective imports + drop 3 dead imports (ADR-025 L2) 2026-04-17 08:01:04 +01:00
cli.nu refactor(platform/cli): selective imports + stub dead platform-config (ADR-025 L2) 2026-04-17 07:58:00 +01:00
connection.nu refactor(17 files final batch): selective imports — drive to 94% elimination (ADR-025 L2/L3) 2026-04-17 17:08:10 +01:00
credentials.nu refactor(17 files final batch): selective imports — drive to 94% elimination (ADR-025 L2/L3) 2026-04-17 17:08:10 +01:00
discovery.nu refactor(17 files final batch): selective imports — drive to 94% elimination (ADR-025 L2/L3) 2026-04-17 17:08:10 +01:00
health.nu refactor(17 files final batch): selective imports — drive to 94% elimination (ADR-025 L2/L3) 2026-04-17 17:08:10 +01:00
mod.nu refactor(platform/mod): selective re-exports replace 8 star re-exports (ADR-025 L3) 2026-04-17 08:10:24 +01:00
provctl.nu feat: update provisioning core CLI, libraries, and plugins 2025-12-11 21:57:05 +00:00
service-manager.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
startup.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
target.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