{
  "components": {
    "securitySchemes": {}
  },
  "info": {
    "description": "Static source preview reference. No server or executable console is provided. Broad source contracts remain broad; runtime checks and middleware are described separately.",
    "title": "Internal Advisor connector protocol",
    "version": "0.1.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/healthz": {
      "get": {
        "operationId": "advisor-connector-get-healthz",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": {
                    "type": "boolean"
                  },
                  "title": "Response Healthz Healthz Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Healthz",
        "tags": [
          "Advisor Connector"
        ],
        "x-audience": {
          "kind": "internal",
          "label": "Private service protocol. No public or third-party integration authority.",
          "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1202"
        },
        "x-error-coverage": "Literal HTTP errors in this handler and same-file helper call graph, plus control middleware. Dynamic and cross-module failures may add other errors; source links are authoritative.",
        "x-source": {
          "sha256": "d0a8a463392d3d9fef2aa545f4aad4a1cbc5403824e6d058a6d1f17a1f4841be",
          "url": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1202"
        },
        "x-source-errors": [],
        "x-stability": "Internal protocol; unsupported for external integration"
      }
    },
    "/v1/cancel": {
      "post": {
        "operationId": "advisor-connector-post-v1-cancel",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "title": "Response Cancel Operation V1 Cancel Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "409": {
            "description": "Refresh current revision and identity. A conflicting command must not be blindly repeated. See source-linked error catalog."
          },
          "413": {
            "description": "Reduce the authorized capture to the documented size and file limits. See source-linked error catalog."
          },
          "422": {
            "description": "Correct the field or semantic validation error. Input values are omitted from control validation errors. See source-linked error catalog."
          },
          "503": {
            "description": "Check readiness and the recorded job state. A healthy control plane does not prove scanner readiness. See source-linked error catalog."
          }
        },
        "summary": "Cancel operation",
        "tags": [
          "Advisor Connector"
        ],
        "x-audience": {
          "kind": "internal",
          "label": "Private service protocol. No public or third-party integration authority.",
          "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1268"
        },
        "x-error-coverage": "Literal HTTP errors in this handler and same-file helper call graph, plus control middleware. Dynamic and cross-module failures may add other errors; source links are authoritative.",
        "x-source": {
          "sha256": "d0a8a463392d3d9fef2aa545f4aad4a1cbc5403824e6d058a6d1f17a1f4841be",
          "url": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1268"
        },
        "x-source-errors": [
          {
            "detail": "Advisor cancellation requires a signed grant",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L925",
            "status": 409
          },
          {
            "detail": "Advisor cancellation grant is invalid",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L933",
            "status": 409
          },
          {
            "detail": "Advisor cancellation does not match the admitted operation",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L961",
            "status": 409
          },
          {
            "detail": "Advisor connector cleanup is still pending",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L976",
            "status": 503
          },
          {
            "detail": "connector request exceeds the bounded size",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L204",
            "status": 413
          },
          {
            "detail": "connector request exceeds the bounded size",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L209",
            "status": 413
          },
          {
            "detail": "invalid request length",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L202",
            "status": 413
          },
          {
            "detail": "request fields do not match the connector contract",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L192",
            "status": 422
          },
          {
            "detail": "request must be one strict UTF-8 JSON object",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L190",
            "status": 422
          }
        ],
        "x-stability": "Internal protocol; unsupported for external integration"
      }
    },
    "/v1/generate": {
      "post": {
        "operationId": "advisor-connector-post-v1-generate",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Generate V1 Generate Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "409": {
            "description": "Refresh current revision and identity. A conflicting command must not be blindly repeated. See source-linked error catalog."
          },
          "413": {
            "description": "Reduce the authorized capture to the documented size and file limits. See source-linked error catalog."
          },
          "422": {
            "description": "Correct the field or semantic validation error. Input values are omitted from control validation errors. See source-linked error catalog."
          },
          "499": {
            "description": "Reconcile current state and review the linked handler before retrying. See source-linked error catalog."
          }
        },
        "summary": "Generate",
        "tags": [
          "Advisor Connector"
        ],
        "x-audience": {
          "kind": "internal",
          "label": "Private service protocol. No public or third-party integration authority.",
          "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1276"
        },
        "x-error-coverage": "Literal HTTP errors in this handler and same-file helper call graph, plus control middleware. Dynamic and cross-module failures may add other errors; source links are authoritative.",
        "x-source": {
          "sha256": "d0a8a463392d3d9fef2aa545f4aad4a1cbc5403824e6d058a6d1f17a1f4841be",
          "url": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1276"
        },
        "x-source-errors": [
          {
            "detail": "Advisor provider fields do not match the connector contract",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1281",
            "status": 422
          },
          {
            "detail": "Advisor provider profile is invalid",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1285",
            "status": 422
          },
          {
            "detail": null,
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1089",
            "status": 499
          },
          {
            "detail": "connector request exceeds the bounded size",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L204",
            "status": 413
          },
          {
            "detail": "connector request exceeds the bounded size",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L209",
            "status": 413
          },
          {
            "detail": "invalid request length",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L202",
            "status": 413
          },
          {
            "detail": "request fields do not match the connector contract",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L192",
            "status": 422
          },
          {
            "detail": "request must be one strict UTF-8 JSON object",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L190",
            "status": 422
          },
          {
            "detail": "Remote Advisor operation was not exactly admitted",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L911",
            "status": 409
          },
          {
            "detail": "Advisor execution requires a signed single-use grant",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L833",
            "status": 409
          },
          {
            "detail": "Advisor generation prompt is invalid",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L836",
            "status": 422
          },
          {
            "detail": "Advisor execution grant is invalid",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L845",
            "status": 409
          },
          {
            "detail": "Remote Advisor execution grant was already used",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L858",
            "status": 409
          },
          {
            "detail": "Remote Advisor generation requires one exact disclosure confirmation",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L788",
            "status": 409
          },
          {
            "detail": "Remote Advisor disclosure confirmation does not match the exact provider and prompt",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L814",
            "status": 409
          },
          {
            "detail": "local Advisor generation does not accept remote confirmation",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L785",
            "status": 422
          },
          {
            "detail": "Remote Advisor disclosure confirmation is invalid",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L795",
            "status": 409
          },
          {
            "detail": "Advisor generation request does not match the bounded contract",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L735",
            "status": 422
          },
          {
            "detail": "Advisor generation must use the exact model with stream=false",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L737",
            "status": 422
          },
          {
            "detail": "Advisor prompt is empty or exceeds the bounded size",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L740",
            "status": 422
          },
          {
            "detail": "Advisor output schema does not match the exact bounded contract",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L744",
            "status": 422
          },
          {
            "detail": "Advisor options do not match the bounded contract",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L749",
            "status": 422
          },
          {
            "detail": "Advisor think option must be boolean",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L751",
            "status": 422
          },
          {
            "detail": "Advisor generation options exceed the exact bounded contract",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L772",
            "status": 422
          }
        ],
        "x-stability": "Internal protocol; unsupported for external integration"
      }
    },
    "/v1/local-models": {
      "post": {
        "operationId": "advisor-connector-post-v1-local-models",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Local Models V1 Local Models Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "413": {
            "description": "Reduce the authorized capture to the documented size and file limits. See source-linked error catalog."
          },
          "422": {
            "description": "Correct the field or semantic validation error. Input values are omitted from control validation errors. See source-linked error catalog."
          }
        },
        "summary": "Local models",
        "tags": [
          "Advisor Connector"
        ],
        "x-audience": {
          "kind": "internal",
          "label": "Private service protocol. No public or third-party integration authority.",
          "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1231"
        },
        "x-error-coverage": "Literal HTTP errors in this handler and same-file helper call graph, plus control middleware. Dynamic and cross-module failures may add other errors; source links are authoritative.",
        "x-source": {
          "sha256": "d0a8a463392d3d9fef2aa545f4aad4a1cbc5403824e6d058a6d1f17a1f4841be",
          "url": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1231"
        },
        "x-source-errors": [
          {
            "detail": "connector request exceeds the bounded size",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L204",
            "status": 413
          },
          {
            "detail": "connector request exceeds the bounded size",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L209",
            "status": 413
          },
          {
            "detail": "invalid request length",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L202",
            "status": 413
          },
          {
            "detail": "request fields do not match the connector contract",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L192",
            "status": 422
          },
          {
            "detail": "request must be one strict UTF-8 JSON object",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L190",
            "status": 422
          }
        ],
        "x-stability": "Internal protocol; unsupported for external integration"
      }
    },
    "/v1/observe": {
      "post": {
        "operationId": "advisor-connector-post-v1-observe",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Observe Local Operation V1 Observe Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "409": {
            "description": "Refresh current revision and identity. A conflicting command must not be blindly repeated. See source-linked error catalog."
          },
          "413": {
            "description": "Reduce the authorized capture to the documented size and file limits. See source-linked error catalog."
          },
          "422": {
            "description": "Correct the field or semantic validation error. Input values are omitted from control validation errors. See source-linked error catalog."
          }
        },
        "summary": "Observe local operation",
        "tags": [
          "Advisor Connector"
        ],
        "x-audience": {
          "kind": "internal",
          "label": "Private service protocol. No public or third-party integration authority.",
          "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1262"
        },
        "x-error-coverage": "Literal HTTP errors in this handler and same-file helper call graph, plus control middleware. Dynamic and cross-module failures may add other errors; source links are authoritative.",
        "x-source": {
          "sha256": "d0a8a463392d3d9fef2aa545f4aad4a1cbc5403824e6d058a6d1f17a1f4841be",
          "url": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1262"
        },
        "x-source-errors": [
          {
            "detail": "connector request exceeds the bounded size",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L204",
            "status": 413
          },
          {
            "detail": "connector request exceeds the bounded size",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L209",
            "status": 413
          },
          {
            "detail": "invalid request length",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L202",
            "status": 413
          },
          {
            "detail": "request fields do not match the connector contract",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L192",
            "status": 422
          },
          {
            "detail": "request must be one strict UTF-8 JSON object",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L190",
            "status": 422
          },
          {
            "detail": "Local Advisor observation capability is invalid",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L993",
            "status": 409
          },
          {
            "detail": "Local Advisor observation capability is invalid",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L997",
            "status": 409
          },
          {
            "detail": "Local Advisor operation observation is unavailable",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1003",
            "status": 409
          }
        ],
        "x-stability": "Internal protocol; unsupported for external integration"
      }
    },
    "/v1/operations": {
      "post": {
        "operationId": "advisor-connector-post-v1-operations",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "title": "Response Admit Operation V1 Operations Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "409": {
            "description": "Refresh current revision and identity. A conflicting command must not be blindly repeated. See source-linked error catalog."
          },
          "413": {
            "description": "Reduce the authorized capture to the documented size and file limits. See source-linked error catalog."
          },
          "422": {
            "description": "Correct the field or semantic validation error. Input values are omitted from control validation errors. See source-linked error catalog."
          }
        },
        "summary": "Admit operation",
        "tags": [
          "Advisor Connector"
        ],
        "x-audience": {
          "kind": "internal",
          "label": "Private service protocol. No public or third-party integration authority.",
          "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1239"
        },
        "x-error-coverage": "Literal HTTP errors in this handler and same-file helper call graph, plus control middleware. Dynamic and cross-module failures may add other errors; source links are authoritative.",
        "x-source": {
          "sha256": "d0a8a463392d3d9fef2aa545f4aad4a1cbc5403824e6d058a6d1f17a1f4841be",
          "url": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1239"
        },
        "x-source-errors": [
          {
            "detail": "Advisor provider fields do not match the connector contract",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1244",
            "status": 422
          },
          {
            "detail": "Advisor provider profile is invalid",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1248",
            "status": 422
          },
          {
            "detail": "connector request exceeds the bounded size",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L204",
            "status": 413
          },
          {
            "detail": "connector request exceeds the bounded size",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L209",
            "status": 413
          },
          {
            "detail": "invalid request length",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L202",
            "status": 413
          },
          {
            "detail": "request fields do not match the connector contract",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L192",
            "status": 422
          },
          {
            "detail": "request must be one strict UTF-8 JSON object",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L190",
            "status": 422
          },
          {
            "detail": "Remote Advisor operation is already admitted",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L889",
            "status": 409
          },
          {
            "detail": "Advisor execution requires a signed single-use grant",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L833",
            "status": 409
          },
          {
            "detail": "Advisor generation prompt is invalid",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L836",
            "status": 422
          },
          {
            "detail": "Advisor execution grant is invalid",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L845",
            "status": 409
          },
          {
            "detail": "Remote Advisor execution grant was already used",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L858",
            "status": 409
          },
          {
            "detail": "Remote Advisor generation requires one exact disclosure confirmation",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L788",
            "status": 409
          },
          {
            "detail": "Remote Advisor disclosure confirmation does not match the exact provider and prompt",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L814",
            "status": 409
          },
          {
            "detail": "local Advisor generation does not accept remote confirmation",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L785",
            "status": 422
          },
          {
            "detail": "Remote Advisor disclosure confirmation is invalid",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L795",
            "status": 409
          },
          {
            "detail": "Advisor generation request does not match the bounded contract",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L735",
            "status": 422
          },
          {
            "detail": "Advisor generation must use the exact model with stream=false",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L737",
            "status": 422
          },
          {
            "detail": "Advisor prompt is empty or exceeds the bounded size",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L740",
            "status": 422
          },
          {
            "detail": "Advisor output schema does not match the exact bounded contract",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L744",
            "status": 422
          },
          {
            "detail": "Advisor options do not match the bounded contract",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L749",
            "status": 422
          },
          {
            "detail": "Advisor think option must be boolean",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L751",
            "status": 422
          },
          {
            "detail": "Advisor generation options exceed the exact bounded contract",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L772",
            "status": 422
          }
        ],
        "x-stability": "Internal protocol; unsupported for external integration"
      }
    },
    "/v1/test": {
      "post": {
        "operationId": "advisor-connector-post-v1-test",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Test Provider V1 Test Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "413": {
            "description": "Reduce the authorized capture to the documented size and file limits. See source-linked error catalog."
          },
          "422": {
            "description": "Correct the field or semantic validation error. Input values are omitted from control validation errors. See source-linked error catalog."
          },
          "429": {
            "description": "Respect bounded capacity and retry after the client backoff. Do not create extra sessions. See source-linked error catalog."
          }
        },
        "summary": "Test provider",
        "tags": [
          "Advisor Connector"
        ],
        "x-audience": {
          "kind": "internal",
          "label": "Private service protocol. No public or third-party integration authority.",
          "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1207"
        },
        "x-error-coverage": "Literal HTTP errors in this handler and same-file helper call graph, plus control middleware. Dynamic and cross-module failures may add other errors; source links are authoritative.",
        "x-source": {
          "sha256": "d0a8a463392d3d9fef2aa545f4aad4a1cbc5403824e6d058a6d1f17a1f4841be",
          "url": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1207"
        },
        "x-source-errors": [
          {
            "detail": "Advisor provider fields do not match the connector contract",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1210",
            "status": 422
          },
          {
            "detail": "Advisor provider profile is invalid",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L1214",
            "status": 422
          },
          {
            "detail": "connector request exceeds the bounded size",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L204",
            "status": 413
          },
          {
            "detail": "connector request exceeds the bounded size",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L209",
            "status": 413
          },
          {
            "detail": "invalid request length",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L202",
            "status": 413
          },
          {
            "detail": "request fields do not match the connector contract",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L192",
            "status": 422
          },
          {
            "detail": "request must be one strict UTF-8 JSON object",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L190",
            "status": 422
          },
          {
            "detail": "Advisor connector generation capacity is busy",
            "source": "https://github.com/lomolabs/lomo-codesecurity/blob/bccff297ea36ba46f1af1f3849fa233b66c72ad3/services/advisor_connector/app.py#L171",
            "status": 429
          }
        ],
        "x-stability": "Internal protocol; unsupported for external integration"
      }
    }
  },
  "x-source": {
    "commit": "bccff297ea36ba46f1af1f3849fa233b66c72ad3",
    "repository": "https://github.com/lomolabs/lomo-codesecurity",
    "version": "0.1.0"
  }
}
