xian-stack is the local runtime backend for Xian. It owns Docker images,
Compose topology, monitoring assets, localnet flows, and backend validation. It
is the implementation surface behind local operator workflows, not the primary
operator UX itself.
Validate the stack:
python3 ./scripts/backend.py validateRun a local stack-managed node:
python3 ./scripts/backend.py start --no-service-node --dashboard --monitoring
python3 ./scripts/backend.py status --no-service-node --dashboard --monitoring
python3 ./scripts/backend.py endpoints --no-service-node --dashboard --monitoring
python3 ./scripts/backend.py health --no-service-node --dashboard --monitoring
python3 ./scripts/backend.py stop --no-service-node --dashboard --monitoringRun a localnet workload:
python3 ./scripts/backend.py localnet-init --nodes 4 --topology integrated --clean
python3 ./scripts/backend.py localnet-up --wait-for-health --rpc-timeout-seconds 120
python3 ./scripts/backend.py localnet-workload --scenario counter_basicxian-stackowns runtime plumbing, images, and smoke-tested local flows. User-facing lifecycle orchestration belongs inxian-cli.- The stable machine-facing contract is
scripts/backend.py. TheMakefileremains the developer and debugging surface. - Monitoring, dashboard, and BDS are optional stack layers. They should be easy to enable without becoming required to understand the core node.
xian-intentkitcan be attached as another optional stack-managed service without copying its compose topology into this repo.- Localnet and smoke flows matter as product safety nets, not just as internal convenience scripts.
docker/: runtime images and container build definitionsscripts/: backend control plane, smoke flows, and localnet toolingmonitoring/: Prometheus, Grafana, dashboards, and alert presetsworkloads/: localnet workload fixtures and contractsdocs/: repo-local runtime and release notes
- build and run the local Xian runtime in
integratedorfidelitytopology - run canonical-network nodes from pinned published
xian-noderelease images while keeping source builds available as a local override - expose a stable machine-facing backend command surface through
scripts/backend.py - start optional dashboard, BDS, Prometheus, and Grafana layers
- attach a stack-managed
xian-intentkitdeployment while keeping its repo and compose files independent - run smoke checks and CLI-driven smoke flows
- initialize multi-node localnets and drive workload scenarios against them
- ship monitoring dashboards and alert rules that match the validated operator profiles
The stable backend interface is scripts/backend.py. It covers:
validatestart,stop, andstatusendpointsandhealthsmokeandsmoke-clilocalnet-*flows
Use the Makefile directly for lower-level debugging, image builds, and
developer shell access.
Use xian-cli for the human-facing operator workflows built on top of this
backend contract.
make validate
make smoke
make smoke-climake smoke is the main repo safety net. make smoke-cli is the cross-repo
operator-flow gate.