Spanda

Adaptive Operations

Functional domain: Adaptive Learning
Status: Experimental — rule-based statistics and confidence updates; no ML dependency.

Canonical architecture: cognitive-resilience-architecture.md Recovery learning detail: adaptive-recovery.md

Purpose

Improve operational decisions using historical outcomes. Adaptive operations cover recovery strategy selection, confidence updates, and historical recommendations — implemented as transparent rules and statistics, not opaque models.

Capabilities (initial)

Capability Implementation
Rule-based adaptation AdaptiveRecoveryPolicy success-rate thresholds
Statistics StrategySuccessRate, rolling attempt counts
Confidence updates RecoveryConfidence.score from history
Historical recommendations POST /v1/recovery/recommend

Entity integration

Field Description
Entity.recovery_confidence EntityRecoveryConfidencescore, preferred_strategy, attempts

Types (spanda-autonomy)

RecoveryConfidence, RecoveryHistory, StrategySuccessRate, StrategyPreference, AdaptiveRecoveryPolicy

Examples

CLI

spanda recovery confidence
spanda recovery learning-report

API

Surface Endpoint
Recovery metrics GET /v1/recovery/metricsrecovery_confidence
Recovery recommend POST /v1/recovery/recommend
Entity autonomy GET /v1/entities/{id}/autonomyrecovery_confidence

Control Center

Recovery Confidence metric in the Cognitive & Resilience tab.

Integrations

Future (not required now)

ML-backed strategy selection may arrive via official packages — the functional domain boundary remains the same; only the recommendation backend would change.

See responsibility-matrix.md.