- DAG architecture: `dag show/validate/export` (nulib/main_provisioning/dag.nu),
config loader (lib_provisioning/config/loader/dag.nu), taskserv dag-executor.
Backed by schemas/lib/dag/*.ncl; orchestrator emits NATS events via
WorkspaceComposition::into_workflow. See ADR-020, ADR-021.
- Unified Component Architecture: components/mod.nu, main_provisioning/
{components,workflow,extensions,ontoref-queries}.nu. Full workflow engine with
topological sort and NATS subject emission. Blocks A-H complete (libre-daoshi).
- Commands-registry: nulib/commands-registry.ncl (Nickel source, 314 lines) +
JSON cache at ~/.cache/provisioning/commands-registry.json rebuilt on source
change. cli/provisioning fast-path alias expansion avoids cold Nu startup.
ADDING_COMMANDS.md documents new-command workflow.
- Platform service manager: service-manager.nu (+573), startup.nu (+611),
service-check.nu (+255); autostart/bootstrap/health/target refactored.
- Nushell 0.112.2 migration: removed all try/catch and bash redirections;
external commands prefixed with ^; type signatures enforced. Driven by
scripts/refactor-try-catch{,-simplified}.nu.
- TTY stack: removed shlib/*-tty.sh; replaced by cli/tty-dispatch.sh,
tty-filter.sh, tty-commands.conf.
- New domain modules: images/ (golden image lifecycle), workspace/{state,sync}.nu,
main_provisioning/{bootstrap,cluster-deploy,fip,state}.nu, commands/{state,
build,integrations/auth,utilities/alias}.nu, platform.nu expanded (+874).
- Config loader overhaul: loader/core.nu slimmed (-759), cache/core.nu
refactored (-454), removed legacy loaders/file_loader.nu (-330).
- Thirteen new provisioning-<domain>.nu top-level modules for bash dispatcher.
- Tests: test_workspace_state.nu (+351); updates to test_oci_registry,
test_services.
- README + CHANGELOG updated.
53 lines
1.3 KiB
Text
53 lines
1.3 KiB
Text
export use ops.nu *
|
|
|
|
export use query.nu *
|
|
|
|
# create.nu, delete.nu, status.nu, update.nu are handled by dispatcher
|
|
# Do not export them to avoid "main create", "main delete" etc conflicting with dispatch routing
|
|
# export use create.nu *
|
|
# export use delete.nu *
|
|
# export use status.nu *
|
|
# export use update.nu *
|
|
export use generate.nu *
|
|
|
|
# Modular command system (refactored)
|
|
export use flags.nu *
|
|
export use dispatcher.nu *
|
|
export use commands/guides.nu *
|
|
|
|
export use tools.nu *
|
|
export use sops.nu *
|
|
export use secrets.nu *
|
|
export use ai.nu *
|
|
export use contexts.nu *
|
|
export use extensions.nu *
|
|
export use taskserv.nu *
|
|
|
|
# Strategic commands
|
|
export use module.nu *
|
|
export use layer.nu *
|
|
export use version.nu *
|
|
# Commented out - causes infinite loop, use handle_pack in commands/development.nu instead
|
|
# export use pack.nu *
|
|
export use workflow.nu *
|
|
export use ontoref-queries.nu *
|
|
export use dag.nu *
|
|
export use components.nu *
|
|
export use batch.nu *
|
|
export use bootstrap.nu *
|
|
export use cluster-deploy.nu *
|
|
export use orchestrator.nu *
|
|
export use workspace.nu *
|
|
export use template.nu *
|
|
|
|
# Platform services
|
|
export use control-center.nu *
|
|
export use mcp-server.nu *
|
|
#export use main.nu *
|
|
|
|
# export use server.nu *
|
|
#export use task.nu *
|
|
|
|
#export use server/server_delete.nu *
|
|
|
|
#export module instances.nu
|