{
  "openapi": "3.1.0",
  "info": {
    "title": "ELIORIA SST-X API",
    "version": "1.0.0",
    "description": "Contrato HTTP gerado diretamente das rotas Hono do SST-X."
  },
  "servers": [
    {
      "url": "https://api.elioria.com.br",
      "description": "Production"
    }
  ],
  "paths": {
    "/api/admin/environments/tenants": {
      "get": {
        "operationId": "get-api-admin-environments-tenants",
        "summary": "GET /tenants",
        "description": "GET /tenants",
        "tags": [
          "admin"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/environment-admin.ts:66"
        ],
        "x-middlewares": []
      }
    },
    "/api/admin/environments/tenants/{id}": {
      "put": {
        "operationId": "put-api-admin-environments-tenants-id",
        "summary": "PUT /tenants/{id}",
        "description": "PUT /tenants/{id}",
        "tags": [
          "admin"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/environment-admin.ts:86"
        ],
        "x-middlewares": []
      }
    },
    "/api/admin/environments/tenants/{id}/purge": {
      "post": {
        "operationId": "post-api-admin-environments-tenants-id-purge",
        "summary": "POST /tenants/{id}/purge",
        "description": "POST /tenants/{id}/purge",
        "tags": [
          "admin"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/environment-admin.ts:148"
        ],
        "x-middlewares": []
      }
    },
    "/api/admin/environments/tenants/{id}/purge-preview": {
      "get": {
        "operationId": "get-api-admin-environments-tenants-id-purge-preview",
        "summary": "GET /tenants/{id}/purge-preview",
        "description": "GET /tenants/{id}/purge-preview",
        "tags": [
          "admin"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/environment-admin.ts:116"
        ],
        "x-middlewares": []
      }
    },
    "/api/auth/{wildcard}": {
      "get": {
        "operationId": "get-api-auth-wildcard",
        "summary": "GET /api/auth/{wildcard}",
        "description": "GET /api/auth/{wildcard}",
        "tags": [
          "auth"
        ],
        "parameters": [
          {
            "name": "wildcard",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "x-source-locations": [
          "apps/api/src/index.ts:246"
        ],
        "x-middlewares": []
      },
      "post": {
        "operationId": "post-api-auth-wildcard",
        "summary": "POST /api/auth/{wildcard}",
        "description": "POST /api/auth/{wildcard}",
        "tags": [
          "auth"
        ],
        "parameters": [
          {
            "name": "wildcard",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "x-source-locations": [
          "apps/api/src/index.ts:246"
        ],
        "x-middlewares": []
      }
    },
    "/api/cipa/votar/{token}": {
      "post": {
        "operationId": "post-api-cipa-votar-token",
        "summary": "POST /api/cipa/votar/{token}",
        "description": "POST /api/cipa/votar/{token}",
        "tags": [
          "cipa"
        ],
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "410": {
            "description": "HTTP 410 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/index.ts:272"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/audit": {
      "get": {
        "operationId": "get-api-ia-admin-audit",
        "summary": "GET /audit",
        "description": "GET /audit",
        "tags": [
          "ia"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:1405"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/audit/export": {
      "get": {
        "operationId": "get-api-ia-admin-audit-export",
        "summary": "GET /audit/export",
        "description": "GET /audit/export",
        "tags": [
          "ia"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:1661"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/block-user/{userId}": {
      "post": {
        "operationId": "post-api-ia-admin-block-user-user-id",
        "summary": "POST /block-user/{userId}",
        "description": "POST /block-user/{userId}",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:1284"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/bootstrap": {
      "post": {
        "operationId": "post-api-ia-admin-bootstrap",
        "summary": "POST /bootstrap",
        "description": "POST /bootstrap",
        "tags": [
          "ia"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:1834"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/entitlements/{tenantId}": {
      "post": {
        "operationId": "post-api-ia-admin-entitlements-tenant-id",
        "summary": "POST /entitlements/{tenantId}",
        "description": "POST /entitlements/{tenantId}",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:1308"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/feedback": {
      "get": {
        "operationId": "get-api-ia-admin-feedback",
        "summary": "GET /feedback",
        "description": "GET /feedback",
        "tags": [
          "ia"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:1348"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/health": {
      "get": {
        "operationId": "get-api-ia-admin-health",
        "summary": "GET /health",
        "description": "GET /health",
        "tags": [
          "ia"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:1719"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/kb-versions": {
      "get": {
        "operationId": "get-api-ia-admin-kb-versions",
        "summary": "GET /kb-versions",
        "description": "GET /kb-versions",
        "tags": [
          "ia"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:690"
        ],
        "x-middlewares": []
      },
      "post": {
        "operationId": "post-api-ia-admin-kb-versions",
        "summary": "POST /kb-versions",
        "description": "POST /kb-versions",
        "tags": [
          "ia"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "255": {
            "description": "HTTP 255 response"
          },
          "400": {
            "description": "HTTP 400 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:768"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/kb-versions/{id}/compare/{otherId}": {
      "get": {
        "operationId": "get-api-ia-admin-kb-versions-id-compare-other-id",
        "summary": "GET /kb-versions/{id}/compare/{otherId}",
        "description": "GET /kb-versions/{id}/compare/{otherId}",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "otherId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:1496"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/kb-versions/{id}/publish": {
      "post": {
        "operationId": "post-api-ia-admin-kb-versions-id-publish",
        "summary": "POST /kb-versions/{id}/publish",
        "description": "POST /kb-versions/{id}/publish",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:830"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/kb-versions/{id}/rollback": {
      "post": {
        "operationId": "post-api-ia-admin-kb-versions-id-rollback",
        "summary": "POST /kb-versions/{id}/rollback",
        "description": "POST /kb-versions/{id}/rollback",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:965"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/knowledge-files": {
      "get": {
        "operationId": "get-api-ia-admin-knowledge-files",
        "summary": "GET /knowledge-files",
        "description": "GET /knowledge-files",
        "tags": [
          "ia"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:428"
        ],
        "x-middlewares": []
      },
      "post": {
        "operationId": "post-api-ia-admin-knowledge-files",
        "summary": "POST /knowledge-files",
        "description": "POST /knowledge-files",
        "tags": [
          "ia"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "255": {
            "description": "HTTP 255 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "413": {
            "description": "HTTP 413 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:510"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/knowledge-files/{id}": {
      "get": {
        "operationId": "get-api-ia-admin-knowledge-files-id",
        "summary": "GET /knowledge-files/{id}",
        "description": "GET /knowledge-files/{id}",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:475"
        ],
        "x-middlewares": []
      },
      "patch": {
        "operationId": "patch-api-ia-admin-knowledge-files-id",
        "summary": "PATCH /knowledge-files/{id}",
        "description": "PATCH /knowledge-files/{id}",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "413": {
            "description": "HTTP 413 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:559"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/knowledge-files/{id}/status": {
      "post": {
        "operationId": "post-api-ia-admin-knowledge-files-id-status",
        "summary": "POST /knowledge-files/{id}/status",
        "description": "POST /knowledge-files/{id}/status",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:619"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/knowledge-files/{id}/toggle-ai": {
      "post": {
        "operationId": "post-api-ia-admin-knowledge-files-id-toggle-ai",
        "summary": "POST /knowledge-files/{id}/toggle-ai",
        "description": "POST /knowledge-files/{id}/toggle-ai",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:664"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/limits/{tenantId}": {
      "put": {
        "operationId": "put-api-ia-admin-limits-tenant-id",
        "summary": "PUT /limits/{tenantId}",
        "description": "PUT /limits/{tenantId}",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:1236"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/messages/{id}/flag": {
      "post": {
        "operationId": "post-api-ia-admin-messages-id-flag",
        "summary": "POST /messages/{id}/flag",
        "description": "POST /messages/{id}/flag",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:1381"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/notifications": {
      "get": {
        "operationId": "get-api-ia-admin-notifications",
        "summary": "GET /notifications",
        "description": "GET /notifications",
        "tags": [
          "ia"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:1907"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/notifications/{id}/retry": {
      "post": {
        "operationId": "post-api-ia-admin-notifications-id-retry",
        "summary": "POST /notifications/{id}/retry",
        "description": "POST /notifications/{id}/retry",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:1928"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/prompt-configs": {
      "get": {
        "operationId": "get-api-ia-admin-prompt-configs",
        "summary": "GET /prompt-configs",
        "description": "GET /prompt-configs",
        "tags": [
          "ia"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:165"
        ],
        "x-middlewares": []
      },
      "post": {
        "operationId": "post-api-ia-admin-prompt-configs",
        "summary": "POST /prompt-configs",
        "description": "POST /prompt-configs",
        "tags": [
          "ia"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "255": {
            "description": "HTTP 255 response"
          },
          "400": {
            "description": "HTTP 400 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:185"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/prompt-configs/{id}": {
      "patch": {
        "operationId": "patch-api-ia-admin-prompt-configs-id",
        "summary": "PATCH /prompt-configs/{id}",
        "description": "PATCH /prompt-configs/{id}",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:229"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/prompt-configs/{id}/archive": {
      "post": {
        "operationId": "post-api-ia-admin-prompt-configs-id-archive",
        "summary": "POST /prompt-configs/{id}/archive",
        "description": "POST /prompt-configs/{id}/archive",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:403"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/prompt-configs/{id}/compare/{otherId}": {
      "get": {
        "operationId": "get-api-ia-admin-prompt-configs-id-compare-other-id",
        "summary": "GET /prompt-configs/{id}/compare/{otherId}",
        "description": "GET /prompt-configs/{id}/compare/{otherId}",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "otherId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:1429"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/prompt-configs/{id}/publish": {
      "post": {
        "operationId": "post-api-ia-admin-prompt-configs-id-publish",
        "summary": "POST /prompt-configs/{id}/publish",
        "description": "POST /prompt-configs/{id}/publish",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:279"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/prompt-configs/{id}/rollback": {
      "post": {
        "operationId": "post-api-ia-admin-prompt-configs-id-rollback",
        "summary": "POST /prompt-configs/{id}/rollback",
        "description": "POST /prompt-configs/{id}/rollback",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:352"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/subscribers": {
      "get": {
        "operationId": "get-api-ia-admin-subscribers",
        "summary": "GET /subscribers",
        "description": "GET /subscribers",
        "tags": [
          "ia"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:1197"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/tests": {
      "get": {
        "operationId": "get-api-ia-admin-tests",
        "summary": "GET /tests",
        "description": "GET /tests",
        "tags": [
          "ia"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:1014"
        ],
        "x-middlewares": []
      },
      "post": {
        "operationId": "post-api-ia-admin-tests",
        "summary": "POST /tests",
        "description": "POST /tests",
        "tags": [
          "ia"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:1035"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/tests/{id}": {
      "patch": {
        "operationId": "patch-api-ia-admin-tests-id",
        "summary": "PATCH /tests/{id}",
        "description": "PATCH /tests/{id}",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:1132"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/admin/usage": {
      "get": {
        "operationId": "get-api-ia-admin-usage",
        "summary": "GET /usage",
        "description": "GET /usage",
        "tags": [
          "ia"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-admin.ts:1163"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/conversations": {
      "get": {
        "operationId": "get-api-ia-conversations",
        "summary": "GET /conversations",
        "description": "GET /conversations",
        "tags": [
          "ia"
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia.ts:328"
        ],
        "x-middlewares": []
      },
      "post": {
        "operationId": "post-api-ia-conversations",
        "summary": "POST /conversations",
        "description": "POST /conversations",
        "tags": [
          "ia"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "255": {
            "description": "HTTP 255 response"
          },
          "400": {
            "description": "HTTP 400 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia.ts:359"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/conversations/{id}": {
      "patch": {
        "operationId": "patch-api-ia-conversations-id",
        "summary": "PATCH /conversations/{id}",
        "description": "PATCH /conversations/{id}",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "255": {
            "description": "HTTP 255 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia.ts:430"
        ],
        "x-middlewares": []
      },
      "delete": {
        "operationId": "delete-api-ia-conversations-id",
        "summary": "DELETE /conversations/{id}",
        "description": "DELETE /conversations/{id}",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia.ts:459"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/conversations/{id}/messages": {
      "get": {
        "operationId": "get-api-ia-conversations-id-messages",
        "summary": "GET /conversations/{id}/messages",
        "description": "GET /conversations/{id}/messages",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia.ts:489"
        ],
        "x-middlewares": []
      },
      "post": {
        "operationId": "post-api-ia-conversations-id-messages",
        "summary": "POST /conversations/{id}/messages",
        "description": "POST /conversations/{id}/messages",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "429": {
            "description": "HTTP 429 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia.ts:524"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/messages/{id}/feedback": {
      "post": {
        "operationId": "post-api-ia-messages-id-feedback",
        "summary": "POST /messages/{id}/feedback",
        "description": "POST /messages/{id}/feedback",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "100": {
            "description": "HTTP 100 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia.ts:797"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/profile": {
      "get": {
        "operationId": "get-api-ia-profile",
        "summary": "GET /profile",
        "description": "GET /profile",
        "tags": [
          "ia"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia.ts:247"
        ],
        "x-middlewares": []
      },
      "put": {
        "operationId": "put-api-ia-profile",
        "summary": "PUT /profile",
        "description": "PUT /profile",
        "tags": [
          "ia"
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia.ts:269"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/rag/documents": {
      "get": {
        "operationId": "get-api-ia-rag-documents",
        "summary": "GET /documents",
        "description": "GET /documents",
        "tags": [
          "ia"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-rag.ts:456"
        ],
        "x-middlewares": []
      },
      "post": {
        "operationId": "post-api-ia-rag-documents",
        "summary": "POST /documents",
        "description": "POST /documents",
        "tags": [
          "ia"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "409": {
            "description": "HTTP 409 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-rag.ts:636"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/rag/documents/{id}": {
      "get": {
        "operationId": "get-api-ia-rag-documents-id",
        "summary": "GET /documents/{id}",
        "description": "GET /documents/{id}",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-rag.ts:542"
        ],
        "x-middlewares": []
      },
      "put": {
        "operationId": "put-api-ia-rag-documents-id",
        "summary": "PUT /documents/{id}",
        "description": "PUT /documents/{id}",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-rag.ts:682"
        ],
        "x-middlewares": []
      },
      "delete": {
        "operationId": "delete-api-ia-rag-documents-id",
        "summary": "DELETE /documents/{id}",
        "description": "DELETE /documents/{id}",
        "tags": [
          "ia"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-rag.ts:728"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/rag/documents/batch": {
      "post": {
        "operationId": "post-api-ia-rag-documents-batch",
        "summary": "POST /documents/batch",
        "description": "POST /documents/batch",
        "tags": [
          "ia"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "413": {
            "description": "HTTP 413 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-rag.ts:559"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/rag/search": {
      "post": {
        "operationId": "post-api-ia-rag-search",
        "summary": "POST /search",
        "description": "POST /search",
        "tags": [
          "ia"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-rag.ts:761"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/rag/vault": {
      "post": {
        "operationId": "post-api-ia-rag-vault",
        "summary": "POST /vault",
        "description": "POST /vault",
        "tags": [
          "ia"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "413": {
            "description": "HTTP 413 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia-rag.ts:823"
        ],
        "x-middlewares": []
      }
    },
    "/api/ia/status": {
      "get": {
        "operationId": "get-api-ia-status",
        "summary": "GET /status",
        "description": "GET /status",
        "tags": [
          "ia"
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/ia.ts:209"
        ],
        "x-middlewares": []
      }
    },
    "/api/inspecoes/risk-assessments": {
      "get": {
        "operationId": "get-api-inspecoes-risk-assessments",
        "summary": "GET /",
        "description": "GET /",
        "tags": [
          "inspecoes"
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/inspecoes-risk.ts:185"
        ],
        "x-middlewares": [
          "requirePermission(\"inspecoes\", \"read\")"
        ]
      },
      "post": {
        "operationId": "post-api-inspecoes-risk-assessments",
        "summary": "POST /",
        "description": "POST /",
        "tags": [
          "inspecoes"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/inspecoes-risk.ts:235"
        ],
        "x-middlewares": [
          "requirePermission(\"inspecoes\", \"write\")"
        ]
      }
    },
    "/api/inspecoes/risk-assessments/create-risk-item": {
      "post": {
        "operationId": "post-api-inspecoes-risk-assessments-create-risk-item",
        "summary": "POST /create-risk-item",
        "description": "POST /create-risk-item",
        "tags": [
          "inspecoes"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/inspecoes-risk.ts:279"
        ],
        "x-middlewares": [
          "requirePermission(\"inspecoes\", \"write\")"
        ]
      }
    },
    "/api/inspecoes/risk-assessments/latest": {
      "get": {
        "operationId": "get-api-inspecoes-risk-assessments-latest",
        "summary": "GET /latest",
        "description": "GET /latest",
        "tags": [
          "inspecoes"
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/inspecoes-risk.ts:209"
        ],
        "x-middlewares": [
          "requirePermission(\"inspecoes\", \"read\")"
        ]
      }
    },
    "/api/inspecoes/risk-methodologies": {
      "get": {
        "operationId": "get-api-inspecoes-risk-methodologies",
        "summary": "GET /",
        "description": "GET /",
        "tags": [
          "inspecoes"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/inspecoes-risk.ts:30"
        ],
        "x-middlewares": [
          "requirePermission(\"inspecoes\", \"read\")"
        ]
      },
      "post": {
        "operationId": "post-api-inspecoes-risk-methodologies",
        "summary": "POST /",
        "description": "POST /",
        "tags": [
          "inspecoes"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/inspecoes-risk.ts:96"
        ],
        "x-middlewares": [
          "requirePermission(\"inspecoes\", \"write\")"
        ]
      }
    },
    "/api/inspecoes/risk-methodologies/{id}": {
      "get": {
        "operationId": "get-api-inspecoes-risk-methodologies-id",
        "summary": "GET /{id}",
        "description": "GET /{id}",
        "tags": [
          "inspecoes"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/inspecoes-risk.ts:75"
        ],
        "x-middlewares": [
          "requirePermission(\"inspecoes\", \"read\")"
        ]
      }
    },
    "/api/inspecoes/risk-methodologies/{id}/activate": {
      "patch": {
        "operationId": "patch-api-inspecoes-risk-methodologies-id-activate",
        "summary": "PATCH /{id}/activate",
        "description": "PATCH /{id}/activate",
        "tags": [
          "inspecoes"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/inspecoes-risk.ts:133"
        ],
        "x-middlewares": [
          "requirePermission(\"inspecoes\", \"write\")"
        ]
      }
    },
    "/api/inspecoes/risk-methodologies/{id}/archive": {
      "patch": {
        "operationId": "patch-api-inspecoes-risk-methodologies-id-archive",
        "summary": "PATCH /{id}/archive",
        "description": "PATCH /{id}/archive",
        "tags": [
          "inspecoes"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/inspecoes-risk.ts:157"
        ],
        "x-middlewares": [
          "requirePermission(\"inspecoes\", \"write\")"
        ]
      }
    },
    "/api/inspecoes/risk-methodologies/ensure-legacy": {
      "post": {
        "operationId": "post-api-inspecoes-risk-methodologies-ensure-legacy",
        "summary": "POST /ensure-legacy",
        "description": "POST /ensure-legacy",
        "tags": [
          "inspecoes"
        ],
        "responses": {
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/inspecoes-risk.ts:50"
        ],
        "x-middlewares": [
          "requirePermission(\"inspecoes\", \"write\")"
        ]
      }
    },
    "/api/internal/agentic-capabilities/authorization/{userId}/roles": {
      "get": {
        "operationId": "get-api-internal-agentic-capabilities-authorization-user-id-roles",
        "summary": "Resolves current tenant-bound role assignments for a workflow-owned policy recheck.",
        "description": "Resolves current tenant-bound role assignments for a workflow-owned policy recheck.",
        "tags": [
          "internal"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "HTTP 401 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/internal-agentic-capabilities.ts:46"
        ],
        "x-middlewares": []
      }
    },
    "/api/internal/agentic-capabilities/notification-recipients/{userId}/email": {
      "get": {
        "operationId": "get-api-internal-agentic-capabilities-notification-recipients-user-id-email",
        "summary": "GET /notification-recipients/{userId}/email",
        "description": "GET /notification-recipients/{userId}/email",
        "tags": [
          "internal"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "HTTP 401 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/internal-agentic-capabilities.ts:89"
        ],
        "x-middlewares": []
      }
    },
    "/api/internal/agentic-capabilities/work-permit/{workPermitId}/analysis-context": {
      "get": {
        "operationId": "get-api-internal-agentic-capabilities-work-permit-work-permit-id-analysis-context",
        "summary": "GET /work-permit/{workPermitId}/analysis-context",
        "description": "GET /work-permit/{workPermitId}/analysis-context",
        "tags": [
          "internal"
        ],
        "parameters": [
          {
            "name": "workPermitId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "HTTP 401 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/internal-agentic-capabilities.ts:109"
        ],
        "x-middlewares": []
      }
    },
    "/api/internal/agentic-capabilities/work-permit/cancel": {
      "post": {
        "operationId": "post-api-internal-agentic-capabilities-work-permit-cancel",
        "summary": "Cancels only a draft Work Permit through a pinned compensating capability.",
        "description": "Cancels only a draft Work Permit through a pinned compensating capability.",
        "tags": [
          "internal"
        ],
        "responses": {
          "401": {
            "description": "HTTP 401 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "502": {
            "description": "HTTP 502 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/internal-agentic-capabilities.ts:177"
        ],
        "x-middlewares": []
      }
    },
    "/api/internal/agentic-capabilities/work-permit/create": {
      "post": {
        "operationId": "post-api-internal-agentic-capabilities-work-permit-create",
        "summary": "Creates one Work Permit only through a pinned, authenticated capability contract.",
        "description": "Creates one Work Permit only through a pinned, authenticated capability contract.",
        "tags": [
          "internal"
        ],
        "responses": {
          "401": {
            "description": "HTTP 401 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "502": {
            "description": "HTTP 502 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/internal-agentic-capabilities.ts:218"
        ],
        "x-middlewares": []
      }
    },
    "/api/internal/agentic-capabilities/work-permit/update-validity": {
      "post": {
        "operationId": "post-api-internal-agentic-capabilities-work-permit-update-validity",
        "summary": "POST /work-permit/update-validity",
        "description": "POST /work-permit/update-validity",
        "tags": [
          "internal"
        ],
        "responses": {
          "401": {
            "description": "HTTP 401 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "502": {
            "description": "HTTP 502 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/internal-agentic-capabilities.ts:130"
        ],
        "x-middlewares": []
      }
    },
    "/api/laudos-tecnicos/{id}/revisions/{revId}/aet-recommendations/{entityId}/send-to-action-plan": {
      "post": {
        "operationId": "post-api-laudos-tecnicos-id-revisions-rev-id-aet-recommendations-entity-id-send-to-action-plan",
        "summary": "POST /{id}/revisions/{revId}/aet-recommendations/{entityId}/send-to-action-plan",
        "description": "POST /{id}/revisions/{revId}/aet-recommendations/{entityId}/send-to-action-plan",
        "tags": [
          "laudos-tecnicos"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/laudos-aet.ts:938"
        ],
        "x-middlewares": [
          "requirePermission(\"laudos\", \"write\")"
        ]
      }
    },
    "/api/laudos-tecnicos/{id}/revisions/{revId}/aet-task-comparison": {
      "get": {
        "operationId": "get-api-laudos-tecnicos-id-revisions-rev-id-aet-task-comparison",
        "summary": "GET /{id}/revisions/{revId}/aet-task-comparison",
        "description": "GET /{id}/revisions/{revId}/aet-task-comparison",
        "tags": [
          "laudos-tecnicos"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/laudos-aet.ts:1004"
        ],
        "x-middlewares": [
          "requirePermission(\"laudos\", \"read\")"
        ]
      }
    },
    "/api/laudos-tecnicos/{reportId}/compare-revisions": {
      "get": {
        "operationId": "get-api-laudos-tecnicos-report-id-compare-revisions",
        "summary": "GET /:reportId/compare-revisions Query: ?from=0&to=1",
        "description": "GET /:reportId/compare-revisions Query: ?from=0&to=1",
        "tags": [
          "laudos-tecnicos"
        ],
        "parameters": [
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/laudos-lifecycle.ts:1594"
        ],
        "x-middlewares": [
          "requirePermission(\"laudos\", \"read\")"
        ]
      }
    },
    "/api/laudos-tecnicos/{reportId}/emissions": {
      "get": {
        "operationId": "get-api-laudos-tecnicos-report-id-emissions",
        "summary": "GET /:reportId/emissions List all emissions for a report.",
        "description": "GET /:reportId/emissions List all emissions for a report.",
        "tags": [
          "laudos-tecnicos"
        ],
        "parameters": [
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/laudos-lifecycle.ts:1718"
        ],
        "x-middlewares": [
          "requirePermission(\"laudos\", \"read\")"
        ]
      }
    },
    "/api/laudos-tecnicos/{reportId}/new-revision": {
      "post": {
        "operationId": "post-api-laudos-tecnicos-report-id-new-revision",
        "summary": "POST /:reportId/new-revision Body: { changeReason }",
        "description": "POST /:reportId/new-revision Body: { changeReason }",
        "tags": [
          "laudos-tecnicos"
        ],
        "parameters": [
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "500": {
            "description": "HTTP 500 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/laudos-lifecycle.ts:1334"
        ],
        "x-middlewares": [
          "requirePermission(\"laudos\", \"write\")"
        ]
      }
    },
    "/api/laudos-tecnicos/{reportId}/revisions/{revisionId}/approve": {
      "post": {
        "operationId": "post-api-laudos-tecnicos-report-id-revisions-revision-id-approve",
        "summary": "POST /:reportId/revisions/:revisionId/approve Body: { decision: \"approved\" | \"rejected\", comment",
        "description": "POST /:reportId/revisions/:revisionId/approve Body: { decision: \"approved\" | \"rejected\", comment? }",
        "tags": [
          "laudos-tecnicos"
        ],
        "parameters": [
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/laudos-lifecycle.ts:532"
        ],
        "x-middlewares": [
          "requirePermission(\"laudos\", \"approve\")"
        ]
      }
    },
    "/api/laudos-tecnicos/{reportId}/revisions/{revisionId}/cancel": {
      "post": {
        "operationId": "post-api-laudos-tecnicos-report-id-revisions-revision-id-cancel",
        "summary": "POST /:reportId/revisions/:revisionId/cancel Body: { reason }",
        "description": "POST /:reportId/revisions/:revisionId/cancel Body: { reason }",
        "tags": [
          "laudos-tecnicos"
        ],
        "parameters": [
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          },
          "409": {
            "description": "HTTP 409 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/laudos-lifecycle.ts:1666"
        ],
        "x-middlewares": [
          "requirePermission(\"laudos\", \"approve\")"
        ]
      }
    },
    "/api/laudos-tecnicos/{reportId}/revisions/{revisionId}/download": {
      "get": {
        "operationId": "get-api-laudos-tecnicos-report-id-revisions-revision-id-download",
        "summary": "GET /:reportId/revisions/:revisionId/download Download the official PDF (requires authorization).",
        "description": "GET /:reportId/revisions/:revisionId/download Download the official PDF (requires authorization).",
        "tags": [
          "laudos-tecnicos"
        ],
        "parameters": [
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "500": {
            "description": "HTTP 500 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/laudos-lifecycle.ts:1437"
        ],
        "x-middlewares": [
          "requirePermission(\"laudos\", \"read\")"
        ]
      }
    },
    "/api/laudos-tecnicos/{reportId}/revisions/{revisionId}/emit": {
      "post": {
        "operationId": "post-api-laudos-tecnicos-report-id-revisions-revision-id-emit",
        "summary": "Legacy endpoint retained as an explicit compatibility error.",
        "description": "Legacy endpoint retained as an explicit compatibility error.",
        "tags": [
          "laudos-tecnicos"
        ],
        "parameters": [
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "410": {
            "description": "HTTP 410 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/laudos-lifecycle.ts:952"
        ],
        "x-middlewares": [
          "requirePermission(\"laudos\", \"approve\")"
        ]
      }
    },
    "/api/laudos-tecnicos/{reportId}/revisions/{revisionId}/issue": {
      "post": {
        "operationId": "post-api-laudos-tecnicos-report-id-revisions-revision-id-issue",
        "summary": "POST /:reportId/revisions/:revisionId/issue Officially issues an already prepared and signed artifact.",
        "description": "POST /:reportId/revisions/:revisionId/issue Officially issues an already prepared and signed artifact.",
        "tags": [
          "laudos-tecnicos"
        ],
        "parameters": [
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "409": {
            "description": "HTTP 409 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/laudos-lifecycle.ts:1229"
        ],
        "x-middlewares": [
          "requirePermission(\"laudos\", \"approve\")"
        ]
      }
    },
    "/api/laudos-tecnicos/{reportId}/revisions/{revisionId}/prepare-artifact": {
      "post": {
        "operationId": "post-api-laudos-tecnicos-report-id-revisions-revision-id-prepare-artifact",
        "summary": "POST /:reportId/revisions/:revisionId/prepare-artifact Idempotently freezes the snapshot and creates the official PDF",
        "description": "POST /:reportId/revisions/:revisionId/prepare-artifact Idempotently freezes the snapshot and creates the official PDF. This does not issue the document and does not activate public verification.",
        "tags": [
          "laudos-tecnicos"
        ],
        "parameters": [
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/laudos-lifecycle.ts:633"
        ],
        "x-middlewares": [
          "requirePermission(\"laudos\", \"approve\")"
        ]
      }
    },
    "/api/laudos-tecnicos/{reportId}/revisions/{revisionId}/preview": {
      "post": {
        "operationId": "post-api-laudos-tecnicos-report-id-revisions-revision-id-preview",
        "summary": "POST /:reportId/revisions/:revisionId/preview Generate preview PDF (watermarked, no snapshot persistence).",
        "description": "POST /:reportId/revisions/:revisionId/preview Generate preview PDF (watermarked, no snapshot persistence).",
        "tags": [
          "laudos-tecnicos"
        ],
        "parameters": [
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/laudos-lifecycle.ts:977"
        ],
        "x-middlewares": [
          "requirePermission(\"laudos\", \"read\")"
        ]
      }
    },
    "/api/laudos-tecnicos/{reportId}/revisions/{revisionId}/review": {
      "post": {
        "operationId": "post-api-laudos-tecnicos-report-id-revisions-revision-id-review",
        "summary": "POST /:reportId/revisions/:revisionId/review Body: { decision: \"approved\" | \"rejected\", comment",
        "description": "POST /:reportId/revisions/:revisionId/review Body: { decision: \"approved\" | \"rejected\", comment? }",
        "tags": [
          "laudos-tecnicos"
        ],
        "parameters": [
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/laudos-lifecycle.ts:455"
        ],
        "x-middlewares": [
          "requirePermission(\"laudos\", \"approve\")"
        ]
      }
    },
    "/api/laudos-tecnicos/{reportId}/revisions/{revisionId}/sign": {
      "post": {
        "operationId": "post-api-laudos-tecnicos-report-id-revisions-revision-id-sign",
        "summary": "POST /:reportId/revisions/:revisionId/sign Body: { signatureType: \"INTERNAL_ELECTRONIC\" | \"EXTERNAL_SIGNED_UPLOAD\" } For EXTERNAL_SIGNED_UPLOAD: include signedPdfBase64 (base64-encoded PDF)",
        "description": "POST /:reportId/revisions/:revisionId/sign Body: { signatureType: \"INTERNAL_ELECTRONIC\" | \"EXTERNAL_SIGNED_UPLOAD\" } For EXTERNAL_SIGNED_UPLOAD: include signedPdfBase64 (base64-encoded PDF). Validates: - Emission exists and is in PENDING state - Signer is a responsible professional for this report - For EXTERNAL_SIGNED_UPLOAD: validates PDF content type and stores separately - Signature is bound to snapshotHash + pdfHash",
        "tags": [
          "laudos-tecnicos"
        ],
        "parameters": [
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/laudos-lifecycle.ts:1072"
        ],
        "x-middlewares": [
          "requirePermission(\"laudos\", \"approve\")"
        ]
      }
    },
    "/api/laudos-tecnicos/{reportId}/timeline": {
      "get": {
        "operationId": "get-api-laudos-tecnicos-report-id-timeline",
        "summary": "GET /:reportId/timeline Full audit timeline of the document.",
        "description": "GET /:reportId/timeline Full audit timeline of the document.",
        "tags": [
          "laudos-tecnicos"
        ],
        "parameters": [
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/laudos-lifecycle.ts:1566"
        ],
        "x-middlewares": [
          "requirePermission(\"laudos\", \"read\")"
        ]
      }
    },
    "/api/laudos-tecnicos/{reportId}/workflow/gate": {
      "get": {
        "operationId": "get-api-laudos-tecnicos-report-id-workflow-gate",
        "summary": "GET /:reportId/workflow/gate Check if a transition is allowed without performing it.",
        "description": "GET /:reportId/workflow/gate Check if a transition is allowed without performing it.",
        "tags": [
          "laudos-tecnicos"
        ],
        "parameters": [
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/laudos-lifecycle.ts:369"
        ],
        "x-middlewares": [
          "requirePermission(\"laudos\", \"read\")"
        ]
      }
    },
    "/api/laudos-tecnicos/{reportId}/workflow/transition": {
      "post": {
        "operationId": "post-api-laudos-tecnicos-report-id-workflow-transition",
        "summary": "POST /:reportId/workflow/transition Body: { targetStatus, reason?, acknowledgeWarnings",
        "description": "POST /:reportId/workflow/transition Body: { targetStatus, reason?, acknowledgeWarnings? }",
        "tags": [
          "laudos-tecnicos"
        ],
        "parameters": [
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "500": {
            "description": "HTTP 500 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/laudos-lifecycle.ts:168"
        ],
        "x-middlewares": [
          "requirePermission(\"laudos\", \"write\")"
        ]
      }
    },
    "/api/laudos-tecnicos/verify/{verificationCode}": {
      "get": {
        "operationId": "get-api-laudos-tecnicos-verify-verification-code",
        "summary": "GET /verify/{verificationCode}",
        "description": "GET /verify/{verificationCode}",
        "tags": [
          "laudos-tecnicos"
        ],
        "parameters": [
          {
            "name": "verificationCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/laudos-lifecycle.ts:1515"
        ],
        "x-middlewares": []
      }
    },
    "/api/official-ca/{caNumber}": {
      "get": {
        "operationId": "get-api-official-ca-ca-number",
        "summary": "GET /{caNumber}",
        "description": "GET /{caNumber}",
        "tags": [
          "official-ca"
        ],
        "parameters": [
          {
            "name": "caNumber",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/official-ca.ts:90"
        ],
        "x-middlewares": [
          "requirePermission(\"epi\", \"read\")"
        ]
      }
    },
    "/api/official-ca/{caNumber}/changes": {
      "get": {
        "operationId": "get-api-official-ca-ca-number-changes",
        "summary": "GET /{caNumber}/changes",
        "description": "GET /{caNumber}/changes",
        "tags": [
          "official-ca"
        ],
        "parameters": [
          {
            "name": "caNumber",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/official-ca.ts:144"
        ],
        "x-middlewares": [
          "requirePermission(\"epi\", \"read\")"
        ]
      }
    },
    "/api/official-ca/{caNumber}/generations": {
      "get": {
        "operationId": "get-api-official-ca-ca-number-generations",
        "summary": "GET /{caNumber}/generations",
        "description": "GET /{caNumber}/generations",
        "tags": [
          "official-ca"
        ],
        "parameters": [
          {
            "name": "caNumber",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/official-ca.ts:117"
        ],
        "x-middlewares": [
          "requirePermission(\"epi\", \"read\")"
        ]
      }
    },
    "/api/official-ca/changes/recent": {
      "get": {
        "operationId": "get-api-official-ca-changes-recent",
        "summary": "GET /changes/recent",
        "description": "GET /changes/recent",
        "tags": [
          "official-ca"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/official-ca.ts:70"
        ],
        "x-middlewares": [
          "requirePermission(\"epi\", \"read\")"
        ]
      }
    },
    "/api/official-ca/freshness": {
      "get": {
        "operationId": "get-api-official-ca-freshness",
        "summary": "GET /freshness",
        "description": "GET /freshness",
        "tags": [
          "official-ca"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/official-ca.ts:48"
        ],
        "x-middlewares": [
          "requirePermission(\"epi\", \"read\")"
        ]
      }
    },
    "/api/official-ca/search": {
      "get": {
        "operationId": "get-api-official-ca-search",
        "summary": "GET /search",
        "description": "GET /search",
        "tags": [
          "official-ca"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/official-ca.ts:23"
        ],
        "x-middlewares": [
          "requirePermission(\"epi\", \"read\")"
        ]
      }
    },
    "/api/usuarios": {
      "get": {
        "operationId": "get-api-usuarios",
        "summary": "GET /",
        "description": "GET /",
        "tags": [
          "usuarios"
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/usuarios.ts:176"
        ],
        "x-middlewares": [
          "requirePermission(\"usuarios\", \"read\")"
        ]
      },
      "post": {
        "operationId": "post-api-usuarios",
        "summary": "POST /",
        "description": "POST /",
        "tags": [
          "usuarios"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "500": {
            "description": "HTTP 500 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/usuarios.ts:271"
        ],
        "x-middlewares": [
          "requirePermission(\"usuarios\", \"write\")"
        ]
      }
    },
    "/api/usuarios/{id}": {
      "put": {
        "operationId": "put-api-usuarios-id",
        "summary": "PUT /{id}",
        "description": "PUT /{id}",
        "tags": [
          "usuarios"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/usuarios.ts:387"
        ],
        "x-middlewares": [
          "requirePermission(\"usuarios\", \"write\")"
        ]
      },
      "delete": {
        "operationId": "delete-api-usuarios-id",
        "summary": "DELETE /{id}",
        "description": "DELETE /{id}",
        "tags": [
          "usuarios"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/usuarios.ts:504"
        ],
        "x-middlewares": [
          "requirePermission(\"usuarios\", \"delete\")"
        ]
      }
    },
    "/api/usuarios/{id}/roles": {
      "post": {
        "operationId": "post-api-usuarios-id-roles",
        "summary": "POST /{id}/roles",
        "description": "POST /{id}/roles",
        "tags": [
          "usuarios"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/usuarios.ts:602"
        ],
        "x-middlewares": [
          "requirePermission(\"usuarios\", \"write\")"
        ]
      }
    },
    "/api/usuarios/{id}/roles/{roleId}": {
      "delete": {
        "operationId": "delete-api-usuarios-id-roles-role-id",
        "summary": "DELETE /{id}/roles/{roleId}",
        "description": "DELETE /{id}/roles/{roleId}",
        "tags": [
          "usuarios"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "roleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/usuarios.ts:691"
        ],
        "x-middlewares": [
          "requirePermission(\"usuarios\", \"write\")"
        ]
      }
    },
    "/api/work-permits": {
      "get": {
        "operationId": "get-api-work-permits",
        "summary": "GET /",
        "description": "GET /",
        "tags": [
          "work-permits"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/work-permits.ts:74"
        ],
        "x-middlewares": [
          "requirePermission(\"inspecoes\", \"read\")"
        ]
      },
      "post": {
        "operationId": "post-api-work-permits",
        "summary": "POST /",
        "description": "POST /",
        "tags": [
          "work-permits"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/work-permits.ts:124"
        ],
        "x-middlewares": [
          "requirePermission(\"inspecoes\", \"write\")"
        ]
      }
    },
    "/api/work-permits/{id}": {
      "get": {
        "operationId": "get-api-work-permits-id",
        "summary": "GET /{id}",
        "description": "GET /{id}",
        "tags": [
          "work-permits"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/work-permits.ts:90"
        ],
        "x-middlewares": [
          "requirePermission(\"inspecoes\", \"read\")"
        ]
      },
      "patch": {
        "operationId": "patch-api-work-permits-id",
        "summary": "PATCH /{id}",
        "description": "PATCH /{id}",
        "tags": [
          "work-permits"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/work-permits.ts:225"
        ],
        "x-middlewares": [
          "requirePermission(\"inspecoes\", \"write\")"
        ]
      }
    },
    "/api/work-permits/{id}/components": {
      "get": {
        "operationId": "get-api-work-permits-id-components",
        "summary": "GET /{id}/components",
        "description": "GET /{id}/components",
        "tags": [
          "work-permits"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/work-permits.ts:107"
        ],
        "x-middlewares": [
          "requirePermission(\"inspecoes\", \"read\")"
        ]
      },
      "post": {
        "operationId": "post-api-work-permits-id-components",
        "summary": "POST /{id}/components",
        "description": "POST /{id}/components",
        "tags": [
          "work-permits"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/work-permits.ts:259"
        ],
        "x-middlewares": [
          "requirePermission(\"inspecoes\", \"write\")"
        ]
      }
    },
    "/api/work-permits/{id}/components/{componentId}": {
      "patch": {
        "operationId": "patch-api-work-permits-id-components-component-id",
        "summary": "PATCH /{id}/components/{componentId}",
        "description": "PATCH /{id}/components/{componentId}",
        "tags": [
          "work-permits"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "componentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/work-permits.ts:292"
        ],
        "x-middlewares": [
          "requirePermission(\"inspecoes\", \"write\")"
        ]
      },
      "delete": {
        "operationId": "delete-api-work-permits-id-components-component-id",
        "summary": "DELETE /{id}/components/{componentId}",
        "description": "DELETE /{id}/components/{componentId}",
        "tags": [
          "work-permits"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "componentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/work-permits.ts:326"
        ],
        "x-middlewares": [
          "requirePermission(\"inspecoes\", \"write\")"
        ]
      }
    },
    "/api/work-permits/{id}/validity": {
      "patch": {
        "operationId": "patch-api-work-permits-id-validity",
        "summary": "PATCH /{id}/validity",
        "description": "PATCH /{id}/validity",
        "tags": [
          "work-permits"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "x-source-locations": [
          "apps/api/src/routes/work-permits.ts:173"
        ],
        "x-middlewares": [
          "requirePermission(\"inspecoes\", \"write\")"
        ]
      }
    },
    "/attention/action-tokens/introspect": {
      "post": {
        "operationId": "post-attention-action-tokens-introspect",
        "summary": "Introspects and optionally consumes an opaque token while rechecking tenant, user, expiry and capability lifecycle.",
        "description": "Introspects and optionally consumes an opaque token while rechecking tenant, user, expiry and capability lifecycle.",
        "tags": [
          "attention"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention-orchestration.ts:613"
        ],
        "x-middlewares": []
      }
    },
    "/attention/escalation-policy-versions": {
      "post": {
        "operationId": "post-attention-escalation-policy-versions",
        "summary": "Publishes a bounded immutable multi-level escalation policy.",
        "description": "Publishes a bounded immutable multi-level escalation policy.",
        "tags": [
          "attention"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention-orchestration.ts:464"
        ],
        "x-middlewares": []
      }
    },
    "/attention/items": {
      "post": {
        "operationId": "post-attention-items",
        "summary": "POST /items",
        "description": "POST /items",
        "tags": [
          "attention"
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "500": {
            "description": "HTTP 500 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention.ts:698"
        ],
        "x-middlewares": []
      },
      "get": {
        "operationId": "get-attention-items",
        "summary": "GET /items",
        "description": "GET /items",
        "tags": [
          "attention"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention.ts:930"
        ],
        "x-middlewares": []
      }
    },
    "/attention/items/{attentionId}/acknowledge": {
      "post": {
        "operationId": "post-attention-items-attention-id-acknowledge",
        "summary": "POST /items/{attentionId}/acknowledge",
        "description": "POST /items/{attentionId}/acknowledge",
        "tags": [
          "attention"
        ],
        "parameters": [
          {
            "name": "attentionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention.ts:822"
        ],
        "x-middlewares": []
      }
    },
    "/attention/items/{attentionId}/action-tokens": {
      "post": {
        "operationId": "post-attention-items-attention-id-action-tokens",
        "summary": "Issues a one-time opaque action token whose presence never grants business authority.",
        "description": "Issues a one-time opaque action token whose presence never grants business authority.",
        "tags": [
          "attention"
        ],
        "parameters": [
          {
            "name": "attentionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention-orchestration.ts:573"
        ],
        "x-middlewares": []
      }
    },
    "/attention/items/{attentionId}/escalation-policies": {
      "post": {
        "operationId": "post-attention-items-attention-id-escalation-policies",
        "summary": "Configures one active escalation deadline for an open attention item; configuration grants no execution authority.",
        "description": "Configures one active escalation deadline for an open attention item; configuration grants no execution authority.",
        "tags": [
          "attention"
        ],
        "parameters": [
          {
            "name": "attentionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention-escalations.ts:35"
        ],
        "x-middlewares": []
      }
    },
    "/attention/items/{attentionId}/escalation-policies/{policyId}/advance": {
      "post": {
        "operationId": "post-attention-items-attention-id-escalation-policies-policy-id-advance",
        "summary": "Escalates only an overdue active policy and matching attention version, preserving optimistic concurrency.",
        "description": "Escalates only an overdue active policy and matching attention version, preserving optimistic concurrency.",
        "tags": [
          "attention"
        ],
        "parameters": [
          {
            "name": "attentionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "policyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention-escalations.ts:75"
        ],
        "x-middlewares": []
      }
    },
    "/attention/items/{attentionId}/escalations/evaluate": {
      "post": {
        "operationId": "post-attention-items-attention-id-escalations-evaluate",
        "summary": "Evaluates and records every newly overdue escalation level in one bounded optimistic mutation.",
        "description": "Evaluates and records every newly overdue escalation level in one bounded optimistic mutation.",
        "tags": [
          "attention"
        ],
        "parameters": [
          {
            "name": "attentionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention-orchestration.ts:985"
        ],
        "x-middlewares": []
      }
    },
    "/attention/items/{attentionId}/notifications": {
      "post": {
        "operationId": "post-attention-items-attention-id-notifications",
        "summary": "POST /items/{attentionId}/notifications",
        "description": "POST /items/{attentionId}/notifications",
        "tags": [
          "attention"
        ],
        "parameters": [
          {
            "name": "attentionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention.ts:332"
        ],
        "x-middlewares": []
      }
    },
    "/attention/items/{attentionId}/reconcile": {
      "post": {
        "operationId": "post-attention-items-attention-id-reconcile",
        "summary": "Re-evaluates an item against authoritative canonical state and auto-resolves only on exact evidence.",
        "description": "Re-evaluates an item against authoritative canonical state and auto-resolves only on exact evidence.",
        "tags": [
          "attention"
        ],
        "parameters": [
          {
            "name": "attentionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention-orchestration.ts:654"
        ],
        "x-middlewares": []
      }
    },
    "/attention/items/{attentionId}/resolve": {
      "post": {
        "operationId": "post-attention-items-attention-id-resolve",
        "summary": "POST /items/{attentionId}/resolve",
        "description": "POST /items/{attentionId}/resolve",
        "tags": [
          "attention"
        ],
        "parameters": [
          {
            "name": "attentionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention.ts:869"
        ],
        "x-middlewares": []
      }
    },
    "/attention/items/{attentionId}/route": {
      "post": {
        "operationId": "post-attention-items-attention-id-route",
        "summary": "Routes an existing attention item to exactly one eligible profile and preserves ownership history.",
        "description": "Routes an existing attention item to exactly one eligible profile and preserves ownership history.",
        "tags": [
          "attention"
        ],
        "parameters": [
          {
            "name": "attentionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention-orchestration.ts:381"
        ],
        "x-middlewares": []
      }
    },
    "/attention/items/{attentionId}/score": {
      "post": {
        "operationId": "post-attention-items-attention-id-score",
        "summary": "Recalculates versioned priority from explicit factors while preserving independent severity.",
        "description": "Recalculates versioned priority from explicit factors while preserving independent severity.",
        "tags": [
          "attention"
        ],
        "parameters": [
          {
            "name": "attentionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention-orchestration.ts:165"
        ],
        "x-middlewares": []
      }
    },
    "/attention/items/{attentionId}/secure-notifications": {
      "post": {
        "operationId": "post-attention-items-attention-id-secure-notifications",
        "summary": "Queues notification legs only after resolving an exact template version and minimizing shared payload data.",
        "description": "Queues notification legs only after resolving an exact template version and minimizing shared payload data.",
        "tags": [
          "attention"
        ],
        "parameters": [
          {
            "name": "attentionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention-orchestration.ts:892"
        ],
        "x-middlewares": []
      }
    },
    "/attention/items/{attentionId}/source-context": {
      "post": {
        "operationId": "post-attention-items-attention-id-source-context",
        "summary": "Pins the cross-fabric evidence graph and complete affected-entity set for an aggregate item.",
        "description": "Pins the cross-fabric evidence graph and complete affected-entity set for an aggregate item.",
        "tags": [
          "attention"
        ],
        "parameters": [
          {
            "name": "attentionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention-orchestration.ts:768"
        ],
        "x-middlewares": []
      }
    },
    "/attention/items/{attentionId}/timeline": {
      "get": {
        "operationId": "get-attention-items-attention-id-timeline",
        "summary": "Returns the immutable attention, assignment, escalation, reconciliation and delivery history.",
        "description": "Returns the immutable attention, assignment, escalation, reconciliation and delivery history.",
        "tags": [
          "attention"
        ],
        "parameters": [
          {
            "name": "attentionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention-orchestration.ts:1061"
        ],
        "x-middlewares": []
      }
    },
    "/attention/items/{attentionId}/transitions": {
      "post": {
        "operationId": "post-attention-items-attention-id-transitions",
        "summary": "Applies any valid attention lifecycle command under optimistic concurrency.",
        "description": "Applies any valid attention lifecycle command under optimistic concurrency.",
        "tags": [
          "attention"
        ],
        "parameters": [
          {
            "name": "attentionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention-orchestration.ts:711"
        ],
        "x-middlewares": []
      }
    },
    "/attention/metrics": {
      "get": {
        "operationId": "get-attention-metrics",
        "summary": "Reports tenant-scoped attention quality and delivery effectiveness metrics.",
        "description": "Reports tenant-scoped attention quality and delivery effectiveness metrics.",
        "tags": [
          "attention"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention-orchestration.ts:1091"
        ],
        "x-middlewares": []
      }
    },
    "/attention/notification-channel-policies": {
      "post": {
        "operationId": "post-attention-notification-channel-policies",
        "summary": "POST /notification-channel-policies",
        "description": "POST /notification-channel-policies",
        "tags": [
          "attention"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention.ts:120"
        ],
        "x-middlewares": []
      }
    },
    "/attention/notification-deliveries/{deliveryId}/receipts": {
      "post": {
        "operationId": "post-attention-notification-deliveries-delivery-id-receipts",
        "summary": "POST /notification-deliveries/{deliveryId}/receipts",
        "description": "POST /notification-deliveries/{deliveryId}/receipts",
        "tags": [
          "attention"
        ],
        "parameters": [
          {
            "name": "deliveryId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention.ts:575"
        ],
        "x-middlewares": []
      }
    },
    "/attention/notification-deliveries/{deliveryId}/retry": {
      "post": {
        "operationId": "post-attention-notification-deliveries-delivery-id-retry",
        "summary": "POST /notification-deliveries/{deliveryId}/retry",
        "description": "POST /notification-deliveries/{deliveryId}/retry",
        "tags": [
          "attention"
        ],
        "parameters": [
          {
            "name": "deliveryId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention.ts:648"
        ],
        "x-middlewares": []
      }
    },
    "/attention/notification-preferences": {
      "put": {
        "operationId": "put-attention-notification-preferences",
        "summary": "PUT /notification-preferences",
        "description": "PUT /notification-preferences",
        "tags": [
          "attention"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention.ts:191"
        ],
        "x-middlewares": []
      }
    },
    "/attention/notification-templates": {
      "post": {
        "operationId": "post-attention-notification-templates",
        "summary": "Publishes one immutable, localized and data-minimized notification template.",
        "description": "Publishes one immutable, localized and data-minimized notification template.",
        "tags": [
          "attention"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention-orchestration.ts:208"
        ],
        "x-middlewares": []
      }
    },
    "/attention/routing-profiles": {
      "post": {
        "operationId": "post-attention-routing-profiles",
        "summary": "Publishes a versioned capacity, skill, qualification and delegation routing profile.",
        "description": "Publishes a versioned capacity, skill, qualification and delegation routing profile.",
        "tags": [
          "attention"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention-orchestration.ts:313"
        ],
        "x-middlewares": []
      }
    },
    "/attention/signal-groups/preview": {
      "post": {
        "operationId": "post-attention-signal-groups-preview",
        "summary": "Produces a bounded deterministic preview before any bulk or storm mutation is authorized.",
        "description": "Produces a bounded deterministic preview before any bulk or storm mutation is authorized.",
        "tags": [
          "attention"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention-orchestration.ts:132"
        ],
        "x-middlewares": []
      }
    },
    "/attention/suppressions": {
      "post": {
        "operationId": "post-attention-suppressions",
        "summary": "Creates an expiry-bound suppression before ingestion; expired entries cease to suppress without changing business state.",
        "description": "Creates an expiry-bound suppression before ingestion; expired entries cease to suppress without changing business state.",
        "tags": [
          "attention"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/attention.ts:787"
        ],
        "x-middlewares": []
      }
    },
    "/audit": {
      "get": {
        "operationId": "get-audit",
        "summary": "GET /",
        "description": "GET /",
        "tags": [
          "audit"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit.ts:398"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/actions/{id}/transition": {
      "post": {
        "operationId": "post-audit-workspace-actions-id-transition",
        "summary": "Advances a corrective action with optimistic versioning; only a non-owner may verify evidence-backed completion.",
        "description": "Advances a corrective action with optimistic versioning; only a non-owner may verify evidence-backed completion.",
        "tags": [
          "audit-workspace"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-workspace.ts:195"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/audits": {
      "post": {
        "operationId": "post-audit-workspace-audits",
        "summary": "POST /audits",
        "description": "POST /audits",
        "tags": [
          "audit-workspace"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-workspace.ts:58"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/audits/{id}": {
      "get": {
        "operationId": "get-audit-workspace-audits-id",
        "summary": "GET /audits/{id}",
        "description": "GET /audits/{id}",
        "tags": [
          "audit-workspace"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-workspace.ts:303"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/audits/{id}/close": {
      "post": {
        "operationId": "post-audit-workspace-audits-id-close",
        "summary": "POST /audits/{id}/close",
        "description": "POST /audits/{id}/close",
        "tags": [
          "audit-workspace"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-workspace.ts:281"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/findings": {
      "post": {
        "operationId": "post-audit-workspace-findings",
        "summary": "POST /findings",
        "description": "POST /findings",
        "tags": [
          "audit-workspace"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-workspace.ts:137"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/findings/{id}/actions": {
      "post": {
        "operationId": "post-audit-workspace-findings-id-actions",
        "summary": "Creates a corrective action for an open finding; assignment never closes or verifies the finding.",
        "description": "Creates a corrective action for an open finding; assignment never closes or verifies the finding.",
        "tags": [
          "audit-workspace"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-workspace.ts:160"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/findings/{id}/verify": {
      "post": {
        "operationId": "post-audit-workspace-findings-id-verify",
        "summary": "POST /findings/{id}/verify",
        "description": "POST /findings/{id}/verify",
        "tags": [
          "audit-workspace"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-workspace.ts:238"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/access-grants": {
      "post": {
        "operationId": "post-audit-workspace-governance-access-grants",
        "summary": "POST /governance/access-grants",
        "description": "POST /governance/access-grants",
        "tags": [
          "audit-workspace"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "500": {
            "description": "HTTP 500 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:1476"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/actions": {
      "post": {
        "operationId": "post-audit-workspace-governance-actions",
        "summary": "POST /governance/actions",
        "description": "POST /governance/actions",
        "tags": [
          "audit-workspace"
        ],
        "responses": {
          "100": {
            "description": "HTTP 100 response"
          },
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:1231"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/actions/{actionId}/transitions": {
      "post": {
        "operationId": "post-audit-workspace-governance-actions-action-id-transitions",
        "summary": "POST /governance/actions/{actionId}/transitions",
        "description": "POST /governance/actions/{actionId}/transitions",
        "tags": [
          "audit-workspace"
        ],
        "parameters": [
          {
            "name": "actionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:1279"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/audits": {
      "get": {
        "operationId": "get-audit-workspace-governance-audits",
        "summary": "GET /governance/audits",
        "description": "GET /governance/audits",
        "tags": [
          "audit-workspace"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:451"
        ],
        "x-middlewares": []
      },
      "post": {
        "operationId": "post-audit-workspace-governance-audits",
        "summary": "POST /governance/audits",
        "description": "POST /governance/audits",
        "tags": [
          "audit-workspace"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "500": {
            "description": "HTTP 500 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:477"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/audits/{auditId}/evidence/{evidenceId}": {
      "get": {
        "operationId": "get-audit-workspace-governance-audits-audit-id-evidence-evidence-id",
        "summary": "GET /governance/audits/{auditId}/evidence/{evidenceId}",
        "description": "GET /governance/audits/{auditId}/evidence/{evidenceId}",
        "tags": [
          "audit-workspace"
        ],
        "parameters": [
          {
            "name": "auditId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "evidenceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:1716"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/audits/{auditId}/prepare": {
      "post": {
        "operationId": "post-audit-workspace-governance-audits-audit-id-prepare",
        "summary": "POST /governance/audits/{auditId}/prepare",
        "description": "POST /governance/audits/{auditId}/prepare",
        "tags": [
          "audit-workspace"
        ],
        "parameters": [
          {
            "name": "auditId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:567"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/audits/{auditId}/timeline": {
      "get": {
        "operationId": "get-audit-workspace-governance-audits-audit-id-timeline",
        "summary": "GET /governance/audits/{auditId}/timeline",
        "description": "GET /governance/audits/{auditId}/timeline",
        "tags": [
          "audit-workspace"
        ],
        "parameters": [
          {
            "name": "auditId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:1762"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/audits/{auditId}/transitions": {
      "post": {
        "operationId": "post-audit-workspace-governance-audits-audit-id-transitions",
        "summary": "POST /governance/audits/{auditId}/transitions",
        "description": "POST /governance/audits/{auditId}/transitions",
        "tags": [
          "audit-workspace"
        ],
        "parameters": [
          {
            "name": "auditId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          },
          "409": {
            "description": "HTTP 409 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:524"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/audits/{auditId}/workspace": {
      "get": {
        "operationId": "get-audit-workspace-governance-audits-audit-id-workspace",
        "summary": "GET /governance/audits/{auditId}/workspace",
        "description": "GET /governance/audits/{auditId}/workspace",
        "tags": [
          "audit-workspace"
        ],
        "parameters": [
          {
            "name": "auditId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:1670"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/evidence-requests": {
      "post": {
        "operationId": "post-audit-workspace-governance-evidence-requests",
        "summary": "POST /governance/evidence-requests",
        "description": "POST /governance/evidence-requests",
        "tags": [
          "audit-workspace"
        ],
        "responses": {
          "100": {
            "description": "HTTP 100 response"
          },
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:778"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/findings": {
      "post": {
        "operationId": "post-audit-workspace-governance-findings",
        "summary": "POST /governance/findings",
        "description": "POST /governance/findings",
        "tags": [
          "audit-workspace"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "300": {
            "description": "HTTP 300 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "500": {
            "description": "HTTP 500 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:1008"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/findings/{findingId}/responses": {
      "post": {
        "operationId": "post-audit-workspace-governance-findings-finding-id-responses",
        "summary": "POST /governance/findings/{findingId}/responses",
        "description": "POST /governance/findings/{findingId}/responses",
        "tags": [
          "audit-workspace"
        ],
        "parameters": [
          {
            "name": "findingId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:1188"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/findings/{findingId}/root-causes": {
      "post": {
        "operationId": "post-audit-workspace-governance-findings-finding-id-root-causes",
        "summary": "POST /governance/findings/{findingId}/root-causes",
        "description": "POST /governance/findings/{findingId}/root-causes",
        "tags": [
          "audit-workspace"
        ],
        "parameters": [
          {
            "name": "findingId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:1156"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/findings/{findingId}/verifications": {
      "post": {
        "operationId": "post-audit-workspace-governance-findings-finding-id-verifications",
        "summary": "POST /governance/findings/{findingId}/verifications",
        "description": "POST /governance/findings/{findingId}/verifications",
        "tags": [
          "audit-workspace"
        ],
        "parameters": [
          {
            "name": "findingId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:1323"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/metrics": {
      "get": {
        "operationId": "get-audit-workspace-governance-metrics",
        "summary": "GET /governance/metrics",
        "description": "GET /governance/metrics",
        "tags": [
          "audit-workspace"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:1791"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/populations": {
      "post": {
        "operationId": "post-audit-workspace-governance-populations",
        "summary": "POST /governance/populations",
        "description": "POST /governance/populations",
        "tags": [
          "audit-workspace"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "400": {
            "description": "HTTP 400 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:697"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/programs": {
      "post": {
        "operationId": "post-audit-workspace-governance-programs",
        "summary": "POST /governance/programs",
        "description": "POST /governance/programs",
        "tags": [
          "audit-workspace"
        ],
        "responses": {
          "100": {
            "description": "HTTP 100 response"
          },
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:614"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/queries/preview": {
      "post": {
        "operationId": "post-audit-workspace-governance-queries-preview",
        "summary": "POST /governance/queries/preview",
        "description": "POST /governance/queries/preview",
        "tags": [
          "audit-workspace"
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          },
          "500": {
            "description": "HTTP 500 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:1596"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/reports": {
      "post": {
        "operationId": "post-audit-workspace-governance-reports",
        "summary": "POST /governance/reports",
        "description": "POST /governance/reports",
        "tags": [
          "audit-workspace"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:1385"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/reports/{reportId}/approvals": {
      "post": {
        "operationId": "post-audit-workspace-governance-reports-report-id-approvals",
        "summary": "POST /governance/reports/{reportId}/approvals",
        "description": "POST /governance/reports/{reportId}/approvals",
        "tags": [
          "audit-workspace"
        ],
        "parameters": [
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:1445"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/simulations": {
      "post": {
        "operationId": "post-audit-workspace-governance-simulations",
        "summary": "POST /governance/simulations",
        "description": "POST /governance/simulations",
        "tags": [
          "audit-workspace"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "500": {
            "description": "HTTP 500 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:1512"
        ],
        "x-middlewares": []
      }
    },
    "/audit-workspace/governance/tests": {
      "post": {
        "operationId": "post-audit-workspace-governance-tests",
        "summary": "POST /governance/tests",
        "description": "POST /governance/tests",
        "tags": [
          "audit-workspace"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "400": {
            "description": "HTTP 400 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit-examination-governance.ts:807"
        ],
        "x-middlewares": []
      }
    },
    "/audit/legal-holds": {
      "post": {
        "operationId": "post-audit-legal-holds",
        "summary": "Creates an immutable tenant-scoped preservation record; it never changes or authorizes ledger data.",
        "description": "Creates an immutable tenant-scoped preservation record; it never changes or authorizes ledger data.",
        "tags": [
          "audit"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit.ts:352"
        ],
        "x-middlewares": []
      }
    },
    "/audit/report": {
      "get": {
        "operationId": "get-audit-report",
        "summary": "Consolidates a bounded tenant ledger without returning its metadata payloads or authorizing any action.",
        "description": "Consolidates a bounded tenant ledger without returning its metadata payloads or authorizing any action.",
        "tags": [
          "audit"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "413": {
            "description": "HTTP 413 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit.ts:85"
        ],
        "x-middlewares": []
      }
    },
    "/audit/summary": {
      "get": {
        "operationId": "get-audit-summary",
        "summary": "Returns bounded forensic aggregates; it never exposes another tenant's ledger.",
        "description": "Returns bounded forensic aggregates; it never exposes another tenant's ledger.",
        "tags": [
          "audit"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit.ts:57"
        ],
        "x-middlewares": []
      }
    },
    "/audit/verify": {
      "get": {
        "operationId": "get-audit-verify",
        "summary": "GET /verify",
        "description": "GET /verify",
        "tags": [
          "audit"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/audit.ts:36"
        ],
        "x-middlewares": []
      }
    },
    "/capabilities": {
      "get": {
        "operationId": "get-capabilities",
        "summary": "GET /",
        "description": "GET /",
        "tags": [
          "capabilities"
        ],
        "responses": {
          "422": {
            "description": "HTTP 422 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capabilities.ts:111"
        ],
        "x-middlewares": []
      }
    },
    "/capabilities/{id}/versions/{version}/approvals": {
      "post": {
        "operationId": "post-capabilities-id-versions-version-approvals",
        "summary": "POST /{id}/versions/{version}/approvals",
        "description": "POST /{id}/versions/{version}/approvals",
        "tags": [
          "capabilities"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capabilities.ts:181"
        ],
        "x-middlewares": []
      }
    },
    "/capabilities/{id}/versions/{version}/lifecycle": {
      "patch": {
        "operationId": "patch-capabilities-id-versions-version-lifecycle",
        "summary": "PATCH /{id}/versions/{version}/lifecycle",
        "description": "PATCH /{id}/versions/{version}/lifecycle",
        "tags": [
          "capabilities"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capabilities.ts:217"
        ],
        "x-middlewares": []
      }
    },
    "/capabilities/catalog/sync": {
      "post": {
        "operationId": "post-capabilities-catalog-sync",
        "summary": "POST /catalog/sync",
        "description": "POST /catalog/sync",
        "tags": [
          "capabilities"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capabilities.ts:72"
        ],
        "x-middlewares": []
      }
    },
    "/capacity/admissions": {
      "post": {
        "operationId": "post-capacity-admissions",
        "summary": "POST /admissions",
        "description": "POST /admissions",
        "tags": [
          "capacity"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capacity-orchestration.ts:665"
        ],
        "x-middlewares": []
      }
    },
    "/capacity/admissions/{admissionId}": {
      "get": {
        "operationId": "get-capacity-admissions-admission-id",
        "summary": "GET /admissions/{admissionId}",
        "description": "GET /admissions/{admissionId}",
        "tags": [
          "capacity"
        ],
        "parameters": [
          {
            "name": "admissionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capacity-orchestration.ts:894"
        ],
        "x-middlewares": []
      }
    },
    "/capacity/admissions/{admissionId}/release": {
      "post": {
        "operationId": "post-capacity-admissions-admission-id-release",
        "summary": "POST /admissions/{admissionId}/release",
        "description": "POST /admissions/{admissionId}/release",
        "tags": [
          "capacity"
        ],
        "parameters": [
          {
            "name": "admissionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capacity-orchestration.ts:854"
        ],
        "x-middlewares": []
      }
    },
    "/capacity/dependencies": {
      "post": {
        "operationId": "post-capacity-dependencies",
        "summary": "POST /dependencies",
        "description": "POST /dependencies",
        "tags": [
          "capacity"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capacity-orchestration.ts:630"
        ],
        "x-middlewares": []
      }
    },
    "/capacity/metrics": {
      "get": {
        "operationId": "get-capacity-metrics",
        "summary": "Returns aggregate tenant capacity health without exposing individual resource identities.",
        "description": "Returns aggregate tenant capacity health without exposing individual resource identities.",
        "tags": [
          "capacity"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capacity.ts:99"
        ],
        "x-middlewares": []
      }
    },
    "/capacity/pools": {
      "post": {
        "operationId": "post-capacity-pools",
        "summary": "POST /pools",
        "description": "POST /pools",
        "tags": [
          "capacity"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capacity-orchestration.ts:415"
        ],
        "x-middlewares": []
      }
    },
    "/capacity/pools/{poolId}/lifecycle": {
      "patch": {
        "operationId": "patch-capacity-pools-pool-id-lifecycle",
        "summary": "PATCH /pools/{poolId}/lifecycle",
        "description": "PATCH /pools/{poolId}/lifecycle",
        "tags": [
          "capacity"
        ],
        "parameters": [
          {
            "name": "poolId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capacity-orchestration.ts:519"
        ],
        "x-middlewares": []
      }
    },
    "/capacity/quotas": {
      "post": {
        "operationId": "post-capacity-quotas",
        "summary": "POST /quotas",
        "description": "POST /quotas",
        "tags": [
          "capacity"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capacity-orchestration.ts:551"
        ],
        "x-middlewares": []
      }
    },
    "/capacity/quotas/{quotaId}/lifecycle": {
      "patch": {
        "operationId": "patch-capacity-quotas-quota-id-lifecycle",
        "summary": "PATCH /quotas/{quotaId}/lifecycle",
        "description": "PATCH /quotas/{quotaId}/lifecycle",
        "tags": [
          "capacity"
        ],
        "parameters": [
          {
            "name": "quotaId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capacity-orchestration.ts:598"
        ],
        "x-middlewares": []
      }
    },
    "/capacity/reservations": {
      "post": {
        "operationId": "post-capacity-reservations",
        "summary": "POST /reservations",
        "description": "POST /reservations",
        "tags": [
          "capacity"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capacity.ts:164"
        ],
        "x-middlewares": []
      }
    },
    "/capacity/reservations/{reservationId}/release": {
      "post": {
        "operationId": "post-capacity-reservations-reservation-id-release",
        "summary": "POST /reservations/{reservationId}/release",
        "description": "POST /reservations/{reservationId}/release",
        "tags": [
          "capacity"
        ],
        "parameters": [
          {
            "name": "reservationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capacity.ts:230"
        ],
        "x-middlewares": []
      }
    },
    "/capacity/resources": {
      "get": {
        "operationId": "get-capacity-resources",
        "summary": "GET /resources",
        "description": "GET /resources",
        "tags": [
          "capacity"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capacity-orchestration.ts:320"
        ],
        "x-middlewares": []
      },
      "post": {
        "operationId": "post-capacity-resources",
        "summary": "POST /resources",
        "description": "POST /resources",
        "tags": [
          "capacity"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capacity.ts:123"
        ],
        "x-middlewares": []
      }
    },
    "/capacity/resources/{resourceId}": {
      "get": {
        "operationId": "get-capacity-resources-resource-id",
        "summary": "GET /resources/{resourceId}",
        "description": "GET /resources/{resourceId}",
        "tags": [
          "capacity"
        ],
        "parameters": [
          {
            "name": "resourceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capacity.ts:256"
        ],
        "x-middlewares": []
      }
    },
    "/capacity/resources/{resourceId}/health": {
      "post": {
        "operationId": "post-capacity-resources-resource-id-health",
        "summary": "POST /resources/{resourceId}/health",
        "description": "POST /resources/{resourceId}/health",
        "tags": [
          "capacity"
        ],
        "parameters": [
          {
            "name": "resourceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capacity-orchestration.ts:920"
        ],
        "x-middlewares": []
      }
    },
    "/capacity/resources/{resourceId}/profile": {
      "post": {
        "operationId": "post-capacity-resources-resource-id-profile",
        "summary": "POST /resources/{resourceId}/profile",
        "description": "POST /resources/{resourceId}/profile",
        "tags": [
          "capacity"
        ],
        "parameters": [
          {
            "name": "resourceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capacity-orchestration.ts:340"
        ],
        "x-middlewares": []
      },
      "patch": {
        "operationId": "patch-capacity-resources-resource-id-profile",
        "summary": "PATCH /resources/{resourceId}/profile",
        "description": "PATCH /resources/{resourceId}/profile",
        "tags": [
          "capacity"
        ],
        "parameters": [
          {
            "name": "resourceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capacity-orchestration.ts:379"
        ],
        "x-middlewares": []
      }
    },
    "/capacity/scheduler/claim": {
      "post": {
        "operationId": "post-capacity-scheduler-claim",
        "summary": "POST /scheduler/claim",
        "description": "POST /scheduler/claim",
        "tags": [
          "capacity"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/capacity-orchestration.ts:981"
        ],
        "x-middlewares": []
      }
    },
    "/chat": {
      "post": {
        "operationId": "post-chat",
        "summary": "POST /",
        "description": "POST /",
        "tags": [
          "chat"
        ],
        "responses": {
          "400": {
            "description": "HTTP 400 response"
          },
          "502": {
            "description": "HTTP 502 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/chat.ts:26"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/approval-policy-versions": {
      "post": {
        "operationId": "post-collaboration-approval-policy-versions",
        "summary": "Publishes an immutable approval-policy version.",
        "description": "Publishes an immutable approval-policy version.",
        "tags": [
          "collaboration"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:163"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/approval-tokens/introspect": {
      "post": {
        "operationId": "post-collaboration-approval-tokens-introspect",
        "summary": "Validates and optionally consumes an opaque approval token with a conditional state transition.",
        "description": "Validates and optionally consumes an opaque approval token with a conditional state transition.",
        "tags": [
          "collaboration"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:492"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/approvals/{requestId}/expire": {
      "post": {
        "operationId": "post-collaboration-approvals-request-id-expire",
        "summary": "Expires an overdue request and records bounded escalation contracts.",
        "description": "Expires an overdue request and records bounded escalation contracts.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:563"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/approvals/{requestId}/reconcile": {
      "post": {
        "operationId": "post-collaboration-approvals-request-id-reconcile",
        "summary": "Reconciles a request binding with State and revokes stale approvals.",
        "description": "Reconciles a request binding with State and revokes stale approvals.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:884"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/approvals/{requestId}/review": {
      "get": {
        "operationId": "get-collaboration-approvals-request-id-review",
        "summary": "Returns the least-privilege review facts needed for a human approval; it never changes approval state or execution authority.",
        "description": "Returns the least-privilege review facts needed for a human approval; it never changes approval state or execution authority.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:1070"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/approvals/{requestId}/revoke": {
      "post": {
        "operationId": "post-collaboration-approvals-request-id-revoke",
        "summary": "Revokes a non-terminal approval and every active token under the same request.",
        "description": "Revokes a non-terminal approval and every active token under the same request.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:527"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/approvals/{requestId}/timeline": {
      "get": {
        "operationId": "get-collaboration-approvals-request-id-timeline",
        "summary": "Returns the immutable approval timeline with current participants, votes, and token metadata.",
        "description": "Returns the immutable approval timeline with current participants, votes, and token metadata.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:1116"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/approvals/{requestId}/tokens": {
      "post": {
        "operationId": "post-collaboration-approvals-request-id-tokens",
        "summary": "Issues an opaque, one-time approval token while persisting only its digest.",
        "description": "Issues an opaque, one-time approval token while persisting only its digest.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:449"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/approvals/{requestId}/votes": {
      "post": {
        "operationId": "post-collaboration-approvals-request-id-votes",
        "summary": "Casts an approval vote after reloading every immutable policy and binding input.",
        "description": "Casts an approval vote after reloading every immutable policy and binding input.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:388"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/bulk-simulations": {
      "post": {
        "operationId": "post-collaboration-bulk-simulations",
        "summary": "Persists a dry-run bulk preview with an itemized safety decision.",
        "description": "Persists a dry-run bulk preview with an itemized safety decision.",
        "tags": [
          "collaboration"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:956"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/commands/preview": {
      "post": {
        "operationId": "post-collaboration-commands-preview",
        "summary": "Parses a bounded natural-language collaboration command as preview only.",
        "description": "Parses a bounded natural-language collaboration command as preview only.",
        "tags": [
          "collaboration"
        ],
        "responses": {
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:928"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/integrations/{dispatchId}/acknowledgements": {
      "post": {
        "operationId": "post-collaboration-integrations-dispatch-id-acknowledgements",
        "summary": "Records immutable consumer proof for one collaboration integration dispatch.",
        "description": "Records immutable consumer proof for one collaboration integration dispatch.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "dispatchId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:1163"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/metrics": {
      "get": {
        "operationId": "get-collaboration-metrics",
        "summary": "Returns tenant-scoped collaboration health, approval, evidence, and integration counters.",
        "description": "Returns tenant-scoped collaboration health, approval, evidence, and integration counters.",
        "tags": [
          "collaboration"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:1275"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces": {
      "post": {
        "operationId": "post-collaboration-workspaces",
        "summary": "POST /workspaces",
        "description": "POST /workspaces",
        "tags": [
          "collaboration"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration.ts:218"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/approvals": {
      "post": {
        "operationId": "post-collaboration-workspaces-workspace-id-approvals",
        "summary": "Creates a policy-pinned approval request and durable contracts for every collaborating fabric.",
        "description": "Creates a policy-pinned approval request and durable contracts for every collaborating fabric.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:246"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/close": {
      "post": {
        "operationId": "post-collaboration-workspaces-workspace-id-close",
        "summary": "Closes a completed workspace while retaining its immutable audit history.",
        "description": "Closes a completed workspace while retaining its immutable audit history.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:1239"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/comments": {
      "post": {
        "operationId": "post-collaboration-workspaces-workspace-id-comments",
        "summary": "POST /workspaces/{workspaceId}/comments",
        "description": "POST /workspaces/{workspaceId}/comments",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration.ts:435"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/complete": {
      "post": {
        "operationId": "post-collaboration-workspaces-workspace-id-complete",
        "summary": "Marks collaboration completed only after approved binding and verified Workflow proof.",
        "description": "Marks collaboration completed only after approved binding and verified Workflow proof.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:1199"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/context": {
      "post": {
        "operationId": "post-collaboration-workspaces-workspace-id-context",
        "summary": "POST /workspaces/{workspaceId}/context",
        "description": "POST /workspaces/{workspaceId}/context",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration.ts:270"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/context-projection": {
      "get": {
        "operationId": "get-collaboration-workspaces-workspace-id-context-projection",
        "summary": "Returns and caches a least-privilege collaboration context projection.",
        "description": "Returns and caches a least-privilege collaboration context projection.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:842"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/evidence-submissions": {
      "post": {
        "operationId": "post-collaboration-workspaces-workspace-id-evidence-submissions",
        "summary": "Stores hash-addressed evidence with Knowledge Fabric trust and classification metadata.",
        "description": "Stores hash-addressed evidence with Knowledge Fabric trust and classification metadata.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:744"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/handoffs": {
      "post": {
        "operationId": "post-collaboration-workspaces-workspace-id-handoffs",
        "summary": "POST /workspaces/{workspaceId}/handoffs",
        "description": "POST /workspaces/{workspaceId}/handoffs",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration.ts:322"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/handoffs/{handoffId}/accept": {
      "post": {
        "operationId": "post-collaboration-workspaces-workspace-id-handoffs-handoff-id-accept",
        "summary": "POST /workspaces/{workspaceId}/handoffs/{handoffId}/accept",
        "description": "POST /workspaces/{workspaceId}/handoffs/{handoffId}/accept",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "handoffId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration.ts:377"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/handoffs/{handoffId}/expire": {
      "post": {
        "operationId": "post-collaboration-workspaces-workspace-id-handoffs-handoff-id-expire",
        "summary": "Expires an overdue pending handoff without changing its owner.",
        "description": "Expires an overdue pending handoff without changing its owner.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "handoffId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:640"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/handoffs/{handoffId}/reject": {
      "post": {
        "operationId": "post-collaboration-workspaces-workspace-id-handoffs-handoff-id-reject",
        "summary": "Rejects a pending handoff while retaining current workspace ownership.",
        "description": "Rejects a pending handoff while retaining current workspace ownership.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "handoffId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:604"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/information-requests": {
      "post": {
        "operationId": "post-collaboration-workspaces-workspace-id-information-requests",
        "summary": "Opens a bounded information request; it is collaboration state, never an approval or authority grant.",
        "description": "Opens a bounded information request; it is collaboration state, never an approval or authority grant.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration.ts:87"
        ],
        "x-middlewares": []
      },
      "get": {
        "operationId": "get-collaboration-workspaces-workspace-id-information-requests",
        "summary": "Lists the workspace information-request lifecycle without exposing it as approval state.",
        "description": "Lists the workspace information-request lifecycle without exposing it as approval state.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration.ts:189"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/information-requests/{requestId}/answer": {
      "post": {
        "operationId": "post-collaboration-workspaces-workspace-id-information-requests-request-id-answer",
        "summary": "Answers a request only as its target and attaches evidence references without implying verification.",
        "description": "Answers a request only as its target and attaches evidence references without implying verification.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration.ts:119"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/information-requests/{requestId}/close": {
      "post": {
        "operationId": "post-collaboration-workspaces-workspace-id-information-requests-request-id-close",
        "summary": "Closes only a verified information request under its active workspace owner; closure is not approval.",
        "description": "Closes only a verified information request under its active workspace owner; closure is not approval.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration.ts:169"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/information-requests/{requestId}/verify": {
      "post": {
        "operationId": "post-collaboration-workspaces-workspace-id-information-requests-request-id-verify",
        "summary": "Lets the workspace owner verify an answered request; verification is distinct from approval.",
        "description": "Lets the workspace owner verify an answered request; verification is distinct from approval.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration.ts:149"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/mentions": {
      "post": {
        "operationId": "post-collaboration-workspaces-workspace-id-mentions",
        "summary": "Normalizes a mention into durable Attention and Notification integration records.",
        "description": "Normalizes a mention into durable Attention and Notification integration records.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:776"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/participants": {
      "post": {
        "operationId": "post-collaboration-workspaces-workspace-id-participants",
        "summary": "Registers a tenant-scoped collaboration participant with an explicit authorization decision.",
        "description": "Registers a tenant-scoped collaboration participant with an explicit authorization decision.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:213"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/presence": {
      "post": {
        "operationId": "post-collaboration-workspaces-workspace-id-presence",
        "summary": "Renews self presence through a bounded lease rather than durable online state.",
        "description": "Renews self presence through a bounded lease rather than durable online state.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:810"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/semantic-manifest": {
      "get": {
        "operationId": "get-collaboration-workspaces-workspace-id-semantic-manifest",
        "summary": "Returns a Semantic UI contract whose mutations always require confirmation and reauthorization.",
        "description": "Returns a Semantic UI contract whose mutations always require confirmation and reauthorization.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:1038"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/takeover-policy-decisions": {
      "post": {
        "operationId": "post-collaboration-workspaces-workspace-id-takeover-policy-decisions",
        "summary": "Persists an immutable takeover decision after validating the active Capability Registry.",
        "description": "Persists an immutable takeover decision after validating the active Capability Registry.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:661"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/takeovers": {
      "post": {
        "operationId": "post-collaboration-workspaces-workspace-id-takeovers",
        "summary": "Records a governed human or agent takeover; override pauses instead of bypassing policy.",
        "description": "Records a governed human or agent takeover; override pauses instead of bypassing policy.",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration-approval.ts:699"
        ],
        "x-middlewares": []
      }
    },
    "/collaboration/workspaces/{workspaceId}/timeline": {
      "get": {
        "operationId": "get-collaboration-workspaces-workspace-id-timeline",
        "summary": "GET /workspaces/{workspaceId}/timeline",
        "description": "GET /workspaces/{workspaceId}/timeline",
        "tags": [
          "collaboration"
        ],
        "parameters": [
          {
            "name": "workspaceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/collaboration.ts:485"
        ],
        "x-middlewares": []
      }
    },
    "/compliance/controls": {
      "post": {
        "operationId": "post-compliance-controls",
        "summary": "POST /controls",
        "description": "POST /controls",
        "tags": [
          "compliance"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/compliance.ts:170"
        ],
        "x-middlewares": []
      }
    },
    "/compliance/evaluations": {
      "post": {
        "operationId": "post-compliance-evaluations",
        "summary": "POST /evaluations",
        "description": "POST /evaluations",
        "tags": [
          "compliance"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/compliance.ts:250"
        ],
        "x-middlewares": []
      }
    },
    "/compliance/evidence": {
      "post": {
        "operationId": "post-compliance-evidence",
        "summary": "POST /evidence",
        "description": "POST /evidence",
        "tags": [
          "compliance"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/compliance.ts:208"
        ],
        "x-middlewares": []
      }
    },
    "/compliance/governance/entity-bindings": {
      "post": {
        "operationId": "post-compliance-governance-entity-bindings",
        "summary": "Binds a versioned requirement to one governed business entity.",
        "description": "Binds a versioned requirement to one governed business entity.",
        "tags": [
          "compliance"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/compliance-governance.ts:281"
        ],
        "x-middlewares": []
      }
    },
    "/compliance/governance/evaluations": {
      "post": {
        "operationId": "post-compliance-governance-evaluations",
        "summary": "Evaluates and persists one reproducible point-in-time compliance snapshot.",
        "description": "Evaluates and persists one reproducible point-in-time compliance snapshot.",
        "tags": [
          "compliance"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/compliance-governance.ts:359"
        ],
        "x-middlewares": []
      }
    },
    "/compliance/governance/exceptions": {
      "post": {
        "operationId": "post-compliance-governance-exceptions",
        "summary": "Registers an explicit authorized exception and its non-invented compensating controls.",
        "description": "Registers an explicit authorized exception and its non-invented compensating controls.",
        "tags": [
          "compliance"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/compliance-governance.ts:315"
        ],
        "x-middlewares": []
      }
    },
    "/compliance/governance/history": {
      "get": {
        "operationId": "get-compliance-governance-history",
        "summary": "Returns immutable point-in-time evidence and remediation history for one tenant entity.",
        "description": "Returns immutable point-in-time evidence and remediation history for one tenant entity.",
        "tags": [
          "compliance"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/compliance-governance.ts:585"
        ],
        "x-middlewares": []
      }
    },
    "/compliance/governance/metrics": {
      "get": {
        "operationId": "get-compliance-governance-metrics",
        "summary": "Returns tenant-scoped operational governance counters.",
        "description": "Returns tenant-scoped operational governance counters.",
        "tags": [
          "compliance"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/compliance-governance.ts:623"
        ],
        "x-middlewares": []
      }
    },
    "/compliance/governance/regulations": {
      "post": {
        "operationId": "post-compliance-governance-regulations",
        "summary": "Publishes an immutable regulation version linked to an active registered source.",
        "description": "Publishes an immutable regulation version linked to an active registered source.",
        "tags": [
          "compliance"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/compliance-governance.ts:183"
        ],
        "x-middlewares": []
      }
    },
    "/compliance/governance/remediations": {
      "post": {
        "operationId": "post-compliance-governance-remediations",
        "summary": "Creates a responsibility-bound remediation for one immutable compliance gap.",
        "description": "Creates a responsibility-bound remediation for one immutable compliance gap.",
        "tags": [
          "compliance"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/compliance-governance.ts:466"
        ],
        "x-middlewares": []
      }
    },
    "/compliance/governance/remediations/{remediationId}/transition": {
      "post": {
        "operationId": "post-compliance-governance-remediations-remediation-id-transition",
        "summary": "Advances a remediation through its strict auditable lifecycle.",
        "description": "Advances a remediation through its strict auditable lifecycle.",
        "tags": [
          "compliance"
        ],
        "parameters": [
          {
            "name": "remediationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/compliance-governance.ts:520"
        ],
        "x-middlewares": []
      }
    },
    "/compliance/governance/remediations/{remediationId}/verify": {
      "post": {
        "operationId": "post-compliance-governance-remediations-remediation-id-verify",
        "summary": "Verifies remediation only from a new deterministic compliant snapshot.",
        "description": "Verifies remediation only from a new deterministic compliant snapshot.",
        "tags": [
          "compliance"
        ],
        "parameters": [
          {
            "name": "remediationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/compliance-governance.ts:558"
        ],
        "x-middlewares": []
      }
    },
    "/compliance/governance/requirements": {
      "post": {
        "operationId": "post-compliance-governance-requirements",
        "summary": "Certifies and publishes an operational requirement into the existing requirement registry.",
        "description": "Certifies and publishes an operational requirement into the existing requirement registry.",
        "tags": [
          "compliance"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/compliance-governance.ts:219"
        ],
        "x-middlewares": []
      }
    },
    "/compliance/governance/sources": {
      "post": {
        "operationId": "post-compliance-governance-sources",
        "summary": "Registers one immutable, integrity-bound regulatory source version.",
        "description": "Registers one immutable, integrity-bound regulatory source version.",
        "tags": [
          "compliance"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/compliance-governance.ts:149"
        ],
        "x-middlewares": []
      }
    },
    "/compliance/queries/preview": {
      "post": {
        "operationId": "post-compliance-queries-preview",
        "summary": "Parses a bounded compliance query without storing text or granting authority.",
        "description": "Parses a bounded compliance query without storing text or granting authority.",
        "tags": [
          "compliance"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/compliance-governance.ts:599"
        ],
        "x-middlewares": []
      }
    },
    "/compliance/requirements": {
      "post": {
        "operationId": "post-compliance-requirements",
        "summary": "POST /requirements",
        "description": "POST /requirements",
        "tags": [
          "compliance"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/compliance.ts:130"
        ],
        "x-middlewares": []
      }
    },
    "/control-automation/controls": {
      "post": {
        "operationId": "post-control-automation-controls",
        "summary": "POST /controls",
        "description": "POST /controls",
        "tags": [
          "control-automation"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/control-automation.ts:107"
        ],
        "x-middlewares": []
      }
    },
    "/control-automation/dependencies": {
      "post": {
        "operationId": "post-control-automation-dependencies",
        "summary": "POST /dependencies",
        "description": "POST /dependencies",
        "tags": [
          "control-automation"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/control-graph.ts:35"
        ],
        "x-middlewares": []
      }
    },
    "/control-automation/evaluations": {
      "post": {
        "operationId": "post-control-automation-evaluations",
        "summary": "POST /evaluations",
        "description": "POST /evaluations",
        "tags": [
          "control-automation"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/control-automation.ts:139"
        ],
        "x-middlewares": []
      }
    },
    "/control-automation/governance/collectors": {
      "post": {
        "operationId": "post-control-automation-governance-collectors",
        "summary": "POST /governance/collectors",
        "description": "POST /governance/collectors",
        "tags": [
          "control-automation"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/control-automation-governance.ts:392"
        ],
        "x-middlewares": []
      }
    },
    "/control-automation/governance/compensations": {
      "post": {
        "operationId": "post-control-automation-governance-compensations",
        "summary": "POST /governance/compensations",
        "description": "POST /governance/compensations",
        "tags": [
          "control-automation"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/control-automation-governance.ts:856"
        ],
        "x-middlewares": []
      }
    },
    "/control-automation/governance/entities/{type}/{id}/history": {
      "get": {
        "operationId": "get-control-automation-governance-entities-type-id-history",
        "summary": "GET /governance/entities/{type}/{id}/history",
        "description": "GET /governance/entities/{type}/{id}/history",
        "tags": [
          "control-automation"
        ],
        "parameters": [
          {
            "name": "type",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/control-automation-governance.ts:1720"
        ],
        "x-middlewares": []
      }
    },
    "/control-automation/governance/evaluations": {
      "post": {
        "operationId": "post-control-automation-governance-evaluations",
        "summary": "POST /governance/evaluations",
        "description": "POST /governance/evaluations",
        "tags": [
          "control-automation"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/control-automation-governance.ts:1027"
        ],
        "x-middlewares": []
      }
    },
    "/control-automation/governance/graph": {
      "get": {
        "operationId": "get-control-automation-governance-graph",
        "summary": "GET /governance/graph",
        "description": "GET /governance/graph",
        "tags": [
          "control-automation"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/control-automation-governance.ts:1755"
        ],
        "x-middlewares": []
      }
    },
    "/control-automation/governance/health": {
      "get": {
        "operationId": "get-control-automation-governance-health",
        "summary": "GET /governance/health",
        "description": "GET /governance/health",
        "tags": [
          "control-automation"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/control-automation-governance.ts:1571"
        ],
        "x-middlewares": []
      }
    },
    "/control-automation/governance/objectives": {
      "post": {
        "operationId": "post-control-automation-governance-objectives",
        "summary": "POST /governance/objectives",
        "description": "POST /governance/objectives",
        "tags": [
          "control-automation"
        ],
        "responses": {
          "100": {
            "description": "HTTP 100 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/control-automation-governance.ts:280"
        ],
        "x-middlewares": []
      }
    },
    "/control-automation/governance/portfolio-snapshots": {
      "post": {
        "operationId": "post-control-automation-governance-portfolio-snapshots",
        "summary": "POST /governance/portfolio-snapshots",
        "description": "POST /governance/portfolio-snapshots",
        "tags": [
          "control-automation"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/control-automation-governance.ts:1590"
        ],
        "x-middlewares": []
      }
    },
    "/control-automation/governance/profiles": {
      "post": {
        "operationId": "post-control-automation-governance-profiles",
        "summary": "POST /governance/profiles",
        "description": "POST /governance/profiles",
        "tags": [
          "control-automation"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/control-automation-governance.ts:537"
        ],
        "x-middlewares": []
      }
    },
    "/control-automation/governance/queries/preview": {
      "post": {
        "operationId": "post-control-automation-governance-queries-preview",
        "summary": "POST /governance/queries/preview",
        "description": "POST /governance/queries/preview",
        "tags": [
          "control-automation"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/control-automation-governance.ts:1827"
        ],
        "x-middlewares": []
      }
    },
    "/control-automation/health": {
      "get": {
        "operationId": "get-control-automation-health",
        "summary": "Computes a tenant-isolated health snapshot from current control versions, evaluations, and delivery state.",
        "description": "Computes a tenant-isolated health snapshot from current control versions, evaluations, and delivery state.",
        "tags": [
          "control-automation"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/control-health.ts:36"
        ],
        "x-middlewares": []
      }
    },
    "/control-automation/overrides": {
      "post": {
        "operationId": "post-control-automation-overrides",
        "summary": "Records a time-bounded exception request while preserving the immutable evaluation result.",
        "description": "Records a time-bounded exception request while preserving the immutable evaluation result.",
        "tags": [
          "control-automation"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/control-overrides.ts:35"
        ],
        "x-middlewares": []
      }
    },
    "/control-automation/overrides/{overrideId}/approve": {
      "post": {
        "operationId": "post-control-automation-overrides-override-id-approve",
        "summary": "Approves a reviewed temporary exception without rewriting the control evaluation.",
        "description": "Approves a reviewed temporary exception without rewriting the control evaluation.",
        "tags": [
          "control-automation"
        ],
        "parameters": [
          {
            "name": "overrideId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/control-overrides.ts:83"
        ],
        "x-middlewares": []
      }
    },
    "/control-automation/plan": {
      "get": {
        "operationId": "get-control-automation-plan",
        "summary": "GET /plan",
        "description": "GET /plan",
        "tags": [
          "control-automation"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/control-graph.ts:108"
        ],
        "x-middlewares": []
      }
    },
    "/control-automation/remediations/{remediationId}/authorize": {
      "post": {
        "operationId": "post-control-automation-remediations-remediation-id-authorize",
        "summary": "Binds remediation to the separately policy-authorized intervention that owns its capability execution.",
        "description": "Binds remediation to the separately policy-authorized intervention that owns its capability execution.",
        "tags": [
          "control-automation"
        ],
        "parameters": [
          {
            "name": "remediationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/control-remediations.ts:64"
        ],
        "x-middlewares": []
      }
    },
    "/control-automation/remediations/{remediationId}/plan-intervention": {
      "post": {
        "operationId": "post-control-automation-remediations-remediation-id-plan-intervention",
        "summary": "Plans a human-authorization-gated intervention from an open remediation and a uniquely matching active template.",
        "description": "Plans a human-authorization-gated intervention from an open remediation and a uniquely matching active template.",
        "tags": [
          "control-automation"
        ],
        "parameters": [
          {
            "name": "remediationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/control-remediations.ts:35"
        ],
        "x-middlewares": []
      }
    },
    "/control-automation/remediations/{remediationId}/verify": {
      "post": {
        "operationId": "post-control-automation-remediations-remediation-id-verify",
        "summary": "Completes remediation only from an EFFECTIVE intervention and a fresh passing verification control.",
        "description": "Completes remediation only from an EFFECTIVE intervention and a fresh passing verification control.",
        "tags": [
          "control-automation"
        ],
        "parameters": [
          {
            "name": "remediationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/control-remediations.ts:103"
        ],
        "x-middlewares": []
      }
    },
    "/controls": {
      "post": {
        "operationId": "post-controls",
        "summary": "POST /",
        "description": "POST /",
        "tags": [
          "controls"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/security/emergency-control.ts:126"
        ],
        "x-middlewares": []
      },
      "get": {
        "operationId": "get-controls",
        "summary": "GET /",
        "description": "GET /",
        "tags": [
          "controls"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/security/emergency-control.ts:221"
        ],
        "x-middlewares": []
      }
    },
    "/controls/{controlId}/deactivate": {
      "post": {
        "operationId": "post-controls-control-id-deactivate",
        "summary": "POST /{controlId}/deactivate",
        "description": "POST /{controlId}/deactivate",
        "tags": [
          "controls"
        ],
        "parameters": [
          {
            "name": "controlId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/security/emergency-control.ts:179"
        ],
        "x-middlewares": []
      }
    },
    "/decisions": {
      "post": {
        "operationId": "post-decisions",
        "summary": "Records deterministic evidence-backed alternatives; the selected alternative is a recommendation, never an approval or execution grant.",
        "description": "Records deterministic evidence-backed alternatives; the selected alternative is a recommendation, never an approval or execution grant.",
        "tags": [
          "decisions"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/decisions.ts:106"
        ],
        "x-middlewares": []
      }
    },
    "/decisions/{decisionId}": {
      "get": {
        "operationId": "get-decisions-decision-id",
        "summary": "Reads an immutable decision record only within its tenant boundary.",
        "description": "Reads an immutable decision record only within its tenant boundary.",
        "tags": [
          "decisions"
        ],
        "parameters": [
          {
            "name": "decisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/decisions.ts:200"
        ],
        "x-middlewares": []
      }
    },
    "/decisions/{decisionId}/replay": {
      "post": {
        "operationId": "post-decisions-decision-id-replay",
        "summary": "Replays immutable decision input to detect deterministic drift without altering the historical record.",
        "description": "Replays immutable decision input to detect deterministic drift without altering the historical record.",
        "tags": [
          "decisions"
        ],
        "parameters": [
          {
            "name": "decisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/decisions.ts:176"
        ],
        "x-middlewares": []
      }
    },
    "/decisions/{decisionId}/what-if": {
      "post": {
        "operationId": "post-decisions-decision-id-what-if",
        "summary": "Projects a counterfactual alternative from an immutable decision record without creating mutations or execution authority.",
        "description": "Projects a counterfactual alternative from an immutable decision record without creating mutations or execution authority.",
        "tags": [
          "decisions"
        ],
        "parameters": [
          {
            "name": "decisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/decisions.ts:139"
        ],
        "x-middlewares": []
      }
    },
    "/decisions/operational-situations/{situationId}": {
      "post": {
        "operationId": "post-decisions-operational-situations-situation-id",
        "summary": "Converts a critical operational snapshot into a durable review recommendation; it cannot grant intervention or execution authority.",
        "description": "Converts a critical operational snapshot into a durable review recommendation; it cannot grant intervention or execution authority.",
        "tags": [
          "decisions"
        ],
        "parameters": [
          {
            "name": "situationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/decisions.ts:36"
        ],
        "x-middlewares": []
      }
    },
    "/decisions/risk-predictions/{predictionId}": {
      "post": {
        "operationId": "post-decisions-risk-predictions-prediction-id",
        "summary": "Converts a critical or review-required risk snapshot into a durable review recommendation; it cannot grant execution authority.",
        "description": "Converts a critical or review-required risk snapshot into a durable review recommendation; it cannot grant execution authority.",
        "tags": [
          "decisions"
        ],
        "parameters": [
          {
            "name": "predictionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/decisions.ts:71"
        ],
        "x-middlewares": []
      }
    },
    "/delegations": {
      "post": {
        "operationId": "post-delegations",
        "summary": "Issues a single opaque delegated token; only its SHA-256 hash is retained and issuance grants no direct execution authority.",
        "description": "Issues a single opaque delegated token; only its SHA-256 hash is retained and issuance grants no direct execution authority.",
        "tags": [
          "delegations"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/delegations.ts:59"
        ],
        "x-middlewares": []
      }
    },
    "/delegations/{delegationId}/revoke": {
      "post": {
        "operationId": "post-delegations-delegation-id-revoke",
        "summary": "Revokes a tenant-owned token atomically; revoked grants remain deny-only audit state.",
        "description": "Revokes a tenant-owned token atomically; revoked grants remain deny-only audit state.",
        "tags": [
          "delegations"
        ],
        "parameters": [
          {
            "name": "delegationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/delegations.ts:153"
        ],
        "x-middlewares": []
      }
    },
    "/delegations/authorize": {
      "post": {
        "operationId": "post-delegations-authorize",
        "summary": "Checks an opaque token against its exact tenant, delegate, audience, capability, resource, expiry, and revocation state.",
        "description": "Checks an opaque token against its exact tenant, delegate, audience, capability, resource, expiry, and revocation state.",
        "tags": [
          "delegations"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/delegations.ts:122"
        ],
        "x-middlewares": []
      }
    },
    "/device-gateway/{tenantId}/{sourceId}": {
      "post": {
        "operationId": "post-device-gateway-tenant-id-source-id",
        "summary": "POST /{tenantId}/{sourceId}",
        "description": "POST /{tenantId}/{sourceId}",
        "tags": [
          "device-gateway"
        ],
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sourceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "401": {
            "description": "HTTP 401 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "413": {
            "description": "HTTP 413 response"
          },
          "415": {
            "description": "HTTP 415 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/device-gateway.ts:68"
        ],
        "x-middlewares": []
      }
    },
    "/events": {
      "post": {
        "operationId": "post-events",
        "summary": "POST /",
        "description": "POST /",
        "tags": [
          "events"
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/events.ts:9"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/bundles": {
      "post": {
        "operationId": "post-evidence-fabric-bundles",
        "summary": "POST /bundles",
        "description": "POST /bundles",
        "tags": [
          "evidence-fabric"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-fabric.ts:151"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/bundles/{id}": {
      "get": {
        "operationId": "get-evidence-fabric-bundles-id",
        "summary": "GET /bundles/{id}",
        "description": "GET /bundles/{id}",
        "tags": [
          "evidence-fabric"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-fabric.ts:251"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/evidence": {
      "post": {
        "operationId": "post-evidence-fabric-evidence",
        "summary": "POST /evidence",
        "description": "POST /evidence",
        "tags": [
          "evidence-fabric"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-fabric.ts:84"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/evidence/{evidenceId}/exports": {
      "post": {
        "operationId": "post-evidence-fabric-evidence-evidence-id-exports",
        "summary": "Audits a purpose-bound, tenant-private evidence export",
        "description": "Audits a purpose-bound, tenant-private evidence export. It never issues a public object URL or mutates original payload bytes.",
        "tags": [
          "evidence-fabric"
        ],
        "parameters": [
          {
            "name": "evidenceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-exports.ts:70"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/evidence/{evidenceId}/payload": {
      "post": {
        "operationId": "post-evidence-fabric-evidence-evidence-id-payload",
        "summary": "Stores an evidence payload privately in R2 only after its bytes match the immutable Evidence Fabric hash.",
        "description": "Stores an evidence payload privately in R2 only after its bytes match the immutable Evidence Fabric hash.",
        "tags": [
          "evidence-fabric"
        ],
        "parameters": [
          {
            "name": "evidenceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-payloads.ts:58"
        ],
        "x-middlewares": []
      },
      "get": {
        "operationId": "get-evidence-fabric-evidence-evidence-id-payload",
        "summary": "Reads a private evidence payload only after cross-checking D1, R2 metadata and the stored bytes.",
        "description": "Reads a private evidence payload only after cross-checking D1, R2 metadata and the stored bytes.",
        "tags": [
          "evidence-fabric"
        ],
        "parameters": [
          {
            "name": "evidenceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-payloads.ts:108"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/evidence/{evidenceId}/signatures": {
      "post": {
        "operationId": "post-evidence-fabric-evidence-evidence-id-signatures",
        "summary": "Verifies an ECDSA signature over the evidence's immutable SHA-256 string against a tenant-owned active public key.",
        "description": "Verifies an ECDSA signature over the evidence's immutable SHA-256 string against a tenant-owned active public key.",
        "tags": [
          "evidence-fabric"
        ],
        "parameters": [
          {
            "name": "evidenceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-signatures.ts:113"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/evidence/{id}/revoke": {
      "post": {
        "operationId": "post-evidence-fabric-evidence-id-revoke",
        "summary": "POST /evidence/{id}/revoke",
        "description": "POST /evidence/{id}/revoke",
        "tags": [
          "evidence-fabric"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-fabric.ts:129"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/governance/assessments": {
      "post": {
        "operationId": "post-evidence-fabric-governance-assessments",
        "summary": "POST /governance/assessments",
        "description": "POST /governance/assessments",
        "tags": [
          "evidence-fabric"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-audit-governance.ts:1005"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/governance/certifications": {
      "post": {
        "operationId": "post-evidence-fabric-governance-certifications",
        "summary": "POST /governance/certifications",
        "description": "POST /governance/certifications",
        "tags": [
          "evidence-fabric"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-audit-governance.ts:1431"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/governance/collections": {
      "post": {
        "operationId": "post-evidence-fabric-governance-collections",
        "summary": "POST /governance/collections",
        "description": "POST /governance/collections",
        "tags": [
          "evidence-fabric"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-audit-governance.ts:2231"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/governance/entities/{type}/{id}/history": {
      "get": {
        "operationId": "get-evidence-fabric-governance-entities-type-id-history",
        "summary": "GET /governance/entities/{type}/{id}/history",
        "description": "GET /governance/entities/{type}/{id}/history",
        "tags": [
          "evidence-fabric"
        ],
        "parameters": [
          {
            "name": "type",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-audit-governance.ts:2632"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/governance/graph": {
      "get": {
        "operationId": "get-evidence-fabric-governance-graph",
        "summary": "GET /governance/graph",
        "description": "GET /governance/graph",
        "tags": [
          "evidence-fabric"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-audit-governance.ts:2529"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/governance/impacts": {
      "post": {
        "operationId": "post-evidence-fabric-governance-impacts",
        "summary": "POST /governance/impacts",
        "description": "POST /governance/impacts",
        "tags": [
          "evidence-fabric"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-audit-governance.ts:2383"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/governance/packages": {
      "post": {
        "operationId": "post-evidence-fabric-governance-packages",
        "summary": "POST /governance/packages",
        "description": "POST /governance/packages",
        "tags": [
          "evidence-fabric"
        ],
        "responses": {
          "100": {
            "description": "HTTP 100 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-audit-governance.ts:1755"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/governance/profiles": {
      "post": {
        "operationId": "post-evidence-fabric-governance-profiles",
        "summary": "POST /governance/profiles",
        "description": "POST /governance/profiles",
        "tags": [
          "evidence-fabric"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-audit-governance.ts:856"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/governance/queries/preview": {
      "post": {
        "operationId": "post-evidence-fabric-governance-queries-preview",
        "summary": "POST /governance/queries/preview",
        "description": "POST /governance/queries/preview",
        "tags": [
          "evidence-fabric"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-audit-governance.ts:2694"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/governance/readiness": {
      "get": {
        "operationId": "get-evidence-fabric-governance-readiness",
        "summary": "GET /governance/readiness",
        "description": "GET /governance/readiness",
        "tags": [
          "evidence-fabric"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-audit-governance.ts:2588"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/governance/schemas": {
      "post": {
        "operationId": "post-evidence-fabric-governance-schemas",
        "summary": "POST /governance/schemas",
        "description": "POST /governance/schemas",
        "tags": [
          "evidence-fabric"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-audit-governance.ts:740"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/governance/snapshots": {
      "post": {
        "operationId": "post-evidence-fabric-governance-snapshots",
        "summary": "POST /governance/snapshots",
        "description": "POST /governance/snapshots",
        "tags": [
          "evidence-fabric"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "500": {
            "description": "HTTP 500 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-audit-governance.ts:1555"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/governance/sources": {
      "post": {
        "operationId": "post-evidence-fabric-governance-sources",
        "summary": "POST /governance/sources",
        "description": "POST /governance/sources",
        "tags": [
          "evidence-fabric"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-audit-governance.ts:616"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/signing-keys": {
      "post": {
        "operationId": "post-evidence-fabric-signing-keys",
        "summary": "Registers only an ECDSA P-256 public verification key; private key material is never accepted or stored.",
        "description": "Registers only an ECDSA P-256 public verification key; private key material is never accepted or stored.",
        "tags": [
          "evidence-fabric"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-signatures.ts:81"
        ],
        "x-middlewares": []
      }
    },
    "/evidence-fabric/sources/health": {
      "get": {
        "operationId": "get-evidence-fabric-sources-health",
        "summary": "Reports source liveness from immutable evidence observations; a source is never silently treated as healthy when stale.",
        "description": "Reports source liveness from immutable evidence observations; a source is never silently treated as healthy when stale.",
        "tags": [
          "evidence-fabric"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/evidence-source-health.ts:35"
        ],
        "x-middlewares": []
      }
    },
    "/exceptions": {
      "post": {
        "operationId": "post-exceptions",
        "summary": "POST /",
        "description": "POST /",
        "tags": [
          "exceptions"
        ],
        "responses": {
          "160": {
            "description": "HTTP 160 response"
          },
          "202": {
            "description": "HTTP 202 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "500": {
            "description": "HTTP 500 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/exceptions.ts:16"
        ],
        "x-middlewares": []
      }
    },
    "/execution-events/stream": {
      "get": {
        "operationId": "get-execution-events-stream",
        "summary": "GET /stream",
        "description": "GET /stream",
        "tags": [
          "execution-events"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/execution-events.ts:13"
        ],
        "x-middlewares": []
      }
    },
    "/goals": {
      "post": {
        "operationId": "post-goals",
        "summary": "POST /",
        "description": "POST /",
        "tags": [
          "goals"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goals.ts:34"
        ],
        "x-middlewares": []
      }
    },
    "/goals/{goalId}/activate": {
      "post": {
        "operationId": "post-goals-goal-id-activate",
        "summary": "POST /{goalId}/activate",
        "description": "POST /{goalId}/activate",
        "tags": [
          "goals"
        ],
        "parameters": [
          {
            "name": "goalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goals.ts:68"
        ],
        "x-middlewares": []
      }
    },
    "/goals/{goalId}/pause": {
      "post": {
        "operationId": "post-goals-goal-id-pause",
        "summary": "POST /{goalId}/pause",
        "description": "POST /{goalId}/pause",
        "tags": [
          "goals"
        ],
        "parameters": [
          {
            "name": "goalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goals.ts:99"
        ],
        "x-middlewares": []
      }
    },
    "/goals/{goalId}/progress": {
      "post": {
        "operationId": "post-goals-goal-id-progress",
        "summary": "POST /{goalId}/progress",
        "description": "POST /{goalId}/progress",
        "tags": [
          "goals"
        ],
        "parameters": [
          {
            "name": "goalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goals.ts:161"
        ],
        "x-middlewares": []
      }
    },
    "/goals/{goalId}/resume": {
      "post": {
        "operationId": "post-goals-goal-id-resume",
        "summary": "POST /{goalId}/resume",
        "description": "POST /{goalId}/resume",
        "tags": [
          "goals"
        ],
        "parameters": [
          {
            "name": "goalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goals.ts:130"
        ],
        "x-middlewares": []
      }
    },
    "/goals/{goalId}/tasks": {
      "post": {
        "operationId": "post-goals-goal-id-tasks",
        "summary": "Adds a bounded, dependency-declared planning task to an active goal; a task never dispatches a capability.",
        "description": "Adds a bounded, dependency-declared planning task to an active goal; a task never dispatches a capability.",
        "tags": [
          "goals"
        ],
        "parameters": [
          {
            "name": "goalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goals.ts:205"
        ],
        "x-middlewares": []
      }
    },
    "/goals/definitions": {
      "post": {
        "operationId": "post-goals-definitions",
        "summary": "POST /definitions",
        "description": "POST /definitions",
        "tags": [
          "goals"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goal-management.ts:201"
        ],
        "x-middlewares": []
      }
    },
    "/goals/definitions/{definitionId}/{version}/approve": {
      "post": {
        "operationId": "post-goals-definitions-definition-id-version-approve",
        "summary": "POST /definitions/{definitionId}/{version}/approve",
        "description": "POST /definitions/{definitionId}/{version}/approve",
        "tags": [
          "goals"
        ],
        "parameters": [
          {
            "name": "definitionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goal-management.ts:245"
        ],
        "x-middlewares": []
      }
    },
    "/goals/instances": {
      "post": {
        "operationId": "post-goals-instances",
        "summary": "POST /instances",
        "description": "POST /instances",
        "tags": [
          "goals"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goal-management.ts:279"
        ],
        "x-middlewares": []
      }
    },
    "/goals/instances/{goalId}": {
      "get": {
        "operationId": "get-goals-instances-goal-id",
        "summary": "GET /instances/{goalId}",
        "description": "GET /instances/{goalId}",
        "tags": [
          "goals"
        ],
        "parameters": [
          {
            "name": "goalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goal-management.ts:722"
        ],
        "x-middlewares": []
      }
    },
    "/goals/instances/{goalId}/activate": {
      "post": {
        "operationId": "post-goals-instances-goal-id-activate",
        "summary": "POST /instances/{goalId}/activate",
        "description": "POST /instances/{goalId}/activate",
        "tags": [
          "goals"
        ],
        "parameters": [
          {
            "name": "goalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goal-management.ts:322"
        ],
        "x-middlewares": []
      }
    },
    "/goals/instances/{goalId}/cancel": {
      "post": {
        "operationId": "post-goals-instances-goal-id-cancel",
        "summary": "POST /instances/{goalId}/cancel",
        "description": "POST /instances/{goalId}/cancel",
        "tags": [
          "goals"
        ],
        "parameters": [
          {
            "name": "goalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goal-management.ts:463"
        ],
        "x-middlewares": []
      }
    },
    "/goals/instances/{goalId}/dependencies": {
      "post": {
        "operationId": "post-goals-instances-goal-id-dependencies",
        "summary": "POST /instances/{goalId}/dependencies",
        "description": "POST /instances/{goalId}/dependencies",
        "tags": [
          "goals"
        ],
        "parameters": [
          {
            "name": "goalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goal-management.ts:603"
        ],
        "x-middlewares": []
      }
    },
    "/goals/instances/{goalId}/evaluate": {
      "post": {
        "operationId": "post-goals-instances-goal-id-evaluate",
        "summary": "POST /instances/{goalId}/evaluate",
        "description": "POST /instances/{goalId}/evaluate",
        "tags": [
          "goals"
        ],
        "parameters": [
          {
            "name": "goalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goal-management.ts:532"
        ],
        "x-middlewares": []
      }
    },
    "/goals/instances/{goalId}/pause": {
      "post": {
        "operationId": "post-goals-instances-goal-id-pause",
        "summary": "POST /instances/{goalId}/pause",
        "description": "POST /instances/{goalId}/pause",
        "tags": [
          "goals"
        ],
        "parameters": [
          {
            "name": "goalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goal-management.ts:451"
        ],
        "x-middlewares": []
      }
    },
    "/goals/instances/{goalId}/resume": {
      "post": {
        "operationId": "post-goals-instances-goal-id-resume",
        "summary": "POST /instances/{goalId}/resume",
        "description": "POST /instances/{goalId}/resume",
        "tags": [
          "goals"
        ],
        "parameters": [
          {
            "name": "goalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goal-management.ts:476"
        ],
        "x-middlewares": []
      }
    },
    "/goals/instances/{goalId}/signals": {
      "post": {
        "operationId": "post-goals-instances-goal-id-signals",
        "summary": "POST /instances/{goalId}/signals",
        "description": "POST /instances/{goalId}/signals",
        "tags": [
          "goals"
        ],
        "parameters": [
          {
            "name": "goalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goal-management.ts:560"
        ],
        "x-middlewares": []
      }
    },
    "/goals/instances/{goalId}/simulate": {
      "post": {
        "operationId": "post-goals-instances-goal-id-simulate",
        "summary": "POST /instances/{goalId}/simulate",
        "description": "POST /instances/{goalId}/simulate",
        "tags": [
          "goals"
        ],
        "parameters": [
          {
            "name": "goalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goal-management.ts:512"
        ],
        "x-middlewares": []
      }
    },
    "/goals/instances/{goalId}/tasks/{taskId}": {
      "patch": {
        "operationId": "patch-goals-instances-goal-id-tasks-task-id",
        "summary": "PATCH /instances/{goalId}/tasks/{taskId}",
        "description": "PATCH /instances/{goalId}/tasks/{taskId}",
        "tags": [
          "goals"
        ],
        "parameters": [
          {
            "name": "goalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goal-management.ts:673"
        ],
        "x-middlewares": []
      }
    },
    "/goals/instances/{goalId}/tasks/{taskId}/delegate": {
      "post": {
        "operationId": "post-goals-instances-goal-id-tasks-task-id-delegate",
        "summary": "POST /instances/{goalId}/tasks/{taskId}/delegate",
        "description": "POST /instances/{goalId}/tasks/{taskId}/delegate",
        "tags": [
          "goals"
        ],
        "parameters": [
          {
            "name": "goalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goal-management.ts:634"
        ],
        "x-middlewares": []
      }
    },
    "/goals/instances/{goalId}/timeline": {
      "get": {
        "operationId": "get-goals-instances-goal-id-timeline",
        "summary": "GET /instances/{goalId}/timeline",
        "description": "GET /instances/{goalId}/timeline",
        "tags": [
          "goals"
        ],
        "parameters": [
          {
            "name": "goalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goal-management.ts:744"
        ],
        "x-middlewares": []
      }
    },
    "/goals/metrics": {
      "get": {
        "operationId": "get-goals-metrics",
        "summary": "GET /metrics",
        "description": "GET /metrics",
        "tags": [
          "goals"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/goal-management.ts:773"
        ],
        "x-middlewares": []
      }
    },
    "/health": {
      "get": {
        "operationId": "get-health",
        "summary": "GET /health",
        "description": "GET /health",
        "tags": [
          "health"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/app.ts:123",
          "apps/api/src/index.ts:172"
        ],
        "x-middlewares": []
      }
    },
    "/integrations": {
      "post": {
        "operationId": "post-integrations",
        "summary": "POST /",
        "description": "POST /",
        "tags": [
          "integrations"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/integration-registry.ts:49"
        ],
        "x-middlewares": []
      }
    },
    "/integrations/{integrationId}/versions/{version}/activate": {
      "post": {
        "operationId": "post-integrations-integration-id-versions-version-activate",
        "summary": "POST /{integrationId}/versions/{version}/activate",
        "description": "POST /{integrationId}/versions/{version}/activate",
        "tags": [
          "integrations"
        ],
        "parameters": [
          {
            "name": "integrationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/integration-registry.ts:127"
        ],
        "x-middlewares": []
      }
    },
    "/intents/preview": {
      "post": {
        "operationId": "post-intents-preview",
        "summary": "Returns a trusted, non-executable interpretation for a bounded UI context.",
        "description": "Returns a trusted, non-executable interpretation for a bounded UI context.",
        "tags": [
          "intents"
        ],
        "responses": {
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "502": {
            "description": "HTTP 502 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/intents.ts:141"
        ],
        "x-middlewares": []
      }
    },
    "/interventions": {
      "post": {
        "operationId": "post-interventions",
        "summary": "POST /",
        "description": "POST /",
        "tags": [
          "interventions"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/interventions.ts:80"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/{id}": {
      "get": {
        "operationId": "get-interventions-id",
        "summary": "GET /{id}",
        "description": "GET /{id}",
        "tags": [
          "interventions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/interventions.ts:336"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/{id}/action-orders/{orderId}/complete": {
      "post": {
        "operationId": "post-interventions-id-action-orders-order-id-complete",
        "summary": "POST /{id}/action-orders/{orderId}/complete",
        "description": "POST /{id}/action-orders/{orderId}/complete",
        "tags": [
          "interventions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/intervention-executions.ts:453"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/{id}/action-orders/{orderId}/confirm-sandbox-maintenance": {
      "post": {
        "operationId": "post-interventions-id-action-orders-order-id-confirm-sandbox-maintenance",
        "summary": "Confirms only a synthetic maintenance order through the private provider binding before recording completion.",
        "description": "Confirms only a synthetic maintenance order through the private provider binding before recording completion.",
        "tags": [
          "interventions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/intervention-executions.ts:584"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/{id}/action-orders/{orderId}/confirm-sandbox-renewal": {
      "post": {
        "operationId": "post-interventions-id-action-orders-order-id-confirm-sandbox-renewal",
        "summary": "Confirms only a synthetic LMS renewal through the private provider binding before recording completion.",
        "description": "Confirms only a synthetic LMS renewal through the private provider binding before recording completion.",
        "tags": [
          "interventions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/intervention-executions.ts:509"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/{id}/authorize": {
      "post": {
        "operationId": "post-interventions-id-authorize",
        "summary": "POST /{id}/authorize",
        "description": "POST /{id}/authorize",
        "tags": [
          "interventions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/interventions.ts:102"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/{id}/compensate": {
      "post": {
        "operationId": "post-interventions-id-compensate",
        "summary": "POST /{id}/compensate",
        "description": "POST /{id}/compensate",
        "tags": [
          "interventions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/interventions.ts:278"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/{id}/emergency-stop": {
      "post": {
        "operationId": "post-interventions-id-emergency-stop",
        "summary": "POST /{id}/emergency-stop",
        "description": "POST /{id}/emergency-stop",
        "tags": [
          "interventions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/interventions.ts:234"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/{id}/escalations/{escalationId}/advance": {
      "post": {
        "operationId": "post-interventions-id-escalations-escalation-id-advance",
        "summary": "POST /{id}/escalations/{escalationId}/advance",
        "description": "POST /{id}/escalations/{escalationId}/advance",
        "tags": [
          "interventions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "escalationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/intervention-escalations.ts:39"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/{id}/executions": {
      "post": {
        "operationId": "post-interventions-id-executions",
        "summary": "POST /{id}/executions",
        "description": "POST /{id}/executions",
        "tags": [
          "interventions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/intervention-executions.ts:333"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/{id}/executions/{executionId}": {
      "get": {
        "operationId": "get-interventions-id-executions-execution-id",
        "summary": "GET /{id}/executions/{executionId}",
        "description": "GET /{id}/executions/{executionId}",
        "tags": [
          "interventions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "executionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/intervention-executions.ts:658"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/{id}/recovery": {
      "post": {
        "operationId": "post-interventions-id-recovery",
        "summary": "POST /{id}/recovery",
        "description": "POST /{id}/recovery",
        "tags": [
          "interventions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/intervention-recovery.ts:39"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/{id}/replan": {
      "post": {
        "operationId": "post-interventions-id-replan",
        "summary": "POST /{id}/replan",
        "description": "POST /{id}/replan",
        "tags": [
          "interventions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/intervention-replanning.ts:41"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/{id}/start": {
      "post": {
        "operationId": "post-interventions-id-start",
        "summary": "POST /{id}/start",
        "description": "POST /{id}/start",
        "tags": [
          "interventions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/intervention-reservations.ts:46",
          "apps/agente/src/routes/interventions.ts:124"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/{id}/temporal-policy": {
      "post": {
        "operationId": "post-interventions-id-temporal-policy",
        "summary": "POST /{id}/temporal-policy",
        "description": "POST /{id}/temporal-policy",
        "tags": [
          "interventions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/intervention-timeouts.ts:45"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/{id}/timeout": {
      "post": {
        "operationId": "post-interventions-id-timeout",
        "summary": "POST /{id}/timeout",
        "description": "POST /{id}/timeout",
        "tags": [
          "interventions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/intervention-timeouts.ts:92"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/{id}/verify": {
      "post": {
        "operationId": "post-interventions-id-verify",
        "summary": "POST /{id}/verify",
        "description": "POST /{id}/verify",
        "tags": [
          "interventions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/interventions.ts:157"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/{id}/vertical-slices/critical-work-permit/verify": {
      "post": {
        "operationId": "post-interventions-id-vertical-slices-critical-work-permit-verify",
        "summary": "POST /{id}/vertical-slices/critical-work-permit/verify",
        "description": "POST /{id}/vertical-slices/critical-work-permit/verify",
        "tags": [
          "interventions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/intervention-vertical-slices.ts:201"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/capability-bindings": {
      "post": {
        "operationId": "post-interventions-capability-bindings",
        "summary": "POST /capability-bindings",
        "description": "POST /capability-bindings",
        "tags": [
          "interventions"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/intervention-executions.ts:256"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/templates": {
      "post": {
        "operationId": "post-interventions-templates",
        "summary": "POST /templates",
        "description": "POST /templates",
        "tags": [
          "interventions"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/interventions.ts:24"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/templates/{id}/capability-binding": {
      "post": {
        "operationId": "post-interventions-templates-id-capability-binding",
        "summary": "POST /templates/{id}/capability-binding",
        "description": "POST /templates/{id}/capability-binding",
        "tags": [
          "interventions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/intervention-executions.ts:299"
        ],
        "x-middlewares": []
      }
    },
    "/interventions/templates/{id}/emergency-stop-capability": {
      "post": {
        "operationId": "post-interventions-templates-id-emergency-stop-capability",
        "summary": "POST /templates/{id}/emergency-stop-capability",
        "description": "POST /templates/{id}/emergency-stop-capability",
        "tags": [
          "interventions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/interventions.ts:190"
        ],
        "x-middlewares": []
      }
    },
    "/knowledge-trust/authority-rules": {
      "post": {
        "operationId": "post-knowledge-trust-authority-rules",
        "summary": "POST /authority-rules",
        "description": "POST /authority-rules",
        "tags": [
          "knowledge-trust"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/knowledge-trust.ts:85"
        ],
        "x-middlewares": []
      }
    },
    "/knowledge-trust/authority-rules/{ruleId}/{version}/approve": {
      "post": {
        "operationId": "post-knowledge-trust-authority-rules-rule-id-version-approve",
        "summary": "POST /authority-rules/{ruleId}/{version}/approve",
        "description": "POST /authority-rules/{ruleId}/{version}/approve",
        "tags": [
          "knowledge-trust"
        ],
        "parameters": [
          {
            "name": "ruleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/knowledge-trust.ts:126"
        ],
        "x-middlewares": []
      }
    },
    "/knowledge-trust/evaluations": {
      "post": {
        "operationId": "post-knowledge-trust-evaluations",
        "summary": "POST /evaluations",
        "description": "POST /evaluations",
        "tags": [
          "knowledge-trust"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/knowledge-trust.ts:276"
        ],
        "x-middlewares": []
      }
    },
    "/knowledge-trust/inspector/{knowledgeId}": {
      "get": {
        "operationId": "get-knowledge-trust-inspector-knowledge-id",
        "summary": "GET /inspector/{knowledgeId}",
        "description": "GET /inspector/{knowledgeId}",
        "tags": [
          "knowledge-trust"
        ],
        "parameters": [
          {
            "name": "knowledgeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/knowledge-trust.ts:525"
        ],
        "x-middlewares": []
      }
    },
    "/knowledge-trust/policies": {
      "post": {
        "operationId": "post-knowledge-trust-policies",
        "summary": "POST /policies",
        "description": "POST /policies",
        "tags": [
          "knowledge-trust"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/knowledge-trust.ts:199"
        ],
        "x-middlewares": []
      }
    },
    "/knowledge-trust/policies/{policyId}/{version}/approve": {
      "post": {
        "operationId": "post-knowledge-trust-policies-policy-id-version-approve",
        "summary": "POST /policies/{policyId}/{version}/approve",
        "description": "POST /policies/{policyId}/{version}/approve",
        "tags": [
          "knowledge-trust"
        ],
        "parameters": [
          {
            "name": "policyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/knowledge-trust.ts:238"
        ],
        "x-middlewares": []
      }
    },
    "/knowledge-trust/recertification/run": {
      "post": {
        "operationId": "post-knowledge-trust-recertification-run",
        "summary": "POST /recertification/run",
        "description": "POST /recertification/run",
        "tags": [
          "knowledge-trust"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/knowledge-trust.ts:507"
        ],
        "x-middlewares": []
      }
    },
    "/knowledge-trust/reviews/{reviewId}/verify": {
      "post": {
        "operationId": "post-knowledge-trust-reviews-review-id-verify",
        "summary": "POST /reviews/{reviewId}/verify",
        "description": "POST /reviews/{reviewId}/verify",
        "tags": [
          "knowledge-trust"
        ],
        "parameters": [
          {
            "name": "reviewId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/knowledge-trust.ts:461"
        ],
        "x-middlewares": []
      }
    },
    "/knowledge-trust/source-dependencies": {
      "post": {
        "operationId": "post-knowledge-trust-source-dependencies",
        "summary": "POST /source-dependencies",
        "description": "POST /source-dependencies",
        "tags": [
          "knowledge-trust"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/knowledge-trust.ts:162"
        ],
        "x-middlewares": []
      }
    },
    "/knowledge-trust/workspace": {
      "get": {
        "operationId": "get-knowledge-trust-workspace",
        "summary": "GET /workspace",
        "description": "GET /workspace",
        "tags": [
          "knowledge-trust"
        ],
        "responses": {
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/knowledge-trust.ts:431"
        ],
        "x-middlewares": []
      }
    },
    "/knowledge/bundles": {
      "post": {
        "operationId": "post-knowledge-bundles",
        "summary": "POST /bundles",
        "description": "POST /bundles",
        "tags": [
          "knowledge"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/knowledge.ts:847"
        ],
        "x-middlewares": []
      }
    },
    "/knowledge/bundles/{bundleId}/{version}/activate": {
      "post": {
        "operationId": "post-knowledge-bundles-bundle-id-version-activate",
        "summary": "POST /bundles/{bundleId}/{version}/activate",
        "description": "POST /bundles/{bundleId}/{version}/activate",
        "tags": [
          "knowledge"
        ],
        "parameters": [
          {
            "name": "bundleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/knowledge.ts:1118"
        ],
        "x-middlewares": []
      }
    },
    "/knowledge/bundles/{bundleId}/{version}/certify": {
      "post": {
        "operationId": "post-knowledge-bundles-bundle-id-version-certify",
        "summary": "POST /bundles/{bundleId}/{version}/certify",
        "description": "POST /bundles/{bundleId}/{version}/certify",
        "tags": [
          "knowledge"
        ],
        "parameters": [
          {
            "name": "bundleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/knowledge.ts:1106"
        ],
        "x-middlewares": []
      }
    },
    "/knowledge/bundles/{bundleId}/{version}/index": {
      "post": {
        "operationId": "post-knowledge-bundles-bundle-id-version-index",
        "summary": "POST /bundles/{bundleId}/{version}/index",
        "description": "POST /bundles/{bundleId}/{version}/index",
        "tags": [
          "knowledge"
        ],
        "parameters": [
          {
            "name": "bundleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "502": {
            "description": "HTTP 502 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/knowledge.ts:889"
        ],
        "x-middlewares": []
      }
    },
    "/knowledge/bundles/{bundleId}/{version}/index/status": {
      "get": {
        "operationId": "get-knowledge-bundles-bundle-id-version-index-status",
        "summary": "GET /bundles/{bundleId}/{version}/index/status",
        "description": "GET /bundles/{bundleId}/{version}/index/status",
        "tags": [
          "knowledge"
        ],
        "parameters": [
          {
            "name": "bundleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/knowledge.ts:917"
        ],
        "x-middlewares": []
      }
    },
    "/learning/analysis/run": {
      "post": {
        "operationId": "post-learning-analysis-run",
        "summary": "Runs the same bounded shadow-only aggregation used by cron; restricted to a human superadmin for operational verification.",
        "description": "Runs the same bounded shadow-only aggregation used by cron; restricted to a human superadmin for operational verification.",
        "tags": [
          "learning"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/learning.ts:36"
        ],
        "x-middlewares": []
      }
    },
    "/learning/suggestions": {
      "get": {
        "operationId": "get-learning-suggestions",
        "summary": "Lists tenant-scoped, non-authoritative learning suggestions for human review.",
        "description": "Lists tenant-scoped, non-authoritative learning suggestions for human review.",
        "tags": [
          "learning"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/learning.ts:55"
        ],
        "x-middlewares": []
      }
    },
    "/learning/suggestions/{suggestionKey}/review": {
      "post": {
        "operationId": "post-learning-suggestions-suggestion-key-review",
        "summary": "Records a human decision on a pending shadow suggestion; approval never changes runtime behavior.",
        "description": "Records a human decision on a pending shadow suggestion; approval never changes runtime behavior.",
        "tags": [
          "learning"
        ],
        "parameters": [
          {
            "name": "suggestionKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/learning.ts:85"
        ],
        "x-middlewares": []
      }
    },
    "/multi-agent/messages": {
      "post": {
        "operationId": "post-multi-agent-messages",
        "summary": "POST /messages",
        "description": "POST /messages",
        "tags": [
          "multi-agent"
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "429": {
            "description": "HTTP 429 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/agent-communication.ts:161"
        ],
        "x-middlewares": []
      }
    },
    "/multi-agent/messages/{messageId}": {
      "get": {
        "operationId": "get-multi-agent-messages-message-id",
        "summary": "GET /messages/{messageId}",
        "description": "GET /messages/{messageId}",
        "tags": [
          "multi-agent"
        ],
        "parameters": [
          {
            "name": "messageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/agent-communication.ts:395"
        ],
        "x-middlewares": []
      }
    },
    "/multi-agent/messages/{messageId}/ack": {
      "post": {
        "operationId": "post-multi-agent-messages-message-id-ack",
        "summary": "POST /messages/{messageId}/ack",
        "description": "POST /messages/{messageId}/ack",
        "tags": [
          "multi-agent"
        ],
        "parameters": [
          {
            "name": "messageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/agent-communication.ts:277"
        ],
        "x-middlewares": []
      }
    },
    "/multi-agent/messages/{messageId}/cancel": {
      "post": {
        "operationId": "post-multi-agent-messages-message-id-cancel",
        "summary": "POST /messages/{messageId}/cancel",
        "description": "POST /messages/{messageId}/cancel",
        "tags": [
          "multi-agent"
        ],
        "parameters": [
          {
            "name": "messageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/agent-communication.ts:315"
        ],
        "x-middlewares": []
      }
    },
    "/multi-agent/messages/{messageId}/reconcile": {
      "post": {
        "operationId": "post-multi-agent-messages-message-id-reconcile",
        "summary": "POST /messages/{messageId}/reconcile",
        "description": "POST /messages/{messageId}/reconcile",
        "tags": [
          "multi-agent"
        ],
        "parameters": [
          {
            "name": "messageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/agent-communication.ts:355"
        ],
        "x-middlewares": []
      }
    },
    "/multi-agent/swarms": {
      "post": {
        "operationId": "post-multi-agent-swarms",
        "summary": "POST /swarms",
        "description": "POST /swarms",
        "tags": [
          "multi-agent"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/swarm-orchestration.ts:212"
        ],
        "x-middlewares": []
      }
    },
    "/multi-agent/swarms/{swarmId}": {
      "get": {
        "operationId": "get-multi-agent-swarms-swarm-id",
        "summary": "GET /swarms/{swarmId}",
        "description": "GET /swarms/{swarmId}",
        "tags": [
          "multi-agent"
        ],
        "parameters": [
          {
            "name": "swarmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/swarm-orchestration.ts:694"
        ],
        "x-middlewares": []
      }
    },
    "/multi-agent/swarms/{swarmId}/cancel": {
      "post": {
        "operationId": "post-multi-agent-swarms-swarm-id-cancel",
        "summary": "POST /swarms/{swarmId}/cancel",
        "description": "POST /swarms/{swarmId}/cancel",
        "tags": [
          "multi-agent"
        ],
        "parameters": [
          {
            "name": "swarmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/swarm-orchestration.ts:652"
        ],
        "x-middlewares": []
      }
    },
    "/multi-agent/swarms/{swarmId}/handoffs": {
      "post": {
        "operationId": "post-multi-agent-swarms-swarm-id-handoffs",
        "summary": "POST /swarms/{swarmId}/handoffs",
        "description": "POST /swarms/{swarmId}/handoffs",
        "tags": [
          "multi-agent"
        ],
        "parameters": [
          {
            "name": "swarmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/swarm-orchestration.ts:352"
        ],
        "x-middlewares": []
      }
    },
    "/multi-agent/swarms/{swarmId}/handoffs/{handoffId}/accept": {
      "post": {
        "operationId": "post-multi-agent-swarms-swarm-id-handoffs-handoff-id-accept",
        "summary": "POST /swarms/{swarmId}/handoffs/{handoffId}/accept",
        "description": "POST /swarms/{swarmId}/handoffs/{handoffId}/accept",
        "tags": [
          "multi-agent"
        ],
        "parameters": [
          {
            "name": "swarmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "handoffId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/swarm-orchestration.ts:408"
        ],
        "x-middlewares": []
      }
    },
    "/multi-agent/swarms/{swarmId}/tasks/{taskId}/results": {
      "post": {
        "operationId": "post-multi-agent-swarms-swarm-id-tasks-task-id-results",
        "summary": "POST /swarms/{swarmId}/tasks/{taskId}/results",
        "description": "POST /swarms/{swarmId}/tasks/{taskId}/results",
        "tags": [
          "multi-agent"
        ],
        "parameters": [
          {
            "name": "swarmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/swarm-orchestration.ts:516"
        ],
        "x-middlewares": []
      }
    },
    "/multi-agent/swarms/{swarmId}/tasks/{taskId}/start": {
      "post": {
        "operationId": "post-multi-agent-swarms-swarm-id-tasks-task-id-start",
        "summary": "POST /swarms/{swarmId}/tasks/{taskId}/start",
        "description": "POST /swarms/{swarmId}/tasks/{taskId}/start",
        "tags": [
          "multi-agent"
        ],
        "parameters": [
          {
            "name": "swarmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/swarm-orchestration.ts:452"
        ],
        "x-middlewares": []
      }
    },
    "/multi-agent/swarms/{swarmId}/validate": {
      "post": {
        "operationId": "post-multi-agent-swarms-swarm-id-validate",
        "summary": "POST /swarms/{swarmId}/validate",
        "description": "POST /swarms/{swarmId}/validate",
        "tags": [
          "multi-agent"
        ],
        "parameters": [
          {
            "name": "swarmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/swarm-orchestration.ts:565"
        ],
        "x-middlewares": []
      }
    },
    "/multi-agent/swarms/deadlines/run": {
      "post": {
        "operationId": "post-multi-agent-swarms-deadlines-run",
        "summary": "POST /swarms/deadlines/run",
        "description": "POST /swarms/deadlines/run",
        "tags": [
          "multi-agent"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/swarm-orchestration.ts:194"
        ],
        "x-middlewares": []
      }
    },
    "/multi-agent/work-permit-analyses": {
      "post": {
        "operationId": "post-multi-agent-work-permit-analyses",
        "summary": "POST /work-permit-analyses",
        "description": "POST /work-permit-analyses",
        "tags": [
          "multi-agent"
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/specialist-analyses.ts:129"
        ],
        "x-middlewares": []
      }
    },
    "/multi-agent/work-permit-analyses/{analysisId}": {
      "get": {
        "operationId": "get-multi-agent-work-permit-analyses-analysis-id",
        "summary": "GET /work-permit-analyses/{analysisId}",
        "description": "GET /work-permit-analyses/{analysisId}",
        "tags": [
          "multi-agent"
        ],
        "parameters": [
          {
            "name": "analysisId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/specialist-analyses.ts:218"
        ],
        "x-middlewares": []
      }
    },
    "/operations/alerts": {
      "get": {
        "operationId": "get-operations-alerts",
        "summary": "GET /alerts",
        "description": "GET /alerts",
        "tags": [
          "operations"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operations.ts:93"
        ],
        "x-middlewares": []
      }
    },
    "/operations/anomalies": {
      "get": {
        "operationId": "get-operations-anomalies",
        "summary": "Compares the newest completed operation with a tenant-local P95 baseline without treating absent data as an incident.",
        "description": "Compares the newest completed operation with a tenant-local P95 baseline without treating absent data as an incident.",
        "tags": [
          "operations"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operations.ts:247"
        ],
        "x-middlewares": []
      }
    },
    "/operations/capabilities": {
      "get": {
        "operationId": "get-operations-capabilities",
        "summary": "Lists the bounded capability set that has completed tenant-scoped operational telemetry.",
        "description": "Lists the bounded capability set that has completed tenant-scoped operational telemetry.",
        "tags": [
          "operations"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operations.ts:63"
        ],
        "x-middlewares": []
      }
    },
    "/operations/costs": {
      "get": {
        "operationId": "get-operations-costs",
        "summary": "Returns bounded, tenant-isolated estimated-cost aggregates; microunits avoid floating-point billing drift.",
        "description": "Returns bounded, tenant-isolated estimated-cost aggregates; microunits avoid floating-point billing drift.",
        "tags": [
          "operations"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operations.ts:338"
        ],
        "x-middlewares": []
      }
    },
    "/operations/events": {
      "post": {
        "operationId": "post-operations-events",
        "summary": "POST /events",
        "description": "POST /events",
        "tags": [
          "operations"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "202": {
            "description": "HTTP 202 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "429": {
            "description": "HTTP 429 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operational-awareness.ts:545"
        ],
        "x-middlewares": []
      }
    },
    "/operations/events/{eventId}/replay": {
      "post": {
        "operationId": "post-operations-events-event-id-replay",
        "summary": "POST /events/{eventId}/replay",
        "description": "POST /events/{eventId}/replay",
        "tags": [
          "operations"
        ],
        "parameters": [
          {
            "name": "eventId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operations.ts:117"
        ],
        "x-middlewares": []
      }
    },
    "/operations/geofence-policies": {
      "post": {
        "operationId": "post-operations-geofence-policies",
        "summary": "POST /geofence-policies",
        "description": "POST /geofence-policies",
        "tags": [
          "operations"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operational-awareness.ts:286"
        ],
        "x-middlewares": []
      }
    },
    "/operations/health": {
      "get": {
        "operationId": "get-operations-health",
        "summary": "GET /health",
        "description": "GET /health",
        "tags": [
          "operations"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operations.ts:395"
        ],
        "x-middlewares": []
      }
    },
    "/operations/metrics": {
      "get": {
        "operationId": "get-operations-metrics",
        "summary": "GET /metrics",
        "description": "GET /metrics",
        "tags": [
          "operations"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operations.ts:177"
        ],
        "x-middlewares": []
      }
    },
    "/operations/situations/{id}": {
      "get": {
        "operationId": "get-operations-situations-id",
        "summary": "GET /situations/{id}",
        "description": "GET /situations/{id}",
        "tags": [
          "operations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operational-awareness.ts:1197"
        ],
        "x-middlewares": []
      }
    },
    "/operations/situations/{id}/audit": {
      "get": {
        "operationId": "get-operations-situations-id-audit",
        "summary": "GET /situations/{id}/audit",
        "description": "GET /situations/{id}/audit",
        "tags": [
          "operations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operational-audit.ts:63"
        ],
        "x-middlewares": []
      }
    },
    "/operations/situations/{id}/control-monitoring": {
      "get": {
        "operationId": "get-operations-situations-id-control-monitoring",
        "summary": "Reads immutable inbox facts for one tenant-scoped operational situation without replaying or authorizing work.",
        "description": "Reads immutable inbox facts for one tenant-scoped operational situation without replaying or authorizing work.",
        "tags": [
          "operations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operational-awareness.ts:910"
        ],
        "x-middlewares": []
      }
    },
    "/operations/situations/{id}/replay": {
      "get": {
        "operationId": "get-operations-situations-id-replay",
        "summary": "Reconstructs an operational situation from immutable facts without reinserting events or changing state.",
        "description": "Reconstructs an operational situation from immutable facts without reinserting events or changing state.",
        "tags": [
          "operations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operational-awareness.ts:1024"
        ],
        "x-middlewares": []
      }
    },
    "/operations/situations/{id}/simulate": {
      "post": {
        "operationId": "post-operations-situations-id-simulate",
        "summary": "Evaluates one bounded hypothetical observation without persisting it or controlling equipment.",
        "description": "Evaluates one bounded hypothetical observation without persisting it or controlling equipment.",
        "tags": [
          "operations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operational-awareness.ts:1094"
        ],
        "x-middlewares": []
      }
    },
    "/operations/situations/{id}/timeline": {
      "get": {
        "operationId": "get-operations-situations-id-timeline",
        "summary": "Reads immutable inbox facts for one tenant-scoped operational situation without replaying or authorizing work.",
        "description": "Reads immutable inbox facts for one tenant-scoped operational situation without replaying or authorizing work.",
        "tags": [
          "operations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operational-awareness.ts:1126"
        ],
        "x-middlewares": []
      }
    },
    "/operations/situations/{situationId}/attention": {
      "post": {
        "operationId": "post-operations-situations-situation-id-attention",
        "summary": "Projects only an existing critical operational situation into a deduplicated Attention Center item; it cannot execute or authorize intervention.",
        "description": "Projects only an existing critical operational situation into a deduplicated Attention Center item; it cannot execute or authorize intervention.",
        "tags": [
          "operations"
        ],
        "parameters": [
          {
            "name": "situationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "500": {
            "description": "HTTP 500 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operational-attention.ts:34"
        ],
        "x-middlewares": []
      }
    },
    "/operations/situations/{situationId}/exception": {
      "post": {
        "operationId": "post-operations-situations-situation-id-exception",
        "summary": "Correlates a critical operational situation into Exception Management; it only requires human review.",
        "description": "Correlates a critical operational situation into Exception Management; it only requires human review.",
        "tags": [
          "operations"
        ],
        "parameters": [
          {
            "name": "situationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "500": {
            "description": "HTTP 500 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operational-exceptions.ts:33"
        ],
        "x-middlewares": []
      }
    },
    "/operations/situations/{situationId}/open-workspace": {
      "post": {
        "operationId": "post-operations-situations-situation-id-open-workspace",
        "summary": "Opens a collaboration workspace for an already-routed human reviewer; it does not approve or execute any operation.",
        "description": "Opens a collaboration workspace for an already-routed human reviewer; it does not approve or execute any operation.",
        "tags": [
          "operations"
        ],
        "parameters": [
          {
            "name": "situationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operational-collaboration.ts:57"
        ],
        "x-middlewares": []
      }
    },
    "/operations/situations/{situationId}/plan-intervention": {
      "post": {
        "operationId": "post-operations-situations-situation-id-plan-intervention",
        "summary": "Plans, but never executes, a human-approved intervention for a critical operational situation.",
        "description": "Plans, but never executes, a human-approved intervention for a critical operational situation.",
        "tags": [
          "operations"
        ],
        "parameters": [
          {
            "name": "situationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operational-workflow.ts:33"
        ],
        "x-middlewares": []
      }
    },
    "/operations/situations/{situationId}/route-resource": {
      "post": {
        "operationId": "post-operations-situations-situation-id-route-resource",
        "summary": "Projects an existing deterministic workforce choice for a critical situation without reserving or executing it.",
        "description": "Projects an existing deterministic workforce choice for a critical situation without reserving or executing it.",
        "tags": [
          "operations"
        ],
        "parameters": [
          {
            "name": "situationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operational-resource.ts:57"
        ],
        "x-middlewares": []
      }
    },
    "/operations/situations/{situationId}/route-responsibility": {
      "post": {
        "operationId": "post-operations-situations-situation-id-route-responsibility",
        "summary": "Resolves exactly one governed human reviewer for a critical situation without changing its state or authority.",
        "description": "Resolves exactly one governed human reviewer for a critical situation without changing its state or authority.",
        "tags": [
          "operations"
        ],
        "parameters": [
          {
            "name": "situationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operational-responsibility.ts:59"
        ],
        "x-middlewares": []
      }
    },
    "/operations/sources": {
      "post": {
        "operationId": "post-operations-sources",
        "summary": "POST /sources",
        "description": "POST /sources",
        "tags": [
          "operations"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operational-awareness.ts:157"
        ],
        "x-middlewares": []
      }
    },
    "/operations/sources/{id}/geofence-policy": {
      "post": {
        "operationId": "post-operations-sources-id-geofence-policy",
        "summary": "POST /sources/{id}/geofence-policy",
        "description": "POST /sources/{id}/geofence-policy",
        "tags": [
          "operations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operational-awareness.ts:373"
        ],
        "x-middlewares": []
      }
    },
    "/operations/tasks/{correlationId}": {
      "get": {
        "operationId": "get-operations-tasks-correlation-id",
        "summary": "GET /tasks/{correlationId}",
        "description": "GET /tasks/{correlationId}",
        "tags": [
          "operations"
        ],
        "parameters": [
          {
            "name": "correlationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operations.ts:144"
        ],
        "x-middlewares": []
      }
    },
    "/operations/twin/zones/{id}": {
      "get": {
        "operationId": "get-operations-twin-zones-id",
        "summary": "Projects the current tenant-scoped operational objects of one zone; it never writes or controls source systems.",
        "description": "Projects the current tenant-scoped operational objects of one zone; it never writes or controls source systems.",
        "tags": [
          "operations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operational-awareness.ts:935"
        ],
        "x-middlewares": []
      }
    },
    "/operations/workers/{id}/context": {
      "get": {
        "operationId": "get-operations-workers-id-context",
        "summary": "Reads a minimized, tenant-scoped worker context without assigning, tracking, or authorizing work.",
        "description": "Reads a minimized, tenant-scoped worker context without assigning, tracking, or authorizing work.",
        "tags": [
          "operations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/operational-awareness.ts:965"
        ],
        "x-middlewares": []
      }
    },
    "/orchestration/plans": {
      "post": {
        "operationId": "post-orchestration-plans",
        "summary": "Persists a bounded plan snapshot",
        "description": "Persists a bounded plan snapshot. Capability execution remains impossible until a dedicated registered dispatcher consumes it.",
        "tags": [
          "orchestration"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/plan-dispatch.ts:133"
        ],
        "x-middlewares": []
      }
    },
    "/orchestration/plans/{planId}/cancel": {
      "post": {
        "operationId": "post-orchestration-plans-plan-id-cancel",
        "summary": "Cancels an owner-bound, unexecuted plan; compensating a capability remains a separately authorized action.",
        "description": "Cancels an owner-bound, unexecuted plan; compensating a capability remains a separately authorized action.",
        "tags": [
          "orchestration"
        ],
        "parameters": [
          {
            "name": "planId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/plan-dispatch.ts:414"
        ],
        "x-middlewares": []
      }
    },
    "/orchestration/plans/{planId}/compensate": {
      "post": {
        "operationId": "post-orchestration-plans-plan-id-compensate",
        "summary": "Issues a server-bound cancellation receipt from the immutable result of a failed create plan.",
        "description": "Issues a server-bound cancellation receipt from the immutable result of a failed create plan.",
        "tags": [
          "orchestration"
        ],
        "parameters": [
          {
            "name": "planId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/plan-dispatch.ts:376"
        ],
        "x-middlewares": []
      }
    },
    "/orchestration/plans/{planId}/confirm": {
      "post": {
        "operationId": "post-orchestration-plans-plan-id-confirm",
        "summary": "Confirms the owner's persisted plan and starts a durable non-executing dispatch checkpoint.",
        "description": "Confirms the owner's persisted plan and starts a durable non-executing dispatch checkpoint.",
        "tags": [
          "orchestration"
        ],
        "parameters": [
          {
            "name": "planId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/plan-dispatch.ts:282"
        ],
        "x-middlewares": []
      }
    },
    "/orchestration/plans/{planId}/dispatch": {
      "post": {
        "operationId": "post-orchestration-plans-plan-id-dispatch",
        "summary": "Starts the durable non-executing checkpoint for an unconfirmed low-risk draft owned by the caller.",
        "description": "Starts the durable non-executing checkpoint for an unconfirmed low-risk draft owned by the caller.",
        "tags": [
          "orchestration"
        ],
        "parameters": [
          {
            "name": "planId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/plan-dispatch.ts:354"
        ],
        "x-middlewares": []
      }
    },
    "/orchestration/work-permits/preview": {
      "post": {
        "operationId": "post-orchestration-work-permits-preview",
        "summary": "POST /work-permits/preview",
        "description": "POST /work-permits/preview",
        "tags": [
          "orchestration"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/orchestration.ts:37"
        ],
        "x-middlewares": []
      }
    },
    "/planning/dry-runs": {
      "post": {
        "operationId": "post-planning-dry-runs",
        "summary": "Dry-runs bounded plan candidates under caller-supplied risk and cost limits; it does not persist, approve, or execute a plan.",
        "description": "Dry-runs bounded plan candidates under caller-supplied risk and cost limits; it does not persist, approve, or execute a plan.",
        "tags": [
          "planning"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/planning.ts:162"
        ],
        "x-middlewares": []
      }
    },
    "/planning/plans": {
      "post": {
        "operationId": "post-planning-plans",
        "summary": "POST /plans",
        "description": "POST /plans",
        "tags": [
          "planning"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/planning.ts:206"
        ],
        "x-middlewares": []
      }
    },
    "/planning/plans/{planId}": {
      "get": {
        "operationId": "get-planning-plans-plan-id",
        "summary": "GET /plans/{planId}",
        "description": "GET /plans/{planId}",
        "tags": [
          "planning"
        ],
        "parameters": [
          {
            "name": "planId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/planning.ts:751"
        ],
        "x-middlewares": []
      }
    },
    "/planning/plans/{planId}/confirm": {
      "post": {
        "operationId": "post-planning-plans-plan-id-confirm",
        "summary": "POST /plans/{planId}/confirm",
        "description": "POST /plans/{planId}/confirm",
        "tags": [
          "planning"
        ],
        "parameters": [
          {
            "name": "planId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/planning.ts:358"
        ],
        "x-middlewares": []
      }
    },
    "/planning/plans/{planId}/invalidate": {
      "post": {
        "operationId": "post-planning-plans-plan-id-invalidate",
        "summary": "POST /plans/{planId}/invalidate",
        "description": "POST /plans/{planId}/invalidate",
        "tags": [
          "planning"
        ],
        "parameters": [
          {
            "name": "planId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/planning.ts:706"
        ],
        "x-middlewares": []
      }
    },
    "/planning/plans/{planId}/replan": {
      "post": {
        "operationId": "post-planning-plans-plan-id-replan",
        "summary": "POST /plans/{planId}/replan",
        "description": "POST /plans/{planId}/replan",
        "tags": [
          "planning"
        ],
        "parameters": [
          {
            "name": "planId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/planning.ts:504"
        ],
        "x-middlewares": []
      }
    },
    "/planning/plans/{planId}/steps/{stepId}/outcomes": {
      "post": {
        "operationId": "post-planning-plans-plan-id-steps-step-id-outcomes",
        "summary": "POST /plans/{planId}/steps/{stepId}/outcomes",
        "description": "POST /plans/{planId}/steps/{stepId}/outcomes",
        "tags": [
          "planning"
        ],
        "parameters": [
          {
            "name": "planId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "stepId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/planning.ts:403"
        ],
        "x-middlewares": []
      }
    },
    "/proactive/process": {
      "post": {
        "operationId": "post-proactive-process",
        "summary": "POST /process",
        "description": "POST /process",
        "tags": [
          "proactive"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/proactive.ts:82"
        ],
        "x-middlewares": []
      }
    },
    "/proactive/recommendations": {
      "get": {
        "operationId": "get-proactive-recommendations",
        "summary": "GET /recommendations",
        "description": "GET /recommendations",
        "tags": [
          "proactive"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/proactive.ts:99"
        ],
        "x-middlewares": []
      }
    },
    "/proactive/signals": {
      "post": {
        "operationId": "post-proactive-signals",
        "summary": "POST /signals",
        "description": "POST /signals",
        "tags": [
          "proactive"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "202": {
            "description": "HTTP 202 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/proactive.ts:36"
        ],
        "x-middlewares": []
      }
    },
    "/regulatory-changes/changes": {
      "post": {
        "operationId": "post-regulatory-changes-changes",
        "summary": "POST /changes",
        "description": "POST /changes",
        "tags": [
          "regulatory-changes"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/regulatory-changes.ts:177"
        ],
        "x-middlewares": []
      }
    },
    "/regulatory-changes/changes/{changeId}": {
      "get": {
        "operationId": "get-regulatory-changes-changes-change-id",
        "summary": "GET /changes/{changeId}",
        "description": "GET /changes/{changeId}",
        "tags": [
          "regulatory-changes"
        ],
        "parameters": [
          {
            "name": "changeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/regulatory-changes.ts:435"
        ],
        "x-middlewares": []
      }
    },
    "/regulatory-changes/changes/{changeId}/activate": {
      "post": {
        "operationId": "post-regulatory-changes-changes-change-id-activate",
        "summary": "POST /changes/{changeId}/activate",
        "description": "POST /changes/{changeId}/activate",
        "tags": [
          "regulatory-changes"
        ],
        "parameters": [
          {
            "name": "changeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/regulatory-changes.ts:400"
        ],
        "x-middlewares": []
      }
    },
    "/regulatory-changes/changes/{changeId}/approve": {
      "post": {
        "operationId": "post-regulatory-changes-changes-change-id-approve",
        "summary": "POST /changes/{changeId}/approve",
        "description": "POST /changes/{changeId}/approve",
        "tags": [
          "regulatory-changes"
        ],
        "parameters": [
          {
            "name": "changeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/regulatory-changes.ts:294"
        ],
        "x-middlewares": []
      }
    },
    "/regulatory-changes/changes/{changeId}/reject": {
      "post": {
        "operationId": "post-regulatory-changes-changes-change-id-reject",
        "summary": "POST /changes/{changeId}/reject",
        "description": "POST /changes/{changeId}/reject",
        "tags": [
          "regulatory-changes"
        ],
        "parameters": [
          {
            "name": "changeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/regulatory-changes.ts:352"
        ],
        "x-middlewares": []
      }
    },
    "/regulatory-changes/dependencies": {
      "post": {
        "operationId": "post-regulatory-changes-dependencies",
        "summary": "POST /dependencies",
        "description": "POST /dependencies",
        "tags": [
          "regulatory-changes"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/regulatory-changes.ts:145"
        ],
        "x-middlewares": []
      }
    },
    "/regulatory-changes/governance/changes/{changeId}/activate": {
      "post": {
        "operationId": "post-regulatory-changes-governance-changes-change-id-activate",
        "summary": "Activates an approved implementation and forbids partial canary after mandatory effect.",
        "description": "Activates an approved implementation and forbids partial canary after mandatory effect.",
        "tags": [
          "regulatory-changes"
        ],
        "parameters": [
          {
            "name": "changeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/regulatory-change-governance.ts:1685"
        ],
        "x-middlewares": []
      }
    },
    "/regulatory-changes/governance/changes/{changeId}/analyze": {
      "post": {
        "operationId": "post-regulatory-changes-governance-changes-change-id-analyze",
        "summary": "Computes and persists one tenant impact plus twelve traceable fabric dispatches.",
        "description": "Computes and persists one tenant impact plus twelve traceable fabric dispatches.",
        "tags": [
          "regulatory-changes"
        ],
        "parameters": [
          {
            "name": "changeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/regulatory-change-governance.ts:510"
        ],
        "x-middlewares": []
      }
    },
    "/regulatory-changes/governance/changes/{changeId}/compatibility": {
      "post": {
        "operationId": "post-regulatory-changes-governance-changes-change-id-compatibility",
        "summary": "Pins compatibility across requirement, control, policy, workflow, capability and evidence.",
        "description": "Pins compatibility across requirement, control, policy, workflow, capability and evidence.",
        "tags": [
          "regulatory-changes"
        ],
        "parameters": [
          {
            "name": "changeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/regulatory-change-governance.ts:974"
        ],
        "x-middlewares": []
      }
    },
    "/regulatory-changes/governance/changes/{changeId}/history": {
      "get": {
        "operationId": "get-regulatory-changes-governance-changes-change-id-history",
        "summary": "Returns the immutable, tenant-scoped change evidence chain and implementation history.",
        "description": "Returns the immutable, tenant-scoped change evidence chain and implementation history.",
        "tags": [
          "regulatory-changes"
        ],
        "parameters": [
          {
            "name": "changeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/regulatory-change-governance.ts:2101"
        ],
        "x-middlewares": []
      }
    },
    "/regulatory-changes/governance/changes/{changeId}/simulations": {
      "post": {
        "operationId": "post-regulatory-changes-governance-changes-change-id-simulations",
        "summary": "Persists a dry-run population projection and explicit transition/grace mode.",
        "description": "Persists a dry-run population projection and explicit transition/grace mode.",
        "tags": [
          "regulatory-changes"
        ],
        "parameters": [
          {
            "name": "changeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/regulatory-change-governance.ts:789"
        ],
        "x-middlewares": []
      }
    },
    "/regulatory-changes/governance/changes/{changeId}/verify": {
      "post": {
        "operationId": "post-regulatory-changes-governance-changes-change-id-verify",
        "summary": "Verifies a released change only when all affected entities are remediated and gap-free.",
        "description": "Verifies a released change only when all affected entities are remediated and gap-free.",
        "tags": [
          "regulatory-changes"
        ],
        "parameters": [
          {
            "name": "changeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/regulatory-change-governance.ts:1901"
        ],
        "x-middlewares": []
      }
    },
    "/regulatory-changes/governance/conflicts": {
      "post": {
        "operationId": "post-regulatory-changes-governance-conflicts",
        "summary": "Resolves source conflicts by authority and freshness or escalates to human review.",
        "description": "Resolves source conflicts by authority and freshness or escalates to human review.",
        "tags": [
          "regulatory-changes"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/regulatory-change-governance.ts:1101"
        ],
        "x-middlewares": []
      }
    },
    "/regulatory-changes/governance/dependency-edges": {
      "post": {
        "operationId": "post-regulatory-changes-governance-dependency-edges",
        "summary": "Registers one immutable directed edge for bounded impact traversal.",
        "description": "Registers one immutable directed edge for bounded impact traversal.",
        "tags": [
          "regulatory-changes"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/regulatory-change-governance.ts:300"
        ],
        "x-middlewares": []
      }
    },
    "/regulatory-changes/governance/metrics": {
      "get": {
        "operationId": "get-regulatory-changes-governance-metrics",
        "summary": "Returns operational source, impact, deadline, migration and dispatch metrics.",
        "description": "Returns operational source, impact, deadline, migration and dispatch metrics.",
        "tags": [
          "regulatory-changes"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/regulatory-change-governance.ts:2218"
        ],
        "x-middlewares": []
      }
    },
    "/regulatory-changes/governance/migration-plans": {
      "post": {
        "operationId": "post-regulatory-changes-governance-migration-plans",
        "summary": "Creates an approved, responsibility-bound migration plan and eight ordered steps.",
        "description": "Creates an approved, responsibility-bound migration plan and eight ordered steps.",
        "tags": [
          "regulatory-changes"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/regulatory-change-governance.ts:1232"
        ],
        "x-middlewares": []
      }
    },
    "/regulatory-changes/governance/migration-plans/{migrationId}/transition": {
      "post": {
        "operationId": "post-regulatory-changes-governance-migration-plans-migration-id-transition",
        "summary": "Advances a migration with evidence-backed completed steps and strict ordering.",
        "description": "Advances a migration with evidence-backed completed steps and strict ordering.",
        "tags": [
          "regulatory-changes"
        ],
        "parameters": [
          {
            "name": "migrationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/regulatory-change-governance.ts:1518"
        ],
        "x-middlewares": []
      }
    },
    "/regulatory-changes/governance/queries/preview": {
      "post": {
        "operationId": "post-regulatory-changes-governance-queries-preview",
        "summary": "Parses bounded regulatory queries without storing free-form input.",
        "description": "Parses bounded regulatory queries without storing free-form input.",
        "tags": [
          "regulatory-changes"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/regulatory-change-governance.ts:2179"
        ],
        "x-middlewares": []
      }
    },
    "/regulatory-changes/governance/source-monitors": {
      "post": {
        "operationId": "post-regulatory-changes-governance-source-monitors",
        "summary": "Stores a source observation while keeping unavailable distinct from unchanged.",
        "description": "Stores a source observation while keeping unavailable distinct from unchanged.",
        "tags": [
          "regulatory-changes"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/regulatory-change-governance.ts:393"
        ],
        "x-middlewares": []
      }
    },
    "/releases": {
      "post": {
        "operationId": "post-releases",
        "summary": "POST /",
        "description": "POST /",
        "tags": [
          "releases"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/releases.ts:67"
        ],
        "x-middlewares": []
      }
    },
    "/releases/{releaseId}/evaluations": {
      "post": {
        "operationId": "post-releases-release-id-evaluations",
        "summary": "POST /{releaseId}/evaluations",
        "description": "POST /{releaseId}/evaluations",
        "tags": [
          "releases"
        ],
        "parameters": [
          {
            "name": "releaseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/releases.ts:220"
        ],
        "x-middlewares": []
      }
    },
    "/releases/{releaseId}/lifecycle": {
      "patch": {
        "operationId": "patch-releases-release-id-lifecycle",
        "summary": "PATCH /{releaseId}/lifecycle",
        "description": "PATCH /{releaseId}/lifecycle",
        "tags": [
          "releases"
        ],
        "parameters": [
          {
            "name": "releaseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/releases.ts:170"
        ],
        "x-middlewares": []
      }
    },
    "/releases/{releaseId}/metrics": {
      "get": {
        "operationId": "get-releases-release-id-metrics",
        "summary": "Correlates persisted release gates, preview-routing configuration and observed task telemetry; it never implies execution authority.",
        "description": "Correlates persisted release gates, preview-routing configuration and observed task telemetry; it never implies execution authority.",
        "tags": [
          "releases"
        ],
        "parameters": [
          {
            "name": "releaseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/releases.ts:356"
        ],
        "x-middlewares": []
      }
    },
    "/releases/{releaseId}/rollback": {
      "post": {
        "operationId": "post-releases-release-id-rollback",
        "summary": "POST /{releaseId}/rollback",
        "description": "POST /{releaseId}/rollback",
        "tags": [
          "releases"
        ],
        "parameters": [
          {
            "name": "releaseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/releases.ts:106"
        ],
        "x-middlewares": []
      }
    },
    "/releases/{releaseId}/rollouts": {
      "post": {
        "operationId": "post-releases-release-id-rollouts",
        "summary": "Stores a bounded rollout allocation for a CANARY or ACTIVE release; the server uses it only to route authenticated orchestration previews.",
        "description": "Stores a bounded rollout allocation for a CANARY or ACTIVE release; the server uses it only to route authenticated orchestration previews.",
        "tags": [
          "releases"
        ],
        "parameters": [
          {
            "name": "releaseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/releases.ts:317"
        ],
        "x-middlewares": []
      }
    },
    "/releases/{releaseId}/semantic-evaluations": {
      "post": {
        "operationId": "post-releases-release-id-semantic-evaluations",
        "summary": "Collects bounded LLM semantic evidence for an evaluating release; this route never gates a release or authorizes execution.",
        "description": "Collects bounded LLM semantic evidence for an evaluating release; this route never gates a release or authorizes execution.",
        "tags": [
          "releases"
        ],
        "parameters": [
          {
            "name": "releaseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/releases.ts:271"
        ],
        "x-middlewares": []
      }
    },
    "/responsibility/acting": {
      "post": {
        "operationId": "post-responsibility-acting",
        "summary": "Creates a bounded ACTING_FOR assignment while retaining the original accountable assignment.",
        "description": "Creates a bounded ACTING_FOR assignment while retaining the original accountable assignment.",
        "tags": [
          "responsibility"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/responsibility.ts:360"
        ],
        "x-middlewares": []
      }
    },
    "/responsibility/assignments": {
      "post": {
        "operationId": "post-responsibility-assignments",
        "summary": "POST /assignments",
        "description": "POST /assignments",
        "tags": [
          "responsibility"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/responsibility.ts:61"
        ],
        "x-middlewares": []
      },
      "get": {
        "operationId": "get-responsibility-assignments",
        "summary": "GET /assignments",
        "description": "GET /assignments",
        "tags": [
          "responsibility"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/responsibility.ts:255"
        ],
        "x-middlewares": []
      }
    },
    "/responsibility/assignments/{assignmentId}/end": {
      "post": {
        "operationId": "post-responsibility-assignments-assignment-id-end",
        "summary": "POST /assignments/{assignmentId}/end",
        "description": "POST /assignments/{assignmentId}/end",
        "tags": [
          "responsibility"
        ],
        "parameters": [
          {
            "name": "assignmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/responsibility.ts:121"
        ],
        "x-middlewares": []
      }
    },
    "/responsibility/definition-versions": {
      "post": {
        "operationId": "post-responsibility-definition-versions",
        "summary": "Publishes an immutable responsibility definition, including critical coverage and SLA rules.",
        "description": "Publishes an immutable responsibility definition, including critical coverage and SLA rules.",
        "tags": [
          "responsibility"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/responsibility-governance.ts:253"
        ],
        "x-middlewares": []
      }
    },
    "/responsibility/governance-assignments": {
      "post": {
        "operationId": "post-responsibility-governance-assignments",
        "summary": "Creates a role- and definition-bound RACI assignment with atomic overlap protection.",
        "description": "Creates a role- and definition-bound RACI assignment with atomic overlap protection.",
        "tags": [
          "responsibility"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/responsibility-governance.ts:309"
        ],
        "x-middlewares": []
      }
    },
    "/responsibility/governance/backups/{backupAssignmentId}/activate": {
      "post": {
        "operationId": "post-responsibility-governance-backups-backup-assignment-id-activate",
        "summary": "Activates a registered backup only with explicit policy and optional delegation evidence.",
        "description": "Activates a registered backup only with explicit policy and optional delegation evidence.",
        "tags": [
          "responsibility"
        ],
        "parameters": [
          {
            "name": "backupAssignmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/responsibility-governance.ts:541"
        ],
        "x-middlewares": []
      }
    },
    "/responsibility/governance/coverage": {
      "post": {
        "operationId": "post-responsibility-governance-coverage",
        "summary": "Persists an immutable coverage snapshot for gaps, conflicts and critical backups.",
        "description": "Persists an immutable coverage snapshot for gaps, conflicts and critical backups.",
        "tags": [
          "responsibility"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/responsibility-governance.ts:403"
        ],
        "x-middlewares": []
      }
    },
    "/responsibility/governance/history": {
      "get": {
        "operationId": "get-responsibility-governance-history",
        "summary": "Returns immutable point-in-time records while redacting principals for non-admin callers.",
        "description": "Returns immutable point-in-time records while redacting principals for non-admin callers.",
        "tags": [
          "responsibility"
        ],
        "responses": {
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/responsibility-governance.ts:578"
        ],
        "x-middlewares": []
      }
    },
    "/responsibility/governance/metrics": {
      "get": {
        "operationId": "get-responsibility-governance-metrics",
        "summary": "Exposes tenant-scoped responsibility coverage and routing health.",
        "description": "Exposes tenant-scoped responsibility coverage and routing health.",
        "tags": [
          "responsibility"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/responsibility-governance.ts:711"
        ],
        "x-middlewares": []
      }
    },
    "/responsibility/governance/reconcile": {
      "post": {
        "operationId": "post-responsibility-governance-reconcile",
        "summary": "Reconciles organization-version drift into State/Proactive/Goal/Workflow review signals.",
        "description": "Reconciles organization-version drift into State/Proactive/Goal/Workflow review signals.",
        "tags": [
          "responsibility"
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/responsibility-governance.ts:615"
        ],
        "x-middlewares": []
      }
    },
    "/responsibility/governance/resolve": {
      "get": {
        "operationId": "get-responsibility-governance-resolve",
        "summary": "Resolves the effective graph with measured in-Worker duration and no sensitive context expansion.",
        "description": "Resolves the effective graph with measured in-Worker duration and no sensitive context expansion.",
        "tags": [
          "responsibility"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/responsibility-governance.ts:356"
        ],
        "x-middlewares": []
      }
    },
    "/responsibility/governance/routes": {
      "post": {
        "operationId": "post-responsibility-governance-routes",
        "summary": "Resolves and persists responsibility-aware routing contracts for downstream fabrics.",
        "description": "Resolves and persists responsibility-aware routing contracts for downstream fabrics.",
        "tags": [
          "responsibility"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/responsibility-governance.ts:436"
        ],
        "x-middlewares": []
      }
    },
    "/responsibility/governance/what-if": {
      "post": {
        "operationId": "post-responsibility-governance-what-if",
        "summary": "Simulates assignment removal and persists only the immutable dry-run result.",
        "description": "Simulates assignment removal and persists only the immutable dry-run result.",
        "tags": [
          "responsibility"
        ],
        "responses": {
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/responsibility-governance.ts:497"
        ],
        "x-middlewares": []
      }
    },
    "/responsibility/inheritance": {
      "post": {
        "operationId": "post-responsibility-inheritance",
        "summary": "Registers explicit, bounded organizational scope inheritance; hierarchy never conveys technical authority.",
        "description": "Registers explicit, bounded organizational scope inheritance; hierarchy never conveys technical authority.",
        "tags": [
          "responsibility"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/responsibility.ts:398"
        ],
        "x-middlewares": []
      }
    },
    "/responsibility/queries/preview": {
      "post": {
        "operationId": "post-responsibility-queries-preview",
        "summary": "Parses a bounded natural-language responsibility query without making organizational claims.",
        "description": "Parses a bounded natural-language responsibility query without making organizational claims.",
        "tags": [
          "responsibility"
        ],
        "responses": {
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/responsibility-governance.ts:683"
        ],
        "x-middlewares": []
      }
    },
    "/responsibility/resolve": {
      "get": {
        "operationId": "get-responsibility-resolve",
        "summary": "GET /resolve",
        "description": "GET /resolve",
        "tags": [
          "responsibility"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/responsibility.ts:166"
        ],
        "x-middlewares": []
      }
    },
    "/responsibility/resolve-inherited": {
      "get": {
        "operationId": "get-responsibility-resolve-inherited",
        "summary": "Resolves the nearest explicit inherited RACI scope at a point in time; the direct scope always wins.",
        "description": "Resolves the nearest explicit inherited RACI scope at a point in time; the direct scope always wins.",
        "tags": [
          "responsibility"
        ],
        "responses": {
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/responsibility.ts:432"
        ],
        "x-middlewares": []
      }
    },
    "/responsibility/role-versions": {
      "post": {
        "operationId": "post-responsibility-role-versions",
        "summary": "Publishes an immutable organizational role version without deriving permissions from its name.",
        "description": "Publishes an immutable organizational role version without deriving permissions from its name.",
        "tags": [
          "responsibility"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/responsibility-governance.ts:186"
        ],
        "x-middlewares": []
      }
    },
    "/responsibility/snapshots": {
      "post": {
        "operationId": "post-responsibility-snapshots",
        "summary": "Persists an immutable point-in-time responsibility resolution; it conveys accountability but grants no authority.",
        "description": "Persists an immutable point-in-time responsibility resolution; it conveys accountability but grants no authority.",
        "tags": [
          "responsibility"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/responsibility.ts:289"
        ],
        "x-middlewares": []
      }
    },
    "/risk/governance/acceptances": {
      "post": {
        "operationId": "post-risk-governance-acceptances",
        "summary": "POST /governance/acceptances",
        "description": "POST /governance/acceptances",
        "tags": [
          "risk"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-prevention-governance.ts:485"
        ],
        "x-middlewares": []
      }
    },
    "/risk/governance/assessments": {
      "post": {
        "operationId": "post-risk-governance-assessments",
        "summary": "POST /governance/assessments",
        "description": "POST /governance/assessments",
        "tags": [
          "risk"
        ],
        "responses": {
          "100": {
            "description": "HTTP 100 response"
          },
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-prevention-governance.ts:263"
        ],
        "x-middlewares": []
      },
      "get": {
        "operationId": "get-risk-governance-assessments",
        "summary": "GET /governance/assessments",
        "description": "GET /governance/assessments",
        "tags": [
          "risk"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-prevention-governance.ts:454"
        ],
        "x-middlewares": []
      }
    },
    "/risk/governance/assessments/{assessmentId}": {
      "get": {
        "operationId": "get-risk-governance-assessments-assessment-id",
        "summary": "GET /governance/assessments/{assessmentId}",
        "description": "GET /governance/assessments/{assessmentId}",
        "tags": [
          "risk"
        ],
        "parameters": [
          {
            "name": "assessmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-prevention-governance.ts:433"
        ],
        "x-middlewares": []
      }
    },
    "/risk/governance/goals/{goalId}/signal": {
      "post": {
        "operationId": "post-risk-governance-goals-goal-id-signal",
        "summary": "POST /governance/goals/{goalId}/signal",
        "description": "POST /governance/goals/{goalId}/signal",
        "tags": [
          "risk"
        ],
        "parameters": [
          {
            "name": "goalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-prevention-governance.ts:190"
        ],
        "x-middlewares": []
      }
    },
    "/risk/governance/hazards": {
      "post": {
        "operationId": "post-risk-governance-hazards",
        "summary": "POST /governance/hazards",
        "description": "POST /governance/hazards",
        "tags": [
          "risk"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-registry.ts:92"
        ],
        "x-middlewares": []
      }
    },
    "/risk/governance/incidents/{incidentId}/signal": {
      "post": {
        "operationId": "post-risk-governance-incidents-incident-id-signal",
        "summary": "POST /governance/incidents/{incidentId}/signal",
        "description": "POST /governance/incidents/{incidentId}/signal",
        "tags": [
          "risk"
        ],
        "parameters": [
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-prevention-governance.ts:124"
        ],
        "x-middlewares": []
      }
    },
    "/risk/governance/registry": {
      "post": {
        "operationId": "post-risk-governance-registry",
        "summary": "POST /governance/registry",
        "description": "POST /governance/registry",
        "tags": [
          "risk"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-registry.ts:126"
        ],
        "x-middlewares": []
      }
    },
    "/risk/governance/resources/{resourceId}/signal": {
      "post": {
        "operationId": "post-risk-governance-resources-resource-id-signal",
        "summary": "POST /governance/resources/{resourceId}/signal",
        "description": "POST /governance/resources/{resourceId}/signal",
        "tags": [
          "risk"
        ],
        "parameters": [
          {
            "name": "resourceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-prevention-governance.ts:151"
        ],
        "x-middlewares": []
      }
    },
    "/risk/governance/signals": {
      "post": {
        "operationId": "post-risk-governance-signals",
        "summary": "POST /governance/signals",
        "description": "POST /governance/signals",
        "tags": [
          "risk"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-prevention-governance.ts:217"
        ],
        "x-middlewares": []
      }
    },
    "/risk/governance/subjects/{subjectType}/{subjectId}/signal-summary": {
      "get": {
        "operationId": "get-risk-governance-subjects-subject-type-subject-id-signal-summary",
        "summary": "Aggregates immutable Work Permit signals and assessments over the only supported fixed analysis windows.",
        "description": "Aggregates immutable Work Permit signals and assessments over the only supported fixed analysis windows.",
        "tags": [
          "risk"
        ],
        "parameters": [
          {
            "name": "subjectType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subjectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-monitoring.ts:36"
        ],
        "x-middlewares": []
      }
    },
    "/risk/models": {
      "post": {
        "operationId": "post-risk-models",
        "summary": "POST /models",
        "description": "POST /models",
        "tags": [
          "risk"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-intelligence.ts:80"
        ],
        "x-middlewares": []
      }
    },
    "/risk/models/{modelId}/calibration": {
      "get": {
        "operationId": "get-risk-models-model-id-calibration",
        "summary": "Reports outcome-backed model quality over a short tenant-scoped window; review signals never alter model lifecycle or execute action.",
        "description": "Reports outcome-backed model quality over a short tenant-scoped window; review signals never alter model lifecycle or execute action.",
        "tags": [
          "risk"
        ],
        "parameters": [
          {
            "name": "modelId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-calibration.ts:49"
        ],
        "x-middlewares": []
      }
    },
    "/risk/models/{modelId}/monitoring": {
      "get": {
        "operationId": "get-risk-models-model-id-monitoring",
        "summary": "Aggregates a bounded, tenant-isolated prediction window; it never alters model lifecycle or execution authority.",
        "description": "Aggregates a bounded, tenant-isolated prediction window; it never alters model lifecycle or execution authority.",
        "tags": [
          "risk"
        ],
        "parameters": [
          {
            "name": "modelId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-monitoring.ts:65"
        ],
        "x-middlewares": []
      }
    },
    "/risk/models/{modelId}/rollouts": {
      "post": {
        "operationId": "post-risk-models-model-id-rollouts",
        "summary": "Promotes a governed candidate or rolls back only to the active model's declared rollback version; it never authorizes field execution.",
        "description": "Promotes a governed candidate or rolls back only to the active model's declared rollback version; it never authorizes field execution.",
        "tags": [
          "risk"
        ],
        "parameters": [
          {
            "name": "modelId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-rollouts.ts:12"
        ],
        "x-middlewares": []
      }
    },
    "/risk/predictions": {
      "post": {
        "operationId": "post-risk-predictions",
        "summary": "POST /predictions",
        "description": "POST /predictions",
        "tags": [
          "risk"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-intelligence.ts:114"
        ],
        "x-middlewares": []
      }
    },
    "/risk/predictions/{id}": {
      "get": {
        "operationId": "get-risk-predictions-id",
        "summary": "GET /predictions/{id}",
        "description": "GET /predictions/{id}",
        "tags": [
          "risk"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-intelligence.ts:169"
        ],
        "x-middlewares": []
      }
    },
    "/risk/predictions/{predictionId}/attention": {
      "post": {
        "operationId": "post-risk-predictions-prediction-id-attention",
        "summary": "Projects a governed risk review into Attention Center; it never approves or executes an intervention.",
        "description": "Projects a governed risk review into Attention Center; it never approves or executes an intervention.",
        "tags": [
          "risk"
        ],
        "parameters": [
          {
            "name": "predictionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "500": {
            "description": "HTTP 500 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-attention.ts:33"
        ],
        "x-middlewares": []
      }
    },
    "/risk/predictions/{predictionId}/outcomes": {
      "post": {
        "operationId": "post-risk-predictions-prediction-id-outcomes",
        "summary": "Records independently evidenced ground truth; it never mutates an immutable prediction snapshot.",
        "description": "Records independently evidenced ground truth; it never mutates an immutable prediction snapshot.",
        "tags": [
          "risk"
        ],
        "parameters": [
          {
            "name": "predictionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-outcomes.ts:35"
        ],
        "x-middlewares": []
      }
    },
    "/risk/predictions/{predictionId}/scenarios": {
      "post": {
        "operationId": "post-risk-predictions-prediction-id-scenarios",
        "summary": "Runs a bounded scenario against an immutable prediction snapshot; it persists no state and never authorizes execution.",
        "description": "Runs a bounded scenario against an immutable prediction snapshot; it persists no state and never authorizes execution.",
        "tags": [
          "risk"
        ],
        "parameters": [
          {
            "name": "predictionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-scenarios.ts:36"
        ],
        "x-middlewares": []
      }
    },
    "/risk/recommendations/{recommendationId}/plan-intervention": {
      "post": {
        "operationId": "post-risk-recommendations-recommendation-id-plan-intervention",
        "summary": "Converts a human-reviewed recommendation into an authorization-gated intervention plan, never a capability execution.",
        "description": "Converts a human-reviewed recommendation into an authorization-gated intervention plan, never a capability execution.",
        "tags": [
          "risk"
        ],
        "parameters": [
          {
            "name": "recommendationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/risk-recommendation-actions.ts:34"
        ],
        "x-middlewares": []
      }
    },
    "/runbooks": {
      "get": {
        "operationId": "get-runbooks",
        "summary": "GET /",
        "description": "GET /",
        "tags": [
          "runbooks"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/runbooks.ts:134"
        ],
        "x-middlewares": []
      },
      "post": {
        "operationId": "post-runbooks",
        "summary": "POST /",
        "description": "POST /",
        "tags": [
          "runbooks"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/runbooks.ts:165"
        ],
        "x-middlewares": []
      }
    },
    "/runbooks/for-exception/{exceptionId}": {
      "get": {
        "operationId": "get-runbooks-for-exception-exception-id",
        "summary": "Resolves documented procedures for a persisted exception",
        "description": "Resolves documented procedures for a persisted exception. This is deliberately read-only: a runbook is guidance, never a capability invocation or approval.",
        "tags": [
          "runbooks"
        ],
        "parameters": [
          {
            "name": "exceptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/runbooks.ts:64"
        ],
        "x-middlewares": []
      }
    },
    "/runtime/executions": {
      "post": {
        "operationId": "post-runtime-executions",
        "summary": "POST /executions",
        "description": "POST /executions",
        "tags": [
          "runtime"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/adaptive-runtime.ts:219"
        ],
        "x-middlewares": []
      }
    },
    "/runtime/executions/{executionId}": {
      "get": {
        "operationId": "get-runtime-executions-execution-id",
        "summary": "GET /executions/{executionId}",
        "description": "GET /executions/{executionId}",
        "tags": [
          "runtime"
        ],
        "parameters": [
          {
            "name": "executionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/adaptive-runtime.ts:328"
        ],
        "x-middlewares": []
      }
    },
    "/runtime/executions/{executionId}/checkpoints": {
      "post": {
        "operationId": "post-runtime-executions-execution-id-checkpoints",
        "summary": "POST /executions/{executionId}/checkpoints",
        "description": "POST /executions/{executionId}/checkpoints",
        "tags": [
          "runtime"
        ],
        "parameters": [
          {
            "name": "executionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/adaptive-runtime.ts:683"
        ],
        "x-middlewares": []
      }
    },
    "/runtime/executions/{executionId}/control": {
      "post": {
        "operationId": "post-runtime-executions-execution-id-control",
        "summary": "POST /executions/{executionId}/control",
        "description": "POST /executions/{executionId}/control",
        "tags": [
          "runtime"
        ],
        "parameters": [
          {
            "name": "executionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/adaptive-runtime.ts:462"
        ],
        "x-middlewares": []
      }
    },
    "/runtime/executions/{executionId}/explanation": {
      "get": {
        "operationId": "get-runtime-executions-execution-id-explanation",
        "summary": "Explains persisted workflow state in natural language without resuming or mutating it.",
        "description": "Explains persisted workflow state in natural language without resuming or mutating it.",
        "tags": [
          "runtime"
        ],
        "parameters": [
          {
            "name": "executionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/adaptive-runtime.ts:429"
        ],
        "x-middlewares": []
      }
    },
    "/runtime/executions/{executionId}/heartbeat": {
      "post": {
        "operationId": "post-runtime-executions-execution-id-heartbeat",
        "summary": "POST /executions/{executionId}/heartbeat",
        "description": "POST /executions/{executionId}/heartbeat",
        "tags": [
          "runtime"
        ],
        "parameters": [
          {
            "name": "executionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/adaptive-runtime.ts:646"
        ],
        "x-middlewares": []
      }
    },
    "/runtime/executions/{executionId}/pause": {
      "post": {
        "operationId": "post-runtime-executions-execution-id-pause",
        "summary": "POST /executions/{executionId}/pause",
        "description": "POST /executions/{executionId}/pause",
        "tags": [
          "runtime"
        ],
        "parameters": [
          {
            "name": "executionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/adaptive-runtime.ts:746"
        ],
        "x-middlewares": []
      }
    },
    "/runtime/executions/{executionId}/replay": {
      "get": {
        "operationId": "get-runtime-executions-execution-id-replay",
        "summary": "Reconstructs an execution timeline from immutable, tenant-scoped runtime records without invoking an agent or mutating state.",
        "description": "Reconstructs an execution timeline from immutable, tenant-scoped runtime records without invoking an agent or mutating state.",
        "tags": [
          "runtime"
        ],
        "parameters": [
          {
            "name": "executionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/adaptive-runtime.ts:356"
        ],
        "x-middlewares": []
      }
    },
    "/runtime/executions/{executionId}/resume": {
      "post": {
        "operationId": "post-runtime-executions-execution-id-resume",
        "summary": "POST /executions/{executionId}/resume",
        "description": "POST /executions/{executionId}/resume",
        "tags": [
          "runtime"
        ],
        "parameters": [
          {
            "name": "executionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/adaptive-runtime.ts:784"
        ],
        "x-middlewares": []
      }
    },
    "/runtime/executions/{executionId}/steps/{stepId}": {
      "post": {
        "operationId": "post-runtime-executions-execution-id-steps-step-id",
        "summary": "POST /executions/{executionId}/steps/{stepId}",
        "description": "POST /executions/{executionId}/steps/{stepId}",
        "tags": [
          "runtime"
        ],
        "parameters": [
          {
            "name": "executionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "stepId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/adaptive-runtime.ts:559"
        ],
        "x-middlewares": []
      }
    },
    "/runtime/executions/{executionId}/terminate": {
      "post": {
        "operationId": "post-runtime-executions-execution-id-terminate",
        "summary": "POST /executions/{executionId}/terminate",
        "description": "POST /executions/{executionId}/terminate",
        "tags": [
          "runtime"
        ],
        "parameters": [
          {
            "name": "executionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/adaptive-runtime.ts:827"
        ],
        "x-middlewares": []
      }
    },
    "/state/contexts": {
      "post": {
        "operationId": "post-state-contexts",
        "summary": "POST /contexts",
        "description": "POST /contexts",
        "tags": [
          "state"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/state-synchronization.ts:253"
        ],
        "x-middlewares": []
      }
    },
    "/state/contexts/{contextId}": {
      "get": {
        "operationId": "get-state-contexts-context-id",
        "summary": "GET /contexts/{contextId}",
        "description": "GET /contexts/{contextId}",
        "tags": [
          "state"
        ],
        "parameters": [
          {
            "name": "contextId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/state-synchronization.ts:348"
        ],
        "x-middlewares": []
      }
    },
    "/state/contexts/{contextId}/deltas": {
      "post": {
        "operationId": "post-state-contexts-context-id-deltas",
        "summary": "POST /contexts/{contextId}/deltas",
        "description": "POST /contexts/{contextId}/deltas",
        "tags": [
          "state"
        ],
        "parameters": [
          {
            "name": "contextId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/state-synchronization.ts:380"
        ],
        "x-middlewares": []
      }
    },
    "/state/contexts/{contextId}/validate": {
      "post": {
        "operationId": "post-state-contexts-context-id-validate",
        "summary": "POST /contexts/{contextId}/validate",
        "description": "POST /contexts/{contextId}/validate",
        "tags": [
          "state"
        ],
        "parameters": [
          {
            "name": "contextId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/state-synchronization.ts:322"
        ],
        "x-middlewares": []
      }
    },
    "/state/entities": {
      "post": {
        "operationId": "post-state-entities",
        "summary": "POST /entities",
        "description": "POST /entities",
        "tags": [
          "state"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "413": {
            "description": "HTTP 413 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/state-fabric.ts:138"
        ],
        "x-middlewares": []
      }
    },
    "/state/entities/{entityType}/{entityId}": {
      "patch": {
        "operationId": "patch-state-entities-entity-type-entity-id",
        "summary": "PATCH /entities/{entityType}/{entityId}",
        "description": "PATCH /entities/{entityType}/{entityId}",
        "tags": [
          "state"
        ],
        "parameters": [
          {
            "name": "entityType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "413": {
            "description": "HTTP 413 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/state-fabric.ts:187"
        ],
        "x-middlewares": []
      },
      "get": {
        "operationId": "get-state-entities-entity-type-entity-id",
        "summary": "GET /entities/{entityType}/{entityId}",
        "description": "GET /entities/{entityType}/{entityId}",
        "tags": [
          "state"
        ],
        "parameters": [
          {
            "name": "entityType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/state-fabric.ts:237"
        ],
        "x-middlewares": []
      }
    },
    "/state/entities/{entityType}/{entityId}/at": {
      "get": {
        "operationId": "get-state-entities-entity-type-entity-id-at",
        "summary": "GET /entities/{entityType}/{entityId}/at",
        "description": "GET /entities/{entityType}/{entityId}/at",
        "tags": [
          "state"
        ],
        "parameters": [
          {
            "name": "entityType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/state-synchronization.ts:764"
        ],
        "x-middlewares": []
      }
    },
    "/state/entities/{entityType}/{entityId}/events": {
      "get": {
        "operationId": "get-state-entities-entity-type-entity-id-events",
        "summary": "GET /entities/{entityType}/{entityId}/events",
        "description": "GET /entities/{entityType}/{entityId}/events",
        "tags": [
          "state"
        ],
        "parameters": [
          {
            "name": "entityType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/state-fabric.ts:257"
        ],
        "x-middlewares": []
      }
    },
    "/state/entities/{entityType}/{entityId}/synchronize": {
      "post": {
        "operationId": "post-state-entities-entity-type-entity-id-synchronize",
        "summary": "POST /entities/{entityType}/{entityId}/synchronize",
        "description": "POST /entities/{entityType}/{entityId}/synchronize",
        "tags": [
          "state"
        ],
        "parameters": [
          {
            "name": "entityType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "413": {
            "description": "HTTP 413 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/state-synchronization.ts:612"
        ],
        "x-middlewares": []
      }
    },
    "/state/forms/{formId}": {
      "put": {
        "operationId": "put-state-forms-form-id",
        "summary": "PUT /forms/{formId}",
        "description": "PUT /forms/{formId}",
        "tags": [
          "state"
        ],
        "parameters": [
          {
            "name": "formId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "413": {
            "description": "HTTP 413 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/state-synchronization.ts:420"
        ],
        "x-middlewares": []
      }
    },
    "/state/metrics": {
      "get": {
        "operationId": "get-state-metrics",
        "summary": "GET /metrics",
        "description": "GET /metrics",
        "tags": [
          "state"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/state-synchronization.ts:797"
        ],
        "x-middlewares": []
      }
    },
    "/state/projections": {
      "post": {
        "operationId": "post-state-projections",
        "summary": "POST /projections",
        "description": "POST /projections",
        "tags": [
          "state"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/state-synchronization.ts:558"
        ],
        "x-middlewares": []
      }
    },
    "/state/projections/{projectionId}": {
      "get": {
        "operationId": "get-state-projections-projection-id",
        "summary": "GET /projections/{projectionId}",
        "description": "GET /projections/{projectionId}",
        "tags": [
          "state"
        ],
        "parameters": [
          {
            "name": "projectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/state-synchronization.ts:592"
        ],
        "x-middlewares": []
      }
    },
    "/state/source-authorities": {
      "post": {
        "operationId": "post-state-source-authorities",
        "summary": "POST /source-authorities",
        "description": "POST /source-authorities",
        "tags": [
          "state"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/state-synchronization.ts:215"
        ],
        "x-middlewares": []
      }
    },
    "/state/subscriptions": {
      "post": {
        "operationId": "post-state-subscriptions",
        "summary": "POST /subscriptions",
        "description": "POST /subscriptions",
        "tags": [
          "state"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/state-synchronization.ts:459"
        ],
        "x-middlewares": []
      }
    },
    "/state/subscriptions/{subscriptionId}/events": {
      "get": {
        "operationId": "get-state-subscriptions-subscription-id-events",
        "summary": "GET /subscriptions/{subscriptionId}/events",
        "description": "GET /subscriptions/{subscriptionId}/events",
        "tags": [
          "state"
        ],
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/state-synchronization.ts:502"
        ],
        "x-middlewares": []
      }
    },
    "/state/subscriptions/{subscriptionId}/events/{deliveryId}/ack": {
      "post": {
        "operationId": "post-state-subscriptions-subscription-id-events-delivery-id-ack",
        "summary": "POST /subscriptions/{subscriptionId}/events/{deliveryId}/ack",
        "description": "POST /subscriptions/{subscriptionId}/events/{deliveryId}/ack",
        "tags": [
          "state"
        ],
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "deliveryId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/state-synchronization.ts:535"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/business-calendar": {
      "post": {
        "operationId": "post-temporal-business-calendar",
        "summary": "POST /business-calendar",
        "description": "POST /business-calendar",
        "tags": [
          "temporal"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:651"
        ],
        "x-middlewares": []
      },
      "get": {
        "operationId": "get-temporal-business-calendar",
        "summary": "GET /business-calendar",
        "description": "GET /business-calendar",
        "tags": [
          "temporal"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:681"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/business-calendars": {
      "post": {
        "operationId": "post-temporal-business-calendars",
        "summary": "POST /business-calendars",
        "description": "POST /business-calendars",
        "tags": [
          "temporal"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:494"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/deadline-predictions": {
      "post": {
        "operationId": "post-temporal-deadline-predictions",
        "summary": "POST /deadline-predictions",
        "description": "POST /deadline-predictions",
        "tags": [
          "temporal"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:445"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/dependencies/analyze": {
      "post": {
        "operationId": "post-temporal-dependencies-analyze",
        "summary": "POST /dependencies/analyze",
        "description": "POST /dependencies/analyze",
        "tags": [
          "temporal"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:911"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/metrics": {
      "get": {
        "operationId": "get-temporal-metrics",
        "summary": "GET /metrics",
        "description": "GET /metrics",
        "tags": [
          "temporal"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:849"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/occurrences": {
      "get": {
        "operationId": "get-temporal-occurrences",
        "summary": "GET /occurrences",
        "description": "GET /occurrences",
        "tags": [
          "temporal"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:1155"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/process": {
      "post": {
        "operationId": "post-temporal-process",
        "summary": "POST /process",
        "description": "POST /process",
        "tags": [
          "temporal"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:1138"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/references/resolve": {
      "post": {
        "operationId": "post-temporal-references-resolve",
        "summary": "POST /references/resolve",
        "description": "POST /references/resolve",
        "tags": [
          "temporal"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:874"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/schedules": {
      "post": {
        "operationId": "post-temporal-schedules",
        "summary": "POST /schedules",
        "description": "POST /schedules",
        "tags": [
          "temporal"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:1043"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/schedules/{scheduleId}": {
      "get": {
        "operationId": "get-temporal-schedules-schedule-id",
        "summary": "GET /schedules/{scheduleId}",
        "description": "GET /schedules/{scheduleId}",
        "tags": [
          "temporal"
        ],
        "parameters": [
          {
            "name": "scheduleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:828"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/schedules/{scheduleId}/cancel": {
      "post": {
        "operationId": "post-temporal-schedules-schedule-id-cancel",
        "summary": "POST /schedules/{scheduleId}/cancel",
        "description": "POST /schedules/{scheduleId}/cancel",
        "tags": [
          "temporal"
        ],
        "parameters": [
          {
            "name": "scheduleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:761"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/schedules/{scheduleId}/pause": {
      "post": {
        "operationId": "post-temporal-schedules-schedule-id-pause",
        "summary": "POST /schedules/{scheduleId}/pause",
        "description": "POST /schedules/{scheduleId}/pause",
        "tags": [
          "temporal"
        ],
        "parameters": [
          {
            "name": "scheduleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:713"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/schedules/{scheduleId}/resume": {
      "post": {
        "operationId": "post-temporal-schedules-schedule-id-resume",
        "summary": "POST /schedules/{scheduleId}/resume",
        "description": "POST /schedules/{scheduleId}/resume",
        "tags": [
          "temporal"
        ],
        "parameters": [
          {
            "name": "scheduleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:737"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/schedules/{scheduleId}/timeline": {
      "get": {
        "operationId": "get-temporal-schedules-schedule-id-timeline",
        "summary": "GET /schedules/{scheduleId}/timeline",
        "description": "GET /schedules/{scheduleId}/timeline",
        "tags": [
          "temporal"
        ],
        "parameters": [
          {
            "name": "scheduleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:797"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/simulations": {
      "post": {
        "operationId": "post-temporal-simulations",
        "summary": "POST /simulations",
        "description": "POST /simulations",
        "tags": [
          "temporal"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:941"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/sla-clocks/{clockId}/cancel": {
      "post": {
        "operationId": "post-temporal-sla-clocks-clock-id-cancel",
        "summary": "POST /sla-clocks/{clockId}/cancel",
        "description": "POST /sla-clocks/{clockId}/cancel",
        "tags": [
          "temporal"
        ],
        "parameters": [
          {
            "name": "clockId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:289"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/sla-clocks/{clockId}/complete": {
      "post": {
        "operationId": "post-temporal-sla-clocks-clock-id-complete",
        "summary": "POST /sla-clocks/{clockId}/complete",
        "description": "POST /sla-clocks/{clockId}/complete",
        "tags": [
          "temporal"
        ],
        "parameters": [
          {
            "name": "clockId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:233"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/sla-clocks/{clockId}/evaluate": {
      "post": {
        "operationId": "post-temporal-sla-clocks-clock-id-evaluate",
        "summary": "POST /sla-clocks/{clockId}/evaluate",
        "description": "POST /sla-clocks/{clockId}/evaluate",
        "tags": [
          "temporal"
        ],
        "parameters": [
          {
            "name": "clockId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:189"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/sla-clocks/{clockId}/pause": {
      "post": {
        "operationId": "post-temporal-sla-clocks-clock-id-pause",
        "summary": "POST /sla-clocks/{clockId}/pause",
        "description": "POST /sla-clocks/{clockId}/pause",
        "tags": [
          "temporal"
        ],
        "parameters": [
          {
            "name": "clockId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:100"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/sla-clocks/{clockId}/resume": {
      "post": {
        "operationId": "post-temporal-sla-clocks-clock-id-resume",
        "summary": "POST /sla-clocks/{clockId}/resume",
        "description": "POST /sla-clocks/{clockId}/resume",
        "tags": [
          "temporal"
        ],
        "parameters": [
          {
            "name": "clockId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:147"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/slas": {
      "post": {
        "operationId": "post-temporal-slas",
        "summary": "POST /slas",
        "description": "POST /slas",
        "tags": [
          "temporal"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:389"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/slas/{slaId}/clocks": {
      "post": {
        "operationId": "post-temporal-slas-sla-id-clocks",
        "summary": "POST /slas/{slaId}/clocks",
        "description": "POST /slas/{slaId}/clocks",
        "tags": [
          "temporal"
        ],
        "parameters": [
          {
            "name": "slaId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:348"
        ],
        "x-middlewares": []
      }
    },
    "/temporal/work-permit-monitors": {
      "post": {
        "operationId": "post-temporal-work-permit-monitors",
        "summary": "POST /work-permit-monitors",
        "description": "POST /work-permit-monitors",
        "tags": [
          "temporal"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/temporal.ts:971"
        ],
        "x-middlewares": []
      }
    },
    "/webhooks/{integrationId}/{tenantId}": {
      "post": {
        "operationId": "post-webhooks-integration-id-tenant-id",
        "summary": "POST /{integrationId}/{tenantId}",
        "description": "POST /{integrationId}/{tenantId}",
        "tags": [
          "webhooks"
        ],
        "parameters": [
          {
            "name": "integrationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "HTTP 202 response"
          },
          "401": {
            "description": "HTTP 401 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "413": {
            "description": "HTTP 413 response"
          },
          "415": {
            "description": "HTTP 415 response"
          },
          "422": {
            "description": "HTTP 422 response"
          },
          "503": {
            "description": "HTTP 503 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/external-webhooks.ts:80"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/assignments": {
      "post": {
        "operationId": "post-workforce-assignments",
        "summary": "POST /assignments",
        "description": "POST /assignments",
        "tags": [
          "workforce"
        ],
        "responses": {
          "200": {
            "description": "HTTP 200 response"
          },
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce.ts:166"
        ],
        "x-middlewares": []
      },
      "get": {
        "operationId": "get-workforce-assignments",
        "summary": "GET /assignments",
        "description": "GET /assignments",
        "tags": [
          "workforce"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce.ts:324"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/assignments/{assignmentId}/accept": {
      "post": {
        "operationId": "post-workforce-assignments-assignment-id-accept",
        "summary": "POST /assignments/{assignmentId}/accept",
        "description": "POST /assignments/{assignmentId}/accept",
        "tags": [
          "workforce"
        ],
        "parameters": [
          {
            "name": "assignmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce.ts:282"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/assignments/{assignmentId}/delegations": {
      "post": {
        "operationId": "post-workforce-assignments-assignment-id-delegations",
        "summary": "POST /assignments/{assignmentId}/delegations",
        "description": "POST /assignments/{assignmentId}/delegations",
        "tags": [
          "workforce"
        ],
        "parameters": [
          {
            "name": "assignmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce-coordination.ts:772"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/assignments/{assignmentId}/lifecycle": {
      "post": {
        "operationId": "post-workforce-assignments-assignment-id-lifecycle",
        "summary": "POST /assignments/{assignmentId}/lifecycle",
        "description": "POST /assignments/{assignmentId}/lifecycle",
        "tags": [
          "workforce"
        ],
        "parameters": [
          {
            "name": "assignmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce-coordination.ts:734"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/assignments/{assignmentId}/reassign": {
      "post": {
        "operationId": "post-workforce-assignments-assignment-id-reassign",
        "summary": "Atomically reassigns a reserved task after rechecking every hard constraint on the replacement resource.",
        "description": "Atomically reassigns a reserved task after rechecking every hard constraint on the replacement resource.",
        "tags": [
          "workforce"
        ],
        "parameters": [
          {
            "name": "assignmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce.ts:355"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/assignments/{assignmentId}/reconcile": {
      "post": {
        "operationId": "post-workforce-assignments-assignment-id-reconcile",
        "summary": "POST /assignments/{assignmentId}/reconcile",
        "description": "POST /assignments/{assignmentId}/reconcile",
        "tags": [
          "workforce"
        ],
        "parameters": [
          {
            "name": "assignmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce-coordination.ts:1017"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/assignments/from-reservation": {
      "post": {
        "operationId": "post-workforce-assignments-from-reservation",
        "summary": "POST /assignments/from-reservation",
        "description": "POST /assignments/from-reservation",
        "tags": [
          "workforce"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce-coordination.ts:681"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/authorization-decisions": {
      "post": {
        "operationId": "post-workforce-authorization-decisions",
        "summary": "POST /authorization-decisions",
        "description": "POST /authorization-decisions",
        "tags": [
          "workforce"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce-coordination.ts:434"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/availability": {
      "post": {
        "operationId": "post-workforce-availability",
        "summary": "Declares a bounded availability window; configured resources are admitted only when the whole assignment fits.",
        "description": "Declares a bounded availability window; configured resources are admitted only when the whole assignment fits.",
        "tags": [
          "workforce"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce.ts:250"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/availability-exceptions": {
      "post": {
        "operationId": "post-workforce-availability-exceptions",
        "summary": "POST /availability-exceptions",
        "description": "POST /availability-exceptions",
        "tags": [
          "workforce"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce-coordination.ts:391"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/bundles/preview": {
      "post": {
        "operationId": "post-workforce-bundles-preview",
        "summary": "POST /bundles/preview",
        "description": "POST /bundles/preview",
        "tags": [
          "workforce"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce-coordination.ts:533"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/discovery/preview": {
      "post": {
        "operationId": "post-workforce-discovery-preview",
        "summary": "POST /discovery/preview",
        "description": "POST /discovery/preview",
        "tags": [
          "workforce"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce-coordination.ts:480"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/forecasts": {
      "post": {
        "operationId": "post-workforce-forecasts",
        "summary": "POST /forecasts",
        "description": "POST /forecasts",
        "tags": [
          "workforce"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce-coordination.ts:940"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/metrics": {
      "get": {
        "operationId": "get-workforce-metrics",
        "summary": "GET /metrics",
        "description": "GET /metrics",
        "tags": [
          "workforce"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce-coordination.ts:1083"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/policy-versions": {
      "post": {
        "operationId": "post-workforce-policy-versions",
        "summary": "POST /policy-versions",
        "description": "POST /policy-versions",
        "tags": [
          "workforce"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce-coordination.ts:257"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/preemptions/preview": {
      "post": {
        "operationId": "post-workforce-preemptions-preview",
        "summary": "POST /preemptions/preview",
        "description": "POST /preemptions/preview",
        "tags": [
          "workforce"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce-coordination.ts:823"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/profiles": {
      "post": {
        "operationId": "post-workforce-profiles",
        "summary": "POST /profiles",
        "description": "POST /profiles",
        "tags": [
          "workforce"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce.ts:75"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/queue": {
      "post": {
        "operationId": "post-workforce-queue",
        "summary": "POST /queue",
        "description": "POST /queue",
        "tags": [
          "workforce"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce-coordination.ts:855"
        ],
        "x-middlewares": []
      },
      "get": {
        "operationId": "get-workforce-queue",
        "summary": "GET /queue",
        "description": "GET /queue",
        "tags": [
          "workforce"
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce-coordination.ts:910"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/reservations": {
      "post": {
        "operationId": "post-workforce-reservations",
        "summary": "POST /reservations",
        "description": "POST /reservations",
        "tags": [
          "workforce"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce-coordination.ts:571"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/reservations/{reservationId}/timeline": {
      "get": {
        "operationId": "get-workforce-reservations-reservation-id-timeline",
        "summary": "GET /reservations/{reservationId}/timeline",
        "description": "GET /reservations/{reservationId}/timeline",
        "tags": [
          "workforce"
        ],
        "parameters": [
          {
            "name": "reservationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce-coordination.ts:1059"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/reservations/{reservationId}/transitions": {
      "post": {
        "operationId": "post-workforce-reservations-reservation-id-transitions",
        "summary": "POST /reservations/{reservationId}/transitions",
        "description": "POST /reservations/{reservationId}/transitions",
        "tags": [
          "workforce"
        ],
        "parameters": [
          {
            "name": "reservationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce-coordination.ts:626"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/resources/{resourceId}/configure": {
      "post": {
        "operationId": "post-workforce-resources-resource-id-configure",
        "summary": "POST /resources/{resourceId}/configure",
        "description": "POST /resources/{resourceId}/configure",
        "tags": [
          "workforce"
        ],
        "parameters": [
          {
            "name": "resourceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce-coordination.ts:291"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/resources/{resourceId}/health": {
      "post": {
        "operationId": "post-workforce-resources-resource-id-health",
        "summary": "POST /resources/{resourceId}/health",
        "description": "POST /resources/{resourceId}/health",
        "tags": [
          "workforce"
        ],
        "parameters": [
          {
            "name": "resourceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce-coordination.ts:981"
        ],
        "x-middlewares": []
      }
    },
    "/workforce/shifts": {
      "post": {
        "operationId": "post-workforce-shifts",
        "summary": "POST /shifts",
        "description": "POST /shifts",
        "tags": [
          "workforce"
        ],
        "responses": {
          "201": {
            "description": "HTTP 201 response"
          },
          "403": {
            "description": "HTTP 403 response"
          },
          "404": {
            "description": "HTTP 404 response"
          },
          "409": {
            "description": "HTTP 409 response"
          },
          "422": {
            "description": "HTTP 422 response"
          }
        },
        "x-source-locations": [
          "apps/agente/src/routes/workforce-coordination.ts:343"
        ],
        "x-middlewares": []
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  }
}
