Hacker
Shankar sai N
@shankarsain
Projects
CloudPilot SwitchOps
Flip the Switch HackathonNov 2026
**CloudPilot SwitchOps** is an autonomous cloud operations control room that bridges the gap between AI-driven infrastructure optimization and strict enterprise safety. Integrated directly into **Switch AI** team collaboration rooms, CloudPilot transforms messy, manual cloud operations into a transparent, evidence-backed, human-authorized engineering workflow: $$\text{OBSERVE} \longrightarrow \text{ANALYZE} \longrightarrow \text{OPTIMIZE} \longrightarrow \text{PROPOSE} \longrightarrow \text{APPROVE} \longrightarrow \text{EXECUTE} \longrightarrow \text{VERIFY} \longrightarrow \text{AUDIT}$$ --- ### 1. What Problem Does It Solve? 1. **Siloed Cloud Operations & Analysis Paralysis:** Cloud engineering is fragmented across disjointed tooling: FinOps detects cost waste in spreadsheets, SecOps floods backlogs with unprioritized vulnerability alerts, and SREs lack holistic visibility. When teams try to optimize, they face painful trade-offs (e.g., downsizing an instance cuts cost but risks latency or eliminates redundancy). 2. **The "Black-Box Agent" Trust Barrier:** Platform engineers and SREs legitimately distrust autonomous AI agents that claim to "fix cloud infrastructure" because hallucinations, unintended side effects, and unverified mutations can bring down production. 3. **Broken Collaboration & Missing Audit Trails:** Infrastructure change discussions happen in team chat, but execution happens manually in cloud consoles or pull requests. There is no cryptographic link between who discussed a change, who approved it, what exact diff was applied, and whether it satisfied security policies. --- ### 2. How CloudPilot SwitchOps Solves It - **Multi-Specialist Intelligence:** Deterministically parses infrastructure configurations (Terraform HCL and Docker Compose ASTs) and synthesizes multi-agent findings across FinOps (pricing catalogs), SecOps (exposure & blast-radius rules), and SRE (reliability & SPOFs). - **Mathematical Decision Intelligence:** Computes a **4-Objective Pareto Frontier** (Cost vs. Risk vs. Reliability vs. Effort) to present genuine optimal trade-offs rather than arbitrary single-metric recommendations. - **Formal Methods Proving (Z3 SMT Solver):** Uses the **Z3 Theorem Prover** to mathematically prove that proposed changes satisfy non-negotiable security invariants (e.g., no public database exposure, storage volume preservation, zero root privilege escalation) and budget ceilings prior to proposal issuance (`Z3_CONSTRAINTS_SAT`). - **Human-in-the-Loop Switch Collaboration:** Changes are packaged into SHA-256 pre-mutation locked proposals published directly to **Switch AI** collaboration rooms. Authorized leads review a 14-point governance checklist and approve changes via in-room commands, generating single-use HMAC-SHA256 signed tokens. - **Bounded Sandbox Safety Boundary:** Enforces a strict **Zero Live Cloud Mutation** policy (`terraform apply` and cloud provider write calls are strictly prohibited). Changes are applied exclusively as bounded AST modifications inside isolated throwaway sandboxes, verified by independent syntax parsers, and protected by instant atomic rollback snapshots. - **Correlated Cryptographic Audit Lineage:** Preserves an unbroken audit chain in SQLite connecting Task ID $\rightarrow$ Assessment $\rightarrow$ Decision $\rightarrow$ Proposal $\rightarrow$ Approval Token $\rightarrow$ Execution Record. --- ### 3. Who Is It For? - **Platform Engineers & DevOps Teams:** Who want automated, intelligent infrastructure optimization without giving up control or risking production outages. - **FinOps & Cloud Financial Analysts:** Who need actionable, evidence-backed cost reduction plans that mathematically guarantee security and reliability won't be compromised. - **SecOps & Compliance Leads:** Who require formal mathematical verification of security invariants, role-based access control, and tamper-evident audit trails. - **Site Reliability Engineers (SREs):** Who demand bounded execution boundaries, syntax verification before acceptance, and instant atomic rollback capabilities. - **Engineering Leaders (CTOs, VPs of Infrastructure):** Seeking a unified control room where cross-functional teams and AI specialists collaborate securely inside Switch. --- > ### 📋 Short / Summary Version (For Character-Limited Form Fields) > **CloudPilot SwitchOps** transforms cloud operations into an evidence-backed, human-in-the-loop control room orchestrated directly through **Switch AI**. It solves the tension between cloud optimization and operational safety: while FinOps and SecOps tools flood teams with disconnected alerts, black-box AI tools risk breaking production. CloudPilot parses Terraform HCL and Docker Compose configurations, synthesizes FinOps/SecOps/SRE insights, calculates 4-objective Pareto trade-offs (Cost, Risk, Reliability, Effort), and uses the **Z3 Theorem Prover** to formally prove hard security invariants and budget limits. Changes are published to Switch collaboration rooms as SHA-256 locked proposals, authorized by human leads via cryptographic HMAC tokens, and executed exclusively in isolated throwaway sandboxes with independent AST verification and zero live cloud mutations. Built for Platform, DevOps, FinOps, and SRE teams seeking safe, auditable autonomous cloud operations.