Enterprise Operations, Reliability, and FinOps Reference
Consolidate the operating contract for admission, capacity, budgets, reliability, continuity, incidents, and cost per accepted outcome.
The chapter in one pass.
- Purpose: Consolidate the operating contract for admission, capacity, budgets, reliability, continuity, incidents, and cost per accepted outcome.
- Operating unit: A governed workflow and exact factory-system version, not an undifferentiated pool of model calls.
- Reliability rule: Retry, replay, resume, failover, and recovery have different safety preconditions.
- Evidence boundary: SLOs and runbooks are promises. Exercised, versioned results prove operating capability.
1. Responsibility model
Platform operations owns scheduler, queues, worker and environment capacity, service health, continuity, and operational controls. Reliability owners set SLIs/SLOs, error budgets, alerts, incident and recovery practices. Finance and product owners define budgets and value allocation. Workflow owners define deadlines and quality. Security can restrict or contain regardless of unused capacity. No role may trade away hard safety boundaries to meet throughput.
2. Operating matrix
| Domain | Required contract | Control evidence |
|---|---|---|
| Admission | Eligibility, risk, deadline, quota, full cost ceiling, dependencies | Decision, reason, reservation, policy version |
| Scheduling | Priority, aging, fairness, locality, concurrency, preemption | Queue decisions and starvation/fairness measures |
| Capacity | Model, tool, worker, environment, storage, CI, reviewer forecasts | Reservations, utilization, saturation, forecast error |
| Budget | Per attempt/workflow/system/tenant limits and exception | Reserved/actual/avoided/unallocated cost ledger |
| Reliability | SLI, SLO, error budget, alert, owner, runbook | SLO windows, burn alerts, decisions, recovery tests |
| Continuity | Failure domains, RTO/RPO, backup, failover, reconciliation | Restore and failover exercise with retained gaps |
| Lifecycle | Version rollout, maintenance, deprecation, retirement | Change, compatibility, drain, and deletion records |
| Incident | Severity, command, communication, preservation, closure | Timeline, controls, notifications, verified recovery, postmortem |
3. Scheduling and capacity contract
Admission reserves a maximum for model tokens/calls, tools, workers, environments, storage, CI, evaluation, and human review. The scheduler assigns eligible work using priority, age, tenant share, deadline, risk, locality, qualification, and concurrency keys. Reservations expire. Preemption occurs only at safe checkpoints and records lost work. Backpressure reaches the requester; queues do not imply an unbounded promise.
Capacity planning uses arrival rates, service-time distributions, retries, failure bursts, rollout overlap, provider quotas, recovery reserves, and human review demand. Protect capacity for cancellation, containment, reconciliation, verification, and incident response.
4. Cost and value model
accepted-outcome cost =
model + retrieval + tools + workers + environments + storage + network + CI
+ evaluation + delivery + failed/retried work + human attention
Attribute by workflow, system, repository, tenant, capability, model profile, attempt, release, and outcome. Separate reservation from actuals, accepted from failed work, and marginal from shared allocation. Record the allocation rule. Optimize cost only alongside quality, latency, reliability, risk, and customer value. Cost per token is not a factory outcome.
5. SLI, SLO, and error-budget catalog
| SLI | Scope | Example objective and response |
|---|---|---|
| Admission availability/latency | Workflow/risk/region | Fast enough to avoid duplicate submissions; fail closed for authority |
| Dispatch latency | Priority class | Deadline-aware; alert on sustained queue age |
| State-transition durability | Control records | No acknowledged loss; reconcile any ambiguity |
| Tool/model success | Profile and dependency | Exclude policy and business rejections from provider reliability |
| Control enforcement time | Risk tier | Reserved capacity and escalation on breach |
| Verification completion | Quality contract | Separate slow evaluator from failed candidate |
| Accepted-outcome rate | Workflow slice | Tie reliability to actual accepted completion |
| Recovery time and point | Failure domain | Exercise against declared RTO/RPO |
| Cost budget adherence | System/workflow | Stop or escalate before hard ceiling |
Error-budget burn may freeze configuration changes, reduce concurrency, restrict autonomy, switch to a qualified fallback, or prioritize reliability. Security and safety violations receive direct incident policy rather than being averaged into an availability budget.
6. Retry, replay, resume, and reconciliation
| Mechanism | Use | Safety precondition |
|---|---|---|
| Retry | Repeat a failed operation | Idempotent contract or proven absence of effect; bounded backoff |
| Replay | Reprocess retained inputs | External effects disabled, simulated, or idempotently isolated |
| Resume | Continue paused workflow | Revalidate manifest, policy, grants, capability, context, lease, budget |
| Reconciliation | Establish truth after ambiguity | Query authoritative local and external records using correlation/idempotency |
| Failover | Use prequalified alternate | Equivalent authority, data, version, capacity, and evidence path |
| Restore | Recover records/services from backup | Integrity, sequence, identity, and dependency verification |
Retrying without idempotency can duplicate external effects. Retrying with an idempotency key is safe only if the provider preserves the key for the full uncertainty window and returns the original result.
7. Outage and degradation policy
For provider outage, region loss, capacity exhaustion, dependency degradation, credential issuer failure, and evidence-store unavailability, define which work fails closed, queues, degrades read-only, uses a qualified fallback, or shuts down. A fallback may change quality, latency, cost, data region, or tool behavior and therefore requires explicit eligibility. During degraded assurance, consequential release stops even if execution can continue.
8. Incident and forensic operations
Incident command assigns severity, commander, technical leads, communications, decision owners, and deadlines. Immediate priorities are people and system safety, containment, state preservation, scope, and reliable communication. Preserve manifests, identities, policy decisions, events, tool receipts, artifacts, evidence, costs, and control actions. Closure requires independent verification, downstream reconciliation, notifications, retained gaps, and an evaluated improvement proposal—not merely service restoration.
9. Maintenance and lifecycle
Roll models, tools, policies, schemas, workers, and environments through qualified versions, compatibility windows, canaries, drain, rollback, and retirement. Maintenance mode preserves status, cancellation, and emergency control. Deprecated dependencies publish deadlines and affected subjects. Retirement revokes authority, drains queues, reconciles external effects, retains required evidence, and deletes data under policy.
10. Failure modes and controls
| Failure | Detection | Containment | Verified recovery |
|---|---|---|---|
| Retry storm | Retry budget and dependency saturation | Open circuit, shed work | Stable dependency and reconciled backlog |
| Tenant starvation | Queue-age/fair-share metric | Rebalance weights, cap noisy tenant | Fairness window returns to objective |
| Budget overrun | Reservation versus actual | Stop new calls; preserve safe teardown | Cost ledger reconciled and cause corrected |
| Split-brain scheduler | Duplicate lease and state-version conflict | Fence stale scheduler | Single leader/lease authority and orphan scan |
| Failed failover | Health and invariant checks | Return to safe unavailable state | Controlled second attempt or restore |
| Missing forensic data | Trace/evidence coverage check | Preserve remaining sources; record gap | Instrumentation fixed and exercise repeated |
11. Versioning, tradeoffs, and nonclaims
Operations contracts and runbooks are versioned with the systems they govern. Managed services reduce operational load but do not transfer accountability for authorization, data, evidence, cost, or continuity. Active-active designs reduce outage risk but increase consistency and authority complexity. Start with the simplest topology that meets scoped objectives. This review-ready reference does not prove any stated SLO, RTO, RPO, cost, or failover result.
12. Hands-on review
Run a synthetic provider outage during a budget-constrained workflow with one unknown external effect. Demonstrate admission response, fair scheduling, circuit breaking, reconciliation, approved fallback or safe pause, cost attribution, incident timeline, forensic bundle, and verified closure.
Review this chapter.
Challenge a claim, boundary, missing failure mode, unclear term, or unsupported evidence statement.
- Claim
- Boundary
- Failure
- Evidence