{
  "schema_version": 1,
  "revision": "2026-10-31.1",
  "selection_policy": "Preserve the project stack. For a new app, match user intent to an integrated publishable profile and requested node capabilities; ask when requirements or placement are ambiguous. Never claim a runtime-only or local candidate is production-ready. Build with the Agent workspace tools; MCP does not execute source.",
  "environments": {
    "development": "local tools",
    "preview": "preview or preview-*; separate resources and secrets",
    "production": "explicit user authorization; promote the exact verified immutable Release"
  },
  "profiles": [
    {
      "id": "static-site",
      "title": {
        "en": "Static HTML / built frontend",
        "zh-CN": "静态 HTML／前端构建产物",
        "zh-TW": "靜態 HTML／前端建置產物",
        "ja": "静的 HTML／ビルド済みフロントエンド",
        "ko": "정적 HTML / 프런트엔드 빌드",
        "es": "HTML estático / frontend compilado",
        "fr": "HTML statique / frontend compilé",
        "de": "Statisches HTML / gebautes Frontend",
        "pt-BR": "HTML estático / frontend compilado",
        "ru": "Статический HTML / сборка фронтенда",
        "ar": "HTML ثابت / واجهة مبنية",
        "hi": "स्थिर HTML / बिल्ट फ्रंटएंड",
        "id": "HTML statis / hasil build frontend",
        "th": "HTML แบบคงที่ / ฟรอนต์เอนด์ที่บิลด์แล้ว",
        "vi": "HTML tĩnh / frontend đã build",
        "tr": "Statik HTML / derlenmiş ön yüz"
      },
      "runtime": "static",
      "status": "integrated",
      "publishable": true,
      "intent": [
        "static website",
        "landing page",
        "frontend without server rendering"
      ],
      "qualifications": [
        "HTML, CSS and browser JavaScript; framework output must satisfy the same asset contract."
      ],
      "limitations": [
        "No SSR or server-side bindings. A static export does not qualify the full framework."
      ],
      "development": {
        "commands": [
          "python3 -m http.server 8787 --bind 127.0.0.1"
        ],
        "requirements": [
          "Python 3 (development tool only)"
        ],
        "parity": "Browser/static HTTP only; validate platform routing in Preview."
      },
      "build": [],
      "packaging_tool": "get_static_packaging_guide",
      "files": {
        "index.html": "<!doctype html>\n<html lang=\"en\"><meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"><title>OrbitMesh</title><h1>Hello from OrbitMesh</h1></html>\n"
      }
    },
    {
      "id": "worker-fetch-typescript",
      "title": {
        "en": "TypeScript Fetch Worker",
        "zh-CN": "TypeScript Fetch Worker",
        "zh-TW": "TypeScript Fetch Worker",
        "ja": "TypeScript Fetch Worker",
        "ko": "TypeScript Fetch Worker",
        "es": "TypeScript Fetch Worker",
        "fr": "TypeScript Fetch Worker",
        "de": "TypeScript Fetch Worker",
        "pt-BR": "TypeScript Fetch Worker",
        "ru": "TypeScript Fetch Worker",
        "ar": "TypeScript Fetch Worker",
        "hi": "TypeScript Fetch Worker",
        "id": "TypeScript Fetch Worker",
        "th": "TypeScript Fetch Worker",
        "vi": "TypeScript Fetch Worker",
        "tr": "TypeScript Fetch Worker"
      },
      "runtime": "worker",
      "status": "integrated",
      "publishable": true,
      "intent": [
        "HTTP API",
        "Fetch handler",
        "frontend API backend"
      ],
      "qualifications": [
        "TypeScript compiles to one JavaScript ES module; JavaScript Fetch entrypoint is also supported."
      ],
      "limitations": [
        "Not a general Node server. Native bindings, CPU/network policy, WebSockets and durable lifecycle require remote Preview."
      ],
      "development": {
        "commands": [
          "npm install",
          "npm run dev"
        ],
        "requirements": [
          "Node.js 22+",
          "npm"
        ],
        "parity": "Loopback-only Node Fetch bridge; empty env, no native resource simulation. Rebuilds on each request, streams responses; changed modules stay cached until restart."
      },
      "build": [
        "npm run build"
      ],
      "packaging_tool": "get_worker_packaging_guide",
      "files": {
        "package.json": "{\n  \"name\": \"orbitmesh-worker\",\n  \"private\": true,\n  \"type\": \"module\",\n  \"scripts\": {\n    \"dev\": \"node dev.mjs\",\n    \"build\": \"esbuild src/index.ts --bundle --format=esm --platform=neutral --target=es2022 --outfile=dist/index.js\"\n  },\n  \"devDependencies\": {\n    \"esbuild\": \"0.27.3\"\n  }\n}\n",
        "src/index.ts": "export default {\n  async fetch(request: Request): Promise<Response> {\n    const path = new URL(request.url).pathname;\n    if (path === \"/health\") return new Response(\"ok\");\n    if (path === \"/api/hello\") return Response.json({ message: \"Hello from OrbitMesh\" });\n    return new Response(\"OrbitMesh Worker\", { headers: { \"content-type\": \"text/plain; charset=utf-8\" } });\n  }\n};\n",
        "dev.mjs": "// Lightweight Fetch-handler development only. Native bindings require a remote Preview.\nimport { createServer } from \"node:http\";\nimport { Readable } from \"node:stream\";\nimport { build } from \"esbuild\";\n\nconst port = Number(process.env.PORT || 8787);\nif (!Number.isInteger(port) || port < 1 || port > 65535) throw new Error(\"Invalid PORT\");\nlet source, handler;\nconst server = createServer(async (incoming, outgoing) => {\n  try {\n    const result = await build({ entryPoints: [\"src/index.ts\"], bundle: true, format: \"esm\", platform: \"neutral\", target: \"es2022\", write: false });\n    const next = result.outputFiles[0].text;\n    if (source !== next) {\n      handler = (await import(`data:text/javascript;base64,${Buffer.from(next).toString(\"base64\")}`)).default;\n      source = next;\n    }\n    const headers = new Headers();\n    for (let i = 0; i < incoming.rawHeaders.length; i += 2) headers.append(incoming.rawHeaders[i], incoming.rawHeaders[i + 1]);\n    const init = { method: incoming.method, headers };\n    if (![\"GET\", \"HEAD\"].includes(incoming.method)) { init.body = Readable.toWeb(incoming); init.duplex = \"half\"; }\n    const request = new Request(new URL(incoming.url, `http://127.0.0.1:${port}`), init);\n    const pending = [];\n    const response = await handler.fetch(request, {}, { waitUntil(promise) { pending.push(Promise.resolve(promise)); } });\n    outgoing.statusCode = response.status;\n    response.headers.forEach((value, key) => { if (key !== \"set-cookie\") outgoing.setHeader(key, value); });\n    const cookies = response.headers.getSetCookie();\n    if (cookies.length) outgoing.setHeader(\"set-cookie\", cookies);\n    if (!response.body || incoming.method === \"HEAD\") outgoing.end();\n    else {\n      const stream = Readable.fromWeb(response.body);\n      stream.on(\"error\", () => outgoing.destroy());\n      outgoing.on(\"close\", () => stream.destroy());\n      stream.pipe(outgoing);\n    }\n    void Promise.allSettled(pending);\n  } catch (error) {\n    console.error(error);\n    if (outgoing.headersSent) outgoing.destroy();\n    else { outgoing.statusCode = 500; outgoing.end(\"Local development failed; inspect the terminal.\"); }\n  }\n});\nserver.listen(port, \"127.0.0.1\", () => console.log(`Local Fetch development: http://127.0.0.1:${port} (no native resources or secrets)`));\nfor (const signal of [\"SIGINT\", \"SIGTERM\"]) process.on(signal, () => server.close());\n",
        ".gitignore": "node_modules/\ndist/\n.env*\n*.zip\n"
      }
    },
    {
      "id": "oci-http-container",
      "title": {
        "en": "OCI HTTP container",
        "zh-CN": "OCI HTTP 容器",
        "zh-TW": "OCI HTTP 容器",
        "ja": "OCI HTTP コンテナ",
        "ko": "OCI HTTP 컨테이너",
        "es": "Contenedor HTTP OCI",
        "fr": "Conteneur HTTP OCI",
        "de": "OCI-HTTP-Container",
        "pt-BR": "Contêiner HTTP OCI",
        "ru": "HTTP-контейнер OCI",
        "ar": "حاوية OCI HTTP",
        "hi": "OCI HTTP कंटेनर",
        "id": "Kontainer HTTP OCI",
        "th": "คอนเทนเนอร์ OCI HTTP",
        "vi": "Container HTTP OCI",
        "tr": "OCI HTTP konteyneri"
      },
      "runtime": "oci",
      "status": "integrated",
      "publishable": true,
      "intent": [
        "existing container application",
        "general Node.js server",
        "HTTP service packaged as an OCI image"
      ],
      "qualifications": [
        "Import an existing remote OCI image with import_oci_image; tags resolve to immutable digests.",
        "Requires an eligible Linux node and a working Docker Engine; discovery alone does not prove Docker availability."
      ],
      "limitations": [
        "Container publication is separate from Worker language/framework qualification.",
        "Use the project Dockerfile/tooling; no generic image builder, database migration or framework conversion is provided.",
        "Declare container port, health path, environment and resource limits explicitly; do not bake secrets into images."
      ],
      "development": {
        "commands": [],
        "requirements": [
          "The existing project development tools and Docker when testing containers."
        ],
        "parity": "Local project/container checks; test platform deployment, health and network exposure on Preview."
      },
      "build": [],
      "packaging_tool": null,
      "files": {}
    },
    {
      "id": "next-vinext-pinned",
      "title": {
        "en": "Next.js / vinext (pinned candidate)",
        "zh-CN": "Next.js／vinext（固定版本候选）",
        "zh-TW": "Next.js／vinext（固定版本候選）",
        "ja": "Next.js／vinext（固定バージョン候補）",
        "ko": "Next.js / vinext (고정 버전 후보)",
        "es": "Next.js / vinext (candidato fijado)",
        "fr": "Next.js / vinext (candidat épinglé)",
        "de": "Next.js / vinext (fixierter Kandidat)",
        "pt-BR": "Next.js / vinext (candidato fixado)",
        "ru": "Next.js / vinext (закреплённый кандидат)",
        "ar": "Next.js / vinext (مرشح بإصدارات ثابتة)",
        "hi": "Next.js / vinext (निश्चित संस्करण उम्मीदवार)",
        "id": "Next.js / vinext (kandidat versi tetap)",
        "th": "Next.js / vinext (รุ่นทดลองที่ตรึงเวอร์ชัน)",
        "vi": "Next.js / vinext (ứng viên cố định phiên bản)",
        "tr": "Next.js / vinext (sabit sürüm adayı)"
      },
      "runtime": "worker",
      "status": "local_accepted",
      "publishable": false,
      "intent": [
        "existing Next.js SSR application"
      ],
      "qualifications": [
        "Reviewed local candidate: Next 16.2.7, React 19.2.7, vinext 1.0.0-beta.8; not a production rollout claim."
      ],
      "limitations": [
        "Do not select automatically for new production apps until the qualified importer/provider has shipped.",
        "Single fetch Worker Build Output only. Other Next versions, ISR, arbitrary bindings and OpenNext are not qualified.",
        "An existing project requires explicit framework/dependency adaptation; do not overwrite it with a starter."
      ],
      "development": {
        "commands": [],
        "requirements": [
          "Use the existing project scripts and pinned adapter profile."
        ],
        "parity": "Framework dev mode is not the native Worker. Test SSR, actions, assets, secrets and database ownership on Preview after rollout."
      },
      "build": [],
      "packaging_tool": "get_worker_packaging_guide",
      "files": {}
    },
    {
      "id": "worker-wasm-module",
      "title": {
        "en": "JavaScript Worker + WebAssembly module",
        "zh-CN": "JavaScript Worker＋WebAssembly 模块",
        "zh-TW": "JavaScript Worker＋WebAssembly 模組",
        "ja": "JavaScript Worker＋WebAssembly モジュール",
        "ko": "JavaScript Worker + WebAssembly 모듈",
        "es": "Worker JavaScript + módulo WebAssembly",
        "fr": "Worker JavaScript + module WebAssembly",
        "de": "JavaScript-Worker + WebAssembly-Modul",
        "pt-BR": "Worker JavaScript + módulo WebAssembly",
        "ru": "JavaScript Worker + модуль WebAssembly",
        "ar": "JavaScript Worker + وحدة WebAssembly",
        "hi": "JavaScript Worker + WebAssembly मॉड्यूल",
        "id": "JavaScript Worker + modul WebAssembly",
        "th": "JavaScript Worker + โมดูล WebAssembly",
        "vi": "JavaScript Worker + mô-đun WebAssembly",
        "tr": "JavaScript Worker + WebAssembly modülü"
      },
      "runtime": "worker",
      "status": "integrated",
      "publishable": true,
      "intent": [
        "compatible WASM library called by JavaScript"
      ],
      "qualifications": [
        "A .wasm module imported by a JavaScript ES module entrypoint."
      ],
      "limitations": [
        "No general WASI application profile or qualified Rust/Go/C++ toolchain pipeline. Validate imports and JavaScript glue."
      ],
      "development": {
        "commands": [],
        "requirements": [
          "A compatible prebuilt WASM module and JavaScript entrypoint."
        ],
        "parity": "Use project-specific module tests and remote Preview; no generic compiler is provided."
      },
      "build": [],
      "packaging_tool": "get_worker_packaging_guide",
      "files": {}
    },
    {
      "id": "python-runtime-only",
      "title": {
        "en": "Python frameworks (runtime evidence only)",
        "zh-CN": "Python 框架（仅运行时验收）",
        "zh-TW": "Python 框架（僅執行階段驗收）",
        "ja": "Python フレームワーク（ランタイム検証のみ）",
        "ko": "Python 프레임워크 (런타임 검증만)",
        "es": "Frameworks Python (solo evidencia de runtime)",
        "fr": "Frameworks Python (runtime uniquement)",
        "de": "Python-Frameworks (nur Runtime-Nachweis)",
        "pt-BR": "Frameworks Python (somente runtime)",
        "ru": "Фреймворки Python (только среда выполнения)",
        "ar": "أطر Python (أدلة بيئة التشغيل فقط)",
        "hi": "Python फ़्रेमवर्क (केवल रनटाइम प्रमाण)",
        "id": "Framework Python (bukti runtime saja)",
        "th": "เฟรมเวิร์ก Python (ทดสอบเฉพาะรันไทม์)",
        "vi": "Framework Python (chỉ bằng chứng runtime)",
        "tr": "Python çatıları (yalnızca çalışma zamanı kanıtı)"
      },
      "runtime": "worker",
      "status": "runtime_only",
      "publishable": false,
      "intent": [
        "Python",
        "Django",
        "FastAPI",
        "Flask"
      ],
      "qualifications": [
        "Pinned provider Python and framework fixtures passed native tests."
      ],
      "limitations": [
        "OrbitMesh artifact schema, packaging and deployment admission do not carry Python modules yet. Do not propose this as a publishable stack."
      ],
      "development": {
        "commands": [],
        "requirements": [],
        "parity": "No OrbitMesh Python local/publishing entrypoint is provided."
      },
      "build": [],
      "packaging_tool": null,
      "files": {}
    }
  ]
}
