Provider-Neutral DevOps Operations
Priority: P1 (HIGH)
Single operations entrypoint for cloud infrastructure and services. MCP tools and discovered capabilities govern execution; organizational policy and host controls govern authorization.
Operational Lifecycle
Every operation follows seven mandatory stages:
- Discover MCP: Verify required provider MCP is installed, connected, and advertising necessary tools. No silent CLI fallback.
- Verify Identity & Scope: Confirm authenticated principal, organization/account, project/resource, region, and environment.
- Identify Policy & Capabilities: Match discovered tool capabilities against target organizational security policy.
- Propose & Authorize: Present concrete action set, target, artifact identity, risk, and expiry to authorized human.
- Execute Bounded Operation: Perform authorized mutations with bounded deadlines and idempotency tokens.
- Independently Verify: Inspect outward system behavior from target origin, separate from mutation operator.
- Reconcile & Report: Emit standardized operations report; reconcile actual state; preserve feature lifecycle.
Core Operations
Default operation=deploy when omitted. Reject unknown, typo, or conflicting modes.
| Operation | Scope | Verification Requirement |
|---|---|---|
setup |
Hosting, DNS, TLS configuration | Valid DNS records, TLS handshake, origin routing |
deploy |
Release promotion, artifact rollout | Outward origin check, mobile C6, rollback readiness |
verify |
Health check, routing, headers | Root response, valid TLS, 404 on unknown path |
monitor |
Metrics, alerts, quota inspection | Measured signals; missing telemetry is not health |
diagnose |
Bounded hypothesis investigation | Evidence collection; no writes disguised as diagnosis |
recover |
Incident mitigation from prior state | Restored healthy state; unverified build forbidden |
Effect-Based Eligibility
Classify operations by real-world effect, never by mode label alone:
- Deploy-Bearing Actions: Any traffic switch or configuration introducing a new release enters full deploy readiness gates, even under
setuporrecover. - Read-Only Mode Lock:
verify,monitor, anddiagnosecannot execute writes. Mutation requests block and require renewed authorization. - Recovery Boundary:
recoverapplies fixed runbook mitigations against an identified prior artifact or state. Fresh builds require release workflows. Active harm retainsincident-hotfixpolicy; containment retainscyber-triage.
Positive & Negative Invariants
- Positive Invariants:
- Authorized, scoped operations proceed with least-privilege discovered tools.
- Irrelevant or unconfigured providers do not block independent analysis of configured targets.
- Offline review proceeds with explicit evidence limit when MCP is absent.
- Negative Invariants:
- No implicit credentials, ambient CLI fallbacks, or automatic tool installations.
- No agent self-approval, role expansion, or making resources public to bypass errors.
- No secret values, credentials, or tokens in reports, receipts, or logs.
- No timeout-as-failure retry; reconcile actual resource state before re-attempting.
Detailed References
- Authorization & Host Enforcement — Scope binding, approval invalidation, enforcement evidence checklist.
- MCP Preflight & Capabilities — Connection schema, tool discovery, structured missing-MCP outcomes.
- Operations & Effect Classification — Six operations, diagnostic side effects, uncertain-write reconciliation.
- Orchestration & Verification — Single context, specialist briefs, caller-return semantics, monitoring contract.
- Evidence & Reporting Matrix — Operations report shape, lifecycle preservation, consumer gap handling.
- Provider References — Read the matching file before any provider operation: AWS, GCP, Cloudflare, Vercel.
- Provider Extension Contract — Read before onboarding a new provider: Extension Contract.