What-If Analysis is the first NEXT differentiation pillar promoted to Stable tier.
Promoted 2026-07-02 after what_if_stable_promotion_gate.sh.
Related: what-if-analysis.md · feature-status.md · differentiation-roadmap.md
| Gate | Requirement | Status |
|---|---|---|
| Crate tests | cargo test -p spanda-whatif |
Shipped |
| CLI smoke | scripts/what_if_smoke.sh |
Shipped |
| Demo | spanda demo what-if |
Shipped |
| Showcase | examples/showcase/what_if/gps_failure.sd |
Shipped |
| Control Center REST | GET /v1/analytics/what-if |
Shipped |
| Control Center gRPC | GetAnalyticsWhatIf (proto 1.0.14) |
Shipped |
| SDK wrappers | Rust / Python / TypeScript analyticsWhatIf |
Shipped |
| Stable gate script | scripts/what_if_stable_promotion_gate.sh |
Shipped |
| Field soak | 30-day operational pilot | Pending — .spanda/what-if-field-soak-start.txt |
| Security audit | Third-party review of scenario injection paths | Pending — ./scripts/what_if_security_audit_prep.sh |
# Start 30-day pilot clock (UTC) — one-time
./scripts/what_if_field_soak_init.sh
# Generate audit intake artifact
./scripts/what_if_security_audit_prep.sh
# Full gate (after soak + audit, or CI with skips):
chmod +x scripts/what_if_stable_promotion_gate.sh
./scripts/what_if_stable_promotion_gate.sh
# CI / local dev without soak or audit:
SPANDA_WHATIF_SKIP_SOAK=1 SPANDA_WHATIF_SKIP_AUDIT=1 ./scripts/what_if_stable_promotion_gate.sh
# CI after what-if-smoke job (skip duplicate smoke):
SPANDA_WHATIF_SKIP_SOAK=1 SPANDA_WHATIF_SKIP_AUDIT=1 SPANDA_WHATIF_SKIP_SMOKE=1 \
./scripts/what_if_stable_promotion_gate.sh
The gate runs:
SPANDA_WHATIF_SKIP_SOAK=1)SPANDA_WHATIF_SKIP_AUDIT=1)scripts/what_if_smoke.sh (unless SPANDA_WHATIF_SKIP_SMOKE=1)spanda-whatif + differentiation analytics API testsGET /v1/analytics/what-if?all=1Promoted to Stable in docs/feature-status.md, ROADMAP.md, and
differentiation-roadmap.md.
Remaining NEXT pillars (risk, forecast, trust graph, scorecards) promoted Stable — see sibling stable-hardening guides.
| Gate | Status |
|---|---|
| 30-day what-if field soak | Pending — ./scripts/what_if_field_soak_init.sh |
| Third-party security audit sign-off | Pending — ./scripts/what_if_security_audit_prep.sh |