prvng_core/nulib/lib_provisioning
Jesús Pérez e5ffc55104
refactor(23 files): selective imports + dangling/broken cleanup (ADR-025 L2/L3)
Large combined batch of 23 files refactored from star-imports to selective.
Grouped because two sub-batches accumulated in staging without intermediate
commit.

=== Orchestrator facades (Layer 3) ===
  ai/mod.nu              [12 symbols from ai/lib.nu]
  config/loader.nu       [14 symbols from loader/mod.nu]
  config/accessor/mod.nu [15 symbols from accessor/functions.nu]
  sops/mod.nu            [11 symbols from sops/lib.nu]
  user/mod.nu            [16 symbols from user/config.nu]

=== Selective imports ===
  defs/lists.nu                      utils/on_select (kept, selective)
  services/manager.nu                (all dead dropped)
  webhook/ai_webhook.nu              ai/lib [4] + settings/lib
  kms/lib.nu                         utils/error + utils/interface + plugins/kms
  gitea/locking.nu                   api_client [8]
  gitea/workspace_git.nu             api_client [3]
  gitea/extension_publish.nu         api_client [8] + config/loader
  infra_validator/rules_engine.nu    config_loader [3]
  plugins/kms.nu                     config/accessor/core [config-get]
  coredns/api_client.nu              config/loader [get-config]

=== Dangling imports removed (target file does not exist) ===
  coredns/docker.nu                  ../utils/log.nu → deleted (uses corefile.nu [2])
  coredns/zones.nu                   ../utils/log.nu → deleted (uses corefile.nu [1])
  coredns/service.nu                 ../utils/log.nu → deleted (uses corefile.nu [2])
  coredns/corefile.nu                ../utils/log.nu → deleted

=== Broken paths cleaned up ===
  project/detect.nu   Former `use ../../../lib_provisioning *` resolved to
    non-existent path (core/lib_provisioning). Silent no-op at runtime.
    Removed. Error count went 19 -> 17.

=== Dead imports dropped ===
  utils/ssh.nu           config/accessor DROPPED (dead)
  utils/init.nu          config/accessor DROPPED (dead)
  infra_validator/agent_interface.nu   report_generator DROPPED (dead)

=== Dynamic imports preserved ===
  providers/loader.nu   line 179 `use ($provider_entry.entry_point) *` is
    intentional runtime dispatch — not convertible to selective.

Validation: all files match pre-existing baseline. Gitea subsystem has
known pre-existing 50-error noise (transitive); independent of this work.

Refs: ADR-025
2026-04-17 12:13:13 +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(23 files): selective imports + dangling/broken cleanup (ADR-025 L2/L3) 2026-04-17 12:13:13 +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 feat: update provisioning core CLI, libraries, and plugins 2025-12-11 21:57:05 +00:00
diagnostics refactor(7 files): extensions + diagnostics + sops + packaging (ADR-025 L2) 2026-04-17 09:12:55 +01:00
extensions refactor(5 test files): selective imports + remove dangling (ADR-025 L2) 2026-04-17 09:18:19 +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(23 files): selective imports + dangling/broken cleanup (ADR-025 L2/L3) 2026-04-17 12:13:13 +01:00
layers refactor(module_loader + layers + diagnostics): selective imports (ADR-025 L2/L3) 2026-04-17 09:02:05 +01:00
mode refactor(5 subsystem mod.nu facades): selective re-exports (ADR-025 L3) 2026-04-17 09:11:19 +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(6 production files): plugins_defs + setup + platform + oci + auth_core (ADR-025 L2) 2026-04-17 09:16:21 +01:00
oci_registry chore: codebase 2025-10-07 10:32:04 +01:00
platform refactor(6 production files): plugins_defs + setup + platform + oci + auth_core (ADR-025 L2) 2026-04-17 09:16:21 +01:00
plugins refactor(23 files): selective imports + dangling/broken cleanup (ADR-025 L2/L3) 2026-04-17 12:13:13 +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(6 production files): plugins_defs + setup + platform + oci + auth_core (ADR-025 L2) 2026-04-17 09:16:21 +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(23 files): selective imports + dangling/broken cleanup (ADR-025 L2/L3) 2026-04-17 12:13:13 +01:00
vm refactor(vm/*): selective imports in 4 vm/ files (ADR-025 L2) 2026-04-17 09:06:21 +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(workspace/*): selective imports in 5 files (ADR-025 L2) 2026-04-17 09:04:29 +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 feat(core): three-layer DAG, unified component arch, commands-registry cache, Nushell 0.112.2 migration 2026-04-17 04:27:33 +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