Spanda’s Operational Readiness Engine answers one question:
Can this robot safely perform this mission right now?
It composes existing platform gates — hardware verification, capability verification, health checks, connectivity validation, safety rules, and mission requirements — into a single weighted readiness score and go/no-go report.
spanda readiness examples/showcase/readiness/rover.sd
spanda readiness examples/showcase/readiness/rover.sd --target RoverV1
spanda readiness examples/showcase/readiness/rover.sd --runtime
spanda readiness examples/showcase/readiness/rover.sd --runtime --inject-health-faults
spanda readiness examples/showcase/readiness/rover.sd --json
spanda readiness examples/showcase/readiness/rover.sd --agent-json
spanda readiness examples/showcase/policy/warehouse.sd --policy WarehousePolicy
spanda readiness examples/showcase/secure_boot/rover.sd --agent Rover@Jetson
spanda check examples/showcase/readiness/rover.sd --readiness-json --json
spanda demo readiness
--runtime — evaluate against live hardware monitor signals (health checks use runtime
fault/event state).--inject-health-faults — simulate degraded sensors for what-if analysis (pairs with
--runtime).GET /v1/readiness on deploy and fleet agents; query runtime=true and
inject_health_faults=true for on-device evaluation.POST /v1/program on deploy and fleet agents to upload .sd source for live readiness.spanda deploy agent readiness <Robot@Hardware> and `spanda fleet agent readiness
--agent-json on spanda readiness — same JSON envelope as agent GET /v1/readiness (for
scripts, CI, and local parity checks).spanda check --readiness-json — merges operational readiness diagnostics with
recovery-policy diagnostics (recovery:policy, recovery:approval, recovery:fleet) and
continuity-policy diagnostics (continuity:policy, continuity:fleet, continuity:approval,
continuity:handoff). See verification-diagnostics.md.packages/web for local scoring or agent
fetch.Example output:
Mission Ready: YES
Score: 92/100
Issues:
* LTE signal weak
* Camera calibration due in 5 days
* Battery below recommended threshold
| Factor | Source |
|---|---|
| Hardware | spanda verify / hardware profiles |
| Capabilities | Capability registry + minimum hardware |
| Health | health_check declarations |
| Connectivity | Connectivity policy + hardware |
| Safety | Minimum capabilities + kill switches |
| Battery | Mission duration vs battery budget |
| Storage / Compute | Resource budgets (when declared) |
| Packages / Providers | Traceability matrix |
| Mission Requirements | mission { requires capabilities [...] } |
| Operational policy | spanda readiness --policy <name> — weighted OperationalPolicy factor and policy violations as readiness issues |
When --policy <name> is set, readiness evaluation merges verify-time operational policy rules into
the report:
High for errors, Medium for warnings)mission_ready = false when the policy failsUse the same flag with deployment gates: spanda deploy gate <file.sd> --operational-policy <name>.
See policy-engine.md.
ReadinessStatus — Ready, Degraded, NotReady, UnknownReadinessReport — full evaluation with score and issuesReadinessScore — weighted total and per-factor breakdownReadinessIssue — severity, factor, message, suggested actionReadinessPolicy — minimum score threshold and factor weights| Command | Purpose |
|---|---|
spanda readiness <file.sd> |
Unified readiness evaluation |
spanda verify mission <file.sd> |
Mission achievability check |
spanda fleet readiness <file.sd> |
Fleet-level readiness |
spanda twin readiness <file.sd> |
Physical vs digital twin drift |
spanda audit <file.sd> |
Autonomous safety auditor |
Rust API: spanda-readiness (evaluate_readiness, ReadinessReport, …)
See also: Mission Verification, Fleet Readiness, Safety Reporting.