{
  "openapi": "3.1.0",
  "info": {
    "title": "The ARK runtime",
    "version": "0.1.0",
    "summary": "Local deniable vault. Hosted API is heuristics only. Not a kernel.",
    "description": "Not a kernel, not a bootable OS, not a worm, not kernel isolation. \"Rotating Kernel\" means the rotating crypto/engine, not a Linux/Windows kernel. Local deniable vault. Forgotten phrase = permanent loss. Weak phrase = isolated vault compromise. Does not defeat live OS compromise while unlocked. Civilian software. HSM, kernel isolation, and classified OS are out of scope. Virus sweep is a local intake filter on files YOU put in YOUR vault, not a network AV product and not an exploit. A wrong phrase silently opens a different empty vault (deniability). Hosted API never logs phrases and never stores vaults."
  },
  "servers": [
    {
      "url": "https://ark-download-tracker.vibelock.workers.dev"
    }
  ],
  "paths": {
    "/v1/health": {
      "get": {
        "operationId": "ark_health",
        "summary": "Liveness. Does not increment download KV. Never stores phrases.",
        "responses": {
          "200": {
            "description": "ok"
          }
        }
      }
    },
    "/v1/levels": {
      "get": {
        "operationId": "ark_levels",
        "summary": "Auto-lock seconds and decoy counts. Behavior, not cryptography.",
        "responses": {
          "200": {
            "description": "levels"
          }
        }
      }
    },
    "/v1/sweep": {
      "post": {
        "operationId": "ark_sweep",
        "summary": "Mode E heuristics only (PE/ELF/Mach-O, powershell -enc, curl|sh). No clamscan. Payload is not stored.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "b64": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "findings"
          }
        }
      }
    }
  }
}