{
  "alias_policy": {
    "blockers": [
      "canonical_name_requires_institutional_decision"
    ],
    "canonical_project_id": "tudo-para-ia-mais-humana-platform",
    "central_folder": "G:\\_codex-git\\nucleo-gestao-operacional\\central-de-ordem-de-servico\\projects\\15_repo_tudo-para-ia-mais-humana-platform",
    "compatibility_rule": "Preserve current project id and central -platform alias until an explicit institutional decision authorizes a synchronized Git/MCP/documentation rename.",
    "current_project_id": "tudo-para-ia-mais-humana",
    "decision_status": "pending_institutional_decision",
    "legacy_aliases": [
      "tudo-para-ia-mais-humana-platform",
      "tudo-para-ia-mais-humana-plataform"
    ],
    "migration_safe_now": false,
    "owner_platform_id": "tudo-para-ia-mais-humana-platform",
    "repo_remote": "https://git.ami.app.br/admin/tudo-para-ia-mais-humana.git"
  },
  "blockers": [
    "runner_node_esbuild_spawn_eperm",
    "wrangler_auth_not_confirmed",
    "canonical_name_requires_institutional_decision",
    "git_sync_blocked"
  ],
  "canonical_project_id": "tudo-para-ia-mais-humana-platform",
  "control_plane_id": "tudo-para-ia-mcps-internos-plataform",
  "current_project_id": "tudo-para-ia-mais-humana",
  "decisions": [
    {
      "evidence_refs": [
        "6032d87c13f58ddb8ba217955c95baf1841bd1b8b8a98a090282bc562cafb6ff",
        "wrangler_runner"
      ],
      "next_action": "homologar runner Node/esbuild/workerd e repetir wrangler deploy --dry-run antes do deploy real",
      "order_id": "0031_EXECUTIVA__publicar-provider-mais-humana-no-mcps-gateway-via-wrangler-homologado",
      "reason": "codigo local do provider existe; publicacao live depende de runner Wrangler sem spawn EPERM",
      "status": "partial"
    },
    {
      "evidence_refs": [
        "evidence-a75a27e0669c49da1db8b615",
        "evidence-af37a8d489b0038a7a6b5575",
        "evidence-3f0e3b9f829c7ff912b335d0"
      ],
      "next_action": "retestar as tres tools apos deploy do mcps-gateway contendo o provider Mais Humana",
      "order_id": "0032_EXECUTIVA__validar-live-tools-mais-humana-v1-execute-com-evidencia",
      "reason": "endpoint live foi sondado sem persistir bearer bruto",
      "status": "passed"
    },
    {
      "evidence_refs": [
        "git_sync_status"
      ],
      "next_action": "corrigir credencial Git/Schannel e reconciliar ahead/behind sem reset destrutivo",
      "order_id": "0033_EXECUTIVA__sincronizar-git-mais-humana-mcps-central-com-credenciais",
      "reason": "fetch/push remoto falhou por SEC_E_NO_CREDENTIALS; repo real local 0/0 antes das mudancas; central divergente 5/10",
      "status": "blocked"
    },
    {
      "evidence_refs": [
        "central_write_status"
      ],
      "next_action": "manter escrita automatica central e SQL semantico sob teste em toda rodada",
      "order_id": "0034_EXECUTIVA__corrigir-acl-escrita-central-e-sql-semantico-plataforma-15",
      "reason": "artefatos centrais foram testados pelo gerador de gate; falhas ficam registradas no projeto real",
      "status": "partial"
    },
    {
      "evidence_refs": [
        "alias_policy"
      ],
      "next_action": "aguardar decisao institucional antes de renomear remote, pasta central, ownerPlatformId ou referencias historicas",
      "order_id": "0035_EXECUTIVA__reconciliar-nome-canonico-real-alias-platform",
      "reason": "politica de alias foi materializada sem renome destrutivo",
      "status": "blocked"
    },
    {
      "evidence_refs": [
        "wrangler_runner",
        "6032d87c13f58ddb8ba217955c95baf1841bd1b8b8a98a090282bc562cafb6ff"
      ],
      "next_action": "definir owner, janela, version atual, rollback e criterio de sucesso antes de deploy real",
      "order_id": "0043_GERENCIAL__aprovar-janela-publicacao-provider-mais-humana-com-rollback",
      "reason": "janela pode ser planejada, mas deploy real ainda depende do runner homologado",
      "status": "partial"
    },
    {
      "evidence_refs": [
        "mcp_transit_ledger",
        "6032d87c13f58ddb8ba217955c95baf1841bd1b8b8a98a090282bc562cafb6ff"
      ],
      "next_action": "aplicar requiredFields em toda publicacao interplataforma",
      "order_id": "0044_GERENCIAL__institucionalizar-ledger-transito-mcp-como-gate-release",
      "reason": "ledger MCP existe como contrato local e deve ser criterio de release",
      "status": "passed"
    },
    {
      "evidence_refs": [
        "evidence-a75a27e0669c49da1db8b615",
        "evidence-af37a8d489b0038a7a6b5575",
        "evidence-3f0e3b9f829c7ff912b335d0"
      ],
      "next_action": "formalizar headers minimos, WAF, rate limit, logs e retencao de evidencias",
      "order_id": "0045_GERENCIAL__pactuar-politica-acesso-waf-gpt-mcp-gateway",
      "reason": "probes usam User-Agent controlado, bearer redigido e response excerpt seguro",
      "status": "partial"
    },
    {
      "evidence_refs": [
        "wrangler_runner"
      ],
      "next_action": "homologar host que permita Node, esbuild/workerd e node --test sem spawn EPERM",
      "order_id": "0046_GERENCIAL__homologar-runner-oficial-wrangler-node-esbuild",
      "reason": "Wrangler autenticou quando executado diretamente, mas deploy dry-run nao ficou confirmado",
      "status": "blocked"
    },
    {
      "evidence_refs": [
        "alias_policy"
      ],
      "next_action": "registrar decisao formal: preservar alias ou executar migracao coordenada",
      "order_id": "0047_GERENCIAL__decidir-nome-canonico-e-politica-alias-mais-humana",
      "reason": "nome atual, nome canonico recomendado e aliases estao documentados",
      "status": "blocked"
    }
  ],
  "deployReady": false,
  "gateway_source": {
    "gateway_manager_path": "G:\\_codex-git\\tudo-para-ia-mcps-internos-plataform\\deploy\\mcps-gateway\\src\\managers\\gpt-tooling-manager.ts",
    "managed_catalog_path": "G:\\_codex-git\\tudo-para-ia-mcps-internos-plataform\\deploy\\mcps-gateway\\src\\providers\\managed-catalog.ts",
    "managed_provider_manager_path": "G:\\_codex-git\\tudo-para-ia-mcps-internos-plataform\\deploy\\mcps-gateway\\src\\managers\\managed-provider-manager.ts",
    "mcp_repo_root": "G:\\_codex-git\\tudo-para-ia-mcps-internos-plataform",
    "missing_snippets": [],
    "owner_platform_id": "tudo-para-ia-mais-humana-platform",
    "present_snippets": [
      "const MAIS_HUMANA_PROVIDER_ID",
      "MAIS_HUMANA_CATALOG",
      "executeMaisHumanaGatewayTool",
      "mais_humana.rulebook.compact",
      "mais_humana.admin_ui.same_source",
      "mais_humana.mcp_transit.ledger"
    ],
    "provider_id": "mais_humana",
    "source_hash": "6032d87c13f58ddb8ba217955c95baf1841bd1b8b8a98a090282bc562cafb6ff",
    "tests_path": "G:\\_codex-git\\tudo-para-ia-mcps-internos-plataform\\tests\\platform\\mcps-gateway-mais-humana-provider.test.ts",
    "tests_present": true,
    "tool_ids": [
      "mais_humana.rulebook.compact",
      "mais_humana.admin_ui.same_source",
      "mais_humana.mcp_transit.ledger"
    ]
  },
  "generated_at": "2026-05-02T05:36:46+00:00",
  "liveReady": true,
  "live_probes": [
    {
      "audit_id": "audit-a75a27e0669c49da1db8b615",
      "endpoint": "https://mcps-gateway.ami-app.workers.dev/v1/execute",
      "error_code": "",
      "evidence_id": "evidence-a75a27e0669c49da1db8b615",
      "http_status": 200,
      "observed_at": "2026-05-02T05:36:45+00:00",
      "ok": true,
      "response_excerpt": {
        "__truncated__": true,
        "actorId": "codex.service-order-round",
        "auditId": "audit:mcps-gateway:codex.service-order-round:mais_humana.rulebook.compact",
        "blockers": "[]",
        "consumption": "None",
        "nextActions": "[]",
        "ok": "True",
        "organizationId": "None",
        "productId": "None",
        "providerId": "mais_humana",
        "readiness": "None",
        "sampleData": "False",
        "simulated": "False",
        "status": "ok",
        "traceId": "trace:mcps-gateway:codex.service-order-round:mais_humana.rulebook.compact",
        "userId": "None",
        "workspaceId": "None"
      },
      "source_payload_hash": "3e1c8f057ac439f4b9b3eb7f8f5be9ac36323f08adc23db6fc7d51633076b79a",
      "source_records_hash": "a75a27e0669c49da1db8b6157757c0615eed06c32674c7ed87a6db5d071359de",
      "status": "ok",
      "tool_id": "mais_humana.rulebook.compact",
      "trace_id": "trace-3e1c8f057ac439f4b9b3eb7f"
    },
    {
      "audit_id": "audit-af37a8d489b0038a7a6b5575",
      "endpoint": "https://mcps-gateway.ami-app.workers.dev/v1/execute",
      "error_code": "",
      "evidence_id": "evidence-af37a8d489b0038a7a6b5575",
      "http_status": 200,
      "observed_at": "2026-05-02T05:36:45+00:00",
      "ok": true,
      "response_excerpt": {
        "__truncated__": true,
        "actorId": "codex.service-order-round",
        "auditId": "audit:mcps-gateway:codex.service-order-round:mais_humana.admin_ui.same_source",
        "blockers": "[]",
        "consumption": "None",
        "nextActions": "[]",
        "ok": "True",
        "organizationId": "None",
        "productId": "None",
        "providerId": "mais_humana",
        "readiness": "None",
        "sampleData": "False",
        "simulated": "False",
        "status": "ok",
        "traceId": "trace:mcps-gateway:codex.service-order-round:mais_humana.admin_ui.same_source",
        "userId": "None",
        "workspaceId": "None"
      },
      "source_payload_hash": "17e7d8039c8c34e3f570b6de8b386edc1cfd0c079084b0c7013016d2c76b388c",
      "source_records_hash": "af37a8d489b0038a7a6b5575970ec69855dd0f0e0ab09cf38b0e7658d3678195",
      "status": "ok",
      "tool_id": "mais_humana.admin_ui.same_source",
      "trace_id": "trace-17e7d8039c8c34e3f570b6de"
    },
    {
      "audit_id": "audit-3f0e3b9f829c7ff912b335d0",
      "endpoint": "https://mcps-gateway.ami-app.workers.dev/v1/execute",
      "error_code": "",
      "evidence_id": "evidence-3f0e3b9f829c7ff912b335d0",
      "http_status": 200,
      "observed_at": "2026-05-02T05:36:46+00:00",
      "ok": true,
      "response_excerpt": {
        "__truncated__": true,
        "actorId": "codex.service-order-round",
        "auditId": "audit:mcps-gateway:codex.service-order-round:mais_humana.mcp_transit.ledger",
        "blockers": "[]",
        "consumption": "None",
        "nextActions": "[]",
        "ok": "True",
        "organizationId": "None",
        "productId": "None",
        "providerId": "mais_humana",
        "readiness": "None",
        "sampleData": "False",
        "simulated": "False",
        "status": "ok",
        "traceId": "trace:mcps-gateway:codex.service-order-round:mais_humana.mcp_transit.ledger",
        "userId": "None",
        "workspaceId": "None"
      },
      "source_payload_hash": "dae7d91a59e37901d50c027d3a0792f697902bd4289801edb2a508f3baf177fe",
      "source_records_hash": "3f0e3b9f829c7ff912b335d01afb5e78acdaa331bd984713dfca757072be6bbf",
      "status": "ok",
      "tool_id": "mais_humana.mcp_transit.ledger",
      "trace_id": "trace-dae7d91a59e37901d50c027d"
    }
  ],
  "localReady": true,
  "provider_id": "mais_humana",
  "report_id": "mcp-publication-gate-2026-05-02t0536460000",
  "status": "partial",
  "summary": [
    "Provider local Mais Humana pronto: True.",
    "Wrangler autenticado: False; deploy dry-run OK: False.",
    "Tools live prontas: 3/3.",
    "Nome atual: tudo-para-ia-mais-humana; canonico recomendado: tudo-para-ia-mais-humana-platform; ownerPlatformId MCP: tudo-para-ia-mais-humana-platform.",
    "Decisoes de OS avaliadas: 10."
  ],
  "wrangler_runner": {
    "account_id": "",
    "account_name": "",
    "attempted": true,
    "authenticated": false,
    "blockers": [
      "runner_node_esbuild_spawn_eperm",
      "wrangler_auth_not_confirmed"
    ],
    "command_status": {
      "wrangler_deploy_dry_run": "blocked_spawn_eperm",
      "wrangler_version": "blocked",
      "wrangler_whoami": "blocked"
    },
    "deploy_dry_run_ok": false,
    "raw_summary": "wrangler spawn EPERM before whoami/deployments; Node.js v24.13.0; operational check blocked in this runner",
    "version": ""
  }
}