> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coderabbit.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Search and read these docs from your coding agent with the [CodeRabbit documentation MCP server](https://docs.coderabbit.ai/mcp).
> Give your coding agent the [CodeRabbit Agent Skill](https://docs.coderabbit.ai/.well-known/agent-skills/index.json) for configuring reviews, running CLI reviews, coding tasks and API calls.

# Read local Verify progress and scenario outcomes

> [tab] CLI Tool
>
> ```bash
> coderabbit api request /verify/local/progress --input request.json
> ```
>
> To install and sign in to the CLI, see [Call from the CLI](https://docs.coderabbit.ai/api/cli.md).

> [tab] MCP Server
>
> An agent connected to the [CodeRabbit MCP server](https://docs.coderabbit.ai/api/mcp.md) runs this operation as the `get_local_verify` tool. The connection selects the organization, so the arguments have no `org_id` or `org_name`.
>
> ```json
> {
>   "method": "tools/call",
>   "params": {
>     "name": "get_local_verify",
>     "arguments": {
>       "request": {}
>     }
>   }
> }
> ```


## OpenAPI

````yaml /openapi.json post /v1/verify/local/progress
openapi: 3.0.0
info:
  title: CodeRabbit API
  version: 1.0.0
  description: >-
    Read and manage CodeRabbit reviews, coding tasks, Verify, Triage, security
    findings, Knowledge Base, configuration, and users for your organization.
servers:
  - url: https://api.coderabbit.ai
    description: US region
  - url: https://api.eu.coderabbit.ai
    description: EU region
security:
  - ApiKeyAuth: []
tags:
  - name: Organizations and repositories
  - name: Pull requests and reviews
  - name: Coding Agent
  - name: Coding environments
  - name: Verify
  - name: Triage
  - name: Security
  - name: Bug Scan
  - name: Knowledge Base
  - name: Automations
  - name: Reports
  - name: Configuration
  - name: Connections
  - name: Users and roles
  - name: Usage and metrics
  - name: Tickets
paths:
  /v1/verify/local/progress:
    post:
      tags:
        - Verify
      summary: Read local Verify progress and scenario outcomes
      operationId: get_local_verify
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                org_id:
                  type: string
                  minLength: 1
                  description: >-
                    Organization for a workspace key: the Git-provider
                    organization ID (scope.provider_organization_id) or the
                    CodeRabbit organization ID (scope.id, or id from list
                    organizations). Supply either org_id or org_name, never
                    both. Omit for organization keys and MCP connections.
                org_name:
                  type: string
                  pattern: ^[A-Za-z0-9][A-Za-z0-9-]{0,38}$
                  description: >-
                    GitHub organization login, such as coderabbitai, not its
                    display name. Matched case-insensitively within the
                    authenticated workspace. Supply either org_name or org_id,
                    never both; omit for organization keys and MCP connections.
                request:
                  type: object
                  properties:
                    locator:
                      type: object
                      properties:
                        schemaVersion:
                          enum:
                            - 1
                        runId:
                          type: string
                          format: uuid
                        organizationId:
                          type: string
                          minLength: 1
                          maxLength: 256
                        repositoryId:
                          type: string
                          minLength: 1
                          maxLength: 256
                        headSha:
                          type: string
                          pattern: ^[a-f0-9]{40}$
                        source:
                          enum:
                            - local
                        snapshotSha256:
                          type: string
                          pattern: ^[a-f0-9]{64}$
                      required:
                        - schemaVersion
                        - runId
                        - organizationId
                        - repositoryId
                        - headSha
                        - source
                        - snapshotSha256
                      additionalProperties: false
                  required:
                    - locator
                  additionalProperties: false
              required:
                - request
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  locator:
                    type: object
                    properties:
                      schemaVersion:
                        enum:
                          - 1
                      runId:
                        type: string
                        format: uuid
                      organizationId:
                        type: string
                        minLength: 1
                        maxLength: 256
                      repositoryId:
                        type: string
                        minLength: 1
                        maxLength: 256
                      headSha:
                        type: string
                        pattern: ^[a-f0-9]{40}$
                      source:
                        enum:
                          - local
                      snapshotSha256:
                        type: string
                        pattern: ^[a-f0-9]{64}$
                    required:
                      - schemaVersion
                      - runId
                      - organizationId
                      - repositoryId
                      - headSha
                      - source
                      - snapshotSha256
                    additionalProperties: false
                  status:
                    enum:
                      - queued
                      - profiling
                      - preparing
                      - generating
                      - testing
                      - aggregating
                      - publishing
                      - generated
                      - passed
                      - failed
                      - error
                      - inconclusive
                      - unsupported
                      - superseded
                    type: string
                  stateRevision:
                    type: integer
                    minimum: 0
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                  scenarios:
                    type: array
                    items:
                      type: object
                      properties:
                        ordinal:
                          type: integer
                          minimum: 0
                        scenario:
                          type: object
                          properties:
                            schemaVersion:
                              enum:
                                - 3
                            scenarioId:
                              type: string
                              minLength: 1
                              maxLength: 256
                            title:
                              type: string
                              minLength: 1
                              maxLength: 300
                            description:
                              type: string
                              minLength: 1
                              maxLength: 10000
                            testPlan:
                              type: array
                              minItems: 1
                              maxItems: 30
                              items:
                                type: string
                                minLength: 1
                                maxLength: 4096
                            inScope:
                              type: array
                              minItems: 1
                              maxItems: 30
                              items:
                                type: string
                                minLength: 1
                                maxLength: 4096
                            outOfScope:
                              type: array
                              maxItems: 30
                              items:
                                type: string
                                maxLength: 4096
                            entryCriteria:
                              type: array
                              minItems: 1
                              maxItems: 30
                              items:
                                type: string
                                minLength: 1
                                maxLength: 4096
                            exitCriteria:
                              type: array
                              minItems: 1
                              maxItems: 51
                              items:
                                type: string
                                minLength: 1
                                maxLength: 4096
                            requiredCapabilities:
                              type: array
                              minItems: 1
                              maxItems: 6
                              items:
                                enum:
                                  - browser
                                  - cli
                                  - http
                                  - sdk
                                  - background_service
                                  - mobile
                                type: string
                            priority:
                              type: integer
                              minimum: 1
                            user:
                              type: string
                              minLength: 1
                              maxLength: 4096
                            fingerprint:
                              type: array
                              minItems: 1
                              maxItems: 20
                              items:
                                type: object
                                properties:
                                  module:
                                    type: string
                                    minLength: 1
                                    maxLength: 300
                                  files:
                                    type: array
                                    minItems: 1
                                    maxItems: 100
                                    items:
                                      type: string
                                      minLength: 1
                                      maxLength: 4096
                                required:
                                  - module
                                  - files
                                additionalProperties: false
                            complexity:
                              enum:
                                - low
                                - medium
                                - high
                              type: string
                            definitionId:
                              type: string
                              minLength: 1
                              maxLength: 256
                          required:
                            - schemaVersion
                            - scenarioId
                            - title
                            - description
                            - testPlan
                            - inScope
                            - outOfScope
                            - entryCriteria
                            - exitCriteria
                            - requiredCapabilities
                            - priority
                          additionalProperties: false
                        status:
                          enum:
                            - queued
                            - running
                            - passed
                            - failed
                            - error
                            - inconclusive
                            - unsupported
                          type: string
                        startedAt:
                          type: string
                          format: date-time
                        completedAt:
                          type: string
                          format: date-time
                        result:
                          type: object
                          properties:
                            schemaVersion:
                              enum:
                                - 3
                            scenario:
                              type: object
                              properties:
                                schemaVersion:
                                  enum:
                                    - 3
                                scenarioId:
                                  type: string
                                  minLength: 1
                                  maxLength: 256
                                title:
                                  type: string
                                  minLength: 1
                                  maxLength: 300
                                description:
                                  type: string
                                  minLength: 1
                                  maxLength: 10000
                                testPlan:
                                  type: array
                                  minItems: 1
                                  maxItems: 30
                                  items:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                inScope:
                                  type: array
                                  minItems: 1
                                  maxItems: 30
                                  items:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                outOfScope:
                                  type: array
                                  maxItems: 30
                                  items:
                                    type: string
                                    maxLength: 4096
                                entryCriteria:
                                  type: array
                                  minItems: 1
                                  maxItems: 30
                                  items:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                exitCriteria:
                                  type: array
                                  minItems: 1
                                  maxItems: 51
                                  items:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                requiredCapabilities:
                                  type: array
                                  minItems: 1
                                  maxItems: 6
                                  items:
                                    enum:
                                      - browser
                                      - cli
                                      - http
                                      - sdk
                                      - background_service
                                      - mobile
                                    type: string
                                priority:
                                  type: integer
                                  minimum: 1
                                user:
                                  type: string
                                  minLength: 1
                                  maxLength: 4096
                                fingerprint:
                                  type: array
                                  minItems: 1
                                  maxItems: 20
                                  items:
                                    type: object
                                    properties:
                                      module:
                                        type: string
                                        minLength: 1
                                        maxLength: 300
                                      files:
                                        type: array
                                        minItems: 1
                                        maxItems: 100
                                        items:
                                          type: string
                                          minLength: 1
                                          maxLength: 4096
                                    required:
                                      - module
                                      - files
                                    additionalProperties: false
                                complexity:
                                  enum:
                                    - low
                                    - medium
                                    - high
                                  type: string
                                definitionId:
                                  type: string
                                  minLength: 1
                                  maxLength: 256
                              required:
                                - schemaVersion
                                - scenarioId
                                - title
                                - description
                                - testPlan
                                - inScope
                                - outOfScope
                                - entryCriteria
                                - exitCriteria
                                - requiredCapabilities
                                - priority
                              additionalProperties: false
                            status:
                              enum:
                                - passed
                                - failed
                                - error
                                - inconclusive
                                - unsupported
                              type: string
                            inconclusiveReason:
                              type: object
                              properties:
                                code:
                                  enum:
                                    - auth_or_config_missing
                                    - application_not_ready
                                    - fixture_or_baseline_missing
                                    - external_dependency_unavailable
                                    - required_capability_unavailable
                                    - verification_incomplete
                                    - evidence_not_representative
                                    - observation_window_insufficient
                                    - unknown
                                  type: string
                                explanation:
                                  type: string
                                  minLength: 1
                                  maxLength: 300
                                  pattern: ^[^\r\n\u2028\u2029]*$
                              required:
                                - code
                                - explanation
                              additionalProperties: false
                            unsupportedReason:
                              anyOf:
                                - type: object
                                  properties:
                                    code:
                                      enum:
                                        - observation_duration_exceeds_budget
                                    requiredDurationMs:
                                      type: integer
                                      minimum: 0
                                      exclusiveMinimum: true
                                    availableDurationMs:
                                      type: integer
                                      minimum: 0
                                      exclusiveMinimum: true
                                    explanation:
                                      type: string
                                      minLength: 1
                                      maxLength: 300
                                      pattern: ^[^\r\n\u2028\u2029]*$
                                  required:
                                    - code
                                    - requiredDurationMs
                                    - availableDurationMs
                                    - explanation
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    code:
                                      enum:
                                        - platform_not_supported
                                    platform:
                                      enum:
                                        - windows
                                        - android
                                        - ios
                                      type: string
                                    explanation:
                                      type: string
                                      minLength: 1
                                      maxLength: 300
                                      pattern: ^[^\r\n\u2028\u2029]*$
                                  required:
                                    - code
                                    - platform
                                    - explanation
                                  additionalProperties: false
                            summary:
                              type: string
                              minLength: 1
                              maxLength: 20000
                            criteria:
                              type: array
                              minItems: 2
                              maxItems: 81
                              items:
                                type: object
                                properties:
                                  criterionId:
                                    type: string
                                    minLength: 1
                                    maxLength: 256
                                  kind:
                                    enum:
                                      - entry
                                      - exit
                                    type: string
                                  criterionIndex:
                                    type: integer
                                    minimum: 0
                                    maximum: 50
                                  criterion:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                  expected:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                  actual:
                                    type: string
                                    minLength: 1
                                    maxLength: 20000
                                  conclusion:
                                    enum:
                                      - passed
                                      - failed
                                      - unresolved
                                    type: string
                                  evidenceArtifactIds:
                                    type: array
                                    maxItems: 11
                                    items:
                                      type: string
                                      minLength: 1
                                      maxLength: 256
                                  limitation:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                required:
                                  - criterionId
                                  - kind
                                  - criterionIndex
                                  - criterion
                                  - expected
                                  - actual
                                  - conclusion
                                  - evidenceArtifactIds
                                additionalProperties: false
                            evidence:
                              type: array
                              maxItems: 11
                              items:
                                type: object
                                properties:
                                  schemaVersion:
                                    enum:
                                      - 3
                                  artifactId:
                                    type: string
                                    minLength: 1
                                    maxLength: 256
                                  scenarioId:
                                    type: string
                                    minLength: 1
                                    maxLength: 256
                                  kind:
                                    enum:
                                      - text
                                      - screenshot
                                      - video
                                      - http_exchange
                                      - log
                                      - trace
                                    type: string
                                  title:
                                    type: string
                                    minLength: 1
                                    maxLength: 300
                                  mimeType:
                                    type: string
                                    minLength: 1
                                    maxLength: 256
                                  byteSize:
                                    type: integer
                                    minimum: 0
                                    maximum: 268435456
                                  sha256:
                                    type: string
                                    pattern: ^[a-f0-9]{64}$
                                  capturedAt:
                                    type: string
                                    format: date-time
                                  producer:
                                    enum:
                                      - qa_agent
                                      - application
                                      - agent_browser
                                      - playwright
                                      - runtime
                                    type: string
                                  provenance:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                  redactionStatus:
                                    enum:
                                      - not_needed
                                      - redacted
                                      - rejected
                                    type: string
                                  sandboxPath:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                  objectKey:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                  textExcerpt:
                                    type: string
                                    maxLength: 20000
                                  videoTimeline:
                                    type: object
                                    properties:
                                      version:
                                        enum:
                                          - 1
                                      durationMs:
                                        type: integer
                                        minimum: 0
                                        exclusiveMinimum: true
                                      timing:
                                        enum:
                                          - command-window
                                      edit:
                                        type: object
                                        properties:
                                          version:
                                            enum:
                                              - 1
                                          sourceArtifactId:
                                            type: string
                                            minLength: 1
                                            maxLength: 256
                                          sourceDurationMs:
                                            type: integer
                                            minimum: 0
                                            exclusiveMinimum: true
                                          keptRanges:
                                            type: array
                                            minItems: 1
                                            maxItems: 256
                                            items:
                                              type: object
                                              properties:
                                                startMs:
                                                  type: integer
                                                  minimum: 0
                                                endMs:
                                                  type: integer
                                                  minimum: 0
                                              required:
                                                - startMs
                                                - endMs
                                              additionalProperties: false
                                        required:
                                          - version
                                          - sourceArtifactId
                                          - sourceDurationMs
                                          - keptRanges
                                        additionalProperties: false
                                      markers:
                                        type: array
                                        maxItems: 160
                                        items:
                                          anyOf:
                                            - type: object
                                              properties:
                                                id:
                                                  type: string
                                                  minLength: 1
                                                  maxLength: 256
                                                targetId:
                                                  type: string
                                                  minLength: 1
                                                  maxLength: 256
                                                label:
                                                  type: string
                                                  minLength: 1
                                                  maxLength: 300
                                                startMs:
                                                  type: integer
                                                  minimum: 0
                                                endMs:
                                                  type: integer
                                                  minimum: 0
                                                kind:
                                                  enum:
                                                    - assertion
                                                result:
                                                  enum:
                                                    - passed
                                                    - failed
                                                    - unresolved
                                                  type: string
                                              required:
                                                - id
                                                - targetId
                                                - label
                                                - startMs
                                                - endMs
                                                - kind
                                                - result
                                              additionalProperties: false
                                            - type: object
                                              properties:
                                                id:
                                                  type: string
                                                  minLength: 1
                                                  maxLength: 256
                                                targetId:
                                                  type: string
                                                  minLength: 1
                                                  maxLength: 256
                                                label:
                                                  type: string
                                                  minLength: 1
                                                  maxLength: 300
                                                startMs:
                                                  type: integer
                                                  minimum: 0
                                                endMs:
                                                  type: integer
                                                  minimum: 0
                                                kind:
                                                  enum:
                                                    - bug
                                              required:
                                                - id
                                                - targetId
                                                - label
                                                - startMs
                                                - endMs
                                                - kind
                                              additionalProperties: false
                                            - type: object
                                              properties:
                                                id:
                                                  type: string
                                                  minLength: 1
                                                  maxLength: 256
                                                targetId:
                                                  type: string
                                                  minLength: 1
                                                  maxLength: 256
                                                label:
                                                  type: string
                                                  minLength: 1
                                                  maxLength: 300
                                                startMs:
                                                  type: integer
                                                  minimum: 0
                                                endMs:
                                                  type: integer
                                                  minimum: 0
                                                kind:
                                                  enum:
                                                    - testability
                                              required:
                                                - id
                                                - targetId
                                                - label
                                                - startMs
                                                - endMs
                                                - kind
                                              additionalProperties: false
                                    required:
                                      - version
                                      - durationMs
                                      - timing
                                      - markers
                                    additionalProperties: false
                                  supersededRecording:
                                    type: boolean
                                  gifPreview:
                                    type: object
                                    properties:
                                      objectKey:
                                        type: string
                                        maxLength: 2048
                                        pattern: ^qa-agent\/tasks\/.*
                                      sha256:
                                        type: string
                                        pattern: ^[a-f0-9]{64}$
                                      byteSize:
                                        type: integer
                                        minimum: 0
                                        maximum: 5000000
                                        exclusiveMinimum: true
                                      width:
                                        type: integer
                                        minimum: 0
                                        maximum: 720
                                        exclusiveMinimum: true
                                      height:
                                        type: integer
                                        minimum: 0
                                        maximum: 720
                                        exclusiveMinimum: true
                                      durationMs:
                                        type: integer
                                        minimum: 0
                                        exclusiveMinimum: true
                                      truncated:
                                        type: boolean
                                      highlights:
                                        type: boolean
                                      imageId:
                                        type: string
                                        format: uuid
                                    required:
                                      - objectKey
                                      - sha256
                                      - byteSize
                                      - width
                                      - height
                                      - durationMs
                                      - truncated
                                    additionalProperties: false
                                required:
                                  - schemaVersion
                                  - artifactId
                                  - scenarioId
                                  - kind
                                  - title
                                  - mimeType
                                  - byteSize
                                  - sha256
                                  - capturedAt
                                  - producer
                                  - provenance
                                  - redactionStatus
                                additionalProperties: false
                            limitations:
                              type: array
                              maxItems: 30
                              items:
                                type: string
                                maxLength: 4096
                            deviations:
                              type: array
                              maxItems: 30
                              items:
                                type: object
                                properties:
                                  deviationId:
                                    type: string
                                    minLength: 1
                                    maxLength: 256
                                  intendedStep:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                  blocker:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                  alternative:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                  validityImpact:
                                    enum:
                                      - none
                                      - reduced
                                      - invalidated
                                    type: string
                                  changedState:
                                    type: array
                                    maxItems: 30
                                    items:
                                      type: string
                                      minLength: 1
                                      maxLength: 4096
                                  cleanup:
                                    type: array
                                    maxItems: 30
                                    items:
                                      type: string
                                      minLength: 1
                                      maxLength: 4096
                                  evidenceArtifactIds:
                                    type: array
                                    maxItems: 11
                                    items:
                                      type: string
                                      minLength: 1
                                      maxLength: 256
                                required:
                                  - deviationId
                                  - intendedStep
                                  - blocker
                                  - alternative
                                  - validityImpact
                                  - changedState
                                  - cleanup
                                  - evidenceArtifactIds
                                additionalProperties: false
                            additionalFindings:
                              type: array
                              maxItems: 30
                              items:
                                type: object
                                properties:
                                  findingId:
                                    type: string
                                    minLength: 1
                                    maxLength: 256
                                  title:
                                    type: string
                                    minLength: 1
                                    maxLength: 300
                                  observation:
                                    type: string
                                    minLength: 1
                                    maxLength: 20000
                                  evidenceArtifactIds:
                                    type: array
                                    maxItems: 11
                                    items:
                                      type: string
                                      minLength: 1
                                      maxLength: 256
                                required:
                                  - findingId
                                  - title
                                  - observation
                                  - evidenceArtifactIds
                                additionalProperties: false
                            findings:
                              type: object
                              properties:
                                schemaVersion:
                                  enum:
                                    - 1
                                bugs:
                                  type: array
                                  maxItems: 50
                                  items:
                                    type: object
                                    properties:
                                      title:
                                        type: string
                                        minLength: 1
                                        maxLength: 300
                                      description:
                                        type: string
                                        minLength: 1
                                        maxLength: 20000
                                      reproductionSteps:
                                        type: array
                                        minItems: 1
                                        maxItems: 50
                                        items:
                                          type: string
                                          minLength: 1
                                          maxLength: 4096
                                      expectedBehavior:
                                        type: string
                                        minLength: 1
                                        maxLength: 20000
                                      actualBehavior:
                                        type: string
                                        minLength: 1
                                        maxLength: 20000
                                      evidenceArtifactIds:
                                        type: array
                                        minItems: 1
                                        maxItems: 100
                                        items:
                                          type: string
                                          minLength: 1
                                          maxLength: 256
                                      findingId:
                                        type: string
                                        minLength: 1
                                        maxLength: 256
                                    required:
                                      - title
                                      - description
                                      - reproductionSteps
                                      - expectedBehavior
                                      - actualBehavior
                                      - evidenceArtifactIds
                                      - findingId
                                    additionalProperties: false
                                testabilityIssues:
                                  type: array
                                  maxItems: 50
                                  items:
                                    type: object
                                    properties:
                                      title:
                                        type: string
                                        minLength: 1
                                        maxLength: 300
                                      blocker:
                                        type: string
                                        minLength: 1
                                        maxLength: 20000
                                      impact:
                                        type: string
                                        minLength: 1
                                        maxLength: 10000
                                      suggestedRemediation:
                                        type: string
                                        minLength: 1
                                        maxLength: 10000
                                      evidenceArtifactIds:
                                        type: array
                                        maxItems: 100
                                        items:
                                          type: string
                                          minLength: 1
                                          maxLength: 256
                                      environmentIssue:
                                        anyOf:
                                          - type: object
                                            properties:
                                              stage:
                                                enum:
                                                  - install
                                                  - build
                                                  - migrate
                                                  - start
                                                  - readiness
                                                type: string
                                              componentKind:
                                                enum:
                                                  - package_registry
                                                  - runtime
                                                  - system_dependency
                                                  - configuration
                                                  - service
                                                  - startup
                                                type: string
                                              component:
                                                type: string
                                                minLength: 1
                                                maxLength: 255
                                                description: >-
                                                  The stable non-secret prerequisite
                                                  identifier from saved setup: registry
                                                  hostname, runtime/tool name,
                                                  configuration key, service name or
                                                  startup setting. Use the registry
                                                  hostname for shared registry access
                                                  failures, not each affected package.
                                                  Exclude prose, versions, run/PR/scenario
                                                  identifiers and credentials.
                                              reason:
                                                enum:
                                                  - access_denied
                                                  - missing_dependency
                                                  - incompatible_runtime
                                                  - missing_configuration
                                                  - service_unavailable
                                                  - migration_required
                                                  - invalid_startup_configuration
                                                type: string
                                            required:
                                              - stage
                                              - componentKind
                                              - component
                                              - reason
                                            additionalProperties: false
                                          - type: string
                                            nullable: true
                                            enum:
                                              - null
                                        description: >-
                                          Report only a confirmed prerequisite
                                          that prevents the intended app from
                                          installing, building, migrating,
                                          starting or passing startup readiness
                                          after supported local repair was
                                          attempted. Its fix must be a lasting
                                          change to the saved environment or
                                          repository setup that helps fresh future
                                          runs. Identify the first failing
                                          prerequisite; do not separately report
                                          downstream build/start/readiness
                                          failures caused by it. Group
                                          packages/services when the same saved
                                          configuration change fixes them. Return
                                          null for scenario fixtures, business
                                          test data/accounts, page-specific
                                          limitations after the app starts,
                                          PR-specific application defects, our
                                          agent/runtime failures, transient
                                          failures, repaired prerequisites or
                                          speculation. Keep the explanation and
                                          lasting fix in blocker, impact and
                                          suggestedRemediation; never include
                                          credentials or secret values.
                                      findingId:
                                        type: string
                                        minLength: 1
                                        maxLength: 256
                                    required:
                                      - title
                                      - blocker
                                      - impact
                                      - suggestedRemediation
                                      - evidenceArtifactIds
                                      - findingId
                                    additionalProperties: false
                              required:
                                - schemaVersion
                                - bugs
                                - testabilityIssues
                              additionalProperties: false
                            startedAt:
                              type: string
                              format: date-time
                            completedAt:
                              type: string
                              format: date-time
                            productSurfaceScript:
                              anyOf:
                                - type: object
                                  properties:
                                    taskId:
                                      type: string
                                      format: uuid
                                    commit:
                                      type: string
                                      pattern: ^[a-f0-9]{40}$
                                    sourceSha256:
                                      type: string
                                      pattern: ^[a-f0-9]{64}$
                                    environmentId:
                                      type: string
                                      format: uuid
                                    environmentRevision:
                                      type: integer
                                      minimum: 0
                                      exclusiveMinimum: true
                                    format:
                                      enum:
                                        - cucumber-ts-v1
                                        - cucumber-verify-v2
                                      type: string
                                    scenarioId:
                                      type: string
                                      format: uuid
                                    scenarioRevision:
                                      type: integer
                                      minimum: 0
                                      exclusiveMinimum: true
                                    staged:
                                      type: object
                                      properties:
                                        repositoryId:
                                          type: string
                                          pattern: ^[1-9][0-9]{0,30}$
                                        reference:
                                          type: object
                                          properties:
                                            pathname:
                                              type: string
                                              minLength: 1
                                              maxLength: 2048
                                            sha256:
                                              type: string
                                              pattern: ^[a-f0-9]{64}$
                                            byteLength:
                                              type: integer
                                              minimum: 0
                                              maximum: 16777216
                                              exclusiveMinimum: true
                                          required:
                                            - pathname
                                            - sha256
                                            - byteLength
                                          additionalProperties: false
                                      required:
                                        - repositoryId
                                        - reference
                                      additionalProperties: false
                                    expectedSha256:
                                      anyOf:
                                        - type: string
                                          pattern: ^[a-f0-9]{64}$
                                        - type: string
                                          nullable: true
                                          enum:
                                            - null
                                    testedSha:
                                      type: string
                                      pattern: ^[a-f0-9]{40}$
                                    mergeSha:
                                      type: string
                                      pattern: ^[a-f0-9]{40}$
                                  required:
                                    - taskId
                                    - commit
                                    - sourceSha256
                                    - environmentId
                                    - environmentRevision
                                    - format
                                    - scenarioId
                                    - scenarioRevision
                                    - staged
                                    - expectedSha256
                                    - testedSha
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    taskId:
                                      type: string
                                      format: uuid
                                    commit:
                                      type: string
                                      pattern: ^[a-f0-9]{40}$
                                    sourceSha256:
                                      type: string
                                      pattern: ^[a-f0-9]{64}$
                                    environmentId:
                                      type: string
                                      format: uuid
                                    environmentRevision:
                                      type: integer
                                      minimum: 0
                                      exclusiveMinimum: true
                                    kbGit:
                                      type: object
                                      properties:
                                        repositoryId:
                                          type: string
                                          pattern: ^[1-9][0-9]{0,30}$
                                        sha256:
                                          type: string
                                          pattern: ^[a-f0-9]{64}$
                                        bytes:
                                          type: integer
                                          minimum: 0
                                          maximum: 262144
                                          exclusiveMinimum: true
                                        destination:
                                          anyOf:
                                            - type: object
                                              properties:
                                                kind:
                                                  enum:
                                                    - native
                                                audience:
                                                  type: string
                                                  pattern: ^[A-Za-z0-9_-]{1,128}$
                                              required:
                                                - kind
                                                - audience
                                              additionalProperties: false
                                            - type: object
                                              properties:
                                                kind:
                                                  enum:
                                                    - hutch
                                              required:
                                                - kind
                                              additionalProperties: false
                                      required:
                                        - repositoryId
                                        - sha256
                                        - bytes
                                        - destination
                                      additionalProperties: false
                                  required:
                                    - taskId
                                    - commit
                                    - sourceSha256
                                    - environmentId
                                    - environmentRevision
                                    - kbGit
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    taskId:
                                      type: string
                                      format: uuid
                                    commit:
                                      type: string
                                      pattern: ^[a-f0-9]{40}$
                                    sourceSha256:
                                      type: string
                                      pattern: ^[a-f0-9]{64}$
                                    environmentId:
                                      type: string
                                      format: uuid
                                    environmentRevision:
                                      type: integer
                                      minimum: 0
                                      exclusiveMinimum: true
                                    reference:
                                      type: object
                                      properties:
                                        pathname:
                                          type: string
                                          minLength: 1
                                          maxLength: 2048
                                        sha256:
                                          type: string
                                          pattern: ^[a-f0-9]{64}$
                                        byteLength:
                                          type: integer
                                          minimum: 0
                                          maximum: 16777216
                                          exclusiveMinimum: true
                                      required:
                                        - pathname
                                        - sha256
                                        - byteLength
                                      additionalProperties: false
                                  required:
                                    - taskId
                                    - commit
                                    - sourceSha256
                                    - environmentId
                                    - environmentRevision
                                    - reference
                                  additionalProperties: false
                          required:
                            - schemaVersion
                            - scenario
                            - status
                            - summary
                            - criteria
                            - evidence
                            - limitations
                            - deviations
                            - additionalFindings
                            - startedAt
                            - completedAt
                          additionalProperties: false
                        stateRevision:
                          type: integer
                          minimum: 0
                      required:
                        - ordinal
                        - scenario
                        - status
                        - stateRevision
                      additionalProperties: false
                  result:
                    type: object
                    properties:
                      schemaVersion:
                        enum:
                          - 3
                      locator:
                        anyOf:
                          - type: object
                            properties:
                              schemaVersion:
                                enum:
                                  - 1
                              runId:
                                type: string
                                format: uuid
                              organizationId:
                                type: string
                                minLength: 1
                                maxLength: 256
                              repositoryId:
                                type: string
                                minLength: 1
                                maxLength: 256
                              pullRequestNumber:
                                type: integer
                                minimum: 0
                                exclusiveMinimum: true
                              headSha:
                                type: string
                                pattern: ^[a-f0-9]{40,64}$
                            required:
                              - schemaVersion
                              - runId
                              - organizationId
                              - repositoryId
                              - pullRequestNumber
                              - headSha
                            additionalProperties: false
                          - type: object
                            properties:
                              schemaVersion:
                                enum:
                                  - 1
                              runId:
                                type: string
                                format: uuid
                              organizationId:
                                type: string
                                minLength: 1
                                maxLength: 256
                              repositoryId:
                                type: string
                                minLength: 1
                                maxLength: 256
                              headSha:
                                type: string
                                pattern: ^[a-f0-9]{40}$
                              source:
                                enum:
                                  - local
                              snapshotSha256:
                                type: string
                                pattern: ^[a-f0-9]{64}$
                            required:
                              - schemaVersion
                              - runId
                              - organizationId
                              - repositoryId
                              - headSha
                              - source
                              - snapshotSha256
                            additionalProperties: false
                      status:
                        enum:
                          - passed
                          - failed
                          - error
                          - inconclusive
                          - unsupported
                          - superseded
                        type: string
                      summary:
                        type: string
                        minLength: 1
                        maxLength: 20000
                      executionEnvironmentSummary:
                        type: object
                        properties:
                          source:
                            enum:
                              - configured
                              - default
                            type: string
                          environmentId:
                            type: string
                            format: uuid
                          repositoryAssignmentId:
                            type: string
                            format: uuid
                          environmentName:
                            type: string
                            minLength: 1
                            maxLength: 255
                          environmentRevision:
                            type: integer
                            minimum: 0
                            exclusiveMinimum: true
                          repositoryConfigRevision:
                            type: integer
                            minimum: 0
                            exclusiveMinimum: true
                          setupMethod:
                            enum:
                              - automatic
                              - custom
                            type: string
                          repositorySnapshot:
                            enum:
                              - reused
                              - prepared
                            type: string
                        required:
                          - source
                          - setupMethod
                          - repositorySnapshot
                        additionalProperties: false
                      environmentProfile:
                        type: object
                        properties:
                          schemaVersion:
                            enum:
                              - 1
                          fingerprint:
                            type: string
                            pattern: ^[a-f0-9]{64}$
                          detectorVersion:
                            type: string
                            minLength: 1
                            maxLength: 64
                          applicationRoot:
                            type: string
                            minLength: 1
                            maxLength: 4096
                          packageManager:
                            enum:
                              - npm
                              - pnpm
                              - yarn
                              - bun
                            type: string
                          nodeVersion:
                            type: string
                            minLength: 1
                            maxLength: 64
                          commands:
                            type: object
                            properties:
                              install:
                                type: string
                                minLength: 1
                                maxLength: 4096
                              build:
                                type: string
                                minLength: 1
                                maxLength: 4096
                              start:
                                type: string
                                minLength: 1
                                maxLength: 4096
                            required:
                              - install
                              - start
                            additionalProperties: false
                          primaryServiceId:
                            type: string
                            minLength: 1
                            maxLength: 256
                          services:
                            type: array
                            minItems: 1
                            maxItems: 20
                            items:
                              type: object
                              properties:
                                id:
                                  type: string
                                  minLength: 1
                                  maxLength: 256
                                name:
                                  type: string
                                  minLength: 1
                                  maxLength: 256
                                kind:
                                  enum:
                                    - browser_app
                                    - local_service
                                  type: string
                                root:
                                  type: string
                                  minLength: 1
                                  maxLength: 4096
                                startCommand:
                                  type: string
                                  minLength: 1
                                  maxLength: 4096
                                port:
                                  type: integer
                                  minimum: 1
                                  maximum: 65535
                                healthPath:
                                  type: string
                                  maxLength: 2048
                                  pattern: ^\/.*
                              required:
                                - id
                                - name
                                - kind
                                - root
                              additionalProperties: false
                          externalDependencies:
                            type: array
                            maxItems: 50
                            items:
                              type: object
                              properties:
                                id:
                                  type: string
                                  minLength: 1
                                  maxLength: 256
                                name:
                                  type: string
                                  minLength: 1
                                  maxLength: 256
                                kind:
                                  enum:
                                    - http
                                    - database
                                    - queue
                                    - cloud
                                    - other
                                  type: string
                                required:
                                  type: boolean
                                evidencePaths:
                                  type: array
                                  maxItems: 20
                                  items:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                testDouble:
                                  type: object
                                  properties:
                                    status:
                                      enum:
                                        - available
                                        - missing
                                        - not_required
                                      type: string
                                    setupCommand:
                                      type: string
                                      minLength: 1
                                      maxLength: 4096
                                    notes:
                                      type: array
                                      maxItems: 20
                                      items:
                                        type: string
                                        maxLength: 4096
                                      default: []
                                  required:
                                    - status
                                  additionalProperties: false
                              required:
                                - id
                                - name
                                - kind
                                - required
                                - evidencePaths
                                - testDouble
                              additionalProperties: false
                          environmentNotes:
                            type: array
                            maxItems: 50
                            items:
                              type: string
                              maxLength: 4096
                          validatedAt:
                            type: string
                            format: date-time
                        required:
                          - schemaVersion
                          - fingerprint
                          - detectorVersion
                          - applicationRoot
                          - packageManager
                          - commands
                          - primaryServiceId
                          - services
                          - externalDependencies
                          - environmentNotes
                          - validatedAt
                        additionalProperties: false
                      environmentCacheHit:
                        type: boolean
                      scenarios:
                        type: array
                        maxItems: 20
                        items:
                          type: object
                          properties:
                            schemaVersion:
                              enum:
                                - 3
                            scenario:
                              type: object
                              properties:
                                schemaVersion:
                                  enum:
                                    - 3
                                scenarioId:
                                  type: string
                                  minLength: 1
                                  maxLength: 256
                                title:
                                  type: string
                                  minLength: 1
                                  maxLength: 300
                                description:
                                  type: string
                                  minLength: 1
                                  maxLength: 10000
                                testPlan:
                                  type: array
                                  minItems: 1
                                  maxItems: 30
                                  items:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                inScope:
                                  type: array
                                  minItems: 1
                                  maxItems: 30
                                  items:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                outOfScope:
                                  type: array
                                  maxItems: 30
                                  items:
                                    type: string
                                    maxLength: 4096
                                entryCriteria:
                                  type: array
                                  minItems: 1
                                  maxItems: 30
                                  items:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                exitCriteria:
                                  type: array
                                  minItems: 1
                                  maxItems: 51
                                  items:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                requiredCapabilities:
                                  type: array
                                  minItems: 1
                                  maxItems: 6
                                  items:
                                    enum:
                                      - browser
                                      - cli
                                      - http
                                      - sdk
                                      - background_service
                                      - mobile
                                    type: string
                                priority:
                                  type: integer
                                  minimum: 1
                                user:
                                  type: string
                                  minLength: 1
                                  maxLength: 4096
                                fingerprint:
                                  type: array
                                  minItems: 1
                                  maxItems: 20
                                  items:
                                    type: object
                                    properties:
                                      module:
                                        type: string
                                        minLength: 1
                                        maxLength: 300
                                      files:
                                        type: array
                                        minItems: 1
                                        maxItems: 100
                                        items:
                                          type: string
                                          minLength: 1
                                          maxLength: 4096
                                    required:
                                      - module
                                      - files
                                    additionalProperties: false
                                complexity:
                                  enum:
                                    - low
                                    - medium
                                    - high
                                  type: string
                                definitionId:
                                  type: string
                                  minLength: 1
                                  maxLength: 256
                              required:
                                - schemaVersion
                                - scenarioId
                                - title
                                - description
                                - testPlan
                                - inScope
                                - outOfScope
                                - entryCriteria
                                - exitCriteria
                                - requiredCapabilities
                                - priority
                              additionalProperties: false
                            status:
                              enum:
                                - passed
                                - failed
                                - error
                                - inconclusive
                                - unsupported
                              type: string
                            inconclusiveReason:
                              type: object
                              properties:
                                code:
                                  enum:
                                    - auth_or_config_missing
                                    - application_not_ready
                                    - fixture_or_baseline_missing
                                    - external_dependency_unavailable
                                    - required_capability_unavailable
                                    - verification_incomplete
                                    - evidence_not_representative
                                    - observation_window_insufficient
                                    - unknown
                                  type: string
                                explanation:
                                  type: string
                                  minLength: 1
                                  maxLength: 300
                                  pattern: ^[^\r\n\u2028\u2029]*$
                              required:
                                - code
                                - explanation
                              additionalProperties: false
                            unsupportedReason:
                              anyOf:
                                - type: object
                                  properties:
                                    code:
                                      enum:
                                        - observation_duration_exceeds_budget
                                    requiredDurationMs:
                                      type: integer
                                      minimum: 0
                                      exclusiveMinimum: true
                                    availableDurationMs:
                                      type: integer
                                      minimum: 0
                                      exclusiveMinimum: true
                                    explanation:
                                      type: string
                                      minLength: 1
                                      maxLength: 300
                                      pattern: ^[^\r\n\u2028\u2029]*$
                                  required:
                                    - code
                                    - requiredDurationMs
                                    - availableDurationMs
                                    - explanation
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    code:
                                      enum:
                                        - platform_not_supported
                                    platform:
                                      enum:
                                        - windows
                                        - android
                                        - ios
                                      type: string
                                    explanation:
                                      type: string
                                      minLength: 1
                                      maxLength: 300
                                      pattern: ^[^\r\n\u2028\u2029]*$
                                  required:
                                    - code
                                    - platform
                                    - explanation
                                  additionalProperties: false
                            summary:
                              type: string
                              minLength: 1
                              maxLength: 20000
                            criteria:
                              type: array
                              minItems: 2
                              maxItems: 81
                              items:
                                type: object
                                properties:
                                  criterionId:
                                    type: string
                                    minLength: 1
                                    maxLength: 256
                                  kind:
                                    enum:
                                      - entry
                                      - exit
                                    type: string
                                  criterionIndex:
                                    type: integer
                                    minimum: 0
                                    maximum: 50
                                  criterion:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                  expected:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                  actual:
                                    type: string
                                    minLength: 1
                                    maxLength: 20000
                                  conclusion:
                                    enum:
                                      - passed
                                      - failed
                                      - unresolved
                                    type: string
                                  evidenceArtifactIds:
                                    type: array
                                    maxItems: 11
                                    items:
                                      type: string
                                      minLength: 1
                                      maxLength: 256
                                  limitation:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                required:
                                  - criterionId
                                  - kind
                                  - criterionIndex
                                  - criterion
                                  - expected
                                  - actual
                                  - conclusion
                                  - evidenceArtifactIds
                                additionalProperties: false
                            evidence:
                              type: array
                              maxItems: 11
                              items:
                                type: object
                                properties:
                                  schemaVersion:
                                    enum:
                                      - 3
                                  artifactId:
                                    type: string
                                    minLength: 1
                                    maxLength: 256
                                  scenarioId:
                                    type: string
                                    minLength: 1
                                    maxLength: 256
                                  kind:
                                    enum:
                                      - text
                                      - screenshot
                                      - video
                                      - http_exchange
                                      - log
                                      - trace
                                    type: string
                                  title:
                                    type: string
                                    minLength: 1
                                    maxLength: 300
                                  mimeType:
                                    type: string
                                    minLength: 1
                                    maxLength: 256
                                  byteSize:
                                    type: integer
                                    minimum: 0
                                    maximum: 268435456
                                  sha256:
                                    type: string
                                    pattern: ^[a-f0-9]{64}$
                                  capturedAt:
                                    type: string
                                    format: date-time
                                  producer:
                                    enum:
                                      - qa_agent
                                      - application
                                      - agent_browser
                                      - playwright
                                      - runtime
                                    type: string
                                  provenance:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                  redactionStatus:
                                    enum:
                                      - not_needed
                                      - redacted
                                      - rejected
                                    type: string
                                  sandboxPath:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                  objectKey:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                  textExcerpt:
                                    type: string
                                    maxLength: 20000
                                  videoTimeline:
                                    type: object
                                    properties:
                                      version:
                                        enum:
                                          - 1
                                      durationMs:
                                        type: integer
                                        minimum: 0
                                        exclusiveMinimum: true
                                      timing:
                                        enum:
                                          - command-window
                                      edit:
                                        type: object
                                        properties:
                                          version:
                                            enum:
                                              - 1
                                          sourceArtifactId:
                                            type: string
                                            minLength: 1
                                            maxLength: 256
                                          sourceDurationMs:
                                            type: integer
                                            minimum: 0
                                            exclusiveMinimum: true
                                          keptRanges:
                                            type: array
                                            minItems: 1
                                            maxItems: 256
                                            items:
                                              type: object
                                              properties:
                                                startMs:
                                                  type: integer
                                                  minimum: 0
                                                endMs:
                                                  type: integer
                                                  minimum: 0
                                              required:
                                                - startMs
                                                - endMs
                                              additionalProperties: false
                                        required:
                                          - version
                                          - sourceArtifactId
                                          - sourceDurationMs
                                          - keptRanges
                                        additionalProperties: false
                                      markers:
                                        type: array
                                        maxItems: 160
                                        items:
                                          anyOf:
                                            - type: object
                                              properties:
                                                id:
                                                  type: string
                                                  minLength: 1
                                                  maxLength: 256
                                                targetId:
                                                  type: string
                                                  minLength: 1
                                                  maxLength: 256
                                                label:
                                                  type: string
                                                  minLength: 1
                                                  maxLength: 300
                                                startMs:
                                                  type: integer
                                                  minimum: 0
                                                endMs:
                                                  type: integer
                                                  minimum: 0
                                                kind:
                                                  enum:
                                                    - assertion
                                                result:
                                                  enum:
                                                    - passed
                                                    - failed
                                                    - unresolved
                                                  type: string
                                              required:
                                                - id
                                                - targetId
                                                - label
                                                - startMs
                                                - endMs
                                                - kind
                                                - result
                                              additionalProperties: false
                                            - type: object
                                              properties:
                                                id:
                                                  type: string
                                                  minLength: 1
                                                  maxLength: 256
                                                targetId:
                                                  type: string
                                                  minLength: 1
                                                  maxLength: 256
                                                label:
                                                  type: string
                                                  minLength: 1
                                                  maxLength: 300
                                                startMs:
                                                  type: integer
                                                  minimum: 0
                                                endMs:
                                                  type: integer
                                                  minimum: 0
                                                kind:
                                                  enum:
                                                    - bug
                                              required:
                                                - id
                                                - targetId
                                                - label
                                                - startMs
                                                - endMs
                                                - kind
                                              additionalProperties: false
                                            - type: object
                                              properties:
                                                id:
                                                  type: string
                                                  minLength: 1
                                                  maxLength: 256
                                                targetId:
                                                  type: string
                                                  minLength: 1
                                                  maxLength: 256
                                                label:
                                                  type: string
                                                  minLength: 1
                                                  maxLength: 300
                                                startMs:
                                                  type: integer
                                                  minimum: 0
                                                endMs:
                                                  type: integer
                                                  minimum: 0
                                                kind:
                                                  enum:
                                                    - testability
                                              required:
                                                - id
                                                - targetId
                                                - label
                                                - startMs
                                                - endMs
                                                - kind
                                              additionalProperties: false
                                    required:
                                      - version
                                      - durationMs
                                      - timing
                                      - markers
                                    additionalProperties: false
                                  supersededRecording:
                                    type: boolean
                                  gifPreview:
                                    type: object
                                    properties:
                                      objectKey:
                                        type: string
                                        maxLength: 2048
                                        pattern: ^qa-agent\/tasks\/.*
                                      sha256:
                                        type: string
                                        pattern: ^[a-f0-9]{64}$
                                      byteSize:
                                        type: integer
                                        minimum: 0
                                        maximum: 5000000
                                        exclusiveMinimum: true
                                      width:
                                        type: integer
                                        minimum: 0
                                        maximum: 720
                                        exclusiveMinimum: true
                                      height:
                                        type: integer
                                        minimum: 0
                                        maximum: 720
                                        exclusiveMinimum: true
                                      durationMs:
                                        type: integer
                                        minimum: 0
                                        exclusiveMinimum: true
                                      truncated:
                                        type: boolean
                                      highlights:
                                        type: boolean
                                      imageId:
                                        type: string
                                        format: uuid
                                    required:
                                      - objectKey
                                      - sha256
                                      - byteSize
                                      - width
                                      - height
                                      - durationMs
                                      - truncated
                                    additionalProperties: false
                                required:
                                  - schemaVersion
                                  - artifactId
                                  - scenarioId
                                  - kind
                                  - title
                                  - mimeType
                                  - byteSize
                                  - sha256
                                  - capturedAt
                                  - producer
                                  - provenance
                                  - redactionStatus
                                additionalProperties: false
                            limitations:
                              type: array
                              maxItems: 30
                              items:
                                type: string
                                maxLength: 4096
                            deviations:
                              type: array
                              maxItems: 30
                              items:
                                type: object
                                properties:
                                  deviationId:
                                    type: string
                                    minLength: 1
                                    maxLength: 256
                                  intendedStep:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                  blocker:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                  alternative:
                                    type: string
                                    minLength: 1
                                    maxLength: 4096
                                  validityImpact:
                                    enum:
                                      - none
                                      - reduced
                                      - invalidated
                                    type: string
                                  changedState:
                                    type: array
                                    maxItems: 30
                                    items:
                                      type: string
                                      minLength: 1
                                      maxLength: 4096
                                  cleanup:
                                    type: array
                                    maxItems: 30
                                    items:
                                      type: string
                                      minLength: 1
                                      maxLength: 4096
                                  evidenceArtifactIds:
                                    type: array
                                    maxItems: 11
                                    items:
                                      type: string
                                      minLength: 1
                                      maxLength: 256
                                required:
                                  - deviationId
                                  - intendedStep
                                  - blocker
                                  - alternative
                                  - validityImpact
                                  - changedState
                                  - cleanup
                                  - evidenceArtifactIds
                                additionalProperties: false
                            additionalFindings:
                              type: array
                              maxItems: 30
                              items:
                                type: object
                                properties:
                                  findingId:
                                    type: string
                                    minLength: 1
                                    maxLength: 256
                                  title:
                                    type: string
                                    minLength: 1
                                    maxLength: 300
                                  observation:
                                    type: string
                                    minLength: 1
                                    maxLength: 20000
                                  evidenceArtifactIds:
                                    type: array
                                    maxItems: 11
                                    items:
                                      type: string
                                      minLength: 1
                                      maxLength: 256
                                required:
                                  - findingId
                                  - title
                                  - observation
                                  - evidenceArtifactIds
                                additionalProperties: false
                            findings:
                              type: object
                              properties:
                                schemaVersion:
                                  enum:
                                    - 1
                                bugs:
                                  type: array
                                  maxItems: 50
                                  items:
                                    type: object
                                    properties:
                                      title:
                                        type: string
                                        minLength: 1
                                        maxLength: 300
                                      description:
                                        type: string
                                        minLength: 1
                                        maxLength: 20000
                                      reproductionSteps:
                                        type: array
                                        minItems: 1
                                        maxItems: 50
                                        items:
                                          type: string
                                          minLength: 1
                                          maxLength: 4096
                                      expectedBehavior:
                                        type: string
                                        minLength: 1
                                        maxLength: 20000
                                      actualBehavior:
                                        type: string
                                        minLength: 1
                                        maxLength: 20000
                                      evidenceArtifactIds:
                                        type: array
                                        minItems: 1
                                        maxItems: 100
                                        items:
                                          type: string
                                          minLength: 1
                                          maxLength: 256
                                      findingId:
                                        type: string
                                        minLength: 1
                                        maxLength: 256
                                    required:
                                      - title
                                      - description
                                      - reproductionSteps
                                      - expectedBehavior
                                      - actualBehavior
                                      - evidenceArtifactIds
                                      - findingId
                                    additionalProperties: false
                                testabilityIssues:
                                  type: array
                                  maxItems: 50
                                  items:
                                    type: object
                                    properties:
                                      title:
                                        type: string
                                        minLength: 1
                                        maxLength: 300
                                      blocker:
                                        type: string
                                        minLength: 1
                                        maxLength: 20000
                                      impact:
                                        type: string
                                        minLength: 1
                                        maxLength: 10000
                                      suggestedRemediation:
                                        type: string
                                        minLength: 1
                                        maxLength: 10000
                                      evidenceArtifactIds:
                                        type: array
                                        maxItems: 100
                                        items:
                                          type: string
                                          minLength: 1
                                          maxLength: 256
                                      environmentIssue:
                                        anyOf:
                                          - type: object
                                            properties:
                                              stage:
                                                enum:
                                                  - install
                                                  - build
                                                  - migrate
                                                  - start
                                                  - readiness
                                                type: string
                                              componentKind:
                                                enum:
                                                  - package_registry
                                                  - runtime
                                                  - system_dependency
                                                  - configuration
                                                  - service
                                                  - startup
                                                type: string
                                              component:
                                                type: string
                                                minLength: 1
                                                maxLength: 255
                                                description: >-
                                                  The stable non-secret prerequisite
                                                  identifier from saved setup: registry
                                                  hostname, runtime/tool name,
                                                  configuration key, service name or
                                                  startup setting. Use the registry
                                                  hostname for shared registry access
                                                  failures, not each affected package.
                                                  Exclude prose, versions, run/PR/scenario
                                                  identifiers and credentials.
                                              reason:
                                                enum:
                                                  - access_denied
                                                  - missing_dependency
                                                  - incompatible_runtime
                                                  - missing_configuration
                                                  - service_unavailable
                                                  - migration_required
                                                  - invalid_startup_configuration
                                                type: string
                                            required:
                                              - stage
                                              - componentKind
                                              - component
                                              - reason
                                            additionalProperties: false
                                          - type: string
                                            nullable: true
                                            enum:
                                              - null
                                        description: >-
                                          Report only a confirmed prerequisite
                                          that prevents the intended app from
                                          installing, building, migrating,
                                          starting or passing startup readiness
                                          after supported local repair was
                                          attempted. Its fix must be a lasting
                                          change to the saved environment or
                                          repository setup that helps fresh future
                                          runs. Identify the first failing
                                          prerequisite; do not separately report
                                          downstream build/start/readiness
                                          failures caused by it. Group
                                          packages/services when the same saved
                                          configuration change fixes them. Return
                                          null for scenario fixtures, business
                                          test data/accounts, page-specific
                                          limitations after the app starts,
                                          PR-specific application defects, our
                                          agent/runtime failures, transient
                                          failures, repaired prerequisites or
                                          speculation. Keep the explanation and
                                          lasting fix in blocker, impact and
                                          suggestedRemediation; never include
                                          credentials or secret values.
                                      findingId:
                                        type: string
                                        minLength: 1
                                        maxLength: 256
                                    required:
                                      - title
                                      - blocker
                                      - impact
                                      - suggestedRemediation
                                      - evidenceArtifactIds
                                      - findingId
                                    additionalProperties: false
                              required:
                                - schemaVersion
                                - bugs
                                - testabilityIssues
                              additionalProperties: false
                            startedAt:
                              type: string
                              format: date-time
                            completedAt:
                              type: string
                              format: date-time
                            productSurfaceScript:
                              anyOf:
                                - type: object
                                  properties:
                                    taskId:
                                      type: string
                                      format: uuid
                                    commit:
                                      type: string
                                      pattern: ^[a-f0-9]{40}$
                                    sourceSha256:
                                      type: string
                                      pattern: ^[a-f0-9]{64}$
                                    environmentId:
                                      type: string
                                      format: uuid
                                    environmentRevision:
                                      type: integer
                                      minimum: 0
                                      exclusiveMinimum: true
                                    format:
                                      enum:
                                        - cucumber-ts-v1
                                        - cucumber-verify-v2
                                      type: string
                                    scenarioId:
                                      type: string
                                      format: uuid
                                    scenarioRevision:
                                      type: integer
                                      minimum: 0
                                      exclusiveMinimum: true
                                    staged:
                                      type: object
                                      properties:
                                        repositoryId:
                                          type: string
                                          pattern: ^[1-9][0-9]{0,30}$
                                        reference:
                                          type: object
                                          properties:
                                            pathname:
                                              type: string
                                              minLength: 1
                                              maxLength: 2048
                                            sha256:
                                              type: string
                                              pattern: ^[a-f0-9]{64}$
                                            byteLength:
                                              type: integer
                                              minimum: 0
                                              maximum: 16777216
                                              exclusiveMinimum: true
                                          required:
                                            - pathname
                                            - sha256
                                            - byteLength
                                          additionalProperties: false
                                      required:
                                        - repositoryId
                                        - reference
                                      additionalProperties: false
                                    expectedSha256:
                                      anyOf:
                                        - type: string
                                          pattern: ^[a-f0-9]{64}$
                                        - type: string
                                          nullable: true
                                          enum:
                                            - null
                                    testedSha:
                                      type: string
                                      pattern: ^[a-f0-9]{40}$
                                    mergeSha:
                                      type: string
                                      pattern: ^[a-f0-9]{40}$
                                  required:
                                    - taskId
                                    - commit
                                    - sourceSha256
                                    - environmentId
                                    - environmentRevision
                                    - format
                                    - scenarioId
                                    - scenarioRevision
                                    - staged
                                    - expectedSha256
                                    - testedSha
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    taskId:
                                      type: string
                                      format: uuid
                                    commit:
                                      type: string
                                      pattern: ^[a-f0-9]{40}$
                                    sourceSha256:
                                      type: string
                                      pattern: ^[a-f0-9]{64}$
                                    environmentId:
                                      type: string
                                      format: uuid
                                    environmentRevision:
                                      type: integer
                                      minimum: 0
                                      exclusiveMinimum: true
                                    kbGit:
                                      type: object
                                      properties:
                                        repositoryId:
                                          type: string
                                          pattern: ^[1-9][0-9]{0,30}$
                                        sha256:
                                          type: string
                                          pattern: ^[a-f0-9]{64}$
                                        bytes:
                                          type: integer
                                          minimum: 0
                                          maximum: 262144
                                          exclusiveMinimum: true
                                        destination:
                                          anyOf:
                                            - type: object
                                              properties:
                                                kind:
                                                  enum:
                                                    - native
                                                audience:
                                                  type: string
                                                  pattern: ^[A-Za-z0-9_-]{1,128}$
                                              required:
                                                - kind
                                                - audience
                                              additionalProperties: false
                                            - type: object
                                              properties:
                                                kind:
                                                  enum:
                                                    - hutch
                                              required:
                                                - kind
                                              additionalProperties: false
                                      required:
                                        - repositoryId
                                        - sha256
                                        - bytes
                                        - destination
                                      additionalProperties: false
                                  required:
                                    - taskId
                                    - commit
                                    - sourceSha256
                                    - environmentId
                                    - environmentRevision
                                    - kbGit
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    taskId:
                                      type: string
                                      format: uuid
                                    commit:
                                      type: string
                                      pattern: ^[a-f0-9]{40}$
                                    sourceSha256:
                                      type: string
                                      pattern: ^[a-f0-9]{64}$
                                    environmentId:
                                      type: string
                                      format: uuid
                                    environmentRevision:
                                      type: integer
                                      minimum: 0
                                      exclusiveMinimum: true
                                    reference:
                                      type: object
                                      properties:
                                        pathname:
                                          type: string
                                          minLength: 1
                                          maxLength: 2048
                                        sha256:
                                          type: string
                                          pattern: ^[a-f0-9]{64}$
                                        byteLength:
                                          type: integer
                                          minimum: 0
                                          maximum: 16777216
                                          exclusiveMinimum: true
                                      required:
                                        - pathname
                                        - sha256
                                        - byteLength
                                      additionalProperties: false
                                  required:
                                    - taskId
                                    - commit
                                    - sourceSha256
                                    - environmentId
                                    - environmentRevision
                                    - reference
                                  additionalProperties: false
                          required:
                            - schemaVersion
                            - scenario
                            - status
                            - summary
                            - criteria
                            - evidence
                            - limitations
                            - deviations
                            - additionalFindings
                            - startedAt
                            - completedAt
                          additionalProperties: false
                      caveats:
                        type: array
                        maxItems: 50
                        items:
                          type: string
                          maxLength: 4096
                      startedAt:
                        type: string
                        format: date-time
                      completedAt:
                        type: string
                        format: date-time
                    required:
                      - schemaVersion
                      - locator
                      - status
                      - summary
                      - scenarios
                      - caveats
                      - startedAt
                      - completedAt
                    additionalProperties: false
                required:
                  - locator
                  - status
                  - stateRevision
                  - createdAt
                  - updatedAt
                  - scenarios
                additionalProperties: false
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        enum:
                          - invalid_request
                        type: string
                      message:
                        type: string
                      retry_after:
                        type: integer
                        minimum: 0
                        exclusiveMinimum: true
                    required:
                      - code
                      - message
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        enum:
                          - unauthenticated
                        type: string
                      message:
                        type: string
                      retry_after:
                        type: integer
                        minimum: 0
                        exclusiveMinimum: true
                    required:
                      - code
                      - message
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        enum:
                          - forbidden
                        type: string
                      message:
                        type: string
                      retry_after:
                        type: integer
                        minimum: 0
                        exclusiveMinimum: true
                    required:
                      - code
                      - message
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '404':
          description: Not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        enum:
                          - not_found
                        type: string
                      message:
                        type: string
                      retry_after:
                        type: integer
                        minimum: 0
                        exclusiveMinimum: true
                    required:
                      - code
                      - message
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        enum:
                          - head_changed
                          - conflict
                        type: string
                      message:
                        type: string
                      retry_after:
                        type: integer
                        minimum: 0
                        exclusiveMinimum: true
                    required:
                      - code
                      - message
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '412':
          description: Precondition failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        enum:
                          - precondition_failed
                        type: string
                      message:
                        type: string
                      retry_after:
                        type: integer
                        minimum: 0
                        exclusiveMinimum: true
                    required:
                      - code
                      - message
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '413':
          description: Content too large
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        enum:
                          - payload_too_large
                        type: string
                      message:
                        type: string
                      retry_after:
                        type: integer
                        minimum: 0
                        exclusiveMinimum: true
                    required:
                      - code
                      - message
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '429':
          description: Too many requests
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        enum:
                          - rate_limit_exceeded
                        type: string
                      message:
                        type: string
                      retry_after:
                        type: integer
                        minimum: 0
                        exclusiveMinimum: true
                    required:
                      - code
                      - message
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        enum:
                          - internal_error
                        type: string
                      message:
                        type: string
                      retry_after:
                        type: integer
                        minimum: 0
                        exclusiveMinimum: true
                    required:
                      - code
                      - message
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '503':
          description: Service unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - unavailable
                      message:
                        type: string
                      retry_after:
                        type: integer
                        minimum: 0
                        exclusiveMinimum: true
                    required:
                      - code
                      - message
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-coderabbitai-api-key
      description: >-
        See [Authentication](/api/authentication) for the key types and where to
        create a key.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.