prvng_core/nulib/lib_provisioning
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
..
ai refactor(23 files): selective imports + dangling/broken cleanup (ADR-025 L2/L3) 2026-04-17 12:13:13 +01:00
cache refactor(cache/coredns/extensions/vm): selective imports — 6 files (ADR-025 L2) 2026-04-17 08:47:32 +01:00
cmd refactor(cmd/lib + config/loader/core + config/encryption): selective (ADR-025 L2) 2026-04-17 08:58:20 +01:00
commands chore: complete KCL to Nickel migration cleanup and setup pre-commit 2026-01-08 20:08:46 +00:00
config refactor(17 files final batch): selective imports — drive to 94% elimination (ADR-025 L2/L3) 2026-04-17 17:08:10 +01:00
coredns refactor(23 files): selective imports + dangling/broken cleanup (ADR-025 L2/L3) 2026-04-17 12:13:13 +01:00
defs refactor(23 files): selective imports + dangling/broken cleanup (ADR-025 L2/L3) 2026-04-17 12:13:13 +01:00
dependencies refactor(17 files final batch): selective imports — drive to 94% elimination (ADR-025 L2/L3) 2026-04-17 17:08:10 +01:00
diagnostics refactor(7 files): extensions + diagnostics + sops + packaging (ADR-025 L2) 2026-04-17 09:12:55 +01:00
extensions refactor(17 files final batch): selective imports — drive to 94% elimination (ADR-025 L2/L3) 2026-04-17 17:08:10 +01:00
gitea refactor(23 files): selective imports + dangling/broken cleanup (ADR-025 L2/L3) 2026-04-17 12:13:13 +01:00
infra_validator refactor(23 files): selective imports + dangling/broken cleanup (ADR-025 L2/L3) 2026-04-17 12:13:13 +01:00
integrations refactor(5 subsystem mod.nu facades): selective re-exports (ADR-025 L3) 2026-04-17 09:11:19 +01:00
kms refactor(15 single-star batch 3): selective imports + dead drop (ADR-025 L2) 2026-04-17 12:17:22 +01:00
layers refactor(module_loader + layers + diagnostics): selective imports (ADR-025 L2/L3) 2026-04-17 09:02:05 +01:00
mode refactor(10 files): selective imports batch 4 (ADR-025 L2) 2026-04-17 12:20:21 +01:00
nickel 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
oci refactor(17 files final batch): selective imports — drive to 94% elimination (ADR-025 L2/L3) 2026-04-17 17:08:10 +01:00
oci_registry refactor(17 files final batch): selective imports — drive to 94% elimination (ADR-025 L2/L3) 2026-04-17 17:08:10 +01:00
platform refactor(17 files final batch): selective imports — drive to 94% elimination (ADR-025 L2/L3) 2026-04-17 17:08:10 +01:00
plugins refactor(15 single-star batch 3): selective imports + dead drop (ADR-025 L2) 2026-04-17 12:17:22 +01:00
project refactor(23 files): selective imports + dangling/broken cleanup (ADR-025 L2/L3) 2026-04-17 12:13:13 +01:00
providers refactor(utils/clean + providers/registry + plugins/auth): selective (ADR-025 L2) 2026-04-17 08:54:33 +01:00
services refactor(23 files): selective imports + dangling/broken cleanup (ADR-025 L2/L3) 2026-04-17 12:13:13 +01:00
setup refactor(15 single-star batch 3): selective imports + dead drop (ADR-025 L2) 2026-04-17 12:17:22 +01:00
sops refactor(23 files): selective imports + dangling/broken cleanup (ADR-025 L2/L3) 2026-04-17 12:13:13 +01:00
user refactor(23 files): selective imports + dangling/broken cleanup (ADR-025 L2/L3) 2026-04-17 12:13:13 +01:00
utils refactor(17 files final batch): selective imports — drive to 94% elimination (ADR-025 L2/L3) 2026-04-17 17:08:10 +01:00
vm refactor(17 files final batch): selective imports — drive to 94% elimination (ADR-025 L2/L3) 2026-04-17 17:08:10 +01:00
webhook refactor(23 files): selective imports + dangling/broken cleanup (ADR-025 L2/L3) 2026-04-17 12:13:13 +01:00
workspace refactor(10 files): selective imports batch 4 (ADR-025 L2) 2026-04-17 12:20:21 +01:00
context.nu chore: complete KCL to Nickel migration cleanup and setup pre-commit 2026-01-08 20:08:46 +00:00
deploy.nu refactor(15 single-star batch 3): selective imports + dead drop (ADR-025 L2) 2026-04-17 12:17:22 +01:00
deploy.nu.example chore: fix more try/catch and errors 2026-01-17 03:57:20 +00:00
fluent_daemon.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
mod.nu fix(core): resolve undefined symbols hidden by lib_provisioning star-imports 2026-04-17 07:46:03 +01:00
module_loader.nu refactor(module_loader + layers + diagnostics): selective imports (ADR-025 L2/L3) 2026-04-17 09:02:05 +01:00
nupm.nuon chore: codebase 2025-10-07 10:32:04 +01:00
packaging.nu refactor(7 files): extensions + diagnostics + sops + packaging (ADR-025 L2) 2026-04-17 09:12:55 +01:00
plugins_defs.nu refactor(6 production files): plugins_defs + setup + platform + oci + auth_core (ADR-025 L2) 2026-04-17 09:16:21 +01:00
result.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
tera_daemon.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