Automation can stabilize a quantum platform, but unsafe automation can amplify faults. The operational question is not whether to automate. It is what may be automated, under which evidence, with what rollback path, and with whose accountability.
View diagram source
flowchart LR
Detect[Detect condition] --> Decide[Policy decision]
Decide --> Act[Automated action]
Act --> Verify[Verify effect]
Verify --> Stable{Stable?}
Stable -- yes --> Record[Record evidence]
Stable -- no --> Rollback[Rollback or escalate]Remediation classes
| Class | Example | Autonomy level |
|---|---|---|
| informational | annotate target health | automatic |
| routing | remove target from pool | policy-bounded automatic |
| workload | pause low-priority jobs | automatic with notification |
| calibration | trigger diagnostic canary | approval or narrow automation |
| physical control | alter pulse/control parameters | strict review |
| claim | freeze public claim | human approval except emergency |
View diagram source
quadrantChart
title Automation risk
x-axis Low reversibility --> High reversibility
y-axis Low impact --> High impact
quadrant-1 Reversible but sensitive
quadrant-2 Avoid autonomous action
quadrant-3 Review irreversible effects
quadrant-4 Good automation candidate
Dashboard annotation: [0.85, 0.2]
Reroute exploratory job: [0.78, 0.45]
Pause claim-grade runs: [0.62, 0.68]
Change pulse parameter: [0.18, 0.88]Action envelopes
An automated agent should have a machine-readable action envelope.
View diagram source
classDiagram
class ActionEnvelope {
agent_id
allowed_actions
forbidden_actions
max_cost_impact
target_scope
data_scope
approval_thresholds
rollback_required
audit_level
}
class ActionRecord {
action_id
trigger
policy_version
pre_state
action
post_state
verification
rollback_pointer
}
ActionEnvelope --> ActionRecordOPA/Rego-style policy evaluation can authorize structured actions, and TLA+ style models can help validate high-consequence state-machine behavior before implementation. [R177] [R179]
Safe rollback
Rollback is not always undo. In quantum operations, the safer target is return to a validated operating state.
View diagram source
stateDiagram-v2
[*] --> Stable
Stable --> Changed
Changed --> Verifying
Verifying --> Stable: checks pass
Verifying --> Degraded: checks fail
Degraded --> Rollback
Rollback --> Stable: validated baseline restored
Rollback --> ManualIntervention: rollback failsA rollback plan defines baseline state, affected workloads, owner, communication path, evidence freeze, canary, validation threshold, and final review.
Guarded remediation loop
View diagram source
flowchart TB
Signal[Signal] --> Classify[Classify severity and scope]
Classify --> Envelope[Check action envelope]
Envelope --> Approval{Approval needed?}
Approval -- no --> Execute[Execute bounded action]
Approval -- yes --> Human[Human approval]
Human --> Execute
Execute --> Canary[Run validation]
Canary --> Outcome{Acceptable?}
Outcome -- yes --> Close[Close action record]
Outcome -- no --> Rollback[Rollback and escalate]Containment controls
| Control | Purpose |
|---|---|
| rate limits | prevent cascading changes |
| scoped permissions | prevent cross-domain overreach |
| cost budgets | prevent runaway execution |
| feature flags | disable automation quickly |
| shadow mode | test decisions before action |
| kill switch | stop automation during incident |
View diagram source
flowchart TB
Agent[Automation agent] --> Scope[Scope]
Agent --> Budget[Budget]
Agent --> RateLimit[Rate limit]
Agent --> KillSwitch[Kill switch]
Agent --> Audit[Audit stream]Operating rule
Automate reversible, bounded, observable actions first. Every autonomous action needs policy, envelope, verification, rollback, and audit evidence.
Additional technical sources: [R273].