{
  "info": {
    "description": "Unified Local + Cloud REST, SSE, MCP (2025-03-26), ACP, A2A 1.0, and OpenAI-compatible wire API for RCEdit Studio and the Cleanroom epistemic engine.",
    "title": "Cleanroom & RCEdit Studio API",
    "version": "0.5.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/a2a": {
      "post": {
        "summary": "Google Agent2Agent 1.0 JSON-RPC"
      }
    },
    "/acp/rpc": {
      "post": {
        "summary": "Zed / JetBrains Agent Client Protocol JSON-RPC"
      }
    },
    "/api/admit": {
      "post": {
        "summary": "3-Gate epistemic admission and G0 lookup"
      }
    },
    "/api/auth/email/start": {
      "post": {
        "summary": "Dispatch 6-digit email verification code"
      }
    },
    "/api/auth/passkey/register/begin": {
      "post": {
        "summary": "Start W3C WebAuthn CTAP2 ES256/EdDSA passkey bind"
      }
    },
    "/api/cloud/sync": {
      "post": {
        "summary": "Authenticated CRDT Cloud Vault sync"
      }
    },
    "/api/compile": {
      "post": {
        "summary": "4-ISA sovereign machine lowering (ARM64, x86-64, RISC-V, Wasm32)"
      }
    },
    "/api/dry-run": {
      "post": {
        "summary": "Sub-ms Lazy CoW branch dry-run"
      }
    },
    "/api/emit": {
      "post": {
        "summary": "Deterministic bidirectional projection across 100% of active GitHub Linguist languages"
      }
    },
    "/api/lattice": {
      "post": {
        "summary": "6-Band fixed-coordinate lattice + SVG"
      }
    },
    "/api/status": {
      "get": {
        "summary": "Daemon, Forge, Constellation, and Joule meter telemetry"
      }
    },
    "/api/studio/agents-md": {
      "get": {
        "summary": "Generate a shared repository AGENTS.md convention file across CLI, IDE, and spatial tools"
      }
    },
    "/api/studio/automation/bridge": {
      "post": {
        "summary": "Inspect 6-pipeline Agent-Out-of-the-Loop bridge, autonomy score, and Gordian 91-96% slice"
      }
    },
    "/api/studio/automation/compile-out-of-loop": {
      "post": {
        "summary": "Compile EARS spec once via Compiled-AI into 0-agent, 0-token Rust + Python modules"
      }
    },
    "/api/studio/automation/distill": {
      "post": {
        "summary": "Distill multi-turn Rung-5 agent episodes into a planner-free deterministic Form (ReTrace R5->R7)"
      }
    },
    "/api/studio/automation/falsify": {
      "post": {
        "summary": "Run 5 pre-registered RCE, Constellation, and Avalanche red falsification checks"
      }
    },
    "/api/studio/automation/gordian": {
      "post": {
        "summary": "Compute Gordian 91-96% structural context slice for residual model airlock"
      }
    },
    "/api/studio/automation/lst-codemod": {
      "post": {
        "summary": "Run Moderne-style Lossless Semantic Tree (LST) repo-wide codemod recipe (0 agent loops)"
      }
    },
    "/api/studio/automation/rungs": {
      "post": {
        "summary": "Inspect Avalanche 9-Rung intelligence alignment, Simon-Kadane p_i/c_i ordering, h_min eviction, and competitive occupancy"
      }
    },
    "/api/studio/automation/schemaguard": {
      "post": {
        "summary": "Validate candidate through 5-state SchemaGuard grammar & CapSandbox FSM"
      }
    },
    "/api/studio/basis/contribute": {
      "post": {
        "summary": "Contribute a verified name-free De Bruijn Form + N64 coordinate to the central Universal Coding Basis (Cloud) or enforce 0-byte Air-Gap egress unless explicit signed export is requested, with Cleanroom 1 USD/MJ surface metering quotes"
      }
    },
    "/api/studio/ci-fleet/hil-ota": {
      "post": {
        "summary": "Certify Physical-AI / robotics controller Form + Lore FastCDC binary capsule under ISO/TS 15066 force bounds, Rate-Monotonic WCET, and EU 2023/1230"
      }
    },
    "/api/studio/ci-fleet/pr-gate": {
      "post": {
        "summary": "5-gate deterministic PR merge check emitting OASIS SARIF 2.1.0, GitLab Code Quality, and PR Merge Card"
      }
    },
    "/api/studio/ci-fleet/repo-ingest": {
      "post": {
        "summary": "Ingest a real local repository directory or workspace across 855 active Linguist languages and compute crystallization & FinOps ROI"
      }
    },
    "/api/studio/computer/autopilot": {
      "post": {
        "summary": "Procedural Set-of-Marks (@som:N) UI QA playbook"
      }
    },
    "/api/studio/computer/exec": {
      "post": {
        "summary": "Confined developer terminal subprocess execution"
      }
    },
    "/api/studio/computer/inline-edit": {
      "post": {
        "summary": "Cmd+E inline code selection transformation"
      }
    },
    "/api/studio/constellation": {
      "post": {
        "summary": "Practical language Constellation + 16 syntax archetypes + information-theoretic redundancy profiles"
      }
    },
    "/api/studio/cowork": {
      "get": {
        "summary": "Inspect 6-permutation Human/AI/Machine co-work session"
      }
    },
    "/api/studio/design/a2ui-replay": {
      "post": {
        "summary": "Replay 8 fixed generative-UI benchmark tasks under Google A2UI 1.0 zeroArbitraryHtml policy"
      }
    },
    "/api/studio/design/drift": {
      "post": {
        "summary": "Scan workspace UI for Design System Drift, returning alignment score, owner mapping, and OASIS SARIF 2.1.0"
      }
    },
    "/api/studio/design/drift-report": {
      "post": {
        "summary": "Generate a shareable self-contained HTML + JSON + SARIF UI Drift Report (Lux v0.4.0)"
      }
    },
    "/api/studio/design/drift-url": {
      "post": {
        "summary": "Scan any GitHub repository URL, live webpage URL, or local directory for Design System Drift + OASIS SARIF 2.1.0"
      }
    },
    "/api/studio/design/golden": {
      "get": {
        "summary": "Run the 100-Screen Multi-Generator Golden Benchmark (0 false blocks, 94.3% auto-fix, <1ms/screen)"
      }
    },
    "/api/studio/design/hooks": {
      "get": {
        "summary": "Generate Claude Code, Cursor, GitHub Action SARIF, Pre-Commit, and Stdio MCP configs"
      }
    },
    "/api/studio/design/org-policy": {
      "post": {
        "summary": "Evaluate multi-repo Org Policy Packs, signed rule waivers, and flat-org vs credit-burn TCO (Lux v0.4.0)"
      }
    },
    "/api/studio/design/outcomes": {
      "post": {
        "summary": "Deterministically evaluate competing UI variants from real outcomes using Wilson 95% intervals + Wald SPRT"
      }
    },
    "/api/studio/design/rendered": {
      "post": {
        "summary": "Run the Headless Chrome CDP Rendered DOM & Computed-Style Gate (4px spacing grid, modular type scale, viewport overflow, effective WCAG 2.2 contrast, target geometry, focus rings)"
      }
    },
    "/api/studio/design/system": {
      "get": {
        "summary": "Extract the neutral Open-Spec Design System of Record (W3C DTCG JSON, Figma JSON, Penpot/OpenPencil JSON, DESIGN.md, and Google A2UI 1.0 Catalog + Policy)"
      }
    },
    "/api/studio/design/verify": {
      "post": {
        "summary": "Run the <1ms, 0-LLM Lux Deterministic Design Gate & Auto-Fixer on Claude Design, Google Stitch, Vercel v0, Cursor, Figma Make, Paper, Subframe, or workspace UI"
      }
    },
    "/api/studio/enterprise/run": {
      "post": {
        "summary": "Execute Deterministic Enterprise Software Factory workflows (Brownfield Archeology, Atomic Monorepo Refactor, Mainframe Stack Transform, Spec-to-VCS Work Order, and Compliance Dossier)"
      }
    },
    "/api/studio/events": {
      "get": {
        "summary": "Live Server-Sent Events (SSE) co-work & studio stream"
      }
    },
    "/api/studio/factory/blueprints": {
      "get": {
        "summary": "List Dark Software Factory blueprints"
      }
    },
    "/api/studio/factory/run": {
      "post": {
        "summary": "Run 5-stage Dark Software Factory with Digital Twins and Sealed Holdouts"
      }
    },
    "/api/studio/factory/sweep": {
      "post": {
        "summary": "Zero-prompt autonomous invariant & hidden-bug sweep (SWE-sweep gap)"
      }
    },
    "/api/studio/hypergraph/8d": {
      "post": {
        "summary": "Reify workspace into 8-Dimensional Hypergraph (D1 BehaviorHash .. D8 JouleLedger) with reversible text projections"
      }
    },
    "/api/studio/hypergraph/g5-generalize": {
      "post": {
        "summary": "Meter G5 human boundary resolution and compile reusable G1 parameterized handler"
      }
    },
    "/api/studio/hypergraph/merge": {
      "post": {
        "summary": "Conflict-free 8D hyperedge semantic merge across concurrent developer branches"
      }
    },
    "/api/studio/hypergraph/overlay": {
      "post": {
        "summary": "Sub-16ms Cross-Language Morph & Martial-Arts Edit-Time Form Gate"
      }
    },
    "/api/studio/hypergraph/populate-repo": {
      "post": {
        "summary": "Scan real repository or workspace to populate G0 table and log G4 unseen fabric gaps"
      }
    },
    "/api/studio/kepler/cascade": {
      "post": {
        "summary": "Evaluate the 6-Gear Cascade (G0..G5) with joule provenance, 0% routine leakage, and 1-click reversible G0 crystallization (9.17 nJ)"
      }
    },
    "/api/studio/kepler/fabric-experiment": {
      "get": {
        "summary": "Run the Multi-Core Fabric Schedule Crystallization experiment (4.12x faster & 78.9% lower energy vs LLM baseline)"
      }
    },
    "/api/studio/kepler/falsifiers": {
      "get": {
        "summary": "Evaluate the 81.7% Real-Workload G0/G1 Coverage Commercial Falsifier, Kepler 10x Corpus-Saturation Falsifier, and v0.1..v0.5 Grammar Growth Ledger"
      }
    },
    "/api/studio/kepler/residual-map": {
      "get": {
        "summary": "Inspect the Kepler vs Tycho Methodological Spine and the 5 Open Physical Fabric Horizons"
      }
    },
    "/api/studio/kepler/scheduled-sweep": {
      "post": {
        "summary": "Run the default-enabled Always-On Unprompted Invariant Sweep with blast radius and energy provenance"
      }
    },
    "/api/studio/kepler/sovereign-receipt": {
      "post": {
        "summary": "Mint and verify a third-party trustless Sovereign Execution Receipt across native, wasm32, edge, and robot projections"
      }
    },
    "/api/studio/kepler/tco": {
      "post": {
        "summary": "Compute customer Total Cost of Ownership (TCO) break-even ($5 hold + $1/MJ vs perpetual token rent + maintenance mortgage)"
      }
    },
    "/api/studio/languages": {
      "post": {
        "summary": "Inspect 100% bidirectional consume + emit closure across the active GitHub Linguist universe"
      }
    },
    "/api/studio/liquid": {
      "post": {
        "summary": "Tier-0/1/2 Liquid JIT pulse + Blaze 0-work rename check"
      }
    },
    "/api/studio/lore/hydrate": {
      "post": {
        "summary": "Hydrate a sparse [start..end) byte range on demand with per-chunk SHA-256 verification"
      }
    },
    "/api/studio/lore/ingest": {
      "post": {
        "summary": "Ingest or update a binary asset (.glb, .mjcf, .ktx2, .usdz, .rcapp) via FastCDC content-defined chunking"
      }
    },
    "/api/studio/lore/lock": {
      "post": {
        "summary": "Acquire or release an exclusive lease on a non-mergeable binary asset (code remains lock-free via Grove)"
      }
    },
    "/api/studio/lore/status": {
      "post": {
        "summary": "Inspect Unified Code + Binary Lore VFS (FastCDC chunks, unified Merkle root, sparse savings, and binary asset locks)"
      }
    },
    "/api/studio/maintain/audit": {
      "post": {
        "summary": "Audit Day-2 software maintenance health: cross-language De Bruijn semantic clones, polyglot contracts, and joule FinOps ROI"
      }
    },
    "/api/studio/maintain/cve": {
      "post": {
        "summary": "Reachability-aware CVE triage & surgical Form-delta remediation emitting OpenVEX v0.2, CycloneDX 1.6 SBOM, and SLSA v1.0 provenance"
      }
    },
    "/api/studio/maintain/heal": {
      "post": {
        "summary": "Closed-loop production incident Zeller ddmin minimizer, B0..B5 fault localizer, verified repair, and 855-language Fleet Vaccine"
      }
    },
    "/api/studio/maintain/strangler": {
      "post": {
        "summary": "Strangler-Fig legacy modernizer (COBOL/PLSQL/C89/Python -> 855 targets) with characterization matrix and Cutover Certificate"
      }
    },
    "/api/studio/manifold": {
      "post": {
        "summary": "Inspect 3-Axis Living Computation Manifold (Constellation = Form, 52 AI-native langs, 9 fabrics, Haynes escape coeffects, Perimeter Constructs, and Local G3 engines)"
      }
    },
    "/api/studio/manifold/flip-theorem": {
      "post": {
        "summary": "Flip a Complexity-Status perimeter theorem and trigger ATMS/DBSP retraction cascade"
      }
    },
    "/api/studio/manifold/route": {
      "post": {
        "summary": "Route a Form across the 9-fabric substrate manifold minimizing op + Impedance crossing joules"
      }
    },
    "/api/studio/manifold/swh-derive": {
      "post": {
        "summary": "Derive constrained universal-construct grammar from Software Heritage samples and commit to Form log D"
      }
    },
    "/api/studio/missions/spawn": {
      "post": {
        "summary": "Spawn isolated Copy-on-Write worktree missions"
      }
    },
    "/api/studio/morph": {
      "post": {
        "summary": "Rapid codebase & architectural style morph (>1,000x speedup)"
      }
    },
    "/api/studio/ndim-db": {
      "post": {
        "summary": "8-Dimensional Code Database + 1024-D VSA hypervector query"
      }
    },
    "/api/studio/nucleus/analyze": {
      "post": {
        "summary": "Decompose a StudioProject onto the N64 u64 footprint bitmask, compute OFPN Prolly-Merkle root, run SWE-sweep, and optionally apply CoW auto-repair + 128B UCB1 quorum"
      }
    },
    "/api/studio/nucleus/catalog": {
      "get": {
        "summary": "Inspect the 64-Element Minimum Basis Nucleus (UCB v1.6.0 @ 09e0b85 across 21 #![no_std] crates, 302 grammars & 24/24 Open Standards), Lean 4.36.0 OpenIE.BasisOptimality (17,920-bit MDL optimum) + Kani, 302 measured Tree-sitter grammars (100.0% named-node projection), ucb-quantum v1.6.0 (wai-quantum LRAT d=3,6 & QIR PPM, 64-bit QF_BV x == 734_921_107 Trojan miter, Landauer 8-stratum bonding), ucb-standards v1.3.0 (JCR-1 det-CBOR & Impedance Tax), ucb-substrate v1.4.0 (24/24 Open Standards + Plant2 rce-episode-manifest/1 + Task Satiation), ucb-silicon v1.5.0 (fpos HardwareGraph, VAULT16 64 KB watch SRAM, 9/9 zero-bit Liquid Silicon targets, SKY130/UCIe 2.0, Deep WAI2), ucb-cospan v1.1.0, ucb-fabric v1.2.0, and ucb-hourglass"
      }
    },
    "/api/studio/nucleus/pillar": {
      "post": {
        "summary": "Run verified UCB v1.6.0 pillars (verify_all, quantum, silicon, substrate, standards, fabric, cospan, hourglass, kepler, omni, blueprint, flight, surface, vcs_ofpn, legacy_factory)"
      }
    },
    "/api/studio/rap/checkpoint": {
      "post": {
        "summary": "Suspend or resume an agent via AWS Infinity / Hydro RAP at 0 waiting CPU threads and 0.0 W"
      }
    },
    "/api/studio/sandbox/deploy": {
      "post": {
        "summary": "Package and install a CSP + Seatbelt .rcapp Sandbox Capsule"
      }
    },
    "/api/studio/sandbox/list": {
      "get": {
        "summary": "List installed .rcapp Sandbox Capsules"
      }
    },
    "/api/studio/spatial/a2ui": {
      "post": {
        "summary": "Emit a Google A2UI 1.0 declarative UI surface restricted to Cleanroom's registered native component catalog"
      }
    },
    "/api/studio/spatial/comprehension-check": {
      "post": {
        "summary": "Evaluate an Active Review Comprehension Check + Brier confidence calibration before unlocking PR approval"
      }
    },
    "/api/studio/spatial/livelit": {
      "post": {
        "summary": "Evaluate a Hazel-style Livelit typed hole (?hole) with live output preview around unfinished edits"
      }
    },
    "/api/studio/spatial/point-to-talk": {
      "post": {
        "summary": "Anchor a Point-to-Talk directive directly to a region, module, or hardware hot spot"
      }
    },
    "/api/studio/spatial/purpose-map": {
      "post": {
        "summary": "Build Comprehension-First Purpose Capability Map with 8 Bertin visual channels, Diamond Agent Actors, Plan Paths, Decision Inbox, Timeline Replay, and Hardware Hotspots"
      }
    },
    "/api/studio/spatial/rename-region": {
      "post": {
        "summary": "Rename a Purpose Region (Ink & Switch malleable view) while preserving canonical Form identity"
      }
    },
    "/api/studio/state": {
      "get": {
        "summary": "Full RCEdit Studio multi-project workspace state"
      }
    },
    "/api/studio/team-help": {
      "post": {
        "summary": "4-thread parallel OS specialist audit"
      }
    },
    "/api/studio/traces/otlp": {
      "get": {
        "summary": "Export OpenTelemetry OTLP/JSON resourceSpans"
      }
    },
    "/api/studio/traces/perfetto": {
      "get": {
        "summary": "Export a Perfetto UI (ui.perfetto.dev) SQL-ready Trace Event JSON bundle"
      }
    },
    "/api/studio/universal/catalog": {
      "get": {
        "summary": "List all 13 supported Version Control Systems, 11 IDE & Build ecosystems, and the Deterministic Enterprise vs Stochastic Claims matrix"
      }
    },
    "/api/studio/universal/ingest": {
      "post": {
        "summary": "Ingest any local folder OR GitHub/Git URL across 13 VCSs and 11 IDEs with 100.0% Dual-Plane byte-exact & canonical Form fidelity + N64 footprint"
      }
    },
    "/api/studio/universal/vcs-export": {
      "post": {
        "summary": "Export verified workspace changes as a native patch or changelist for Git, Jujutsu, Sapling, Mercurial, SVN, Perforce (+l locks), Pijul, or Fossil"
      }
    },
    "/health": {
      "get": {
        "summary": "Liveness probe"
      }
    },
    "/mcp": {
      "post": {
        "summary": "Full MCP JSON-RPC router (?power=studio|ndim|constellation|factory|verify|compiler|forge)"
      }
    },
    "/mcp/core": {
      "post": {
        "summary": "Scoped Kiro MCP 8-tool core JSON-RPC router"
      }
    },
    "/v1/chat/completions": {
      "post": {
        "summary": "Drop-in OpenAI wire shim with x-cleanroom-receipt header"
      }
    }
  },
  "servers": [
    {
      "url": "https://cleanroom.openie.dev"
    }
  ]
}
