0% read on this device
Browse the curriculum

Start Here

Vision

First Principles

Operating Model

Domain Model

Agent Factory

Runtime Architecture

AI Engineering

Autonomous Workflows

Verification & Delivery

Factory Platform

Quality Engineering

Security & Governance

Case Studies

Labs

Interview Practice

Research Journal

Reference

Curriculum/Factory Platform/Complete source chapter
Factory Platform5 min readchapterQuick Read

Enterprise Operations, Reliability, and FinOps Reference

Consolidate the operating contract for admission, capacity, budgets, reliability, continuity, incidents, and cost per accepted outcome.

Status: Review readyRisk: criticalLifecycle: execute · verify · deliver · learnContent reviewed 2026-08-30Maturity guide →
Claim boundaryThis is curriculum guidance. It does not by itself prove a production implementation.
Quick Read

The chapter in one pass.

~2 min
  • 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

DomainRequired contractControl evidence
AdmissionEligibility, risk, deadline, quota, full cost ceiling, dependenciesDecision, reason, reservation, policy version
SchedulingPriority, aging, fairness, locality, concurrency, preemptionQueue decisions and starvation/fairness measures
CapacityModel, tool, worker, environment, storage, CI, reviewer forecastsReservations, utilization, saturation, forecast error
BudgetPer attempt/workflow/system/tenant limits and exceptionReserved/actual/avoided/unallocated cost ledger
ReliabilitySLI, SLO, error budget, alert, owner, runbookSLO windows, burn alerts, decisions, recovery tests
ContinuityFailure domains, RTO/RPO, backup, failover, reconciliationRestore and failover exercise with retained gaps
LifecycleVersion rollout, maintenance, deprecation, retirementChange, compatibility, drain, and deletion records
IncidentSeverity, command, communication, preservation, closureTimeline, 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

SLIScopeExample objective and response
Admission availability/latencyWorkflow/risk/regionFast enough to avoid duplicate submissions; fail closed for authority
Dispatch latencyPriority classDeadline-aware; alert on sustained queue age
State-transition durabilityControl recordsNo acknowledged loss; reconcile any ambiguity
Tool/model successProfile and dependencyExclude policy and business rejections from provider reliability
Control enforcement timeRisk tierReserved capacity and escalation on breach
Verification completionQuality contractSeparate slow evaluator from failed candidate
Accepted-outcome rateWorkflow sliceTie reliability to actual accepted completion
Recovery time and pointFailure domainExercise against declared RTO/RPO
Cost budget adherenceSystem/workflowStop 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

MechanismUseSafety precondition
RetryRepeat a failed operationIdempotent contract or proven absence of effect; bounded backoff
ReplayReprocess retained inputsExternal effects disabled, simulated, or idempotently isolated
ResumeContinue paused workflowRevalidate manifest, policy, grants, capability, context, lease, budget
ReconciliationEstablish truth after ambiguityQuery authoritative local and external records using correlation/idempotency
FailoverUse prequalified alternateEquivalent authority, data, version, capacity, and evidence path
RestoreRecover records/services from backupIntegrity, 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

FailureDetectionContainmentVerified recovery
Retry stormRetry budget and dependency saturationOpen circuit, shed workStable dependency and reconciled backlog
Tenant starvationQueue-age/fair-share metricRebalance weights, cap noisy tenantFairness window returns to objective
Budget overrunReservation versus actualStop new calls; preserve safe teardownCost ledger reconciled and cause corrected
Split-brain schedulerDuplicate lease and state-version conflictFence stale schedulerSingle leader/lease authority and orphan scan
Failed failoverHealth and invariant checksReturn to safe unavailable stateControlled second attempt or restore
Missing forensic dataTrace/evidence coverage checkPreserve remaining sources; record gapInstrumentation 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.

External review

Review this chapter.

Challenge a claim, boundary, missing failure mode, unclear term, or unsupported evidence statement.

  • Claim
  • Boundary
  • Failure
  • Evidence