provisioning-core/nulib
Jesús Pérez 6f0de7ae89
core: move cluster introspection helpers to domain/cluster (ADR-026 slice 2b)
Complete the cluster decomposition: the 23 introspection helpers (capacity,
kubectl/ssh summaries, live-check, badges) move from cli/components_cluster.nu to
domain/cluster/introspect.nu. cli/components_cluster.nu now holds ONLY the 5
`main cluster *` verbs (963 -> 452 lines). introspect.nu imports downward only
(tools/nickel, domain/cluster/access, platform/clients/ssh, primitives/logging).

Exported 4 previously-private helpers (fmt-gib, k8s-quantity-bytes,
node-operator-labels, cluster-top-legend) so the cli verbs can call them across
the module boundary; dropped a dead comp-dag-summary import. component.nu repoints
its 11 helper imports to introspect.nu.

Verified: module-load of all touched modules (no cycle, no upward import); ADR-026
topology clean across the whole cluster subsystem; cluster --help + component list
run. Concludes slices 2a+2b: cli/components.nu 3611 -> 2410 (-33%).
2026-07-10 07:24:20 +01:00
..
_bootstrap core: clean-start baseline — engine + core_catalog (constellation materialization) 2026-07-09 22:04:35 +01:00
ai core: clean-start baseline — engine + core_catalog (constellation materialization) 2026-07-09 22:04:35 +01:00
catalog core: clean-start baseline — engine + core_catalog (constellation materialization) 2026-07-09 22:04:35 +01:00
cli core: move cluster introspection helpers to domain/cluster (ADR-026 slice 2b) 2026-07-10 07:24:20 +01:00
compliance core: clean-start baseline — engine + core_catalog (constellation materialization) 2026-07-09 22:04:35 +01:00
domain core: push cluster foundation out of cli/components.nu to proper layers (ADR-026 slice 2a) 2026-07-10 07:16:14 +01:00
lib_provisioning core: clean-start baseline — engine + core_catalog (constellation materialization) 2026-07-09 22:04:35 +01:00
main_provisioning core: clean-start baseline — engine + core_catalog (constellation materialization) 2026-07-09 22:04:35 +01:00
orchestration core: clean-start baseline — engine + core_catalog (constellation materialization) 2026-07-09 22:04:35 +01:00
platform core: push cluster foundation out of cli/components.nu to proper layers (ADR-026 slice 2a) 2026-07-10 07:16:14 +01:00
primitives core: clean-start baseline — engine + core_catalog (constellation materialization) 2026-07-09 22:04:35 +01:00
tests core: clean-start baseline — engine + core_catalog (constellation materialization) 2026-07-09 22:04:35 +01:00
tools core: push cluster foundation out of cli/components.nu to proper layers (ADR-026 slice 2a) 2026-07-10 07:16:14 +01:00
commands-registry.ncl core: clean-start baseline — engine + core_catalog (constellation materialization) 2026-07-09 22:04:35 +01:00
env.nu core: clean-start baseline — engine + core_catalog (constellation materialization) 2026-07-09 22:04:35 +01:00